Details

Time bar (total: 5.0s)

sample23.0ms

Algorithm
intervals
Results
13.0ms306×body80valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.6b
(/ 1.0 (- (* b b) (* a a)))
5.2b
(- (* b b) (* a a))
9.3b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite54.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:
13.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
26.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
40.0ms
(/ 1.0 (- (* b b) (* a a)))
34.0ms
(- (* b b) (* a a))
86.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify106.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250021342

prune397.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 9.2b

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

rewrite91.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:
5.0ms
(/ 1.0 (- b a))
33.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
8.0ms
(/ (/ PI 2.0) (+ b a))
29.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ 1.0 (- b a))
59.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
54.0ms
(/ (/ PI 2.0) (+ b a))
97.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify52.0ms

Algorithm
egg-herbie
Counts
300 → 300
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012602632
150012332

prune696.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
226×times-frac
193×*-un-lft-identity
148×add-sqr-sqrt
117×add-cube-cbrt
79×associate-*l*
52×add-exp-log add-cbrt-cube
27×distribute-lft-out
17×cbrt-undiv div-exp prod-exp cbrt-unprod
16×frac-times associate-*r/ associate-/l*
15×div-inv
13×associate-*r*
12×distribute-lft-out--
11×pow1 difference-of-squares
10×distribute-rgt-in distribute-lft-in
associate-/r*
flip3-- associate-/r/ flip--
sub-neg frac-sub
pow-prod-down associate-*l/ add-log-exp
frac-2neg flip3-+ clear-num *-commutative flip-+ unswap-sqr
associate-/l/
Counts
4 → 292
Calls
4 calls:
5.0ms
(/ 1.0 (- b a))
32.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
11.0ms
(/ (/ PI 2.0) (+ b a))
23.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ 1.0 (- b a))
93.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
53.0ms
(/ (/ PI 2.0) (+ b a))
55.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

simplify58.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012432856
150012568

prune718.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 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.2b
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))
0.2b
(/ (/ PI 2.0) (+ b a))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
315×times-frac
264×*-un-lft-identity
238×add-sqr-sqrt
128×add-cube-cbrt
58×associate-*l*
48×distribute-lft-out--
47×add-exp-log add-cbrt-cube
41×difference-of-squares
27×distribute-lft-out
26×div-inv
25×associate-/l*
16×cbrt-undiv div-exp
15×prod-exp cbrt-unprod
pow1 associate-/r*
associate-/r/ add-log-exp
associate-/l/
flip3-- associate-*r/ pow-prod-down flip--
frac-2neg flip3-+ clear-num frac-sub flip-+
frac-times sub-neg diff-log div-sub associate-*r* associate-*l/ *-commutative
Counts
4 → 293
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
37.0ms
(* (/ (/ PI 2.0) (+ b a)) (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))))
19.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))
8.0ms
(/ (/ PI 2.0) (+ b a))

series231.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (/ 1.0 a) (/ 1.0 b))
94.0ms
(* (/ (/ PI 2.0) (+ b a)) (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))))
45.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))
56.0ms
(/ (/ PI 2.0) (+ b a))

simplify110.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
012173075
149832800
250012800

prune827.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

regimes63.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
02312
12312

end0.0ms

sample572.0ms

Algorithm
intervals
Results
423.0ms9625×body80valid