Details

simplify13.1m (71.1%)

rewrite1.9m (10.4%)

Algorithm
109×rewrite-expression-head
Calls

324 calls:

9.0s
(+ (+ (* (* x x) (- (- (- (* 11.0 (* (* x y) (* x y))) (pow y 6.0)) (* 121.0 (pow y 4.0))) 2.0)) (* (pow y 6.0) 333.75)) (+ (* (pow y 8.0) 5.5) (/ x (* y 2.0))))
5.4s
(+ (* (* (* (cbrt (* (* (* 2.0 x1) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0))) (cbrt (* (* (* 2.0 x1) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))) (cbrt (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))) (+ (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)) (* (* (cbrt (+ (* x1 x1) 1.0)) (cbrt (+ (* x1 x1) 1.0))) (* x1 (* x1 (* (+ (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))))
1.3s
(* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0))
1.2s
(+ (+ (* 333.75 (pow 33096.0 6.0)) (* (* 77617.0 77617.0) (+ (+ (+ (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (- (pow 33096.0 6.0))) (* -121.0 (pow 33096.0 4.0))) -2.0))) (* 5.5 (pow 33096.0 8.0)))
924.0ms
(/ (- (* (* (* (cbrt (fma x y z)) (cbrt (fma x y z))) (* (cbrt (fma x y z)) (cbrt (fma x y z)))) (* (cbrt (fma x y z)) (cbrt (fma x y z)))) (* (+ 1.0 (+ (* x y) z)) (+ 1.0 (+ (* x y) z)))) (+ (fma x y z) (+ 1.0 (+ (* x y) z))))
Rules
607805×frac-times
593679×associate-*r/
463106×cbrt-div
234671×flip3-- flip--
205424×associate-*l/
157171×flip-+ flip3-+
117061×frac-add
4655×times-frac
4071×add-sqr-sqrt
3997×*-un-lft-identity
2723×add-cube-cbrt
2430×add-exp-log
2286×add-cbrt-cube
976×pow1
953×prod-exp
920×associate-*r*
901×cbrt-unprod
758×add-log-exp
723×sqrt-prod
694×associate-*l*
632×div-exp
577×cbrt-undiv
517×difference-of-squares
395×associate-/r*
336×distribute-lft-out
329×distribute-lft-out--
269×associate-/r/
262×div-inv
255×associate-/l*
229×pow-prod-down
154×distribute-rgt-in distribute-lft-in
152×sum-log
148×swap-sqr
147×unswap-sqr
130×sub-neg
124×unpow-prod-down
108×sqrt-div
103×frac-sub
90×sqr-pow *-commutative pow-prod-up diff-log
78×associate-+r+
68×associate-/l/
57×frac-2neg clear-num
55×pow-plus
51×log-pow
50×+-commutative
48×pow-sqr
47×cbrt-prod
41×exp-sum distribute-rgt-neg-in
38×pow2
31×sqrt-pow1 rem-sqrt-square
30×pow1/2 distribute-lft-neg-in
27×1-exp pow1/3 rec-exp
26×associate-+l+ associate--r+
25×exp-prod
19×exp-to-pow
18×div-sub
15×pow-exp pow-to-exp
14×pow-flip log-prod cube-unmult
10×neg-mul-1
neg-sub0 associate-+l-
pow-unpow inv-pow associate--r-
associate-+r- pow3 neg-log sum-cubes un-div-inv
distribute-lft1-in distribute-lft-neg-out cube-prod associate--l- distribute-frac-neg rem-log-exp rem-exp-log
distribute-rgt-out-- associate--l+ pow-pow rem-cbrt-cube distribute-rgt-out log-div
unpow3 sub-div +-inverses remove-double-div cube-mult unsub-neg

prune1.3m (6.9%)

sample1.2m (6.2%)

Algorithm
72×intervals
Results
24.5s272224×body80valid
8.7s13528×body1280valid
8.3s24934×body160valid
3.9s9062×body640valid
3.7s3844×body2560valid
3.3s100616×pre80true
3.0s2255×body10240exit
1.7s19659×body80nan
1.5s6621×body320valid
143.0ms210×body5120valid
3.0ms100×pre80false

series48.4s (4.4%)

Calls

324 calls:

3.2s
(+ (* (* (* (cbrt (* (* (* 2.0 x1) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0))) (cbrt (* (* (* 2.0 x1) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))) (cbrt (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))) (+ (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)) (* (* (cbrt (+ (* x1 x1) 1.0)) (cbrt (+ (* x1 x1) 1.0))) (* x1 (* x1 (* (+ (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))))
1.1s
(+ (* (* (cbrt (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0))) (cbrt (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))) (cbrt (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))) (* x1 (* x1 (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))
946.0ms
(cbrt (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))
945.0ms
(cbrt (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))
748.0ms
(* (sqrt (/ (- 3.0 (* v 2.0)) (/ (- 1.0 v) 0.125))) (* w r))

regimes5.3s (0.5%)

Accuracy

Total 33.3b remaining (8.4%)

Threshold costs 2.5b (0.6%)

13.2b41.3%Compound Interest
4.9b77.4%Kahan p9 Example
4.3b85.3%The quadratic formula (r1)
3.1b-3.4%Complex division, real part
3.0b-1.8%Complex division, imag part

localize4.7s (0.4%)

bsearch1.6s (0.1%)

end2.0ms (0.0%)