Details

Time bar (total: 7.1s)

sample23.0ms

Algorithm
intervals
Results
13.0ms306×body80valid

simplify41.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: 13.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.7b
(/ 1.0 (- (* b b) (* a a)))
3.8b
(- (* b b) (* a a))
8.1b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite170.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:
21.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
3.0ms
(- (* b b) (* a a))
97.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series215.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
46.0ms
(/ 1.0 (- (* b b) (* a a)))
30.0ms
(- (* b b) (* a a))
87.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify157.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0248115016
1500213008

prune922.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 8.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite262.0ms

Algorithm
rewrite-expression-head
Rules
820×times-frac
669×*-un-lft-identity
620×add-sqr-sqrt
513×add-cube-cbrt
338×prod-diff
171×distribute-rgt-in distribute-lft-in
108×associate-*r*
69×div-inv
61×add-exp-log add-cbrt-cube
42×distribute-lft-out--
41×difference-of-squares
37×distribute-lft-out
28×associate-/r/
22×cbrt-undiv div-exp
21×associate-/l*
19×prod-exp cbrt-unprod
14×frac-times associate-*l*
12×flip3-+ flip-+
11×pow1
associate-/r*
associate-*r/ associate-*l/
flip3-- flip-- unswap-sqr
expm1-log1p-u pow-prod-down frac-sub log1p-expm1-u add-log-exp
sub-neg frac-2neg clear-num *-commutative
associate-/l/
Counts
4 → 704
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
15.0ms
(/ (/ 1.0 (+ b a)) (- b a))
63.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
123.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 1.0 (+ b a))
50.0ms
(/ (/ 1.0 (+ b a)) (- b a))
63.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
95.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify193.0ms

Algorithm
egg-herbie
Counts
716 → 716
Iterations

Useful iterations: 1 (57.0ms)

IterNodesCost
0314016922
1500315938

prune1.3s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ b a))
0.2b
(/ (* (* 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.4b
(* PI (/ 1.0 (+ b a)))

rewrite396.0ms

Algorithm
rewrite-expression-head
Rules
504×times-frac
411×*-un-lft-identity
406×add-sqr-sqrt
389×add-cube-cbrt
338×prod-diff
171×distribute-rgt-in distribute-lft-in
57×div-inv
52×add-exp-log add-cbrt-cube
30×associate-*r*
21×prod-exp cbrt-unprod
17×associate-*r/
13×cbrt-undiv div-exp
11×pow1
associate-/l/ distribute-lft-out
frac-times associate-/r/
flip3-- associate-/r* flip-- distribute-lft-out--
expm1-log1p-u associate-*l* pow-prod-down frac-sub log1p-expm1-u associate-/l* add-log-exp difference-of-squares
sub-neg frac-2neg flip3-+ associate-*l/ clear-num *-commutative flip-+ unswap-sqr
Counts
4 → 494
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
241.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
91.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
15.0ms
(* PI (/ 1.0 (+ b a)))

series283.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1.0 (+ b a))
91.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
98.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
55.0ms
(* PI (/ 1.0 (+ b a)))

simplify151.0ms

Algorithm
egg-herbie
Counts
506 → 506
Iterations

Useful iterations: 1 (48.0ms)

IterNodesCost
0240912732
1500111631

prune879.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite205.0ms

Algorithm
rewrite-expression-head
Rules
275×add-sqr-sqrt
259×times-frac
235×*-un-lft-identity
84×associate-*r*
83×add-cube-cbrt
80×distribute-lft-out--
69×difference-of-squares
45×add-exp-log add-cbrt-cube
27×div-inv
15×cbrt-undiv div-exp associate-/l*
14×prod-exp cbrt-unprod
10×associate-*l*
associate-/r*
pow1 associate-/r/
distribute-lft-out
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
flip3-- flip-- associate-/l/
frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num *-commutative flip-+
frac-times div-sub associate-*l/ frac-sub
Counts
4 → 276
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
101.0ms
(* (/ (* PI (/ 1.0 (+ b a))) 2.0) (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a)))
66.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))
15.0ms
(* PI (/ 1.0 (+ b a)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(/ 1.0 (+ b a))
92.0ms
(* (/ (* PI (/ 1.0 (+ b a))) 2.0) (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a)))
46.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))
54.0ms
(* PI (/ 1.0 (+ b a)))

simplify53.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011142752
150012507

prune692.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes51.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
01910
11910

end0.0ms

sample573.0ms

Algorithm
intervals
Results
419.0ms9682×body80valid