Details

Time bar (total: 4.8s)

sample24.0ms

Algorithm
intervals
Results
14.0ms322×body80valid

simplify39.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: 12.0b

localize17.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)))
4.1b
(- (* b b) (* a a))
6.9b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite108.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:
23.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
3.0ms
(- (* b b) (* a a))
71.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series225.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08041567
145031342
250021342

prune402.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 6.7b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite208.0ms

Algorithm
rewrite-expression-head
Rules
352×times-frac
305×*-un-lft-identity
256×add-sqr-sqrt
149×add-cube-cbrt
108×associate-*r*
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
17×div-inv
14×frac-times associate-*l*
12×flip3-+ flip-+
11×pow1
associate-/r*
associate-*r/ associate-*l/
flip3-- flip-- unswap-sqr
pow-prod-down frac-sub add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in clear-num *-commutative
associate-/l/
Counts
4 → 358
Calls
4 calls:
6.0ms
(/ 1.0 (+ b a))
16.0ms
(/ (/ 1.0 (+ b a)) (- b a))
63.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
99.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ 1.0 (+ b a))
47.0ms
(/ (/ 1.0 (+ b a)) (- b a))
66.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
97.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify63.0ms

Algorithm
egg-herbie
Counts
370 → 370
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014673480
150023169

prune829.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize12.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.3b
(* PI (/ 1.0 (+ b a)))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log add-cbrt-cube
47×*-un-lft-identity
42×add-sqr-sqrt
36×times-frac
30×associate-*r*
25×add-cube-cbrt
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-- div-inv distribute-lft-out--
associate-*l* pow-prod-down frac-sub associate-/l* add-log-exp difference-of-squares
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ associate-*l/ clear-num *-commutative flip-+ unswap-sqr
Counts
4 → 148
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
44.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
64.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
15.0ms
(* PI (/ 1.0 (+ b a)))

series289.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1.0 (+ b a))
94.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
108.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
50.0ms
(* PI (/ 1.0 (+ b a)))

simplify108.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07381318
147401036
250011036

prune344.0ms

Pruning

8 alts after pruning (6 fresh and 2 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 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a)) (* 2.0 (- b a)))
0.2b
(/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
0.3b
(* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b)))

rewrite268.0ms

Algorithm
rewrite-expression-head
Rules
50×add-exp-log add-cbrt-cube
42×times-frac
39×add-sqr-sqrt *-un-lft-identity
17×cbrt-undiv div-exp
16×prod-exp cbrt-unprod
15×add-cube-cbrt
12×associate-*r*
11×associate-/l*
10×distribute-lft-out--
pow1
associate-*r/ associate-/r/ div-inv difference-of-squares
add-log-exp
associate-/r*
flip3-- flip-- associate-/l/ distribute-lft-out
sub-neg flip3-+ pow-prod-down frac-sub flip-+
distribute-rgt-in frac-2neg distribute-lft-in clear-num
diff-log associate-*l* *-commutative
Counts
4 → 136
Calls
4 calls:
20.0ms
(- (/ 1.0 a) (/ 1.0 b))
34.0ms
(/ (/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a)) (* 2.0 (- b a)))
28.0ms
(/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
180.0ms
(* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (/ 1.0 a) (/ 1.0 b))
93.0ms
(/ (/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a)) (* 2.0 (- b a)))
98.0ms
(/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
63.0ms
(* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify103.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07231440
139571141
250011141

prune294.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes50.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

sample577.0ms

Algorithm
intervals
Results
421.0ms9574×body80valid