Details

simplify11.1m

Calls

4278 calls:

Slowest
1.5s
(* (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))) (* (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))))
1.5s
(+ (* (* (- (pow (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))) 3) (pow 6 3)) (* x1 x1)) (+ 1 (* x1 x1))) (* (+ (* (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))) (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))))) (+ (* 6 6) (* (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))) 6))) (* (* 2 (* x1 (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3))) (+ (- (* (* 3 x1) x1) x1) (* x2 2)))))
1.4s
(* (* (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (* (* (/ (* 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 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))))
1.4s
(* (* (* (* (/ (* 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 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))))
1.3s
(* (* (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))) (* (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))))

prune1.2m

sample1.2m

Algorithm
61×intervals
Results
31.9s257205×body80valid
9.4s9657×body1280valid
5.5s3313×body2560valid
4.7s75649×pre80true
3.4s6268×body640valid
3.0s5706×body320valid
2.4s19539×body80nan
2.1s8113×body160valid
732.0ms232×body5120valid
143.0ms72×body10240exit

series23.1s

Calls

267 calls:

Slowest
681.0ms
(* 100 (- (pow (+ 1 (/ i n)) n) 1))
480.0ms
(/ (* 100 (- (pow (+ 1 (/ i n)) n) 1)) (/ i n))
464.0ms
(+ (* (- (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))) 6) (* x1 x1)) (* (* 2 (* x1 (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3))) (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))
457.0ms
(* 100 (/ (- (pow (+ 1 (/ i n)) n) 1) (/ i n)))
396.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)))

regimes6.5s

Accuracy

Total 31.6b remaining (21.2%)

10.5b56.2%Compound Interest
5.3b74.1%Kahan p9 Example
4.3b84.7%The quadratic formula (r1)
2.7b0%Complex division, imag part
2.4b0%Complex division, real part

rewrite4.2s

Algorithm
96×rewrite-expression-head
Calls

267 calls:

Slowest
181.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)))
178.0ms
(+ (* (* (cbrt (- (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))) 6)) (cbrt (- (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))) 6))) (* (cbrt (- (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))) 6)) (* x1 x1))) (* (* 2 (* x1 (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3))) (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))
144.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)))
139.0ms
(- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3)
135.0ms
(- (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) 3)
Rules
1454×frac-times
1140×associate-*r/
824×cbrt-div
817×add-sqr-sqrt
780×flip3-- flip--
763×*-un-lft-identity
716×add-cube-cbrt
708×associate-*l/
689×add-exp-log
657×add-cbrt-cube
505×times-frac
492×pow1
375×add-log-exp
306×associate-*r*
267×insert-posit16
255×flip-+ flip3-+
199×associate-*l*
198×sqrt-prod
164×associate-/r/
161×prod-exp
160×frac-add
155×cbrt-unprod
134×associate-/l*
132×associate-/r*
128×div-inv
123×sqrt-div
110×cbrt-undiv div-exp
79×*-commutative
76×pow-prod-down
75×sub-neg
66×associate-/l/
49×frac-2neg clear-num
42×pow-prod-up
39×pow1/2
38×+-commutative
35×distribute-rgt-in distribute-lft-in
33×difference-of-sqr-1 rem-sqrt-square
31×pow-plus
30×diff-log
29×log-prod difference-of-squares
28×pow2
27×sum-log
23×unpow-prod-down
22×distribute-lft-out--
21×div-sub
20×associate-+l+
19×cbrt-prod
18×log-pow
16×associate-+r+
15×neg-mul-1
12×exp-sum log-div
11×distribute-lft-out frac-sub rec-exp exp-prod
10×distribute-frac-neg pow1/3 un-div-inv
associate--l-
neg-sub0 distribute-lft-neg-out
rem-log-exp
pow-flip pow3 inv-pow associate-+l-
associate--l+ pow-to-exp associate--r+ distribute-rgt-neg-in distribute-lft-neg-in
pow-exp cube-unmult pow-pow rem-exp-log
exp-diff rem-cbrt-cube
distribute-lft1-in distribute-rgt-out-- unpow3 sqrt-unprod sub-div distribute-neg-frac sum-cubes rem-square-sqrt cube-mult associate--r-

localize2.4s

bsearch1.7s

end1.0ms