Details

Time bar (total: 9.9s)

sample164.0ms

Algorithm
intervals
Results
39.0ms76×body5120valid
24.0ms424×body80nan
18.0ms52×body2560valid
14.0ms243×body80valid
7.0ms26×body1280valid
4.0msbody10240exit
4.0ms19×body640valid
2.0ms10×body320valid
0.0msbody160valid

simplify107.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
06026
130425
2346225
3500325

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 60.5b

localize19.0ms

Local error

Found 4 expressions with local error:

19.6b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.6b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.6b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
28.1b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite759.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:
43.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
43.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
43.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
620.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))))

series566.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
101.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
100.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
264.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))))

simplify130.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (112.0ms)

IterNodesCost
05942246
138771589
250011584

prune376.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 31.0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite27.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:
26.0ms
(* (/ c0 (* 2.0 w)) 0)

series2.0ms

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

simplify288.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (284.0ms)

IterNodesCost
017840
1186124
2500114

prune63.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 29.3b

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune7.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 29.3b

localize31.0ms

Local error

Found 4 expressions with local error:

27.3b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
27.3b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
27.3b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
38.4b
(+ (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite715.0ms

Algorithm
rewrite-expression-head
Rules
27×cbrt-div
15×cbrt-prod
14×sqrt-div frac-add
10×frac-times associate-*l/
add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity flip--
associate-*r/ add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
times-frac pow1/3 div-inv
+-commutative fma-def flip3-+ sum-log flip-+
Counts
4 → 76
Calls
4 calls:
30.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
30.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
29.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
623.0ms
(+ (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

series866.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
187.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
188.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
306.0ms
(+ (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

simplify80.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04973055
117912800
250012727

prune460.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 29.3b

regimes307.0ms

Accuracy

46.4% (1.2b remaining)

Error of 33.1b against oracle of 31.9b and baseline of 34.2b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03453
13453

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.0s2290×body5120valid
757.0ms13021×body80nan
603.0ms1660×body2560valid
405.0ms6783×body80valid
287.0ms569×body10240exit
275.0ms941×body1280valid
101.0ms441×body640valid
40.0ms239×body320valid
14.0ms125×body160valid