Details

Time bar (total: 4.2s)

sample26.0ms

Algorithm
intervals
Results
15.0ms307×body80valid

simplify40.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: 15.2b

Counts
2 → 1

localize16.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)))
5.3b
(- (* b b) (* a a))
8.5b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

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

series242.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
40.0ms
(/ 1.0 (- (* b b) (* a a)))
35.0ms
(- (* b b) (* a a))
88.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify109.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08041567
145031342
250011342

prune351.0ms

Filtered
165 candidates to 119 candidates (72.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1578165
Fresh000
Picked101
Done000
Total1588166

Merged error: 8.4b

Counts
166 → 8

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

rewrite120.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:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
11.0ms
(/ (/ 1.0 (+ b a)) (- b a))
43.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
30.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series255.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (/ 1.0 a) (/ 1.0 b))
46.0ms
(/ (/ 1.0 (+ b a)) (- b a))
63.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
111.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify64.0ms

Algorithm
egg-herbie
Counts
359 → 359
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015023481
150013169

prune736.0ms

Filtered
359 candidates to 230 candidates (64.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3545359
Fresh437
Picked101
Done000
Total3598367

Merged error: 0.0b

Counts
367 → 8

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

rewrite75.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:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
28.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
20.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
9.0ms
(* PI (/ 1.0 (+ b a)))

series280.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
07621319
146861036
250011036

prune281.0ms

Filtered
149 candidates to 96 candidates (64.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1436149
Fresh257
Picked101
Done000
Total14611157

Merged error: 0b

Counts
157 → 11

localize12.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)))

rewrite82.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:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
24.0ms
(/ (/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a)) (* 2.0 (- b a)))
23.0ms
(/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
18.0ms
(* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series297.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07231440
139571141
250011141

prune238.0ms

Filtered
148 candidates to 95 candidates (64.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1462148
Fresh4610
Picked101
Done000
Total1518159

Merged error: 0b

Counts
159 → 8

regimes52.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
01910
11910

end0.0ms

sample648.0ms

Algorithm
intervals
Results
495.0ms9601×body80valid

Profiling

Loading profile data...