Details

Time bar (total: 3.6s)

sample41.0ms

Algorithm
intervals
Results
24.0ms314×body80valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune4.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.9b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.5b
(/ 1.0 (- (* b b) (* a a)))
4.4b
(- (* b b) (* a a))
10.8b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite83.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:
18.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
9.0ms
(/ 1.0 (- (* b b) (* a a)))
6.0ms
(- (* b b) (* a a))
44.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series215.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
44.0ms
(/ 1.0 (- (* b b) (* a a)))
29.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

prune343.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: 10.6b

Counts
166 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
192×add-exp-log
110×add-cbrt-cube
95×prod-exp
80×add-sqr-sqrt
63×*-un-lft-identity times-frac
58×div-exp
51×cbrt-unprod
47×frac-times
34×associate-*r*
33×add-cube-cbrt
32×associate-*l*
30×cbrt-undiv
29×associate-*r/
23×associate-*l/
20×pow1
13×distribute-lft-out--
11×difference-of-squares
10×rec-exp flip3-- 1-exp pow-prod-down flip--
frac-sub
div-inv
add-log-exp unswap-sqr
associate-/r/
sub-neg *-commutative distribute-lft-out
distribute-rgt-in distribute-lft-in
flip3-+ diff-log flip-+
Counts
4 → 239
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
15.0ms
(* (/ PI 2.0) (* (/ 1 (+ b a)) (/ 1.0 (- b a))))
23.0ms
(* (/ 1 (+ b a)) (/ 1.0 (- b a)))
34.0ms
(* (* (/ PI 2.0) (* (/ 1 (+ b a)) (/ 1.0 (- b a)))) (- (/ 1.0 a) (/ 1.0 b)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (/ 1.0 a) (/ 1.0 b))
62.0ms
(* (/ PI 2.0) (* (/ 1 (+ b a)) (/ 1.0 (- b a))))
50.0ms
(* (/ 1 (+ b a)) (/ 1.0 (- b a)))
92.0ms
(* (* (/ PI 2.0) (* (/ 1 (+ b a)) (/ 1.0 (- b a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify52.0ms

Algorithm
egg-herbie
Counts
251 → 251
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
013292628
150022194

prune587.0ms

Filtered
251 candidates to 156 candidates (62.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2447251
Fresh628
Picked101
Done000
Total2519260

Merged error: 0.0b

Counts
260 → 9

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
50×add-exp-log add-cbrt-cube
41×*-un-lft-identity
37×times-frac
25×associate-*r/
24×associate-*l*
21×prod-exp cbrt-unprod
19×add-cube-cbrt
13×associate-*r* distribute-lft-out--
12×cbrt-undiv div-exp
11×pow1 difference-of-squares
10×distribute-rgt-in distribute-lft-in
frac-times
flip3-- flip--
sub-neg frac-sub associate-/l/
div-inv add-log-exp
pow-prod-down associate-/r/
associate-*l/
*-commutative unswap-sqr
frac-2neg flip3-+ diff-log clear-num associate-/r* flip-+ associate-/l*
Counts
4 → 154
Calls
4 calls:
15.0ms
(- (/ 1.0 a) (/ 1.0 b))
26.0ms
(/ (* PI (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))) (* 2.0 (+ b a)))
23.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))
23.0ms
(* PI (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))

series244.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (/ 1.0 a) (/ 1.0 b))
89.0ms
(/ (* PI (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))) (* 2.0 (+ b a)))
54.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))
68.0ms
(* PI (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))

simplify103.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08011596
146741292
250011292

prune287.0ms

Filtered
166 candidates to 106 candidates (63.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1615166
Fresh358
Picked101
Done000
Total16510175

Merged error: 0b

Counts
175 → 10

localize8.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (* PI (/ 1.0 (* a b))) (* 2.0 (+ b a)))
0.3b
(* PI (/ 1.0 (* a b)))
0.4b
(/ 1.0 (* a b))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log add-cbrt-cube
17×prod-exp cbrt-unprod
16×cbrt-undiv div-exp
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
times-frac associate-*r*
pow1
associate-*r/ associate-/l*
associate-*l* div-inv add-log-exp
frac-2neg clear-num associate-/r* associate-/r/
flip3-+ pow-prod-down *-commutative flip-+ associate-/l/ unswap-sqr
Counts
3 → 80
Calls
3 calls:
10.0ms
(/ (* PI (/ 1.0 (* a b))) (* 2.0 (+ b a)))
7.0ms
(* PI (/ 1.0 (* a b)))
4.0ms
(/ 1.0 (* a b))

series123.0ms

Counts
3 → 9
Calls
3 calls:
66.0ms
(/ (* PI (/ 1.0 (* a b))) (* 2.0 (+ b a)))
36.0ms
(* PI (/ 1.0 (* a b)))
21.0ms
(/ 1.0 (* a b))

simplify64.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0434555
12878403
25003403

prune117.0ms

Filtered
89 candidates to 54 candidates (60.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New86389
Fresh459
Picked101
Done000
Total91899

Merged error: 0b

Counts
99 → 8

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

sample623.0ms

Algorithm
intervals
Results
452.0ms9646×body80valid

Profiling

Loading profile data...