Details

Time bar (total: 5.1s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 14.709473%

Guaranteed chance to sample good point: 95.005009%

Results
14.0ms256×body80valid
0.0msbody80invalid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.5b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.9b
(/ 1.0 (- (* b b) (* a a)))
5.9b
(- (* b b) (* a a))
8.1b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
47×times-frac
39×*-un-lft-identity
36×add-exp-log add-cbrt-cube
31×add-cube-cbrt
30×associate-*r*
14×frac-times associate-*l*
13×prod-exp cbrt-unprod
12×difference-of-squares
11×pow1
cbrt-undiv div-exp
associate-*r/ associate-*l/
flip3-- flip--
add-log-exp
div-inv distribute-lft-out--
pow-prod-down associate-/r* associate-/r/ frac-sub unswap-sqr
sub-neg associate-/l*
distribute-rgt-in distribute-lft-in *-commutative
frac-2neg diff-log clear-num
Counts
4 → 153
Calls
4 calls:
13.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
3.0ms
(- (* b b) (* a a))
25.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
7.0ms
(/ 1.0 (- (* b b) (* a a)))
6.0ms
(- (* b b) (* a a))
13.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify112.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250011342

prune241.0ms

Filtered
119 candidates to 165 candidates (-38.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1578165
Fresh000
Picked101
Done000
Total1588166

Merged error: 7.9b

Counts
166 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 a) (/ 1.0 b))
0.1b
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
0.3b
(/ (/ PI 2.0) (+ b a))
8.1b
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
229×times-frac
185×*-un-lft-identity
160×add-sqr-sqrt
109×add-cube-cbrt
59×add-exp-log associate-*l* add-cbrt-cube
33×associate-*r*
27×distribute-lft-out
21×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
16×div-inv
14×frac-times
13×associate-/l* distribute-lft-out--
11×pow1 difference-of-squares
associate-*r/ associate-*l/
flip3-- associate-/r/ flip-- add-log-exp unswap-sqr
frac-sub
pow-prod-down associate-/r*
sub-neg
distribute-rgt-in distribute-lft-in flip3-+ *-commutative flip-+
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 273
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
33.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
8.0ms
(/ (/ PI 2.0) (+ b a))
28.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (/ 1.0 a) (/ 1.0 b))
9.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
7.0ms
(/ (/ PI 2.0) (+ b a))
13.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify65.0ms

Algorithm
egg-herbie
Counts
285 → 285
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012702599
150012298

prune398.0ms

Filtered
194 candidates to 285 candidates (-46.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2787285
Fresh437
Picked011
Done000
Total28211293

Merged error: 0.0b

Counts
293 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 a) (/ 1.0 b))
0.2b
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
0.3b
(/ (/ PI 2.0) (+ b a))
0.3b
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
221×times-frac
185×*-un-lft-identity
144×add-sqr-sqrt
109×add-cube-cbrt
79×associate-*l*
50×add-exp-log add-cbrt-cube
27×distribute-lft-out
17×prod-exp cbrt-unprod
16×cbrt-undiv frac-times associate-*r/ div-exp div-inv
13×associate-*r* associate-/l* distribute-lft-out--
11×pow1 difference-of-squares
10×distribute-rgt-in distribute-lft-in
flip3-- flip--
sub-neg frac-sub
associate-/r/ add-log-exp
pow-prod-down associate-*l/ associate-/r*
flip3-+ *-commutative flip-+ unswap-sqr
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 277
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
33.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
7.0ms
(/ (/ PI 2.0) (+ b a))
22.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

series36.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (/ 1.0 a) (/ 1.0 b))
17.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
7.0ms
(/ (/ PI 2.0) (+ b a))
8.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

simplify55.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012362823
150012529

prune384.0ms

Filtered
194 candidates to 289 candidates (-49.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2854289
Fresh459
Picked101
Done011
Total29010300

Merged error: 0.0b

Counts
300 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 a) (/ 1.0 b))
0.2b
(/ (* (/ PI 2.0) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))) (+ b a))
0.2b
(* (/ PI 2.0) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
0.3b
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
59×add-exp-log add-cbrt-cube
53×*-un-lft-identity
49×times-frac
34×associate-*l*
29×frac-times associate-*r/
27×add-cube-cbrt
22×prod-exp cbrt-unprod
18×cbrt-undiv div-exp
15×associate-/l/
13×associate-*r* distribute-lft-out--
12×flip3-- flip--
11×pow1 frac-sub difference-of-squares
10×distribute-rgt-in distribute-lft-in
sub-neg associate-*l/ div-inv
add-log-exp
pow-prod-down associate-/r* associate-/r/
*-commutative distribute-lft-out unswap-sqr
frac-2neg flip3-+ diff-log clear-num flip-+ associate-/l*
Counts
4 → 190
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
26.0ms
(/ (* (/ PI 2.0) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))) (+ b a))
25.0ms
(* (/ PI 2.0) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
23.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (/ 1.0 a) (/ 1.0 b))
16.0ms
(/ (* (/ PI 2.0) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))) (+ b a))
9.0ms
(* (/ PI 2.0) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
8.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

simplify42.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09522019
150011674

prune229.0ms

Filtered
136 candidates to 202 candidates (-48.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1993202
Fresh358
Picked101
Done011
Total2039212

Merged error: 0b

Counts
212 → 9

regimes108.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 14.709473%

Guaranteed chance to sample good point: 95.005009%

Results
446.0ms8000×body80valid
10.0ms178×body80invalid

Profiling

Loading profile data...