Details

Time bar (total: 12.0s)

analyze1.9s

Algorithm
search

sample188.0ms

Algorithm
intervals
Results
42.0ms71×body5120valid
34.0ms411×body80nan
29.0ms61×body2560valid
11.0ms140×body80invalid
9.0ms14×body5120exit
8.0ms19×body1280valid
7.0ms86×body80valid
3.0ms11×body640valid
2.0msbody1280invalid
2.0msbody320valid
1.0msbody640invalid
0.0msbody160valid
0.0msbody160invalid

simplify108.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05926
129826
2339826
3500226

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 60.0b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

19.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
25.2b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite84.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:
15.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)))
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))))

series195.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
30.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
31.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
101.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
155 → 155
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05792159
137861523
250011523

prune131.0ms

Filtered
56 candidates to 155 candidates (-176.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1496155
Fresh000
Picked101
Done000
Total1506156

Merged error: 36.5b

Counts
156 → 6

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series1.0ms

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

simplify285.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (282.0ms)

IterNodesCost
017632
1185916
250016

prune54.0ms

Filtered
19 candidates to 31 candidates (-63.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New30131
Fresh055
Picked101
Done000
Total31637

Merged error: 33.6b

Counts
37 → 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

prune23.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done000
Total066

Merged error: 33.6b

Counts
6 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

19.3b
(/ (/ (* c0 (* d d)) (* w h)) (* D D))
19.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.8b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
30.4b
(+ (/ (/ (* 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
207×add-exp-log add-cbrt-cube
103×prod-exp cbrt-unprod
56×cbrt-undiv div-exp
times-frac
*-un-lft-identity
associate-/l*
add-sqr-sqrt add-cube-cbrt add-log-exp
div-inv
pow1
frac-2neg clear-num associate-/r*
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ associate-/l/ distribute-lft-out
Counts
4 → 150
Calls
4 calls:
11.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)))
36.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))))

series194.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08022195
150011574

prune82.0ms

Filtered
60 candidates to 162 candidates (-170.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1575162
Fresh134
Picked101
Done011
Total1599168

Merged error: 33.4b

Counts
168 → 9

regimes885.0ms

Accuracy

0% (3.0b remaining)

Error of 33.8b against oracle of 30.8b and baseline of 33.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

analyze1.9s

Algorithm
search

sample5.7s

Algorithm
intervals
Results
1.4s2325×body5120valid
1.1s12802×body80nan
829.0ms1690×body2560valid
376.0ms4463×body80invalid
369.0ms569×body5120exit
353.0ms884×body1280valid
205.0ms2429×body80valid
122.0ms393×body640valid
44.0ms182×body320valid
27.0ms55×body2560invalid
25.0ms63×body1280invalid
16.0ms97×body160valid
12.0ms39×body640invalid
9.0ms37×body320invalid
4.0ms25×body160invalid
2.0msbody5120invalid

Profiling

Loading profile data...