Details

simplify3.3m (39.2%)

prune2.2m (26.3%)

sample1.6m (18.3%)

Algorithm
64×intervals
Results
38.7s270120×body80valid
11.9s13870×body1280valid
7.3s16788×body160valid
6.4s9284×body640valid
6.0s3852×body2560valid
4.1s75681×pre80true
3.7s2000×body10240exit
3.4s6743×body320valid
2.5s19461×body80nan
291.0ms237×body5120valid

rewrite30.0s (5.9%)

Algorithm
101×rewrite-expression-head
Calls

302 calls:

Slowest
3.3s
(* (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) (+ (* (* (- (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) 3) (+ 1 (* x1 x1))) (* x1 2)) (* (* x1 x1) 3)))
2.7s
(* (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) (+ (* (* (- (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) 3) (+ 1 (* x1 x1))) (* x1 2)) (* (* x1 x1) 3)))
2.6s
(* (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) (+ (* (* (- (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) 3) (+ 1 (* x1 x1))) (* x1 2)) (* (* x1 x1) 3)))
2.4s
(* (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) (+ (* (* (- (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) 3) (+ 1 (* x1 x1))) (* x1 2)) (* (* x1 x1) 3)))
998.0ms
(/ (- (* (* x (* (* x x) 1/3)) (* x (* (* x x) 1/3))) (* (- 1 (* (* x x) 1/2)) (- 1 (* (* x x) 1/2)))) (- (* x (* (* x x) 1/3)) (- 1 (* (* x x) 1/2))))
Rules
6357×times-frac
5777×*-un-lft-identity
5286×add-sqr-sqrt
3000×add-cube-cbrt
2825×add-exp-log
2502×add-cbrt-cube
1972×sqrt-prod
1114×pow1
1101×prod-exp
981×cbrt-unprod
933×difference-of-squares
844×div-exp
834×exp-prod
743×associate-*r*
704×associate-*l*
692×distribute-lft-out
681×cbrt-undiv
601×add-log-exp
544×distribute-lft-out--
440×log-pow
402×associate-/l*
332×div-inv
327×associate-/r*
325×associate-/r/
302×insert-posit16
294×pow-prod-down
231×flip-+ flip3-+
208×unswap-sqr
199×sqrt-div
146×flip3-- flip--
130×unpow-prod-down
121×pow-prod-up
120×swap-sqr
108×sqr-pow
107×sum-log
105×difference-of-sqr-1
104×associate-*r/
94×*-commutative
84×associate-*l/
77×pow-sqr
74×sub-neg
73×frac-times associate-/l/
69×frac-2neg clear-num
68×distribute-rgt-neg-in
66×diff-log
63×pow-plus
57×distribute-lft-neg-in
55×1-exp rec-exp
50×cbrt-prod
48×distribute-rgt-in distribute-lft-in
45×pow2
34×log-prod rem-sqrt-square
33×sqrt-pow1 pow1/2
32×div-sub
30×cbrt-div
26×+-commutative
22×frac-sub
20×associate--r+ pow1/3
19×neg-mul-1
14×exp-sum rem-exp-log frac-add
11×associate-+l+ associate-+r+ distribute-rgt-out--
10×pow-exp pow-to-exp
exp-diff log-div
associate--l-
pow-flip associate--l+ distribute-frac-neg distribute-lft-neg-out inv-pow rem-log-exp
neg-sub0 pow-unpow
associate-+r-
cube-prod sub-div un-div-inv distribute-rgt-out
neg-log distribute-rgt1-in
remove-posit16 pow-pow exp-to-pow
distribute-lft1-in sqrt-undiv cube-unmult pow3 unpow3 cube-mult associate--r-

series28.1s (5.5%)

Calls

302 calls:

Slowest
710.0ms
(sqrt (/ (* (- 3 (* 2 v)) 0.125) (/ (- 1 v) (* (* w r) (* w r)))))
683.0ms
(sqrt (/ (* (- 3 (* 2 v)) 0.125) (/ (- 1 v) (* (* w r) (* w r)))))
587.0ms
(* (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) (+ (* (* (- (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) 3) (+ 1 (* x1 x1))) (* x1 2)) (* (* x1 x1) 3)))
575.0ms
(* (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) (+ (* (* (- (/ (+ (* (* x1 x1) 3) (- (* x2 2) x1)) (+ 1 (* x1 x1))) 3) (+ 1 (* x1 x1))) (* x1 2)) (* (* x1 x1) 3)))
560.0ms
(* x (- 0.954929658551372 (* (* 0.12900613773279798 x) x)))

bsearch16.7s (3.3%)

regimes4.4s (0.9%)

Accuracy

Total 31.2b remaining (12%)

Threshold costs 2.5b (0.9%)

11.3b49.6%Compound Interest
4.7b76%Kahan p9 Example
4.6b83.4%The quadratic formula (r1)
4.4b84%The quadratic formula (r2)
2.4b0%Complex division, real part

localize3.6s (0.7%)

end1.0ms (0.0%)