Details

Time bar (total: 9.4s)

sample158.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05926
129826
2339826
3500226

prune4.0ms

Pruning

1 alts after pruning (1 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))))

rewrite705.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
pow1 add-sqr-sqrt add-cube-cbrt
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
Counts
4 → 143
Calls
4 calls:
41.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
40.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
40.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
575.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))))

series562.0ms

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

Useful iterations: 1 (15.0ms)

IterNodesCost
05792159
137861523
250011523

prune287.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
mul0 pow-prod-down associate-*l/ *-commutative div-inv add-log-exp unswap-sqr
Counts
1 → 28
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
31 → 31
Iterations

Useful iterations: 2 (284.0ms)

IterNodesCost
017632
1185916
250016

prune58.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 29.3b

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

prune7.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 29.3b

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

rewrite671.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 add-cbrt-cube
times-frac pow1/3 div-inv
+-commutative flip3-+ sum-log flip-+
Counts
4 → 67
Calls
4 calls:
27.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
28.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
27.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
585.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))))

series858.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
186.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
187.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
304.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))))

simplify76.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04653050
116422817
250012782

prune400.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 28.7b

regimes290.0ms

Accuracy

38% (1.7b remaining)

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

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03354
13354

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.0s2290×body5120valid
744.0ms13021×body80nan
595.0ms1660×body2560valid
393.0ms6783×body80valid
277.0ms941×body1280valid
275.0ms569×body10240exit
102.0ms441×body640valid
40.0ms239×body320valid
14.0ms125×body160valid