Details

Time bar (total: 5.9s)

sample23.0ms

Algorithm
intervals
Results
13.0ms298×body80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.6b
(/ 1.0 (- (* b b) (* a a)))
4.1b
(- (* b b) (* a a))
9.8b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
47×times-frac
39×*-un-lft-identity
36×add-exp-log add-cbrt-cube
31×add-cube-cbrt
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
div-inv distribute-lft-out--
pow-prod-down associate-/r* associate-/r/ frac-sub unswap-sqr
sub-neg associate-/l*
distribute-rgt-in distribute-lft-in *-commutative
frac-2neg diff-log clear-num
Counts
4 → 153
Calls
4 calls:
14.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
6.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
29.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
48.0ms
(/ 1.0 (- (* b b) (* a a)))
30.0ms
(- (* b b) (* a a))
89.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify110.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250021342

prune412.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 9.6b

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
234×times-frac
193×*-un-lft-identity
164×add-sqr-sqrt
117×add-cube-cbrt
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*
15×div-inv
14×frac-times
12×distribute-lft-out--
11×pow1 difference-of-squares
associate-/r*
associate-*r/ associate-*l/ associate-/r/
flip3-- flip-- unswap-sqr
pow-prod-down frac-sub add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ clear-num *-commutative flip-+
associate-/l/
Counts
4 → 288
Calls
4 calls:
8.0ms
(/ 1.0 (- b a))
33.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
9.0ms
(/ (/ PI 2.0) (+ b a))
34.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))
62.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
53.0ms
(/ (/ PI 2.0) (+ b a))
97.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify51.0ms

Algorithm
egg-herbie
Counts
300 → 300
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012602632
150012332

prune717.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

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) (- (/ 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)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
122×times-frac
108×*-un-lft-identity
88×add-sqr-sqrt
60×add-cube-cbrt
43×add-exp-log add-cbrt-cube
14×cbrt-undiv div-exp prod-exp cbrt-unprod distribute-lft-out associate-/l*
12×associate-*r* distribute-lft-out--
11×div-inv
10×associate-*l/ difference-of-squares
pow1 associate-/r*
associate-/l/
frac-times flip3-- associate-*r/ flip-- add-log-exp
frac-sub
associate-/r/
sub-neg pow-prod-down
distribute-rgt-in frac-2neg distribute-lft-in clear-num
flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 190
Calls
4 calls:
13.0ms
(- (/ 1.0 a) (/ 1.0 b))
33.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
8.0ms
(/ (/ PI 2.0) (+ b a))
27.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (/ 1.0 a) (/ 1.0 b))
97.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
57.0ms
(/ (/ PI 2.0) (+ b a))
108.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify117.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09311844
145831596
250011596

prune492.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite312.0ms

Algorithm
rewrite-expression-head
Rules
2607×times-frac
1456×*-un-lft-identity
1068×add-sqr-sqrt
1052×add-cube-cbrt
308×add-exp-log
196×distribute-lft-out
189×div-exp
138×div-inv
116×add-cbrt-cube
90×prod-exp
75×associate-/r*
57×cbrt-undiv
45×1-exp
30×cbrt-unprod
18×rec-exp associate-/r/ associate-/l*
12×associate-*r*
10×associate-*l/ associate-/l/
pow1
distribute-lft-out--
frac-times associate-*r/ difference-of-squares
flip3-- flip--
frac-sub add-log-exp
frac-2neg pow-prod-down clear-num
distribute-rgt-in sub-neg distribute-lft-in
flip3-+ associate-*l* *-commutative flip-+
Counts
4 → 1064
Calls
4 calls:
83.0ms
(/ (* (* (/ (/ 1 1) (/ (+ b a) (/ PI 2.0))) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
9.0ms
(/ (+ b a) (/ PI 2.0))
36.0ms
(/ (/ 1 1) (/ (+ b a) (/ PI 2.0)))
78.0ms
(* (* (/ (/ 1 1) (/ (+ b a) (/ PI 2.0))) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series474.0ms

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

simplify202.0ms

Algorithm
egg-herbie
Counts
1076 → 1076
Iterations

Useful iterations: 1 (70.0ms)

IterNodesCost
0431613313
1500112342

prune1.2s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes79.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
02211
12211

end0.0ms

sample573.0ms

Algorithm
intervals
Results
420.0ms9609×body80valid