Details

Time bar (total: 9.2s)

sample165.0ms

Algorithm
intervals
Results
35.0ms71×body5120valid
30.0ms439×body80nan
25.0ms57×body2560valid
14.0ms215×body80valid
11.0ms19×body10240exit
10.0ms30×body1280valid
3.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

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

Merged error: 58.2b

localize20.0ms

Local error

Found 4 expressions with local error:

17.5b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.5b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.5b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
26.6b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite356.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:
17.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
291.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))))

series519.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
05942246
138771589
250011584

prune379.0ms

Filtered
168 candidates to 70 candidates (41.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 32.4b

localize8.0ms

Local error

Found 1 expressions with local error:

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

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

series1.0ms

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

simplify277.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (273.0ms)

IterNodesCost
017840
1186124
2500114

prune71.0ms

Filtered
33 candidates to 21 candidates (63.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 30.8b

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune20.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 30.8b

localize25.0ms

Local error

Found 4 expressions with local error:

26.8b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
26.8b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
26.8b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
30.4b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite476.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:
13.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
13.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
23.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
425.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

series814.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
171.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
173.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
297.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

simplify66.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
03781867
119061669
250011661

prune431.0ms

Filtered
81 candidates to 78 candidates (96.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 30.8b

regimes395.0ms

Accuracy

0% (2.3b remaining)

Error of 33.7b against oracle of 31.4b and baseline of 33.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041
141

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.1s2275×body5120valid
835.0ms12991×body80nan
711.0ms1771×body2560valid
441.0ms6794×body80valid
330.0ms611×body10240exit
287.0ms871×body1280valid
115.0ms436×body640valid
41.0ms222×body320valid
13.0ms106×body160valid