Details

simplify3.6m (36.5%)

prune3.6m (36.3%)

sample1.6m (15.9%)

Algorithm
64×intervals
Results
39.0s269156×body80valid
13.3s13963×body1280valid
8.4s16920×body160valid
6.0s3889×body2560valid
5.3s9329×body640valid
3.7s75643×pre80true
3.6s6713×body320valid
3.4s2000×body10240exit
2.2s19519×body80nan
318.0ms239×body5120valid

series27.2s (4.6%)

Calls

277 calls:

Slowest
719.0ms
(+ (* (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) (fma (/ 1 (sqrt (+ (* x1 x1) 1))) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (sqrt (+ (* x1 x1) 1))) -3)) (+ (* (fma 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) (- (* (sqrt 6) (sqrt 6)))) (* x1 x1)) (* 0 (* x1 x1))))
692.0ms
(+ (* (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) (fma (/ 1 (sqrt (+ (* x1 x1) 1))) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (sqrt (+ (* x1 x1) 1))) -3)) (* (* x1 x1) (- (* 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) 6)))
599.0ms
(+ (* (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) (fma (/ 1 (sqrt (+ (* x1 x1) 1))) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (sqrt (+ (* x1 x1) 1))) -3)) (+ (* (fma 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) (- (* (cbrt 6) (* (cbrt 6) (cbrt 6))))) (* x1 x1)) (* 0 (* x1 x1))))
539.0ms
(fma (* (* w r) (* w r)) (* (/ 0.125 (- 1 v)) (fma v -2 3)) 4.5)
509.0ms
(/ (cbrt (fma (* (fma (fma (* 2/3 x) (* x x) 2) (* (fma (* 2/3 x) (* x x) 2) (fma (* 2/3 x) (* x x) 2)) (* (* (* x x) (* x x)) (- (* x x)))) (fma (fma (* 2/3 x) (* x x) 2) (* (fma (* 2/3 x) (* x x) 2) (fma (* 2/3 x) (* x x) 2)) (* (* (* x x) (* x x)) (- (* x x))))) (fma (* 2/3 x) (* x x) 2) (* (- (* x x)) (* (fma (fma (* 2/3 x) (* x x) 2) (* (fma (* 2/3 x) (* x x) 2) (fma (* 2/3 x) (* x x) 2)) (* (* (* x x) (* x x)) (- (* x x)))) (fma (fma (* 2/3 x) (* x x) 2) (* (fma (* 2/3 x) (* x x) 2) (fma (* 2/3 x) (* x x) 2)) (* (* (* x x) (* x x)) (- (* x x)))))))) (cbrt (* (fma (* x x) (+ (fma (* 2/3 x) (* x x) 2) (* x x)) (* (fma (* 2/3 x) (* x x) 2) (fma (* 2/3 x) (* x x) 2))) (fma (* x x) (+ (fma (* 2/3 x) (* x x) 2) (* x x)) (* (fma (* 2/3 x) (* x x) 2) (fma (* 2/3 x) (* x x) 2))))))

bsearch16.7s (2.8%)

rewrite13.6s (2.3%)

Algorithm
97×rewrite-expression-head
Calls

277 calls:

Slowest
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)))
928.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))) (/ 77617 (* 2 33096)))
823.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)))
634.0ms
(- (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) 3)
408.0ms
(+ (+ (+ (+ e d) c) b) a)
Rules
12990×times-frac
12105×*-un-lft-identity
11456×add-sqr-sqrt
7536×add-cube-cbrt
6317×prod-diff
3436×exp-sum
2126×associate-+l+
1851×distribute-rgt-in distribute-lft-in
1551×difference-of-squares
1320×distribute-lft-out--
1009×add-exp-log
933×distribute-lft-out
923×add-cbrt-cube
837×pow1
808×div-inv
677×associate-/l*
582×add-log-exp
385×associate-*l*
365×sub-neg
327×associate-/r*
325×associate-*r*
317×frac-times
313×flip-+ flip3-+
310×sqrt-prod
289×prod-exp
280×associate-/r/
278×expm1-log1p-u
277×log1p-expm1-u insert-posit16
263×cbrt-unprod
253×cbrt-div
241×pow-prod-down
215×flip3-- flip--
195×div-exp
167×associate-*r/
154×associate-*l/
150×fma-def
148×cbrt-undiv
143×sum-log
128×fma-neg
125×associate-+r+
114×unpow-prod-down
106×distribute-rgt-neg-in
88×distribute-lft-neg-in
70×unswap-sqr
64×*-commutative
63×fma-udef
62×pow-prod-up
59×frac-2neg clear-num
56×associate-/l/
54×cbrt-prod
47×sqr-pow
46×frac-add
43×pow-plus
39×diff-log
34×pow-sqr
33×+-commutative exp-prod
31×rem-sqrt-square
29×frac-sub neg-mul-1
24×sqrt-pow1 div-sub
23×1-exp sqrt-div rec-exp pow1/2
21×swap-sqr
19×pow1/3
18×pow2
17×pow-flip
12×cube-prod
10×rem-exp-log log-pow
pow-exp pow-to-exp
pow3 distribute-frac-neg
neg-sub0 distribute-lft-neg-out inv-pow hypot-def
distribute-rgt-neg-out
log-prod associate--l+ distribute-neg-frac associate-+l-
expm1-udef remove-posit16 pow-unpow unpow3 neg-log exp-to-pow rem-cbrt-cube cube-mult distribute-rgt-out
expm1-log1p associate--l-
associate-+r- cube-unmult log1p-expm1 pow-pow un-div-inv rem-log-exp log1p-udef

regimes6.3s (1.1%)

Accuracy

Total 43.0b remaining (32.7%)

Threshold costs 2.0b (1.5%)

10.5b61.9%Compound Interest
7.2b32.6%Complex division, imag part
6.9b36.1%Complex division, real part
4.8b76.7%Kahan p9 Example
4.5b84.1%The quadratic formula (r1)

localize3.5s (0.6%)

end1.0ms (0.0%)