Details

simplify31.5m

Calls

13160 calls:

Slowest
2.8s
(/ (* (* (* 4 4) 4) (* (* (* c a) (* c a)) (* c a))) (* (* (* (* 2 a) (* 2 a)) (* 2 a)) (* (* (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))))))
2.4s
(/ (/ (* (* (* 4 (* c a)) (* 4 (* c a))) (* 4 (* c a))) (* (* (* 2 a) (* 2 a)) (* 2 a))) (* (* (- (- b) (sqrt (fma c (* -4 a) (* b b)))) (- (- b) (sqrt (fma c (* -4 a) (* b b))))) (- (- b) (sqrt (fma c (* -4 a) (* b b))))))
2.3s
(/ (/ (* (* (* 4 (* c a)) (* 4 (* c a))) (* 4 (* c a))) (* (* (* 2 2) 2) (* (* a a) a))) (* (* (- (- b) (sqrt (fma c (* -4 a) (* b b)))) (- (- b) (sqrt (fma c (* -4 a) (* b b))))) (- (- b) (sqrt (fma c (* -4 a) (* b b))))))
2.3s
(/ (/ (* (* (* 4 4) 4) (* (* (* c c) c) (* (* a a) a))) (* (* (* 2 2) 2) (* (* a a) a))) (* (* (- (- b) (sqrt (fma c (* -4 a) (* b b)))) (- (- b) (sqrt (fma c (* -4 a) (* b b))))) (- (- b) (sqrt (fma c (* -4 a) (* b b))))))
2.2s
(/ (/ (* (* (* 4 4) 4) (* (* (* c a) (* c a)) (* c a))) (* (* (* 2 2) 2) (* (* a a) a))) (* (* (- (- b) (sqrt (fma c (* -4 a) (* b b)))) (- (- b) (sqrt (fma c (* -4 a) (* b b))))) (- (- b) (sqrt (fma c (* -4 a) (* b b))))))

prune3.0m

sample1.3m

Algorithm
63×intervals
Results
36.4s258302×body80valid
10.7s12081×body1280valid
8.4s16386×body160valid
5.6s3931×body2560valid
4.3s75667×pre80true
4.2s8127×body640valid
2.6s6306×body320valid
2.0s19448×body80nan
297.0ms250×body5120valid
120.0ms55×body10240exit

series27.1s

Calls

267 calls:

Slowest
641.0ms
(* (sqrt (expm1 (log1p (/ (expm1 x) x)))) (sqrt (expm1 (log1p (/ (expm1 x) x)))))
512.0ms
(fma (fma (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 4 -6) (* x1 x1) (/ (* (- (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 3) (* (* x1 2) (- (fma x2 2 (* (* 3 x1) x1)) x1))) (fma x1 x1 1)))
485.0ms
(fma (fma (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 4 -6) (* x1 x1) (* (- (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 3) (* (* x1 2) (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)))))
480.0ms
(fma (fma (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 4 -6) (* x1 x1) (/ (* (- (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 3) (* (* x1 2) (- (fma x2 2 (* (* x1 x1) 3)) x1))) (fma x1 x1 1)))
467.0ms
(/ (fma 100 (exp (* n (log1p (/ i n)))) -100) (/ i n))

rewrite17.2s

Algorithm
94×rewrite-expression-head
Calls

267 calls:

Slowest
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))) (/ 77617 (* 2 33096)))
983.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)))
924.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)))
921.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)))
895.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)))
Rules
9624×*-un-lft-identity
9072×add-sqr-sqrt
8571×prod-diff
8277×times-frac
7983×add-cube-cbrt
4542×exp-sum
2664×distribute-rgt-in distribute-lft-in
1981×associate--r+
1324×add-exp-log
1213×add-cbrt-cube
775×pow1
614×add-log-exp
588×sqrt-prod
534×associate-*l*
469×sub-neg
468×associate-/l*
462×difference-of-squares associate-*r*
457×distribute-lft-out
422×prod-exp
421×div-inv
374×cbrt-unprod
342×distribute-lft-out--
334×unpow-prod-down
318×div-exp
313×fma-neg
278×associate-/r*
270×expm1-log1p-u
267×log1p-expm1-u insert-posit16
260×cbrt-undiv
217×pow-prod-down
186×distribute-rgt-neg-in
174×flip3-- flip--
168×associate-/r/
161×frac-times
152×sum-log
151×flip-+ flip3-+
146×distribute-lft-neg-in
137×sqr-pow
124×swap-sqr
118×associate-*r/
105×associate-*l/
100×unswap-sqr
95×fma-def
68×*-commutative
66×cbrt-prod
65×frac-2neg clear-num
61×diff-log
57×pow-prod-up
55×associate-/l/
49×neg-mul-1
39×fma-udef
38×exp-prod
36×cbrt-div
33×sqrt-pow1
32×pow-plus pow1/2
29×+-commutative pow-sqr
28×sqrt-div
27×div-sub
24×1-exp rec-exp rem-sqrt-square
18×frac-sub
17×pow2 rem-exp-log
16×associate-+l+
14×pow1/3 associate--l+
11×associate--l-
neg-sub0
distribute-lft-neg-out un-div-inv hypot-def
associate-+r+ neg-log
distribute-frac-neg frac-add
pow-flip pow-exp pow3 inv-pow pow-to-exp distribute-rgt-out--
expm1-udef cube-prod distribute-neg-frac
pow-unpow log1p-expm1 hypot-udef log1p-udef
expm1-log1p associate-+l- rem-cbrt-cube associate--r-
exp-diff associate-+r- cube-unmult distribute-rgt-neg-out unpow3 sqrt-unprod sub0-neg pow-pow sub-div rem-square-sqrt cube-mult unsub-neg

regimes3.8s

Accuracy

Total 37.0b remaining (26.8%)

13.0b49.1%Compound Interest
8.8b16%Complex division, imag part
6.6b36.4%Complex division, real part
4.6b82.6%The quadratic formula (r2)
1.6b93.1%The quadratic formula (r1)

localize3.3s

bsearch1.5s

end1.0ms