Details

Time bar (total: 6.5s)

sample45.0ms

Algorithm
intervals
Results
28.0ms308×body80valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03110
19010
238410
3182810
4500110

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.8b
(/ 1.0 (- (* b b) (* a a)))
3.9b
(- (* b b) (* a a))
9.0b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
515×times-frac
419×add-sqr-sqrt
403×*-un-lft-identity
395×add-cube-cbrt
339×prod-diff
171×distribute-rgt-in distribute-lft-in
57×div-inv
36×add-exp-log add-cbrt-cube
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
distribute-lft-out--
expm1-log1p-u pow-prod-down associate-/r* associate-/r/ frac-sub log1p-expm1-u unswap-sqr
sub-neg associate-/l*
*-commutative
frac-2neg fma-neg diff-log clear-num
Counts
4 → 501
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))
40.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
45.0ms
(/ 1.0 (- (* b b) (* a a)))
30.0ms
(- (* b b) (* a a))
88.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify169.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0248115016
1500213008

prune810.0ms

Filtered
513 candidates to 220 candidates (42.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New5058513
Fresh000
Picked101
Done000
Total5068514

Merged error: 8.8b

Counts
514 → 8

localize12.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)))
0.2b
(/ (/ PI 2.0) (+ b a))
9.0b
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
940×times-frac
738×*-un-lft-identity
713×add-sqr-sqrt
662×add-cube-cbrt
507×prod-diff
171×distribute-rgt-in distribute-lft-in
95×div-inv
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
14×frac-times
13×fma-neg 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
expm1-log1p-u pow-prod-down associate-/r* log1p-expm1-u
sub-neg
flip3-+ *-commutative flip-+
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 801
Calls
4 calls:
20.0ms
(- (/ 1.0 a) (/ 1.0 b))
31.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
8.0ms
(/ (/ PI 2.0) (+ b a))
47.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (/ 1.0 a) (/ 1.0 b))
63.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
49.0ms
(/ (/ PI 2.0) (+ b a))
96.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify240.0ms

Algorithm
egg-herbie
Counts
813 → 813
Iterations

Useful iterations: 1 (55.0ms)

IterNodesCost
0292820392
1500118352

prune1.4s

Filtered
813 candidates to 378 candidates (46.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New8058813
Fresh617
Picked101
Done000
Total8129821

Merged error: 0.0b

Counts
821 → 9

localize12.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.3b
(* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))
0.3b
(* (/ PI 2.0) (/ 1.0 (- b a)))

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
763×times-frac
622×add-sqr-sqrt
606×*-un-lft-identity
580×add-cube-cbrt
507×prod-diff
171×distribute-rgt-in distribute-lft-in
86×div-inv
59×add-exp-log add-cbrt-cube
33×associate-*r*
27×frac-times
22×prod-exp cbrt-unprod
18×cbrt-undiv div-exp
15×associate-*r/ associate-*l/ associate-/l/
14×associate-*l*
13×fma-neg distribute-lft-out--
11×pow1 difference-of-squares
10×flip3-- flip--
frac-sub
add-log-exp
expm1-log1p-u pow-prod-down associate-/r* associate-/r/ log1p-expm1-u unswap-sqr
sub-neg
*-commutative distribute-lft-out
frac-2neg flip3-+ diff-log clear-num flip-+ associate-/l*
Counts
4 → 708
Calls
4 calls:
17.0ms
(- (/ 1.0 a) (/ 1.0 b))
51.0ms
(/ (* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
39.0ms
(* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))
14.0ms
(* (/ PI 2.0) (/ 1.0 (- b a)))

series323.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (/ 1.0 a) (/ 1.0 b))
115.0ms
(/ (* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
114.0ms
(* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))
63.0ms
(* (/ PI 2.0) (/ 1.0 (- b a)))

simplify213.0ms

Algorithm
egg-herbie
Counts
720 → 720
Iterations

Useful iterations: 1 (56.0ms)

IterNodesCost
0263118209
1500116146

prune1.1s

Filtered
720 candidates to 318 candidates (44.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New7155720
Fresh358
Picked101
Done000
Total71910729

Merged error: 0.0b

Counts
729 → 10

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (/ PI (* a b)))
0.2b
(/ (* 0.5 (/ PI (* a b))) (+ b a))
0.4b
(/ PI (* a b))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log add-cbrt-cube
14×*-un-lft-identity
12×add-sqr-sqrt
10×cbrt-undiv add-cube-cbrt times-frac div-exp
prod-exp cbrt-unprod
associate-*r*
pow1 associate-/r*
associate-/l*
expm1-log1p-u associate-*l* log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ clear-num associate-/r/ distribute-lft-out
flip3-+ pow-prod-down *-commutative flip-+ associate-/l/ unswap-sqr
Counts
3 → 84
Calls
3 calls:
9.0ms
(* 0.5 (/ PI (* a b)))
9.0ms
(/ (* 0.5 (/ PI (* a b))) (+ b a))
5.0ms
(/ PI (* a b))

series125.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 0.5 (/ PI (* a b)))
69.0ms
(/ (* 0.5 (/ PI (* a b))) (+ b a))
20.0ms
(/ PI (* a b))

simplify47.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0340481
11769389
25001389

prune134.0ms

Filtered
93 candidates to 60 candidates (64.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New89493
Fresh639
Picked101
Done000
Total967103

Merged error: 0b

Counts
103 → 7

regimes51.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample700.0ms

Algorithm
intervals
Results
533.0ms9555×body80valid