Details

Time bar (total: 6.8s)

sample43.0ms

Algorithm
intervals
Results
33.0ms305×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.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
1.6b
(/ 1.0 (- (* b b) (* a a)))
4.2b
(- (* b b) (* a a))
7.2b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite167.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))
93.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
45.0ms
(/ 1.0 (- (* b b) (* a a)))
29.0ms
(- (* b b) (* a a))
90.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify163.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0248115016
1500213008

prune902.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 7.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite234.0ms

Algorithm
rewrite-expression-head
Rules
702×times-frac
557×*-un-lft-identity
528×add-sqr-sqrt
481×add-cube-cbrt
338×prod-diff
171×distribute-rgt-in distribute-lft-in
67×div-inv
61×add-exp-log add-cbrt-cube
59×associate-*l*
33×associate-*r*
27×distribute-lft-out
22×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
16×associate-/l*
14×frac-times
12×distribute-lft-out--
11×pow1 difference-of-squares
associate-/r*
associate-*r/ associate-*l/ associate-/r/
flip3-- flip-- unswap-sqr
expm1-log1p-u pow-prod-down frac-sub log1p-expm1-u add-log-exp
sub-neg frac-2neg flip3-+ clear-num *-commutative flip-+
associate-/l/
Counts
4 → 634
Calls
4 calls:
5.0ms
(/ 1.0 (- b a))
52.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
9.0ms
(/ (/ PI 2.0) (+ b a))
113.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series258.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ 1.0 (- b a))
66.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)))

simplify182.0ms

Algorithm
egg-herbie
Counts
646 → 646
Iterations

Useful iterations: 1 (53.0ms)

IterNodesCost
0293316072
1500214991

prune1.2s

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.1b
(/ (* (* (/ 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)))

rewrite279.0ms

Algorithm
rewrite-expression-head
Rules
525×times-frac
437×add-sqr-sqrt
425×*-un-lft-identity
399×add-cube-cbrt
338×prod-diff
171×distribute-rgt-in distribute-lft-in
61×add-exp-log add-cbrt-cube
58×div-inv
33×associate-*r*
27×frac-times
22×prod-exp cbrt-unprod
19×cbrt-undiv div-exp
15×associate-*r/ associate-*l/ associate-/l/
14×associate-*l*
12×distribute-lft-out--
11×pow1 difference-of-squares
10×flip3-- flip--
associate-/r*
frac-sub
associate-/r/
expm1-log1p-u pow-prod-down log1p-expm1-u associate-/l* add-log-exp unswap-sqr
sub-neg frac-2neg clear-num *-commutative distribute-lft-out
flip3-+ flip-+
Counts
4 → 541
Calls
4 calls:
5.0ms
(/ 1.0 (- b a))
110.0ms
(/ (* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
94.0ms
(* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))
21.0ms
(* (/ PI 2.0) (/ 1.0 (- b a)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ 1.0 (- b a))
96.0ms
(/ (* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
76.0ms
(* (* (/ PI 2.0) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))
55.0ms
(* (/ PI 2.0) (/ 1.0 (- b a)))

simplify317.0ms

Algorithm
egg-herbie
Counts
553 → 553
Iterations

Useful iterations: 1 (52.0ms)

IterNodesCost
0263613889
1500112841

prune973.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (/ PI (* a b)))
0.1b
(/ (* 0.5 (/ PI (* a b))) (+ b a))
0.8b
(/ PI (* a b))

rewrite27.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:
8.0ms
(* 0.5 (/ PI (* a b)))
13.0ms
(/ (* 0.5 (/ PI (* a b))) (+ b a))
3.0ms
(/ PI (* a b))

series123.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0340481
11769389
25001389

prune149.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

regimes42.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
0125
1125

end0.0ms

sample1.1s

Algorithm
intervals
Results
947.0ms9635×body80valid