Details

Time bar (total: 13.0s)

sample283.0ms

Algorithm
intervals
Results
60.0ms411×body80nan
57.0ms64×body5120valid
41.0ms59×body2560valid
31.0ms216×body80valid
22.0ms24×body10240exit
22.0ms37×body1280valid
7.0ms16×body640valid
3.0msbody320valid
2.0msbody160valid

simplify113.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
06026
130425
2346225
3500325

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 59.2b

localize20.0ms

Local error

Found 4 expressions with local error:

22.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
22.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
22.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
25.3b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite333.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:
16.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
16.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
274.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))))

series524.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
05942246
138771589
250011584

prune391.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 33.3b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

simplify285.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (281.0ms)

IterNodesCost
017840
1186124
2500114

prune85.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 31.9b

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

prune11.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 31.9b

localize23.0ms

Local error

Found 4 expressions with local error:

22.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
22.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
25.3b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))
25.3b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite773.0ms

Algorithm
rewrite-expression-head
Rules
142×add-exp-log add-cbrt-cube
78×prod-exp cbrt-unprod
30×cbrt-undiv div-exp
10×fma-def *-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 expm1-log1p-u times-frac sqrt-div frac-add log1p-expm1-u div-inv
+-commutative flip3-- frac-2neg flip3-+ clear-num associate-/r* sum-log flip-- flip-+ distribute-lft-out associate-/l*
Counts
4 → 132
Calls
4 calls:
16.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
16.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
271.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))))
461.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))))

series678.0ms

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

Useful iterations: 2 (107.0ms)

IterNodesCost
05942392
138771858
250011848

prune462.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 31.9b

regimes250.0ms

Accuracy

0% (2.4b remaining)

Error of 33.3b against oracle of 30.9b and baseline of 33.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
032

end0.0ms

sample8.5s

Algorithm
intervals
Results
2.0s2308×body5120valid
2.0s13297×body80nan
1.2s1748×body2560valid
991.0ms6669×body80valid
529.0ms900×body1280valid
529.0ms594×body10240exit
223.0ms463×body640valid
77.0ms216×body320valid
29.0ms108×body160valid