Details

Time bar (total: 2.5s)

sample28.0ms

Algorithm
intervals
Results
17.0ms301×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
0516721

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.1b

Counts
2 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.5b
(/ 1.0 (- (* b b) (* a a)))
6.5b
(- (* b b) (* a a))
7.5b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite50.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)))
4.0ms
(- (* b b) (* a a))
22.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series36.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050182682

prune230.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1596165
Fresh011
Picked101
Done000
Total1607167

Merged error: 7.3b

Counts
167 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ b a))
0.1b
(* (/ PI 2.0) (* (/ 1 (+ b a)) (/ 1.0 (- b a))))
0.2b
(* (/ 1 (+ b a)) (/ 1.0 (- b a)))
7.5b
(* (* (/ PI 2.0) (* (/ 1 (+ b a)) (/ 1.0 (- b a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
196×add-exp-log
112×add-cbrt-cube
95×prod-exp
75×add-sqr-sqrt
70×*-un-lft-identity
65×times-frac
60×div-exp
51×cbrt-unprod
47×frac-times
40×add-cube-cbrt
34×associate-*r*
32×associate-*l*
31×cbrt-undiv
29×associate-*r/
23×associate-*l/
21×pow1
11×rec-exp 1-exp
10×pow-prod-down
flip3-- flip--
frac-sub distribute-lft-out--
distribute-lft-out difference-of-squares
associate-/r/ div-inv unswap-sqr
associate-/r* add-log-exp
*-commutative associate-/l*
distribute-rgt-in sub-neg distribute-lft-in flip3-+ flip-+
pow-flip frac-2neg clear-num inv-pow
Counts
4 → 254
Calls
4 calls:
5.0ms
(/ 1 (+ b a))
20.0ms
(* (/ PI 2.0) (* (/ 1 (+ b a)) (/ 1.0 (- b a))))
17.0ms
(* (/ 1 (+ b a)) (/ 1.0 (- b a)))
30.0ms
(* (* (/ PI 2.0) (* (/ 1 (+ b a)) (/ 1.0 (- b a)))) (- (/ 1.0 a) (/ 1.0 b)))

series33.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
266 → 266
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
052804087

prune271.0ms

Filtered
149 candidates to 266 candidates (-78.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2633266
Fresh066
Picked101
Done000
Total2649273

Merged error: 0.1b

Counts
273 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log add-cbrt-cube
47×*-un-lft-identity
42×add-sqr-sqrt
36×times-frac
25×add-cube-cbrt associate-*r/
21×associate-*l* prod-exp cbrt-unprod
13×cbrt-undiv div-exp associate-*r*
11×pow1
10×distribute-rgt-in distribute-lft-in
frac-times
flip3-- flip-- associate-/l/ distribute-lft-out
sub-neg associate-/r/ frac-sub
associate-/r* div-inv distribute-lft-out--
pow-prod-down associate-/l* add-log-exp difference-of-squares
associate-*l/
frac-2neg flip3-+ clear-num *-commutative flip-+ unswap-sqr
Counts
4 → 162
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
28.0ms
(/ (* PI (* (/ 1.0 (+ b a)) (- (/ 1.0 a) (/ 1.0 b)))) (* 2.0 (- b a)))
20.0ms
(* PI (* (/ 1.0 (+ b a)) (- (/ 1.0 a) (/ 1.0 b))))
22.0ms
(* (/ 1.0 (+ b a)) (- (/ 1.0 a) (/ 1.0 b)))

series42.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
053772591

prune220.0ms

Filtered
113 candidates to 174 candidates (-54.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1686174
Fresh448
Picked101
Done000
Total17310183

Merged error: 0.0b

Counts
183 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
47×add-exp-log add-cbrt-cube
42×add-sqr-sqrt times-frac
40×*-un-lft-identity
17×cbrt-undiv div-exp
16×add-cube-cbrt
14×prod-exp cbrt-unprod
12×associate-*l*
11×associate-/l*
10×distribute-lft-out--
associate-/r/ div-inv difference-of-squares
pow1 associate-*l/ add-log-exp
associate-*r/ associate-/r*
flip3-- flip-- associate-/l/ distribute-lft-out
flip3-+ associate-*r* frac-sub flip-+
frac-2neg clear-num
sub-neg diff-log pow-prod-down *-commutative unswap-sqr
Counts
4 → 132
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
23.0ms
(/ (/ (* 1.0 (* (- (/ 1.0 a) (/ 1.0 b)) PI)) (+ b a)) (* 2.0 (- b a)))
21.0ms
(/ (* 1.0 (* (- (/ 1.0 a) (/ 1.0 b)) PI)) (+ b a))
16.0ms
(* (- (/ 1.0 a) (/ 1.0 b)) PI)

series38.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
053322270

prune158.0ms

Filtered
98 candidates to 144 candidates (-46.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1431144
Fresh459
Picked011
Done000
Total1477154

Merged error: 0b

Counts
154 → 7

regimes97.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 (1.0ms)

IterNodesCost
04421
14421

end0.0ms

sample815.0ms

Algorithm
intervals
Results
569.0ms9680×body80valid

Profiling

Loading profile data...