Details

simplify32.7m

Calls

12994 calls:

Slowest
3.4s
(* (* (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))) (* (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))))
3.1s
(* (* (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))) (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))))
3.1s
(* (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))) (* (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))))
2.7s
(* (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (* (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))))
2.7s
(* (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))) (* (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))))

prune3.0m

sample1.2m

Algorithm
60×intervals
Results
27.6s223627×body80valid
10.1s12142×body1280valid
8.0s16401×body160valid
5.1s3722×body2560valid
4.3s8249×body640valid
3.8s75694×pre80true
2.1s19113×body80nan
2.1s6248×body320valid
273.0ms198×body5120valid
45.0ms36×body10240exit

series36.3s

Calls

268 calls:

Slowest
3.8s
(cbrt (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))))))
3.3s
(cbrt (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))))))
3.3s
(cbrt (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))))))
515.0ms
(fma (fma (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 4 -6) (* x1 x1) (* (* (* (cbrt (- (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 3)) (cbrt (- (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 3))) (cbrt (- (/ (- (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
(+ (* (* (* 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)))

rewrite22.6s

Algorithm
92×rewrite-expression-head
Calls

268 calls:

Slowest
1.7s
(log (exp (+ (+ (exp (* (+ -1 eps) x)) (- (/ (exp (* (+ -1 eps) x)) eps) (/ (exp (* x (- -1 eps))) eps))) (exp (* x (- -1 eps))))))
1.4s
(exp (+ (+ (exp (* (+ -1 eps) x)) (- (/ (exp (* (+ -1 eps) x)) eps) (/ (exp (* x (- -1 eps))) eps))) (exp (* x (- -1 eps)))))
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)))
985.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)))
980.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
24671×times-frac
18884×*-un-lft-identity
16831×add-sqr-sqrt
14015×add-cube-cbrt
8944×prod-diff
4323×exp-sum
3089×sqrt-prod
2242×distribute-rgt-in distribute-lft-in
1977×associate--r+
1865×add-exp-log
1742×add-cbrt-cube
1529×difference-of-squares
1367×distribute-lft-out
1135×div-inv
976×distribute-lft-out--
832×pow1
683×prod-exp
672×add-log-exp
653×cbrt-unprod
608×associate-/r/
531×div-exp
508×associate-*l*
502×associate-/r*
472×cbrt-undiv
438×sub-neg
417×associate-*r*
342×associate-/l*
306×flip-+ flip3-+
281×distribute-rgt-neg-in
271×expm1-log1p-u
270×log1p-expm1-u
268×insert-posit16
256×distribute-lft-neg-in
244×cbrt-prod
215×fma-neg
196×sum-log
195×pow-prod-down
186×flip-- flip3--
174×swap-sqr
144×associate-+l+
128×frac-times
115×cbrt-div associate-*r/
114×fma-def
108×unswap-sqr
100×associate-*l/
94×pow-prod-up
93×sqrt-pow1
71×exp-prod
69×neg-mul-1
61×pow1/2
60×pow-sqr
57×*-commutative
56×frac-2neg sqrt-div clear-num
55×associate-/l/
50×pow-plus diff-log
35×+-commutative
34×pow2 fma-udef
30×pow1/3
28×rem-sqrt-square
27×rem-exp-log log-pow
25×1-exp rec-exp
22×associate-+r+
20×div-sub unpow-prod-down frac-add
12×neg-sub0 log-prod
10×pow-flip distribute-frac-neg associate--l-
sqr-pow hypot-def
neg-log sqrt-unprod inv-pow
un-div-inv
distribute-lft-neg-out
pow-exp frac-sub log1p-expm1 pow3 pow-to-exp associate-+l- log1p-udef
cube-prod
expm1-udef associate-+r- pow-unpow exp-to-pow rem-cbrt-cube
expm1-log1p exp-diff rem-log-exp rem-square-sqrt
distribute-lft1-in remove-posit16 cube-unmult associate--l+ unpow3 sub-div pow-pow distribute-neg-frac distribute-rgt-out-- cube-mult unsub-neg associate--r- distribute-rgt-out log-div

regimes5.1s

Accuracy

Total 32.3b remaining (19.3%)

14.9b38.5%Compound Interest
4.4b77.2%Kahan p9 Example
3.2b88.3%The quadratic formula (r2)
2.6b0%Complex division, imag part
2.6b0%Complex division, real part

localize3.6s

bsearch1.4s

end5.0ms