Details

Time bar (total: 27.6s)

sample335.0ms

Algorithm
intervals
Results
111.0ms395×body80nan
63.0ms80×body5120valid
38.0ms52×body2560valid
20.0ms209×body80valid
14.0ms17×body10240exit
13.0ms27×body1280valid
5.0ms14×body640valid
3.0ms11×body320valid
0.0msbody160valid

simplify2.3s

Counts
1 → 1
Iterations

Useful iterations: done (2.3s)

IterNodesCost
02152
16052
229550
3326950
done500045

prune27.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 58.5b

localize29.0ms

Local error

Found 4 expressions with local error:

19.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
19.0b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
25.9b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite880.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:
46.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
46.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
46.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
729.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))))

series718.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
117.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
121.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
357.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.8s

Counts
168 → 168
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01614866
14844432
231242971
done50022933

prune553.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 32.0b

localize11.0ms

Local error

Found 1 expressions with local error:

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

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

series2.0ms

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

simplify3.0s

Counts
33 → 33
Iterations

Useful iterations: 2 (152.0ms)

IterNodesCost
069299
116078
247242
3212242
done500142

prune137.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 29.7b

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

prune41.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 29.7b

localize30.0ms

Local error

Found 4 expressions with local error:

11.9b
(/ (* c0 d) (* w h))
15.2b
(sqrt (fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M))))
23.5b
(fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M)))
46.6b
(fma (/ (* c0 d) (* w h)) (/ d (* D D)) (sqrt (fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M)))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u add-log-exp
sqrt-prod
fma-udef
rem-sqrt-square frac-2neg sqrt-pow1 times-frac pow1/2 clear-num associate-/r* div-inv associate-/l*
Counts
4 → 58
Calls
4 calls:
24.0ms
(/ (* c0 d) (* w h))
4.0ms
(sqrt (fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M))))
0.0ms
(fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M)))
0.0ms
(fma (/ (* c0 d) (* w h)) (/ d (* D D)) (sqrt (fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (* c0 d) (* w h))
346.0ms
(sqrt (fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M))))
504.0ms
(fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M)))
323.0ms
(fma (/ (* c0 d) (* w h)) (/ d (* D D)) (sqrt (fma (* (/ d D) (pow (/ d D) 3)) (* (/ c0 (* w h)) (/ c0 (* w h))) (- (* M M)))))

simplify1.5s

Counts
70 → 70
Iterations

Useful iterations: 2 (297.0ms)

IterNodesCost
01271651
13131583
214031217
done50001217

prune348.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 29.1b

regimes765.0ms

Accuracy

0% (3.2b remaining)

Error of 33.8b against oracle of 30.6b and baseline of 33.8b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
034
141
done41

end0.0ms

sample13.9s

Algorithm
intervals
Results
4.5s2295×body5120valid
2.6s12800×body80nan
1.6s1751×body2560valid
1.2s6565×body80valid
795.0ms924×body1280valid
676.0ms581×body10240exit
243.0ms465×body640valid
78.0ms227×body320valid
54.0ms117×body160valid