Details

Time bar (total: 8.7s)

sample162.0ms

Algorithm
intervals
Results
32.0ms64×body5120valid
28.0ms65×body2560valid
26.0ms413×body80nan
18.0ms237×body80valid
8.0ms26×body1280valid
8.0ms15×body10240exit
3.0ms10×body640valid
2.0msbody320valid
1.0msbody160valid

simplify109.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.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)

Merged error: 59.5b

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

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

series530.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
05942246
138771589
250011584

prune399.0ms

Filtered
168 candidates to 70 candidates (41.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 34.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ c0 (* 2.0 w))
3.7b
(* (/ c0 (* 2.0 w)) 0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*l*
times-frac
prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp
associate-*r* associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
frac-2neg mul0 pow-prod-down associate-*l/ clear-num associate-/r* *-commutative unswap-sqr
Counts
2 → 53
Calls
2 calls:
4.0ms
(/ c0 (* 2.0 w))
7.0ms
(* (/ c0 (* 2.0 w)) 0)

series19.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(/ c0 (* 2.0 w))
1.0ms
(* (/ c0 (* 2.0 w)) 0)

simplify285.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (279.0ms)

IterNodesCost
0203132
11899101
2500191

prune140.0ms

Filtered
59 candidates to 40 candidates (67.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 32.9b

localize2.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

prune23.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 32.9b

localize30.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)))
26.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))))
26.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))))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
142×add-exp-log add-cbrt-cube
78×prod-exp cbrt-unprod
30×cbrt-undiv div-exp
10×fma-def *-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 expm1-log1p-u times-frac sqrt-div frac-add log1p-expm1-u div-inv
+-commutative flip3-- frac-2neg flip3-+ clear-num associate-/r* sum-log flip-- flip-+ distribute-lft-out associate-/l*
Counts
4 → 132
Calls
4 calls:
14.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.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))))
35.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))))

series683.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
95.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
245.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))))
248.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))))

simplify177.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (159.0ms)

IterNodesCost
05942392
138771858
250011848

prune468.0ms

Filtered
144 candidates to 76 candidates (52.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 32.9b

regimes374.0ms

Accuracy

0% (2.3b remaining)

Error of 33.2b against oracle of 30.9b and baseline of 33.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042
142

end0.0ms

sample5.0s

Algorithm
intervals
Results
1.2s2326×body5120valid
846.0ms12962×body80nan
726.0ms1737×body2560valid
446.0ms6618×body80valid
327.0ms586×body10240exit
307.0ms918×body1280valid
118.0ms449×body640valid
44.0ms225×body320valid
15.0ms119×body160valid