Details

Time bar (total: 15.5s)

sample168.0ms

Algorithm
intervals
Results
39.0ms87×body5120valid
25.0ms430×body80nan
19.0ms51×body2560valid
12.0ms207×body80valid
10.0ms15×body10240exit
8.0ms27×body1280valid
3.0ms14×body640valid
1.0msbody320valid
0.0msbody160valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02152
16052
229550
3326950
done500045

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 60.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite712.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:
41.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
41.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
40.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
581.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))))

series574.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
101.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
103.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
271.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))))

simplify1.4s

Counts
168 → 168
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01614866
14844432
231242971
done50022933

prune389.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 33.6b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite24.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:
23.0ms
(* (/ c0 (* 2.0 w)) 0)

series2.0ms

Counts
1 → 3
Calls
1 calls:
2.0ms
(* (/ c0 (* 2.0 w)) 0)

simplify2.0s

Counts
33 → 33
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
069299
116078
247242
3212242
done500142

prune76.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 30.8b

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify0.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
done00

prune24.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 30.8b

localize25.0ms

Local error

Found 4 expressions with local error:

29.8b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
29.8b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
29.8b
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
33.8b
(+ (/ (* 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))))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
10×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
add-log-exp
fma-def
pow1 add-exp-log expm1-log1p-u times-frac add-cbrt-cube log1p-expm1-u div-inv
cbrt-div pow1/3
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
Counts
4 → 69
Calls
4 calls:
27.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
28.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
27.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
938.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))))

series892.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
191.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
193.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
322.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))))

simplify850.0ms

Counts
81 → 81
Iterations

Useful iterations: done (847.0ms)

IterNodesCost
01463599
13763423
216812374
done50022193

prune448.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 30.6b

regimes415.0ms

Accuracy

0% (3.1b remaining)

Error of 33.3b against oracle of 30.2b and baseline of 33.3b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055
165
done65

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.1s2303×body5120valid
772.0ms12953×body80nan
638.0ms1726×body2560valid
411.0ms6843×body80valid
295.0ms588×body10240exit
265.0ms882×body1280valid
96.0ms421×body640valid
42.0ms245×body320valid
12.0ms92×body160valid