Details

Time bar (total: 4.0s)

sample22.0ms

Algorithm
intervals
Results
13.0ms297×body80valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.0b

Counts
2 → 1

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

rewrite51.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:
12.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
3.0ms
(- (* b b) (* a a))
25.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series216.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250021342

prune354.0ms

Filtered
165 candidates to 119 candidates (72.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1569165
Fresh000
Picked101
Done000
Total1579166

Merged error: 7.6b

Counts
166 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
229×times-frac
185×*-un-lft-identity
160×add-sqr-sqrt
109×add-cube-cbrt
59×add-exp-log associate-*l* add-cbrt-cube
33×associate-*r*
27×distribute-lft-out
21×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
16×div-inv
14×frac-times
13×associate-/l* distribute-lft-out--
11×pow1 difference-of-squares
associate-*r/ associate-*l/
flip3-- associate-/r/ flip-- add-log-exp unswap-sqr
frac-sub
pow-prod-down associate-/r*
sub-neg
distribute-rgt-in distribute-lft-in flip3-+ *-commutative flip-+
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 273
Calls
4 calls:
11.0ms
(- (/ 1.0 a) (/ 1.0 b))
29.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
7.0ms
(/ (/ PI 2.0) (+ b a))
30.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (/ 1.0 a) (/ 1.0 b))
64.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
49.0ms
(/ (/ PI 2.0) (+ b a))
94.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify52.0ms

Algorithm
egg-herbie
Counts
285 → 285
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012702599
150012298

prune557.0ms

Filtered
285 candidates to 194 candidates (68.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2814285
Fresh268
Picked101
Done000
Total28410294

Merged error: 0.0b

Counts
294 → 10

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
221×times-frac
185×*-un-lft-identity
144×add-sqr-sqrt
109×add-cube-cbrt
79×associate-*l*
50×add-exp-log add-cbrt-cube
27×distribute-lft-out
17×prod-exp cbrt-unprod
16×cbrt-undiv frac-times associate-*r/ div-exp div-inv
13×associate-*r* associate-/l* distribute-lft-out--
11×pow1 difference-of-squares
10×distribute-rgt-in distribute-lft-in
flip3-- flip--
sub-neg frac-sub
associate-/r/ add-log-exp
pow-prod-down associate-*l/ associate-/r*
flip3-+ *-commutative flip-+ unswap-sqr
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 277
Calls
4 calls:
11.0ms
(- (/ 1.0 a) (/ 1.0 b))
34.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
7.0ms
(/ (/ PI 2.0) (+ b a))
22.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (/ 1.0 a) (/ 1.0 b))
93.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
49.0ms
(/ (/ PI 2.0) (+ b a))
56.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

simplify54.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012362823
150012529

prune586.0ms

Filtered
289 candidates to 196 candidates (67.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2836289
Fresh729
Picked101
Done000
Total2918299

Merged error: 0b

Counts
299 → 8

localize8.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (* a b)))
0.2b
(/ (/ PI 2.0) (+ b a))
0.5b
(/ 1.0 (* a b))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
194×times-frac
152×*-un-lft-identity
107×add-sqr-sqrt
98×add-cube-cbrt
58×associate-*l*
49×add-exp-log add-cbrt-cube
27×distribute-lft-out
20×cbrt-undiv div-exp
16×associate-/l*
13×prod-exp cbrt-unprod div-inv
associate-*r*
pow1 associate-/r*
associate-/r/
add-log-exp unswap-sqr
frac-2neg flip3-+ clear-num flip-+
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
3 → 205
Calls
3 calls:
24.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (* a b)))
7.0ms
(/ (/ PI 2.0) (+ b a))
4.0ms
(/ 1.0 (* a b))

series150.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (* a b)))
56.0ms
(/ (/ PI 2.0) (+ b a))
23.0ms
(/ 1.0 (* a b))

simplify85.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08461599
140941433
250011433

prune356.0ms

Filtered
214 candidates to 143 candidates (66.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2104214
Fresh437
Picked011
Done000
Total2148222

Merged error: 0b

Counts
222 → 8

regimes52.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
0146
1146

end0.0ms

sample576.0ms

Algorithm
intervals
Results
428.0ms9633×body80valid