Details

Time bar (total: 9.3s)

sample174.0ms

Algorithm
intervals
Results
36.0ms73×body5120valid
28.0ms447×body80nan
22.0ms61×body2560valid
14.0ms231×body80valid
10.0ms19×body10240exit
8.0ms28×body1280valid
4.0ms16×body640valid
2.0msbody320valid
0.0msbody160valid

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: 60.2b

localize18.0ms

Local error

Found 4 expressions with local error:

18.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
26.2b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite732.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:
42.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)))
597.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))))

series558.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)))
101.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
258.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))))

simplify118.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
05942246
138771589
250011584

prune360.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 35.9b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series2.0ms

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

simplify279.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (274.0ms)

IterNodesCost
017840
1186124
2500114

prune67.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 32.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

prune17.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 32.9b

localize21.0ms

Local error

Found 4 expressions with local error:

15.6b
(sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M)))
18.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
51.9b
(fma (* c0 (* d d)) (/ 1 (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite451.0ms

Algorithm
rewrite-expression-head
Rules
142×add-exp-log add-cbrt-cube
78×prod-exp cbrt-unprod
30×cbrt-undiv div-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
expm1-log1p-u sqrt-prod log1p-expm1-u add-log-exp
frac-2neg times-frac sqrt-div clear-num associate-/r* div-inv associate-/l*
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip-- fma-udef difference-of-squares
Counts
4 → 118
Calls
4 calls:
357.0ms
(sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M)))
42.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
45.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
0.0ms
(fma (* c0 (* d d)) (/ 1 (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

series650.0ms

Counts
4 → 12
Calls
4 calls:
199.0ms
(sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M)))
97.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
97.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
256.0ms
(fma (* c0 (* d d)) (/ 1 (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

simplify109.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
05461771
134251292
250031291

prune287.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 31.9b

regimes335.0ms

Accuracy

0% (3.1b remaining)

Error of 33.8b against oracle of 30.7b and baseline of 33.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
040
140

end0.0ms

sample5.0s

Algorithm
intervals
Results
1.1s2269×body5120valid
813.0ms13242×body80nan
665.0ms1767×body2560valid
419.0ms6760×body80valid
285.0ms560×body10240exit
269.0ms894×body1280valid
104.0ms448×body640valid
41.0ms234×body320valid
17.0ms122×body160valid