Details

Time bar (total: 9.2s)

sample163.0ms

Algorithm
intervals
Results
40.0ms79×body5120valid
24.0ms392×body80nan
20.0ms53×body2560valid
12.0ms207×body80valid
11.0ms36×body1280valid
9.0ms18×body10240exit
8.0ms22×body640valid
1.0msbody320valid
0.0msbody160valid

simplify106.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: 59.3b

localize20.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)))
29.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))))

rewrite342.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)))
16.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
283.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))))

series531.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05792159
137861523
250011523

prune319.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 33.2b

localize5.0ms

Local error

Found 1 expressions with local error:

5.7b
(* (/ 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
mul0 pow-prod-down associate-*l/ *-commutative div-inv add-log-exp unswap-sqr
Counts
1 → 28
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)

simplify287.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (283.0ms)

IterNodesCost
017632
1185916
250016

prune77.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 32.3b

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

prune21.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 32.3b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite455.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
add-log-exp
pow1 add-exp-log add-cbrt-cube
cbrt-div times-frac pow1/3 div-inv
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
Counts
4 → 56
Calls
4 calls:
13.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))))
415.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))))

series1.0s

Counts
4 → 12
Calls
4 calls:
380.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
180.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
171.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
298.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))))

simplify71.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
03611705
118021563
250021557

prune378.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 32.3b

regimes488.0ms

Accuracy

0% (2.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041
141

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.1s2343×body5120valid
802.0ms13215×body80nan
675.0ms1738×body2560valid
412.0ms6658×body80valid
309.0ms597×body10240exit
266.0ms849×body1280valid
120.0ms486×body640valid
44.0ms235×body320valid
13.0ms111×body160valid