Details

Time bar (total: 9.1s)

sample193.0ms

Algorithm
intervals
Results
48.0ms75×body5120valid
34.0ms417×body80nan
30.0ms60×body2560valid
16.0ms192×body80valid
11.0ms17×body5120exit
8.0ms21×body1280valid
3.0msbody640valid
2.0msbody320valid
1.0msbody160valid

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

Counts
2 → 1

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

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

series520.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05792159
137861523
250011523

prune295.0ms

Filtered
155 candidates to 56 candidates (36.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1496155
Fresh000
Picked101
Done000
Total1506156

Merged error: 33.6b

Counts
156 → 6

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*l*
times-frac
prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp
associate-*r* associate-/l*
div-inv add-log-exp
frac-2neg mul0 pow-prod-down associate-*l/ clear-num associate-/r* *-commutative unswap-sqr
Counts
2 → 49
Calls
2 calls:
7.0ms
(/ c0 (* 2.0 w))
12.0ms
(* (/ c0 (* 2.0 w)) 0)

series19.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(/ c0 (* 2.0 w))
2.0ms
(* (/ c0 (* 2.0 w)) 0)

simplify288.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (283.0ms)

IterNodesCost
0199118
1189587
2500177

prune93.0ms

Filtered
55 candidates to 36 candidates (65.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New54155
Fresh055
Picked101
Done000
Total55661

Merged error: 30.5b

Counts
61 → 6

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

prune17.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done000
Total066

Merged error: 30.5b

Counts
6 → 6

localize31.0ms

Local error

Found 4 expressions with local error:

18.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
28.0b
(+ (/ (* 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.0b
(+ (/ (* 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.0b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite123.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)))
34.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))))
39.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))))

series809.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05792389
137862041
250012041

prune329.0ms

Filtered
97 candidates to 56 candidates (57.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done011
Total976103

Merged error: 30.5b

Counts
103 → 6

regimes344.0ms

Accuracy

0% (2.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample5.5s

Algorithm
intervals
Results
1.3s2283×body5120valid
992.0ms12978×body80nan
822.0ms1792×body2560valid
520.0ms6662×body80valid
366.0ms588×body5120exit
346.0ms888×body1280valid
125.0ms428×body640valid
48.0ms220×body320valid
17.0ms113×body160valid

Profiling

Loading profile data...