Details

Time bar (total: 8.9s)

sample170.0ms

Algorithm
intervals
Results
37.0ms75×body5120valid
27.0ms420×body80nan
24.0ms52×body2560valid
14.0ms213×body80valid
10.0ms31×body1280valid
8.0ms15×body10240exit
6.0ms23×body640valid
2.0ms10×body320valid
1.0msbody160valid

simplify107.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05926
129826
2339826
3500226

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.9b

localize22.0ms

Local error

Found 4 expressions with local error:

19.2b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.2b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.2b
(/ (* 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))))

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

series548.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05792159
137861523
250011523

prune301.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 33.4b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite14.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:
13.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
31 → 31
Iterations

Useful iterations: 2 (281.0ms)

IterNodesCost
017632
1185916
250016

prune65.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 31.2b

localize3.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 (1.0ms)

IterNodesCost
000

prune12.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 31.2b

localize33.0ms

Local error

Found 4 expressions with local error:

27.0b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
27.0b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
27.0b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
38.9b
(+ (* (* (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))))

rewrite332.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:
15.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
13.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
13.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
288.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))))

series840.0ms

Counts
4 → 12
Calls
4 calls:
182.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))))
302.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))))

simplify74.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04653050
116422817
250012782

prune399.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 31.2b

regimes304.0ms

Accuracy

0% (2.3b remaining)

Error of 33.2b against oracle of 31.0b and baseline of 33.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
072
172

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.2s2330×body5120valid
850.0ms12884×body80nan
718.0ms1750×body2560valid
447.0ms6683×body80valid
320.0ms575×body10240exit
305.0ms908×body1280valid
112.0ms436×body640valid
46.0ms228×body320valid
14.0ms107×body160valid