Details

Time bar (total: 9.0s)

sample263.0ms

Algorithm
intervals
Results
44.0ms77×body5120valid
38.0ms454×body80nan
32.0ms52×body2560valid
21.0ms245×body80valid
16.0ms26×body5120exit
7.0ms18×body1280valid
4.0ms13×body640valid
1.0msbody320valid
0.0msbody160valid

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05926
129826
2339826
3500226

prune5.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.9b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.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)))
14.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))))

series184.0ms

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

Useful iterations: 1 (16.0ms)

IterNodesCost
05792159
137861523
250011523

prune134.0ms

Filtered
155 candidates to 56 candidates (63.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1496155
Fresh000
Picked101
Done000
Total1506156

Merged error: 35.7b

Counts
156 → 6

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)

simplify285.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (282.0ms)

IterNodesCost
017632
1185916
250016

prune57.0ms

Filtered
31 candidates to 19 candidates (38.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New30131
Fresh055
Picked101
Done000
Total31637

Merged error: 33.5b

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

prune26.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done000
Total066

Merged error: 33.5b

Counts
6 → 6

localize27.0ms

Local error

Found 4 expressions with local error:

26.9b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
26.9b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
26.9b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
31.1b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))))) (* M M))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
add-log-exp
pow1 add-exp-log add-cbrt-cube
cbrt-div times-frac pow1/3 div-inv
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
Counts
4 → 56
Calls
4 calls:
9.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
9.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
9.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
36.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))))) (* M M))))

series286.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
61.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
60.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
106.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (* (* (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))) (cbrt (/ (* c0 (* d d)) (* (* w h) (* D D)))))) (* M M))))

simplify68.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
03731723
118571581
250011572

prune132.0ms

Filtered
68 candidates to 64 candidates (5.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh044
Picked011
Done011
Total67774

Merged error: 33.3b

Counts
74 → 7

regimes844.0ms

Accuracy

0% (2.5b remaining)

Error of 35.1b against oracle of 32.6b and baseline of 35.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample6.3s

Algorithm
intervals
Results
1.3s2265×body5120valid
1.1s13560×body80nan
808.0ms1682×body2560valid
634.0ms7554×body80valid
358.0ms558×body5120exit
327.0ms833×body1280valid
131.0ms421×body640valid
55.0ms237×body320valid
18.0ms102×body160valid

Profiling

Loading profile data...