Details

simplify30.6m

Calls

12321 calls:

Slowest
1.6s
(* (* (* (/ (* (cbrt 1) (cbrt 1)) (/ (sqrt (+ (* x x) (* y y))) (- x y))) (/ (* (cbrt 1) (cbrt 1)) (/ (sqrt (+ (* x x) (* y y))) (- x y)))) (/ (* (cbrt 1) (cbrt 1)) (/ (sqrt (+ (* x x) (* y y))) (- x y)))) (/ (* (* (- (* x x) (* y y)) (- (* x x) (* y y))) (- (* x x) (* y y))) (* (* (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (sqrt (+ (* x x) (* y y)))) (* (* (- x y) (- x y)) (- x y)))))
1.5s
(* (/ (* 1 1) (/ (* (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (sqrt (+ (* x x) (* y y)))) (* (* (- x y) (- x y)) (- x y)))) (/ (* (* (- (* x x) (* y y)) (- (* x x) (* y y))) (- (* x x) (* y y))) (* (* (* (sqrt (+ (* x x) (* y y))) (- x y)) (* (sqrt (+ (* x x) (* y y))) (- x y))) (* (sqrt (+ (* x x) (* y y))) (- x y)))))
1.5s
(/ (* (* 0.125 0.125) 0.125) (/ (/ (* (* (- 1 v) (- 1 v)) (- 1 v)) (* (* (- 3 (* 2 v)) (- 3 (* 2 v))) (- 3 (* 2 v)))) (* (* (* (* w w) w) (* (* r r) r)) (* (* (* w w) w) (* (* r r) r)))))
1.5s
(* (* (* (/ (* (cbrt 1) (cbrt 1)) (/ (sqrt (+ (* x x) (* y y))) (- x y))) (/ (* (cbrt 1) (cbrt 1)) (/ (sqrt (+ (* x x) (* y y))) (- x y)))) (/ (* (cbrt 1) (cbrt 1)) (/ (sqrt (+ (* x x) (* y y))) (- x y)))) (/ (* (* (- (* x x) (* y y)) (- (* x x) (* y y))) (- (* x x) (* y y))) (* (* (* (sqrt (+ (* x x) (* y y))) (- x y)) (* (sqrt (+ (* x x) (* y y))) (- x y))) (* (sqrt (+ (* x x) (* y y))) (- x y)))))
1.5s
(* (/ (* 1 1) (/ (* (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (sqrt (+ (* x x) (* y y)))) (* (* (- x y) (- x y)) (- x y)))) (/ (* (* (- (* x x) (* y y)) (- (* x x) (* y y))) (- (* x x) (* y y))) (* (* (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (sqrt (+ (* x x) (* y y)))) (* (* (- x y) (- x y)) (- x y)))))

prune2.2m

sample1.4m

Algorithm
62×intervals
Results
32.8s242931×body80valid
12.1s13793×body1280valid
8.8s16896×body160valid
5.8s9437×body640valid
5.5s3817×body2560valid
3.8s75684×pre80true
3.6s1881×body10240exit
2.6s19514×body80nan
2.5s6846×body320valid
389.0ms242×body5120valid

series37.9s

Calls

303 calls:

Slowest
4.6s
(cbrt (+ (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) (* (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6) (* x1 x1))))
4.5s
(cbrt (+ (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) (* (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6) (* x1 x1))))
4.5s
(cbrt (+ (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) (* (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6) (* x1 x1))))
565.0ms
(+ (* (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6) (* x1 x1)) (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))))
543.0ms
(+ (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) (* (* (cbrt (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6)) (cbrt (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6))) (* (cbrt (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6)) (* x1 x1))))

rewrite27.5s

Algorithm
100×rewrite-expression-head
Calls

303 calls:

Slowest
1.0s
(cbrt (+ (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) (* (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6) (* x1 x1))))
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))) (/ 77617 (* 2 33096)))
1.0s
(+ (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) (* (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6) (* x1 x1)))
1.0s
(cbrt (+ (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) (* (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6) (* x1 x1))))
951.0ms
(+ (* (* (* (- (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1))) 3) x1) 2) (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) (* (* (cbrt (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6)) (cbrt (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6))) (* (cbrt (- (* 4 (/ (- (* x2 2) (- x1 (* (* 3 x1) x1))) (+ 1 (* x1 x1)))) 6)) (* x1 x1))))
Rules
144804×times-frac
80157×add-sqr-sqrt
77784×*-un-lft-identity
39033×add-cube-cbrt
16759×difference-of-squares
13544×distribute-lft-out--
8918×div-inv
7087×associate-/r/
4432×distribute-lft-out
2240×flip3-- flip--
2055×add-exp-log
1820×associate-/r*
1650×flip-+ flip3-+
1532×add-cbrt-cube
1100×pow1
795×associate-*r*
765×add-log-exp
710×associate-*l/
669×div-exp
619×prod-exp
599×associate-/l*
588×sqrt-prod
451×cbrt-unprod
450×frac-sub
434×cbrt-div
423×cbrt-undiv
384×associate-*l*
382×frac-times
310×pow-prod-down
303×insert-posit16
214×sum-log
199×frac-add
181×associate-*r/
127×unpow-prod-down
120×sqrt-div
109×unswap-sqr
107×pow-prod-up
104×sqr-pow
99×difference-of-sqr-1
91×distribute-rgt-neg-in
86×cbrt-prod
82×distribute-lft-neg-in
80×associate-/l/
75×*-commutative
73×1-exp rec-exp
71×frac-2neg clear-num
68×sub-neg
67×diff-log
63×exp-prod
61×pow-plus pow-sqr
54×+-commutative
51×pow-flip
47×exp-sum
45×log-prod
34×pow2
31×sqrt-pow1 distribute-rgt-in log-pow distribute-lft-in
29×pow1/2 rem-sqrt-square
27×associate-+l+
25×swap-sqr
22×associate--l+ div-sub neg-mul-1
20×rem-exp-log
15×pow1/3
13×associate-+r+
10×inv-pow
associate--l-
neg-sub0 pow-exp pow-to-exp
distribute-frac-neg
rem-log-exp
pow3 neg-log associate--r+
cube-prod cube-unmult un-div-inv
pow-unpow distribute-lft-neg-out cube-mult distribute-rgt-out log-div
distribute-lft1-in difference-of-sqr--1 sqrt-undiv unpow3 sqrt-unprod distribute-rgt-out-- e-exp-1
remove-posit16 exp-diff associate-+r- sub0-neg pow-pow distribute-neg-frac associate-+l- rem-cbrt-cube unsub-neg associate--r-

regimes5.8s

Accuracy

Total 28.0b remaining (12.9%)

10.5b57.6%Compound Interest
5.0b75%Kahan p9 Example
2.7b0%Complex division, real part
2.7b0%Complex division, imag part
1.9b0%Expression, p6

localize3.7s

bsearch2.1s

end1.0ms