Details

Time bar (total: 9.8s)

sample191.0ms

Algorithm
intervals
Results
49.0ms84×body5120valid
32.0ms406×body80nan
29.0ms51×body2560valid
18.0ms222×body80valid
10.0ms27×body1280valid
9.0ms14×body5120exit
5.0ms18×body640valid
1.0msbody320valid
1.0msbody160valid

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
06026
130425
2346225
3500325

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 60.5b

Counts
2 → 2

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite83.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:
12.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
14.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
12.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
32.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))))

series515.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
05942246
138771589
250011584

prune353.0ms

Filtered
168 candidates to 70 candidates (41.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1599168
Fresh011
Picked101
Done000
Total16010170

Merged error: 34.0b

Counts
170 → 10

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series1.0ms

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

simplify292.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (287.0ms)

IterNodesCost
017840
1186124
2500114

prune86.0ms

Filtered
33 candidates to 21 candidates (63.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New32133
Fresh099
Picked101
Done000
Total331043

Merged error: 32.3b

Counts
43 → 10

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

prune41.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New000
Fresh099
Picked011
Done000
Total01010

Merged error: 32.3b

Counts
10 → 10

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.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:
13.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
32.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))))
37.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))))
32.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))))

series827.0ms

Counts
4 → 12
Calls
4 calls:
96.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))))
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))))
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))))

simplify136.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
05942538
138772127
250012112

prune490.0ms

Filtered
120 candidates to 82 candidates (68.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1191120
Fresh088
Picked101
Done011
Total12010130

Merged error: 32.3b

Counts
130 → 10

regimes562.0ms

Accuracy

0% (2.3b remaining)

Error of 33.6b against oracle of 31.3b and baseline of 33.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample5.7s

Algorithm
intervals
Results
1.4s2409×body5120valid
1.1s13102×body80nan
822.0ms1678×body2560valid
559.0ms6800×body80valid
362.0ms562×body5120exit
358.0ms907×body1280valid
135.0ms425×body640valid
45.0ms196×body320valid
18.0ms115×body160valid

Profiling

Loading profile data...