Details

Time bar (total: 9.2s)

sample158.0ms

Algorithm
intervals
Results
34.0ms72×body5120valid
29.0ms418×body80nan
23.0ms61×body2560valid
14.0ms223×body80valid
10.0ms32×body1280valid
7.0ms13×body10240exit
3.0ms13×body640valid
1.0msbody320valid
0.0msbody160valid

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05926
129826
2339826
3500226

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 59.1b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite325.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:
16.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
16.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
267.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))))

series519.0ms

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

Useful iterations: 1 (16.0ms)

IterNodesCost
05792159
137861523
250011523

prune293.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 33.2b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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*
div-inv add-log-exp
frac-2neg mul0 pow-prod-down associate-*l/ clear-num associate-/r* *-commutative unswap-sqr
Counts
2 → 49
Calls
2 calls:
3.0ms
(/ c0 (* 2.0 w))
10.0ms
(* (/ c0 (* 2.0 w)) 0)

series22.0ms

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

simplify286.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (281.0ms)

IterNodesCost
0199118
1189587
2500177

prune109.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 31.0b

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

prune8.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 31.0b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite818.0ms

Algorithm
rewrite-expression-head
Rules
73×add-exp-log add-cbrt-cube
39×prod-exp cbrt-unprod
15×cbrt-undiv div-exp
10×*-un-lft-identity add-log-exp
sqrt-div frac-add
pow1 add-sqr-sqrt add-cube-cbrt
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
4 → 85
Calls
4 calls:
16.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
266.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))))
266.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))))
266.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))))

series809.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
238.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))))
236.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))))
240.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
97 → 97
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05792389
137862041
250012041

prune350.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 31.0b

regimes361.0ms

Accuracy

64% (0.8b remaining)

Error of 33.0b against oracle of 32.3b and baseline of 34.4b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03452
13452

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.1s2324×body5120valid
796.0ms13057×body80nan
673.0ms1705×body2560valid
421.0ms6676×body80valid
290.0ms553×body10240exit
282.0ms904×body1280valid
129.0ms495×body640valid
39.0ms219×body320valid
16.0ms114×body160valid