Details

simplify6.3m (61.3%)

sample1.6m (15.2%)

Algorithm
67×intervals
Results
38.7s268462×body80valid
10.9s13769×body1280valid
8.2s16845×body160valid
6.6s9384×body640valid
5.9s3825×body2560valid
5.4s2213×body10240exit
4.0s75853×pre80true
2.7s6913×body320valid
2.1s19523×body80nan
320.0ms218×body5120valid
10.0ms100×pre80false

prune1.4m (13.2%)

series34.9s (5.6%)

Calls

310 calls:

3.1s
(+ (* (fma (/ 1 (sqrt (+ (* x1 x1) 1))) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (sqrt (+ (* x1 x1) 1))) (- (* 3 1))) (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (+ (* (fma (- 3) 1 (* 3 1)) (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (* (* x1 x1) (- (* 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) 6))))
781.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (sqrt (+ (+ b c) d))))
546.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)) (- (* (cbrt 6) (* (cbrt 6) (cbrt 6))))) (* x1 x1)))
515.0ms
(sqrt (fma -4 (* a c) (* b b)))
508.0ms
(/ (fma 100 (exp (* n (log1p (/ i n)))) -100) (/ i n))

rewrite18.8s (3.0%)

Algorithm
101×rewrite-expression-head
Calls

310 calls:

1.3s
(+ (* (* (* 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 (* x1 x1))))
1.2s
(+ (+ (+ (* 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)))
1.0s
(+ (+ (* 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)))
938.0ms
(+ (* (fma (/ 1 (sqrt (+ (* x1 x1) 1))) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (sqrt (+ (* x1 x1) 1))) (- (* 3 1))) (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (+ (* (fma (- 3) 1 (* 3 1)) (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)))) (* (* x1 x1) (- (* 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) 6))))
806.0ms
(cbrt (* (* (* (* y y) (* y y)) (* (* y y) (* y y))) (* (* y y) (* y y))))
Rules
13063×times-frac
10882×add-sqr-sqrt
10505×*-un-lft-identity
5646×add-cube-cbrt
2363×pow1
2073×add-exp-log
2035×add-cbrt-cube
1807×difference-of-squares
1775×prod-diff
1259×distribute-lft-out--
1052×pow-prod-down
1047×distribute-lft-out
944×sqrt-prod
829×prod-exp
807×cbrt-unprod
719×associate-*r*
714×associate-/l*
589×div-inv
550×add-log-exp
510×div-exp
489×cbrt-undiv
399×associate-+l+
368×associate-*l*
363×sqrt-pow1
313×expm1-log1p-u
310×log1p-expm1-u insert-posit16
298×pow-prod-up
287×associate-/r/
243×flip-+ flip3-+
240×associate-/r*
232×distribute-rgt-in distribute-lft-in
220×cbrt-prod
209×fma-neg
181×pow-sqr
155×associate-*r/
147×sqrt-div
123×unswap-sqr
122×swap-sqr
121×pow-plus
102×distribute-rgt-neg-in
101×frac-times
96×distribute-lft-neg-in
94×sum-log
88×flip3-- unpow-prod-down flip--
87×fma-udef
83×pow2
80×*-commutative fma-def
79×associate-*l/
67×exp-sum
61×pow1/2
58×exp-prod
55×frac-2neg clear-num
53×sub-neg
48×associate-/l/
44×diff-log
38×difference-of-sqr-1
37×sqr-pow frac-add
34×log-prod pow1/3
32×neg-mul-1 rem-sqrt-square
29×div-sub
26×log-pow
20×+-commutative
16×associate-+r+
15×rem-exp-log
11×cbrt-div
1-exp rec-exp hypot-def
pow-exp associate--l+ pow-to-exp
neg-sub0 associate--l- pow3
pow-flip exp-diff frac-sub neg-log rem-log-exp rem-cbrt-cube log1p-udef log-div
expm1-udef pow-unpow cube-unmult log1p-expm1 distribute-frac-neg inv-pow exp-to-pow hypot-udef
associate--r+ distribute-lft-neg-out
expm1-log1p remove-posit16 associate-+r- sqrt-unprod pow-pow rem-square-sqrt unsub-neg associate--r- expm1-def

regimes4.7s (0.8%)

Accuracy

Total 37.2b remaining (26.9%)

Threshold costs 1.9b (1.4%)

11.5b55.1%Compound Interest
7.0b35.4%Complex division, real part
6.8b33.2%Complex division, imag part
4.7b83.1%The quadratic formula (r2)
4.3b84.5%The quadratic formula (r1)

localize3.9s (0.6%)

bsearch1.6s (0.3%)

end1.0ms (0.0%)