Details

simplify6.9m (61.4%)

sample1.2m (10.6%)

Algorithm
73×intervals
Results
25.1s286164×body80valid
8.8s25112×body160valid
8.5s13925×body1280valid
4.9s3804×body2560valid
4.2s9164×body640valid
3.6s100577×pre80true
2.8s2143×body10240exit
1.6s7014×body320valid
1.4s19328×body80nan
191.0ms213×body5120valid
6.0ms100×pre80false

rewrite1.1m (9.4%)

Algorithm
109×rewrite-expression-head
Calls

320 calls:

20.0s
(+ (+ (* (+ (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (+ (+ (* (- 3.0) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))))) (* (* x1 x1) (- 6.0)))) (+ (* x1 x1) 1.0)) (* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) x1))
6.9s
(+ (+ (* (+ (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (+ (* (- 3.0) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))) (+ (* x1 x1) 1.0)) (* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) x1))
2.7s
(* (* (* (* (/ (cbrt 0.125) (cbrt (- 1.0 v))) (/ (cbrt 0.125) (cbrt (- 1.0 v)))) (* (* w r) (* w r))) (- 3.0 (* 2.0 v))) (/ (cbrt 0.125) (cbrt (- 1.0 v))))
2.0s
(cbrt (* (- (+ (* 0.6666666666666667 (* x (* x x))) 2.0) (* 1.0 (* x x))) (* (- (+ (* 0.6666666666666667 (* x (* x x))) 2.0) (* 1.0 (* x x))) (- (+ (* 0.6666666666666667 (* x (* x x))) 2.0) (* 1.0 (* x x))))))
1.9s
(+ (+ (* (* x x) (- (- (* 11.0 (* (* x y) (* x y))) (pow y 6.0)) (+ 2.0 (* (pow y 4.0) 121.0)))) (* (pow y 6.0) 333.75)) (+ (* (pow y 8.0) 5.5) (/ x (* 2.0 y))))
Rules
3332×add-exp-log
2976×*-un-lft-identity
2745×add-sqr-sqrt
2624×add-cbrt-cube
2390×times-frac
1827×prod-exp
1787×cbrt-unprod
1722×add-cube-cbrt
1321×pow1
935×associate-*r*
782×add-log-exp
564×div-exp
550×cbrt-undiv
537×pow-prod-down
492×frac-times
462×associate-*l*
410×distribute-lft-out
343×associate-*r/ associate-*l/
341×flip-+ flip3-+
340×difference-of-squares
338×flip3-- flip--
312×sqrt-prod
304×cbrt-prod
238×distribute-lft-out--
225×associate-/l*
213×associate-/r/
205×associate-/r*
201×sum-log
193×frac-sub
168×swap-sqr
164×cbrt-div
156×div-inv
146×unswap-sqr
120×unpow-prod-down
116×sub-neg
94×sqrt-div *-commutative
92×exp-neg
85×pow-prod-up
75×diff-log
73×neg-sub0 sqr-pow
71×distribute-rgt-in associate-/l/ distribute-lft-in
69×exp-diff
58×frac-add
57×+-commutative distribute-rgt-neg-in
56×pow-plus
54×distribute-lft-neg-in
49×frac-2neg clear-num pow-sqr
48×sqrt-pow1
41×pow1/3
40×rem-sqrt-square
34×pow2 pow1/2
33×associate-+r+
32×associate-+l+
27×log-prod
26×un-div-inv
23×log-pow
19×div-sub
18×neg-mul-1
16×exp-sum associate--l+
15×pow-exp pow-to-exp
14×pow3
13×associate--r+
11×exp-prod
distribute-lft-neg-out cube-unmult distribute-frac-neg
associate-+r- 1-exp rec-exp
sum-cubes
log-div
rem-log-exp
cube-prod rem-cbrt-cube distribute-rgt-out
distribute-lft1-in associate--l- pow-unpow unsub-neg
pow-flip distribute-rgt-neg-out neg-log inv-pow exp-to-pow associate-+l-
unpow3 pow-pow rem-exp-log cube-mult associate--r- distribute-rgt1-in

prune1.1m (9.4%)

series49.7s (7.4%)

Calls

320 calls:

3.0s
(cbrt (+ (+ (* (log 1.0) (- n (* i (* i 0.5)))) (* i (* i 0.5))) (* 1.0 i)))
2.6s
(cbrt (+ (+ (* (log 1.0) (- n (* i (* i 0.5)))) (* i (* i 0.5))) (* 1.0 i)))
2.5s
(cbrt (+ (+ (* (log 1.0) (- n (* i (* i 0.5)))) (* i (* i 0.5))) (* 1.0 i)))
989.0ms
(* (* (* (/ (* (cbrt (sqrt 0.125)) (cbrt (sqrt 0.125))) (cbrt (- 1.0 v))) (/ (cbrt 0.125) (cbrt (- 1.0 v)))) (* (* w r) (* w r))) (* (- 3.0 (* 2.0 v)) (/ (cbrt 0.125) (cbrt (- 1.0 v)))))
874.0ms
(+ (+ (* (+ (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (+ (+ (* (- 3.0) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))))) (* (* x1 x1) (- 6.0)))) (+ (* x1 x1) 1.0)) (* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) x1))

regimes6.3s (0.9%)

Accuracy

Total 31.6b remaining (7.6%)

Threshold costs 3.6b (0.9%)

10.8b52.6%Compound Interest
4.6b84.1%The quadratic formula (r1)
4.5b83.3%The quadratic formula (r2)
3.7b-20.3%Complex division, real part
3.2b0%Complex division, imag part

localize4.4s (0.6%)

bsearch1.3s (0.2%)

end1.0ms (0.0%)