Details

Time bar (total: 4.8s)

sample23.0ms

Algorithm
intervals
Results
13.0ms293×body80valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.3b

localize12.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)))
6.1b
(- (* b b) (* a a))
11.1b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite109.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:
24.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)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
45.0ms
(/ 1.0 (- (* b b) (* a a)))
30.0ms
(- (* b b) (* a a))
88.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify114.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250021342

prune401.0ms

Filtered
165 candidates to 119 candidates (72.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 11.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite223.0ms

Algorithm
rewrite-expression-head
Rules
350×times-frac
298×*-un-lft-identity
261×add-sqr-sqrt
142×add-cube-cbrt
108×associate-*r*
59×add-exp-log add-cbrt-cube
47×distribute-lft-out--
45×difference-of-squares
33×distribute-lft-out
26×associate-/r/
21×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
18×div-inv associate-/l*
14×frac-times associate-*l*
11×pow1 flip3-+ flip-+
associate-*r/ associate-*l/
flip3-- flip--
add-log-exp unswap-sqr
associate-/r* frac-sub
pow-prod-down
sub-neg
distribute-rgt-in distribute-lft-in *-commutative
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 347
Calls
4 calls:
17.0ms
(- (/ 1.0 a) (/ 1.0 b))
16.0ms
(/ (/ 1.0 (+ b a)) (- b a))
63.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
101.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series243.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
359 → 359
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
014983481
150023169

prune794.0ms

Filtered
359 candidates to 230 candidates (64.1%)
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 a) (/ 1.0 b))
0.2b
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
0.4b
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
0.4b
(* PI (/ 1.0 (+ b a)))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
50×add-exp-log add-cbrt-cube
47×add-sqr-sqrt
40×*-un-lft-identity
34×times-frac
30×associate-*r*
21×prod-exp cbrt-unprod
18×add-cube-cbrt
17×associate-*r/
12×cbrt-undiv div-exp
11×pow1
10×distribute-lft-out--
difference-of-squares
associate-/l/
frac-times flip3-- flip-- div-inv add-log-exp
frac-sub
associate-*l* pow-prod-down associate-/r/
sub-neg distribute-lft-out
distribute-rgt-in distribute-lft-in associate-*l/ *-commutative unswap-sqr
frac-2neg flip3-+ diff-log clear-num associate-/r* flip-+ associate-/l*
Counts
4 → 137
Calls
4 calls:
17.0ms
(- (/ 1.0 a) (/ 1.0 b))
43.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)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (/ 1.0 a) (/ 1.0 b))
95.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
102.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
53.0ms
(* PI (/ 1.0 (+ b a)))

simplify106.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07621319
146861036
250011036

prune337.0ms

Filtered
149 candidates to 97 candidates (65.1%)
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 (/ 1.0 (+ b a))) (/ (* 2.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
0.2b
(/ (* 2.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))
0.4b
(* PI (/ 1.0 (+ b a)))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
118×times-frac
94×add-sqr-sqrt
75×*-un-lft-identity
50×add-exp-log add-cbrt-cube
31×associate-/r*
29×add-cube-cbrt
25×distribute-lft-out--
21×cbrt-undiv div-exp
20×difference-of-squares
18×associate-*r*
15×div-inv
12×prod-exp associate-/r/ cbrt-unprod
pow1 add-log-exp
flip3-- flip--
associate-*r/ frac-sub
associate-*l* associate-/l/ distribute-lft-out
frac-2neg clear-num associate-/l* unswap-sqr
sub-neg flip3-+ diff-log pow-prod-down *-commutative flip-+
Counts
4 → 172
Calls
4 calls:
19.0ms
(- (/ 1.0 a) (/ 1.0 b))
38.0ms
(/ (* PI (/ 1.0 (+ b a))) (/ (* 2.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
35.0ms
(/ (* 2.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))
15.0ms
(* PI (/ 1.0 (+ b a)))

series232.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08721738
147131451
250011451

prune546.0ms

Filtered
184 candidates to 129 candidates (70.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

regimes72.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
01810
11810

end0.0ms

sample597.0ms

Algorithm
intervals
Results
442.0ms9578×body80valid