Details

Time bar (total: 9.2s)

sample189.0ms

Algorithm
intervals
Results
41.0ms74×body5120valid
37.0ms461×body80nan
24.0ms54×body2560valid
20.0ms256×body80valid
12.0ms33×body1280valid
11.0ms18×body5120exit
3.0ms12×body640valid
1.0msbody320valid
0.0msbody160valid

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05926
129826
2339826
3500226

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.3b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

14.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
14.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
14.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
27.8b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite85.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
pow1 add-sqr-sqrt add-cube-cbrt
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
Counts
4 → 143
Calls
4 calls:
12.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
13.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
13.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
31.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))))

series503.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05792159
137861523
250011523

prune297.0ms

Filtered
155 candidates to 56 candidates (36.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1487155
Fresh000
Picked101
Done000
Total1497156

Merged error: 33.6b

Counts
156 → 7

localize5.0ms

Local error

Found 1 expressions with local error:

6.7b
(* (/ 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
mul0 pow-prod-down associate-*l/ *-commutative div-inv add-log-exp unswap-sqr
Counts
1 → 28
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)

simplify289.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (282.0ms)

IterNodesCost
017632
1185916
250016

prune59.0ms

Filtered
31 candidates to 19 candidates (61.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New30131
Fresh066
Picked101
Done000
Total31738

Merged error: 31.6b

Counts
38 → 7

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

prune21.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New000
Fresh066
Picked011
Done000
Total077

Merged error: 31.6b

Counts
7 → 7

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite121.0ms

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

series796.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05792389
137862041
250012041

prune315.0ms

Filtered
97 candidates to 56 candidates (57.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New95297
Fresh055
Picked101
Done011
Total968104

Merged error: 31.5b

Counts
104 → 8

regimes445.0ms

Accuracy

0% (2.1b remaining)

Error of 33.1b against oracle of 31.0b and baseline of 33.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample5.6s

Algorithm
intervals
Results
1.4s2330×body5120valid
1.0s12942×body80nan
839.0ms1785×body2560valid
539.0ms6800×body80valid
400.0ms627×body5120exit
332.0ms861×body1280valid
133.0ms443×body640valid
52.0ms230×body320valid
19.0ms129×body160valid

Profiling

Loading profile data...