Details

Time bar (total: 9.3s)

sample173.0ms

Algorithm
intervals
Results
36.0ms66×body5120valid
26.0ms440×body80nan
20.0ms56×body2560valid
12.0ms205×body80valid
12.0ms23×body10240exit
9.0ms31×body1280valid
4.0ms17×body640valid
1.0msbody160valid
1.0msbody320valid

simplify104.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
06026
130425
2346225
3500325

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 59.1b

localize26.0ms

Local error

Found 4 expressions with local error:

19.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
25.8b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite716.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:
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)))
585.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))))

series494.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
84.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
85.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
236.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 (107.0ms)

IterNodesCost
05942246
138771589
250011584

prune380.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 35.6b

localize5.0ms

Local error

Found 1 expressions with local error:

7.7b
(* (/ 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)

series1.0ms

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

simplify285.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (281.0ms)

IterNodesCost
017840
1186124
2500114

prune75.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 32.0b

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.0b

localize29.0ms

Local error

Found 4 expressions with local error:

19.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.1b
(/ (* (pow d 2) c0) (* w (* (pow D 2) h)))
26.9b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* (pow d 2) c0) (* w (* (pow D 2) h))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite549.0ms

Algorithm
rewrite-expression-head
Rules
216×add-exp-log
163×add-cbrt-cube
121×prod-exp
87×cbrt-unprod
50×div-exp
36×cbrt-undiv
pow-to-exp pow-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 → 152
Calls
4 calls:
40.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
41.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
24.0ms
(/ (* (pow d 2) c0) (* w (* (pow D 2) h)))
435.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* (pow d 2) c0) (* w (* (pow D 2) h))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

series457.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
88.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
64.0ms
(/ (* (pow d 2) c0) (* w (* (pow D 2) h)))
221.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* (pow d 2) c0) (* w (* (pow D 2) h))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

simplify44.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08242019
150021552

prune378.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 32.0b

regimes307.0ms

Accuracy

0% (2.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042
142

end0.0ms

sample5.1s

Algorithm
intervals
Results
1.1s2257×body5120valid
794.0ms13216×body80nan
675.0ms1796×body2560valid
420.0ms6853×body80valid
312.0ms610×body10240exit
275.0ms910×body1280valid
116.0ms484×body640valid
35.0ms203×body320valid
13.0ms108×body160valid