Details

simplify4.9m (48.9%)

prune2.7m (26.7%)

sample1.6m (16.2%)

Algorithm
66×intervals
Results
38.4s262007×body80valid
12.7s13999×body1280valid
8.6s16681×body160valid
6.5s9366×body640valid
6.3s3795×body2560valid
4.3s2226×body10240exit
3.6s6925×body320valid
3.6s67864×pre80true
2.5s19408×body80nan
714.0ms267×body5120valid
7.0ms100×pre80false

series23.9s (4.0%)

Calls

249 calls:

804.0ms
(+ (+ (* (+ (* (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (fma (* -6 x1) (/ (fma 3 (* x1 x1) (- (* 2 x2) x1)) (fma x1 x1 1)) (* (* x1 x1) (fma 4 (/ (fma 3 (* x1 x1) (- (* 2 x2) x1)) (fma x1 x1 1)) -6)))) (+ (* x1 x1) 1)) (* (* (* 3 x1) x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (* (* x1 x1) x1))
777.0ms
(- (/ (sqrt (fma b b (* (* a -4) c))) (cbrt a)) (/ b (cbrt a)))
672.0ms
(* (/ (- t1) (+ t1 u)) (/ v (+ t1 u)))
652.0ms
(+ (* (fma (/ (* (cbrt (- (+ (* (* 3 x1) x1) (* 2 x2)) x1)) (cbrt (- (+ (* (* 3 x1) x1) (* 2 x2)) x1))) 1) (/ (cbrt (- (+ (* (* 3 x1) x1) (* 2 x2)) x1)) (+ (* x1 x1) 1)) (- (* 3 1))) (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (fma (* 0 x1) (/ (fma 3 (* x1 x1) (- (* 2 x2) x1)) (fma x1 x1 1)) (* (* x1 x1) (fma 4 (/ (fma 3 (* x1 x1) (- (* 2 x2) x1)) (fma x1 x1 1)) -6))))
535.0ms
(+ (* (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) (- (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) 3)) (+ (* (fma 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) (- (* (sqrt 6) (sqrt 6)))) (* x1 x1)) (* 0 (* x1 x1))))

rewrite14.3s (2.4%)

Algorithm
96×rewrite-expression-head
Calls

249 calls:

2.1s
(+ (+ (* (+ (* (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (fma (* -6 x1) (/ (fma 3 (* x1 x1) (- (* 2 x2) x1)) (fma x1 x1 1)) (* (* x1 x1) (fma 4 (/ (fma 3 (* x1 x1) (- (* 2 x2) x1)) (fma x1 x1 1)) -6)))) (+ (* x1 x1) 1)) (* (* (* 3 x1) x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (* (* x1 x1) x1))
1.1s
(+ (+ (+ (* 333.75 (pow 33096 6)) (* (* 77617 77617) (+ (+ (+ (* (* 11 (* 77617 77617)) (* 33096 33096)) (- (pow 33096 6))) (* -121 (pow 33096 4))) -2))) (* 5.5 (pow 33096 8))) (/ 77617 (* 2 33096)))
951.0ms
(+ (+ (* 333.75 (pow 33096 6)) (* (* 77617 77617) (+ (+ (+ (* (* 11 (* 77617 77617)) (* 33096 33096)) (- (pow 33096 6))) (* -121 (pow 33096 4))) -2))) (* 5.5 (pow 33096 8)))
897.0ms
(+ (* (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) (- (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) 3)) (+ (* (fma 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) (- (* (sqrt 6) (sqrt 6)))) (* x1 x1)) (* 0 (* x1 x1))))
721.0ms
(+ (* (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) (- (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) 3)) (* (* x1 x1) (- (* 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) 6)))
Rules
7600×times-frac
6647×*-un-lft-identity
5996×add-sqr-sqrt
5083×add-cube-cbrt
2760×prod-diff
1142×add-exp-log
1014×add-cbrt-cube
945×sqrt-prod
803×cbrt-prod
798×pow1
566×distribute-lft-out
501×add-log-exp
489×associate-*r*
465×associate-*l*
409×div-inv
405×associate-/r*
396×distribute-rgt-neg-in
353×prod-exp
343×distribute-lft-neg-in
315×cbrt-unprod
302×difference-of-squares
286×associate-/l*
269×associate-+l+
252×expm1-log1p-u
249×log1p-expm1-u insert-posit16
243×div-exp
226×pow-prod-down
222×associate-/r/
212×fma-neg
206×unpow-prod-down
191×flip-+ flip3-+
190×distribute-lft-out--
184×cbrt-undiv
149×distribute-rgt-in distribute-lft-in
117×sum-log
110×unswap-sqr
97×neg-mul-1
93×fma-def
77×sqr-pow
75×associate-*r/
72×flip3-- flip--
66×*-commutative
62×associate-*l/
59×fma-udef
52×frac-2neg clear-num pow-prod-up
49×swap-sqr
47×frac-times
46×sqrt-div
40×associate-/l/ sub-neg
36×sqrt-pow1 frac-add
35×pow1/2 diff-log
34×pow-sqr
31×1-exp rec-exp
30×pow-plus
29×+-commutative
26×div-sub rem-sqrt-square
21×associate-+r+
19×exp-sum
17×pow-flip pow2
15×distribute-frac-neg
13×exp-prod
12×cube-prod hypot-def
11×inv-pow
pow-exp pow-to-exp
neg-sub0 distribute-neg-frac log-pow pow-div
distribute-lft-neg-out
log-prod pow1/3 associate--l- un-div-inv
frac-sub pow-unpow log1p-expm1 unpow3 rem-exp-log cube-mult log1p-udef
remove-posit16 associate-+r- distribute-rgt-out-- cube-unmult associate--l+ pow3 neg-log sub-div unsub-neg
expm1-udef exp-diff distribute-lft1-in sqrt-unprod pow-pow rem-log-exp remove-double-div rem-square-sqrt distribute-rgt-out

regimes4.6s (0.8%)

Accuracy

Total 33.6b remaining (20.5%)

Threshold costs 2.3b (1.4%)

14.4b39.5%Compound Interest
6.1b78.1%The quadratic formula (r1)
4.3b84.9%The quadratic formula (r2)
2.9b-6.3%Complex division, imag part
2.6b0%Complex division, real part

localize3.1s (0.5%)

bsearch2.7s (0.5%)

end1.0ms (0.0%)