Details

Time bar (total: 10.3s)

sample224.0ms

Algorithm
intervals
Results
41.0ms69×body5120valid
41.0ms433×body80nan
27.0ms55×body2560valid
20.0ms233×body80valid
13.0ms21×body5120exit
12.0ms30×body1280valid
3.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify102.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05926
129826
2339826
3500226

prune7.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.4b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.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)))
12.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))))

series181.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05792159
137861523
250011523

prune422.0ms

Filtered
155 candidates to 56 candidates (63.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1496155
Fresh000
Picked011
Done000
Total1497156

Merged error: 30.3b

Counts
156 → 7

localize5.0ms

Local error

Found 1 expressions with local error:

5.2b
(* (/ 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)

simplify288.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (284.0ms)

IterNodesCost
017632
1185916
250016

prune75.0ms

Filtered
31 candidates to 19 candidates (38.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New30131
Fresh055
Picked101
Done011
Total31738

Merged error: 28.8b

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

prune36.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done011
Total077

Merged error: 28.8b

Counts
7 → 7

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite111.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)))
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))))
30.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))))
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))))

series303.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05792389
137862041
250012041

prune471.0ms

Filtered
97 candidates to 56 candidates (42.3%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done022
Total977104

Merged error: 28.8b

Counts
104 → 7

regimes998.0ms

Accuracy

84% (0.4b remaining)

Error of 31.5b against oracle of 31.1b and baseline of 33.5b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03778
13778

end0.0ms

sample6.7s

Algorithm
intervals
Results
1.4s2293×body5120valid
1.1s13195×body80nan
903.0ms1771×body2560valid
582.0ms6645×body80valid
378.0ms901×body1280valid
371.0ms556×body5120exit
141.0ms438×body640valid
56.0ms230×body320valid
19.0ms106×body160valid

Profiling

Loading profile data...