Details

Time bar (total: 11.0s)

sample157.0ms

Algorithm
intervals
Results
33.0ms76×body5120valid
21.0ms391×body80nan
20.0ms57×body2560valid
14.0ms206×body80valid
9.0ms17×body10240exit
8.0ms20×body1280valid
4.0ms17×body640valid
1.0msbody320valid
1.0msbody160valid

simplify109.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: 57.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite740.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)))
42.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
42.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
603.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))))

series492.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
87.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
88.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
229.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
168 → 168
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
05942246
138771589
250011584

prune384.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 30.6b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite25.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:
24.0ms
(* (/ c0 (* 2.0 w)) 0)

series1.0ms

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

simplify288.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (283.0ms)

IterNodesCost
017840
1186124
2500114

prune75.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 28.4b

localize2.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

prune20.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 28.4b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.9s

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:
41.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
599.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))))
598.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))))
607.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))))

series779.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
225.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))))
242.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))))
224.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))))

simplify134.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
05942538
138772127
250012112

prune521.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 28.4b

regimes438.0ms

Accuracy

70.8% (0.7b remaining)

Error of 31.7b against oracle of 31.0b and baseline of 33.3b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03353
13353

end0.0ms

sample4.8s

Algorithm
intervals
Results
1.0s2280×body5120valid
734.0ms12929×body80nan
632.0ms1730×body2560valid
393.0ms6836×body80valid
277.0ms557×body10240exit
257.0ms890×body1280valid
108.0ms451×body640valid
39.0ms223×body320valid
14.0ms113×body160valid