Details

simplify41.6m

Calls

15852 calls:

Slowest
1.3s
(/ (* (* (* (- t1) v) (* (- t1) v)) (* (- t1) v)) (* (* (* (+ t1 u) (+ t1 u)) (+ t1 u)) (* (* (+ t1 u) (+ t1 u)) (+ t1 u))))
1.2s
(* (* (/ (* (* (fma v -2 3) (fma v -2 3)) (fma v -2 3)) (/ (* (* (- 1 v) (- 1 v)) (- 1 v)) (* (* 0.125 0.125) 0.125))) (* (* (* w r) (* w r)) (* w r))) (* (* (* w w) w) (* (* r r) r)))
1.2s
(* (* (/ (* (* (fma v -2 3) (fma v -2 3)) (fma v -2 3)) (/ (* (* (- 1 v) (- 1 v)) (- 1 v)) (* (* 0.125 0.125) 0.125))) (* (* (* w w) w) (* (* r r) r))) (* (* (* w r) (* w r)) (* w r)))
1.2s
(* (* (/ (* (* (fma v -2 3) (fma v -2 3)) (fma v -2 3)) (/ (* (* (- 1 v) (- 1 v)) (- 1 v)) (* (* 0.125 0.125) 0.125))) (* (* (* w w) w) (* (* r r) r))) (* (* (* w w) w) (* (* r r) r)))
1.2s
(* (* (* (- (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 3) (- (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 3)) (- (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 3)) (* (* (* (* x1 2) (* x1 2)) (* x1 2)) (/ (* (* (- (fma x2 2 (* (* 3 x1) x1)) x1) (- (fma x2 2 (* (* 3 x1) x1)) x1)) (- (fma x2 2 (* (* 3 x1) x1)) x1)) (* (* (fma x1 x1 1) (fma x1 x1 1)) (fma x1 x1 1)))))

prune3.2m

sample1.5m

Algorithm
62×intervals
Results
35.3s254162×body80valid
12.9s13868×body1280valid
8.5s16716×body160valid
5.9s3822×body2560valid
5.6s9399×body640valid
3.7s75796×pre80true
3.2s2051×body10240exit
2.8s6811×body320valid
2.1s19272×body80nan
294.0ms216×body5120valid

series26.6s

Calls

272 calls:

Slowest
1.2s
(/ (/ i n) (fma 100 (exp (* n (log1p (/ i n)))) -100))
490.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))))
488.0ms
(/ (fma 100 (pow (+ 1 (/ i n)) n) -100) (/ i n))
474.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)))))
472.0ms
(/ (fma 100 (exp (* n (log1p (/ i n)))) -100) (/ i n))

rewrite15.3s

Algorithm
96×rewrite-expression-head
Calls

272 calls:

Slowest
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)))
981.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)))
940.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)))
912.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)))
862.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
12873×*-un-lft-identity
12652×times-frac
10903×add-sqr-sqrt
9725×add-cube-cbrt
8952×prod-diff
3510×exp-sum
2025×distribute-rgt-in distribute-lft-in
1979×associate--r+
1467×distribute-lft-out
1154×add-exp-log
1125×div-inv
1107×add-cbrt-cube
1053×sqrt-prod
850×pow1
564×add-log-exp
544×associate-*r/
508×difference-of-squares
448×associate-/l*
443×associate-*l*
419×associate-/r/
393×distribute-lft-out--
386×prod-exp
371×sub-neg
367×associate-/r*
364×cbrt-unprod
355×flip-+ flip3-+
285×associate-*r*
282×frac-times
275×expm1-log1p-u
272×log1p-expm1-u insert-posit16
255×fma-neg
254×exp-prod
238×div-exp
234×pow-prod-down
204×cbrt-undiv
183×distribute-rgt-neg-in
169×associate-*l/
120×distribute-lft-neg-in
115×pow-prod-up
114×log-pow
113×sum-log
111×flip3-- flip--
100×cbrt-prod
76×fma-def
70×unswap-sqr
61×sqrt-pow1 frac-2neg clear-num pow1/2
58×pow-plus *-commutative diff-log
52×fma-udef
44×associate-/l/
43×swap-sqr
40×cbrt-div neg-mul-1
36×pow-sqr
28×div-sub
26×rem-sqrt-square
24×+-commutative
20×unpow-prod-down
16×associate-+l+ 1-exp rec-exp
14×pow2
12×rem-exp-log
11×cube-unmult
10×log-prod pow1/3
associate--l+ sqr-pow associate--l-
frac-sub distribute-frac-neg
hypot-def
neg-sub0 distribute-lft-neg-out frac-add
pow-exp pow-flip inv-pow pow-to-exp
cube-prod associate-+r+ neg-log
expm1-udef pow-unpow log1p-expm1 rem-log-exp distribute-rgt-out log1p-udef
exp-diff pow3 hypot-udef
expm1-log1p distribute-lft1-in associate-+r- sqrt-div unpow3 pow-pow un-div-inv exp-to-pow cube-mult rem-cbrt-cube unsub-neg associate--r- log-div

regimes4.5s

Accuracy

Total 33.1b remaining (19.5%)

9.1b47.5%Compound Interest
7.2b32%Complex division, imag part
4.9b75.3%Kahan p9 Example
4.7b82.9%The quadratic formula (r2)
2.4b0%Complex division, real part

localize3.5s

bsearch1.4s

end1.0ms