Details

Time bar (total: 8.3s)

sample144.0ms

Algorithm
intervals
Results
40.0ms81×body5120valid
21.0ms348×body80nan
16.0ms43×body2560valid
13.0ms216×body80valid
7.0ms22×body1280valid
6.0ms12×body10240exit
5.0ms12×body640valid
1.0msbody320valid
0.0msbody160valid

simplify108.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
06026
130425
2346225
3500325

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 56.8b

Counts
2 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

15.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
15.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
15.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
27.4b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
211×add-exp-log add-cbrt-cube
117×prod-exp cbrt-unprod
45×cbrt-undiv div-exp
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 expm1-log1p-u times-frac log1p-expm1-u div-inv
frac-2neg clear-num associate-/r* associate-/l*
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
Counts
4 → 156
Calls
4 calls:
13.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
13.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
13.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
38.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

series533.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
95.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
96.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
247.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

simplify134.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
05942246
138771589
250011584

prune327.0ms

Filtered
168 candidates to 70 candidates (41.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1644168
Fresh011
Picked101
Done000
Total1655170

Merged error: 32.5b

Counts
170 → 5

localize5.0ms

Local error

Found 1 expressions with local error:

5.4b
(* (/ c0 (* 2.0 w)) 0)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
associate-*l*
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
pow1 times-frac associate-*r*
cbrt-undiv div-exp
expm1-log1p-u mul0 pow-prod-down associate-*l/ *-commutative log1p-expm1-u div-inv add-log-exp unswap-sqr
Counts
1 → 30
Calls
1 calls:
7.0ms
(* (/ c0 (* 2.0 w)) 0)

series1.0ms

Counts
1 → 3
Calls
1 calls:
1.0ms
(* (/ c0 (* 2.0 w)) 0)

simplify285.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (280.0ms)

IterNodesCost
017858
1173424
2500114

prune60.0ms

Filtered
33 candidates to 21 candidates (63.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32133
Fresh044
Picked101
Done000
Total33538

Merged error: 30.7b

Counts
38 → 5

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify5.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune14.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New000
Fresh044
Picked011
Done000
Total055

Merged error: 30.7b

Counts
5 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

29.2b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
29.2b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
29.2b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
32.1b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))))) (* M M))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
10×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
add-log-exp
fma-def
pow1 add-exp-log expm1-log1p-u times-frac add-cbrt-cube log1p-expm1-u div-inv
cbrt-div pow1/3
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
Counts
4 → 69
Calls
4 calls:
9.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
9.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
9.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
44.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))))) (* M M))))

series822.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
178.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
177.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
296.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))))) (* M M))))

simplify77.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
03781867
119061669
250011661

prune430.0ms

Filtered
81 candidates to 78 candidates (96.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New81081
Fresh033
Picked011
Done011
Total81586

Merged error: 30.7b

Counts
86 → 5

regimes478.0ms

Accuracy

0% (2.3b remaining)

Error of 33.8b against oracle of 31.5b and baseline of 33.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.1s2266×body5120valid
798.0ms13168×body80nan
693.0ms1803×body2560valid
412.0ms6659×body80valid
313.0ms593×body10240exit
277.0ms894×body1280valid
113.0ms458×body640valid
46.0ms256×body320valid
12.0ms105×body160valid