Details

Time bar (total: 9.3s)

sample195.0ms

Algorithm
intervals
Results
42.0ms75×body5120valid
38.0ms468×body80nan
29.0ms63×body2560valid
16.0ms211×body80valid
11.0ms18×body5120exit
11.0ms19×body1280valid
4.0ms14×body640valid
2.0msbody320valid
1.0msbody160valid

simplify106.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
06026
130425
2346225
3500325

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 60.6b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

19.4b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.4b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.4b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
27.7b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

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

series540.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
97.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
96.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
249.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))))

simplify142.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
05942246
138771589
250011584

prune353.0ms

Filtered
168 candidates to 70 candidates (41.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1635168
Fresh000
Picked101
Done000
Total1645169

Merged error: 35.9b

Counts
169 → 5

localize5.0ms

Local error

Found 1 expressions with local error:

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

simplify291.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (286.0ms)

IterNodesCost
017840
1186124
2500114

prune68.0ms

Filtered
33 candidates to 21 candidates (63.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32133
Fresh044
Picked101
Done000
Total33538

Merged error: 33.8b

Counts
38 → 5

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune15.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New000
Fresh044
Picked011
Done000
Total055

Merged error: 33.8b

Counts
5 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

19.4b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.4b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
20.0b
(/ (* (* w h) (* D D)) (* c0 (* d d)))
31.8b
(+ (/ 1 (/ (* (* w h) (* D D)) (* c0 (* d d)))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
211×add-exp-log add-cbrt-cube
117×prod-exp cbrt-unprod
45×cbrt-undiv div-exp
21×times-frac
20×fma-def
16×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
div-inv
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num associate-/r* associate-/l*
sqrt-div frac-add distribute-lft-out
+-commutative flip3-- flip3-+ sum-log associate-/r/ flip-- flip-+
Counts
4 → 172
Calls
4 calls:
14.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
14.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
14.0ms
(/ (* (* w h) (* D D)) (* c0 (* d d)))
46.0ms
(+ (/ 1 (/ (* (* w h) (* D D)) (* c0 (* d d)))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

series934.0ms

Counts
4 → 12
Calls
4 calls:
290.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
95.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
105.0ms
(/ (* (* w h) (* D D)) (* c0 (* d d)))
444.0ms
(+ (/ 1 (/ (* (* w h) (* D D)) (* c0 (* d d)))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

simplify42.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08092347
150011651

prune390.0ms

Filtered
184 candidates to 85 candidates (46.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1822184
Fresh123
Picked011
Done011
Total1836189

Merged error: 33.8b

Counts
189 → 6

regimes335.0ms

Accuracy

0% (2.2b remaining)

Error of 34.1b against oracle of 31.9b and baseline of 34.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample5.6s

Algorithm
intervals
Results
1.3s2253×body5120valid
1.0s13062×body80nan
799.0ms1684×body2560valid
544.0ms6745×body80valid
363.0ms951×body1280valid
361.0ms570×body5120exit
149.0ms482×body640valid
51.0ms224×body320valid
17.0ms107×body160valid