Details

Time bar (total: 9.6s)

sample160.0ms

Algorithm
intervals
Results
37.0ms72×body5120valid
25.0ms418×body80nan
23.0ms61×body2560valid
17.0ms223×body80valid
10.0ms32×body1280valid
7.0ms13×body10240exit
3.0ms13×body640valid
1.0msbody320valid
0.0msbody160valid

simplify111.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
06026
130425
2346225
3500325

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 59.1b

localize19.0ms

Local error

Found 4 expressions with local error:

18.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
25.7b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

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

series553.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
05942246
138771589
250011584

prune374.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 33.2b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*l*
times-frac
prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp
associate-*r* associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
frac-2neg mul0 pow-prod-down associate-*l/ clear-num associate-/r* *-commutative unswap-sqr
Counts
2 → 53
Calls
2 calls:
5.0ms
(/ c0 (* 2.0 w))
10.0ms
(* (/ c0 (* 2.0 w)) 0)

series20.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ c0 (* 2.0 w))
1.0ms
(* (/ c0 (* 2.0 w)) 0)

simplify295.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (289.0ms)

IterNodesCost
0203132
11899101
2500191

prune128.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 31.0b

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

localize28.0ms

Local error

Found 4 expressions with local error:

18.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
25.7b
(+ (/ (* 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.7b
(+ (/ (* 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.7b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite896.0ms

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

series839.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
05942538
138772127
250012112

prune518.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 31.0b

regimes325.0ms

Accuracy

0% (2.1b remaining)

Error of 34.4b against oracle of 32.3b and baseline of 34.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021

end0.0ms

sample4.6s

Algorithm
intervals
Results
1.1s2324×body5120valid
793.0ms13057×body80nan
650.0ms1705×body2560valid
410.0ms6676×body80valid
287.0ms553×body10240exit
280.0ms904×body1280valid
120.0ms495×body640valid
39.0ms219×body320valid
14.0ms114×body160valid