Details

simplify7.1m

Calls

4074 calls:

Slowest
1.3s
(* (* (* (* (/ (* t 2) (+ 1 t)) (/ (* t 2) (+ 1 t))) (/ (* t 2) (+ 1 t))) (/ (* (* (* t 2) (* t 2)) (* t 2)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))) (* (* (/ (* t 2) (+ 1 t)) (/ (* t 2) (+ 1 t))) (/ (* t 2) (+ 1 t))))
1.2s
(fma (- (- 1 x)) (/ x (- (* 1 1) (* x x))) (* (- 1 x) (/ x (- (* 1 1) (* x x)))))
1.2s
(sqrt (* (+ (* 1 1) (- (* x x) (* 1 x))) (- 1 x)))
1.1s
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u)))
1.1s
(fma (- (- 1 x)) (/ x (- (* 1 1) (* x x))) (* (- 1 x) (/ x (- (* 1 1) (* x x)))))

sample1.5m

Algorithm
64×intervals
Results
39.1s269421×body80valid
12.2s13977×body1280valid
8.0s16839×body160valid
6.8s3789×body2560valid
5.8s9395×body640valid
4.0s1989×body10240exit
3.4s75613×pre80true
2.8s6759×body320valid
2.2s19397×body80nan
404.0ms253×body5120valid

prune1.4m

series20.0s

Calls

278 calls:

Slowest
1.7s
(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))))))
1.6s
(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))))))
1.6s
(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))))))
463.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
322.0ms
(fma (fma (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)) 4 -6) (* x1 x1) (* (fma (/ 1 (sqrt (fma x1 x1 1))) (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (sqrt (fma x1 x1 1))) (- 3)) (* (* x1 2) (/ (- (fma x2 2 (* (* 3 x1) x1)) x1) (fma x1 x1 1)))))

regimes5.9s

Accuracy

Total 37.7b remaining (23.9%)

12.1b48.6%Compound Interest
7.0b34.1%Complex division, real part
4.6b76.6%Kahan p9 Example
4.6b83.6%The quadratic formula (r2)
4.0b80.7%The quadratic formula (r1)

rewrite2.9s

Algorithm
96×rewrite-expression-head
Calls

278 calls:

Slowest
202.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)))
120.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)))
119.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)))
115.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)))
110.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
1047×add-sqr-sqrt
1033×*-un-lft-identity
987×add-cube-cbrt
749×times-frac
591×add-exp-log
549×add-cbrt-cube
428×pow1
376×add-log-exp
315×sqrt-prod
281×expm1-log1p-u
278×insert-posit16 log1p-expm1-u
229×flip-+ flip3-+
226×div-inv
220×frac-times prod-diff
204×associate-/r*
182×associate-/r/
167×associate-*r*
136×associate-*l* associate-*l/
135×associate-/l*
130×fma-neg
128×flip3-- flip--
122×associate-*r/
107×prod-exp
99×cbrt-unprod
90×frac-sub
83×cbrt-div
80×div-exp
76×cbrt-undiv
74×exp-neg
63×frac-2neg clear-num
62×neg-sub0
57×associate-/l/
56×exp-diff
55×*-commutative fma-def
54×pow-prod-down sub-neg
50×cbrt-prod
45×sqrt-div
39×fma-udef
36×neg-mul-1
35×pow1/2
30×+-commutative
29×associate-+l+ un-div-inv
28×sum-log
27×difference-of-squares
26×distribute-rgt-in distribute-lft-in
24×rec-exp
23×exp-prod rem-sqrt-square diff-log
22×distribute-lft-out-- pow-prod-up
19×pow1/3 pow-plus
16×pow2
15×div-sub
14×pow-flip
13×associate-+r+ log-pow
12×inv-pow
10×frac-add
associate--l- distribute-rgt-out--
log-prod hypot-def
distribute-lft-neg-out
distribute-lft-out pow3 rem-exp-log
remove-posit16 log1p-expm1 distribute-frac-neg neg-log sqrt-unprod pow-to-exp unpow-prod-down rem-square-sqrt log1p-udef
expm1-udef sub-div distribute-rgt-neg-in rem-log-exp rem-cbrt-cube distribute-lft-neg-in
pow-exp associate-+r- sqrt-undiv remove-double-div unpow3 pow-pow hypot-udef associate--l+ associate-+l- cube-mult unsub-neg distribute-rgt-out

localize2.1s

bsearch1.8s

end1.0ms