Details

Time bar (total: 38.2s)

sample431.0ms

Algorithm
intervals
Results
100.0ms399×body80nan
76.0ms67×body5120valid
54.0ms19×body10240exit
39.0ms43×body2560valid
31.0ms213×body80valid
26.0ms36×body1280valid
9.0ms16×body640valid
4.0msbody320valid
1.0msbody160valid

simplify3.5s

Counts
1 → 1
Iterations

Useful iterations: done (3.5s)

IterNodesCost
02152
16052
230350
3343550
done500045

prune40.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 55.7b

localize87.0ms

Local error

Found 4 expressions with local error:

17.7b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.7b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
17.7b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
25.3b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite1.4s

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:
86.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
87.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
82.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
1.2s
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

series1.0s

Counts
4 → 12
Calls
4 calls:
191.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
178.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
189.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
485.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))))

simplify737.0ms

Counts
168 → 168
Iterations

Useful iterations: done (727.0ms)

IterNodesCost
01614866
16194432
done50003209

prune1.2s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 34.4b

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite70.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:
16.0ms
(/ c0 (* 2.0 w))
50.0ms
(* (/ c0 (* 2.0 w)) 0)

series43.0ms

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

simplify1.9s

Counts
59 → 59
Iterations

Useful iterations: 2 (234.0ms)

IterNodesCost
085496
1213284
2914206
done5000206

prune513.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 32.6b

localize5.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify1.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
done00

prune111.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 32.6b

localize111.0ms

Local error

Found 4 expressions with local error:

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

rewrite2.1s

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:
61.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
62.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
59.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
2.0s
(+ (/ (* 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))))

series1.7s

Counts
4 → 12
Calls
4 calls:
355.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
343.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
344.0ms
(cbrt (/ (* c0 (* d d)) (* (* w h) (* D D))))
623.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))))

simplify1.9s

Counts
81 → 81
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01463599
13793423
219982374
done50022193

prune1.2s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 32.5b

regimes1.8s

Accuracy

0% (3.0b remaining)

Error of 34.4b against oracle of 31.4b and baseline of 34.4b

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
022
141
done41

end0.0ms

sample18.2s

Algorithm
intervals
Results
5.0s2335×body5120valid
3.5s13180×body80nan
2.9s1619×body2560valid
1.3s566×body10240exit
1.3s6867×body80valid
929.0ms964×body1280valid
393.0ms441×body640valid
176.0ms257×body320valid
36.0ms120×body160valid