Details

Time bar (total: 12.2s)

sample241.0ms

Algorithm
intervals
Results
66.0ms82×body5120valid
49.0ms391×body80nan
31.0ms50×body2560valid
27.0ms222×body80valid
14.0ms18×body10240exit
12.0ms23×body1280valid
3.0msbody640valid
2.0msbody320valid
1.0msbody160valid

simplify109.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.4b

localize19.0ms

Local error

Found 4 expressions with local error:

18.5b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.5b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.5b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
26.6b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite348.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)))
286.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))))

series717.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
05942246
138771589
250011584

prune393.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 33.9b

localize7.0ms

Local error

Found 1 expressions with local error:

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

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

simplify288.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (284.0ms)

IterNodesCost
017840
1186124
2500114

prune79.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 31.4b

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

prune22.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 31.4b

localize24.0ms

Local error

Found 4 expressions with local error:

18.5b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.5b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
26.6b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))
26.6b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

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

series672.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
05942392
138771862
250021856

prune458.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 31.4b

regimes343.0ms

Accuracy

0% (2.2b remaining)

Error of 33.4b against oracle of 31.2b and baseline of 33.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041
141

end0.0ms

sample7.5s

Algorithm
intervals
Results
1.8s2337×body5120valid
1.6s12929×body80nan
1.1s1712×body2560valid
846.0ms6701×body80valid
489.0ms937×body1280valid
484.0ms589×body10240exit
173.0ms416×body640valid
67.0ms210×body320valid
27.0ms122×body160valid