Details

Time bar (total: 8.8s)

sample25.0ms

Algorithm
intervals
Results
13.0ms301×body80valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03110
19010
238410
3182810
4500110

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.5b

localize13.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)))
6.0b
(- (* b b) (* a a))
9.2b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite240.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:
42.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
13.0ms
(/ 1.0 (- (* b b) (* a a)))
8.0ms
(- (* b b) (* a a))
139.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
43.0ms
(/ 1.0 (- (* b b) (* a a)))
36.0ms
(- (* b b) (* a a))
93.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify144.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
0248115016
1500213008

prune889.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 9.1b

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)))
0.3b
(/ (/ PI 2.0) (+ b a))
9.2b
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite353.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:
31.0ms
(- (/ 1.0 a) (/ 1.0 b))
73.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
17.0ms
(/ (/ PI 2.0) (+ b a))
167.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ 1.0 a) (/ 1.0 b))
68.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
58.0ms
(/ (/ PI 2.0) (+ b a))
105.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify195.0ms

Algorithm
egg-herbie
Counts
813 → 813
Iterations

Useful iterations: 1 (52.0ms)

IterNodesCost
0292820392
1500118352

prune1.5s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

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

rewrite410.0ms

Algorithm
rewrite-expression-head
Rules
833×times-frac
661×*-un-lft-identity
641×add-sqr-sqrt
613×add-cube-cbrt
507×prod-diff
171×distribute-rgt-in distribute-lft-in
90×div-inv
43×add-exp-log add-cbrt-cube
14×cbrt-undiv div-exp prod-exp cbrt-unprod distribute-lft-out associate-/l*
13×fma-neg
12×associate-*r* distribute-lft-out--
10×associate-*l/ difference-of-squares
pow1 associate-/r*
associate-/l/
frac-times flip3-- associate-*r/ flip-- add-log-exp
frac-sub
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg pow-prod-down
frac-2neg clear-num
flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 718
Calls
4 calls:
31.0ms
(- (/ 1.0 a) (/ 1.0 b))
157.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
18.0ms
(/ (/ PI 2.0) (+ b a))
143.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series435.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (/ 1.0 a) (/ 1.0 b))
95.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
55.0ms
(/ (/ PI 2.0) (+ b a))
253.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify173.0ms

Algorithm
egg-herbie
Counts
730 → 730
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
0258618289
1500115335

prune1.3s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 a) (/ 1.0 b))
0.2b
(/ (- b a) (- (/ 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))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
757×times-frac
609×add-sqr-sqrt
569×*-un-lft-identity
331×add-cube-cbrt
169×prod-diff
122×distribute-lft-out--
105×difference-of-squares
83×associate-/r*
71×div-inv
43×add-exp-log add-cbrt-cube
22×cbrt-undiv div-exp
19×associate-/l*
14×distribute-lft-out
13×fma-neg
12×associate-/r/
prod-exp cbrt-unprod add-log-exp
flip3-- flip--
pow1 expm1-log1p-u frac-sub log1p-expm1-u associate-/l/
frac-2neg clear-num
sub-neg flip3-+ diff-log div-sub associate-*l/ flip-+
Counts
4 → 556
Calls
4 calls:
33.0ms
(- (/ 1.0 a) (/ 1.0 b))
48.0ms
(/ (- b a) (- (/ 1.0 a) (/ 1.0 b)))
74.0ms
(/ (* (/ (/ PI 2.0) (+ b a)) 1.0) (/ (- b a) (- (/ 1.0 a) (/ 1.0 b))))
17.0ms
(/ (/ PI 2.0) (+ b a))

series237.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
568 → 568
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
020648678
150027331

prune1.2s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes60.0ms

Accuracy

0% (0.3b 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
01710
11710

end0.0ms

sample650.0ms

Algorithm
intervals
Results
431.0ms9598×body80valid