Details

simplify34.0m

Calls

12721 calls:

Slowest
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.4s
(cbrt (* (* (+ a (+ (+ b c) d)) (+ (pow a 3) (pow (+ (+ b c) d) 3))) (+ (pow (+ a (+ b c)) 3) (pow d 3))))
1.4s
(* (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))))
1.3s
(* (* (+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))) (+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))))))) (+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))))
1.3s
(* (/ (* (* (* 2 2) 2) (* (* t t) t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))))

prune2.0m

sample1.4m

Algorithm
62×intervals
Results
28.9s246228×body80valid
11.9s13625×body1280valid
8.7s16716×body160valid
5.5s3812×body2560valid
5.0s9155×body640valid
4.0s2056×body10240exit
3.7s75662×pre80true
2.6s6394×body320valid
2.1s19413×body80nan
292.0ms234×body5120valid

series27.0s

Calls

315 calls:

Slowest
515.0ms
(cbrt (+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))))
492.0ms
(cbrt (+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))))
481.0ms
(+ (* (- (* 4 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))) 6) (* x1 x1)) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))))))
472.0ms
(cbrt (+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))))
466.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)))

rewrite26.0s

Algorithm
100×rewrite-expression-head
Calls

315 calls:

Slowest
1.4s
(+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))))))
1.2s
(+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))))))
1.1s
(cbrt (+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))))
1.1s
(+ (+ (+ (* 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
(cbrt (+ (* (* (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))) (* (* (- (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1))) 3) x1) (* 2 (/ (+ (- (* (* 3 x1) x1) x1) (* x2 2)) (+ 1 (* x1 x1)))))))
Rules
11188×times-frac
8057×*-un-lft-identity
6903×add-sqr-sqrt
4861×add-cube-cbrt
1853×cbrt-div
1754×associate-*l/
1662×add-exp-log
1582×add-cbrt-cube
1290×pow1
1208×flip3-- flip--
1187×frac-times
938×difference-of-squares
931×associate-*r/
870×distribute-lft-out
858×associate-/l*
712×add-log-exp
686×associate-*l*
678×frac-add
652×distribute-lft-out--
641×associate-*r*
606×prod-exp
572×cbrt-unprod
495×sqrt-prod
473×associate-/r/
442×div-inv
428×pow-prod-down
347×div-exp
324×flip-+ flip3-+
315×insert-posit16
306×cbrt-undiv
287×associate-/r*
232×unpow-prod-down
166×cbrt-prod
149×sqr-pow
144×sum-log
140×pow-prod-up
119×sqrt-pow1
112×unswap-sqr
107×sqrt-div
103×sub-neg
99×difference-of-sqr-1
94×*-commutative
92×swap-sqr
90×log-prod
89×diff-log
73×exp-prod
72×pow-sqr
71×pow1/2 associate-/l/
67×distribute-rgt-neg-in
63×pow-plus
60×distribute-lft-neg-in frac-2neg distribute-rgt-in clear-num distribute-lft-in
42×log-pow
41×+-commutative
37×associate--l+ pow2
36×rem-sqrt-square
30×exp-sum
20×neg-mul-1
19×1-exp rec-exp
18×pow-flip
16×div-sub
15×pow-exp pow-to-exp log-div
13×difference-of-sqr--1 associate-+r+ rem-log-exp
12×associate-+l+ frac-sub
11×distribute-rgt-out--
10×rem-exp-log
pow-unpow sqrt-unprod
associate--l-
distribute-lft-neg-out inv-pow
pow1/3
pow3 distribute-frac-neg associate--r+ exp-to-pow
exp-diff distribute-rgt-out
sub-div pow-pow rem-square-sqrt
neg-sub0 remove-posit16 associate-+l- associate--r- distribute-rgt1-in
distribute-lft1-in sqrt-undiv cube-unmult sub0-neg neg-log un-div-inv rem-cbrt-cube e-exp-1

regimes5.5s

Accuracy

Total 35.0b remaining (15.9%)

Threshold costs 3.3b (1.5%)

15.8b42.3%Compound Interest
4.7b76.6%Kahan p9 Example
3.2b35.9%simple fma test
2.7b0%Complex division, real part
2.1b0%Complex division, imag part

localize3.7s

bsearch1.7s

end1.0ms