Details

Time bar (total: 19.2s)

sample5.9s

Algorithm
intervals
sampling

Space saved by range analysis: 4.090061%

Space saved by search: 0.292611%

Guaranteed chance to sample good point: 0%

Results
46.0ms78×body5120valid
34.0ms363×body80nan
22.0ms46×body2560valid
12.0ms19×body5120exit
11.0ms137×body80invalid
10.0ms25×body1280valid
7.0ms92×body80valid
3.0ms10×body640valid
1.0msbody640invalid
1.0msbody2560invalid
1.0msbody320valid
0.0msbody160valid

simplify103.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: 59.9b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

18.9b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.9b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.9b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
24.5b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite79.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)))
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))))

series195.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)))
102.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
155 → 155
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05792159
137861523
250011523

prune127.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1505155
Fresh000
Picked101
Done000
Total1515156

Merged error: 33.6b

Counts
156 → 5

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.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:
7.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
31 → 31
Iterations

Useful iterations: 2 (287.0ms)

IterNodesCost
017632
1185916
250016

prune52.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New30131
Fresh044
Picked101
Done000
Total31536

Merged error: 31.6b

Counts
36 → 5

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

prune19.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New000
Fresh044
Picked011
Done000
Total055

Merged error: 31.6b

Counts
5 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

18.5b
(* (* c0 (* d d)) (/ 1 (* (* w h) (* D D))))
18.9b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.9b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
27.7b
(+ (* (* c0 (* d d)) (/ 1 (* (* w h) (* D D)))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
373×add-exp-log
246×prod-exp
235×add-cbrt-cube
138×cbrt-unprod
60×div-exp
45×cbrt-undiv
15×rec-exp 1-exp
13×pow1
associate-*r*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow-prod-down add-log-exp
times-frac
sqrt-div frac-add
associate-*r/ un-div-inv div-inv
flip3-- frac-2neg clear-num associate-/r* flip-- associate-/l*
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
4 → 188
Calls
4 calls:
17.0ms
(* (* c0 (* d d)) (/ 1 (* (* 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)) (/ 1 (* (* 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:
31.0ms
(* (* c0 (* d d)) (/ 1 (* (* w h) (* D D))))
30.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
31.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
104.0ms
(+ (* (* c0 (* d d)) (/ 1 (* (* w h) (* D D)))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

simplify48.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010322710
150022000

prune88.0ms

Filtered
56 candidates to 200 candidates (-257.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1973200
Fresh123
Picked101
Done011
Total1996205

Merged error: 31.3b

Counts
205 → 6

regimes765.0ms

Accuracy

0% (3.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample11.1s

Algorithm
intervals
sampling

Space saved by range analysis: 4.090061%

Space saved by search: 0.292611%

Guaranteed chance to sample good point: 0%

Results
1.4s2301×body5120valid
922.0ms11553×body80nan
823.0ms1675×body2560valid
364.0ms568×body5120exit
339.0ms855×body1280valid
331.0ms4076×body80invalid
205.0ms2476×body80valid
125.0ms392×body640valid
51.0ms199×body320valid
21.0ms45×body2560invalid
18.0ms47×body1280invalid
18.0ms58×body640invalid
16.0ms102×body160valid
7.0ms31×body320invalid
2.0ms14×body160invalid
2.0msbody5120invalid

Profiling

Loading profile data...