Details

Time bar (total: 24.3s)

sample34.0ms

Algorithm
intervals
Results
22.0ms303×body80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03110
19010
238410
3182810
4500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.8b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.3b
(/ 1.0 (- (* b b) (* a a)))
5.9b
(- (* b b) (* a a))
6.0b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite249.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:
45.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
13.0ms
(/ 1.0 (- (* b b) (* a a)))
11.0ms
(- (* b b) (* a a))
143.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series196.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
39.0ms
(/ 1.0 (- (* b b) (* a a)))
27.0ms
(- (* b b) (* a a))
81.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify156.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
0248115016
1500213008

prune1.8s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.8b

localize14.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.3b
(/ (/ PI 2.0) (+ b a))
6.0b
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite364.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:
32.0ms
(- (/ 1.0 a) (/ 1.0 b))
78.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
18.0ms
(/ (/ PI 2.0) (+ b a))
172.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(- (/ 1.0 a) (/ 1.0 b))
58.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
49.0ms
(/ (/ PI 2.0) (+ b a))
91.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify209.0ms

Algorithm
egg-herbie
Counts
813 → 813
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0292820392
1500118352

prune3.2s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize14.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)))

rewrite564.0ms

Algorithm
rewrite-expression-head
Rules
1868×times-frac
1466×*-un-lft-identity
1425×add-sqr-sqrt
1390×add-cube-cbrt
1183×prod-diff
855×distribute-rgt-in distribute-lft-in
199×div-inv
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
13×fma-neg associate-*r* associate-/l* distribute-lft-out--
11×pow1 difference-of-squares
flip3-- flip--
sub-neg frac-sub
associate-/r/ add-log-exp
expm1-log1p-u pow-prod-down associate-*l/ associate-/r* log1p-expm1-u
flip3-+ *-commutative flip-+ unswap-sqr
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 1481
Calls
4 calls:
35.0ms
(- (/ 1.0 a) (/ 1.0 b))
227.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
17.0ms
(/ (/ PI 2.0) (+ b a))
135.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ 1.0 a) (/ 1.0 b))
85.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
46.0ms
(/ (/ PI 2.0) (+ b a))
53.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

simplify377.0ms

Algorithm
egg-herbie
Counts
1493 → 1493
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0500244700

prune14.0s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite219.0ms

Algorithm
rewrite-expression-head
Rules
207×times-frac
168×*-un-lft-identity
143×add-exp-log add-cbrt-cube
119×add-sqr-sqrt
108×add-cube-cbrt
79×associate-*l*
54×cbrt-undiv div-exp prod-exp cbrt-unprod
27×distribute-lft-out
16×associate-/l*
14×div-inv
11×pow1
associate-*r*
frac-times associate-*r/ associate-/r/
associate-/r*
expm1-log1p-u pow-prod-down associate-*l/ log1p-expm1-u add-log-exp
associate-/l/ distribute-lft-out-- difference-of-squares
flip3-- frac-2neg flip3-+ clear-num *-commutative flip-- flip-+ unswap-sqr
div-sub
Counts
4 → 290
Calls
4 calls:
106.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (/ (- (* 1.0 b) (* a 1.0)) (* a b))))
19.0ms
(/ (/ PI 2.0) (+ b a))
56.0ms
(* (/ 1.0 (- b a)) (/ (- (* 1.0 b) (* a 1.0)) (* a b)))
21.0ms
(/ (- (* 1.0 b) (* a 1.0)) (* a b))

series286.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (/ (- (* 1.0 b) (* a 1.0)) (* a b))))
46.0ms
(/ (/ PI 2.0) (+ b a))
73.0ms
(* (/ 1.0 (- b a)) (/ (- (* 1.0 b) (* a 1.0)) (* a b)))
53.0ms
(/ (- (* 1.0 b) (* a 1.0)) (* a b))

simplify63.0ms

Algorithm
egg-herbie
Counts
302 → 302
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013213615
150022831

prune1.1s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes112.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02312
12312

end0.0ms

sample764.0ms

Algorithm
intervals
Results
599.0ms9634×body80valid