Details

rewrite26.9m (59.9%)

Algorithm
96×rewrite-expression-head
Calls

278 calls:

6.2m
(+ (+ (* 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)))
5.0m
(+ (+ (* (* (* 2 x1) (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) (- (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1)) 3)) (* (* 4 (/ (- (+ (* (* 3 x1) x1) (* 2 x2)) x1) (+ (* x1 x1) 1))) (* x1 x1))) (* (- 6) (* x1 x1)))
2.2m
(+ (* (* (* 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)))
55.7s
(* (/ (/ (/ PI 1) 1) 1) (/ (+ (/ (/ (/ 1 (+ a b)) 2) a) (- (/ (/ (/ 1 (+ a b)) 2) b))) (- b a)))
31.8s
(* 100 (* (/ 1 i) (* i (* (+ (+ 1 (* 1/6 (* i i))) (* 1/2 i)) n))))
Rules
2511264×times-frac
1864687×*-un-lft-identity
1842743×associate-/l*
1830889×associate-/l/
1443858×add-sqr-sqrt
1376303×add-cube-cbrt
780831×frac-add
776501×distribute-neg-frac
759577×frac-times
268374×associate-/r*
227435×distribute-lft-out
130341×div-inv
128476×associate-/r/
79957×clear-num
79925×frac-2neg
64221×flip-+ flip3-+
46565×associate-*l*
33789×associate-*r*
21961×unswap-sqr
19082×difference-of-squares
14875×cbrt-prod
11712×distribute-lft-out--
11037×distribute-rgt-neg-in
10499×associate-*r/
9900×*-commutative
8115×frac-sub
6387×swap-sqr
5981×sqrt-prod
2268×distribute-lft-neg-in
1655×add-exp-log
1391×add-cbrt-cube
1063×unpow-prod-down
754×pow1
752×neg-mul-1
656×sqrt-div
651×associate-*l/
635×add-log-exp
512×div-exp
494×prod-exp
474×exp-prod
450×flip3-- flip--
414×sqr-pow
406×cbrt-unprod
370×cbrt-undiv
277×insert-posit16
271×difference-of-sqr-1
230×log-pow
203×pow-prod-down
201×distribute-rgt-out
182×sub-div
161×sum-log
143×un-div-inv
115×+-commutative
82×associate-+l+ 1-exp
81×exp-neg
74×associate-+r+
73×neg-sub0
72×distribute-rgt1-in
63×sub-neg
61×exp-diff
54×rem-sqrt-square
50×diff-log
42×rec-exp distribute-rgt-in distribute-lft-in
38×pow-prod-up
37×div-sub
35×sqrt-pow1
32×log-prod
31×pow1/2
24×pow-plus
21×pow-flip
18×pow-sqr
16×exp-sum
15×pow2
14×pow1/3
12×remove-double-div distribute-rgt-out--
rem-exp-log
cbrt-div associate--r+
inv-pow rem-log-exp
cube-prod associate-+r- pow-unpow cube-unmult log-div
pow-exp distribute-frac-neg neg-log pow-to-exp unsub-neg
distribute-lft1-in remove-posit16 associate--l- associate--l+ pow3 distribute-lft-neg-out associate-+l-
unpow3
pow-pow exp-to-pow
cube-mult

simplify8.5m (18.8%)

prune7.6m (17.0%)

sample1.3m (3.0%)

Algorithm
64×intervals
Results
31.1s244833×body80valid
11.8s13606×body1280valid
5.7s3874×body2560valid
5.1s8882×body640valid
5.0s2254×body10240exit
4.7s75916×pre80true
2.8s19001×body80nan
2.7s8743×body160valid
2.6s6711×body320valid
320.0ms210×body5120valid
10.0ms100×pre80false

series25.2s (0.9%)

Calls

277 calls:

684.0ms
(/ (/ (/ PI (+ a b)) 2) a)
511.0ms
(sqrt (/ (- 1 x) (+ 1 x)))
421.0ms
(* 100 (/ (- (pow (+ 1 (/ i n)) n) 1) (/ i n)))
416.0ms
(/ (- (pow (+ 1 (/ i n)) n) 1) (/ i n))
398.0ms
(cbrt (* (cbrt v) (cbrt v)))

regimes3.9s (0.1%)

Accuracy

Total 30.9b remaining (28.9%)

Threshold costs 2.0b (1.8%)

10.2b53.2%Compound Interest
5.2b81.2%The quadratic formula (r1)
4.7b75.2%Kahan p9 Example
3.3b87.1%The quadratic formula (r2)
2.4b0%Complex division, imag part

localize3.2s (0.1%)

bsearch2.2s (0.1%)

end1.0ms (0.0%)