Details

simplify26.8m

Calls

15449 calls:

Slowest
1.8s
(im (+.c (+.c (+.c (+.c (+.c (+.c (*.c (*.c (*.c (*.c (*.c (complex -1 1) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1)) (*.c (*.c (*.c (*.c (*.c (complex 6 0) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1))) (*.c (*.c (*.c (*.c (complex 15 0) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1))) (*.c (*.c (*.c (complex 20 0) (complex -1 1)) (complex -1 1)) (complex -1 1))) (*.c (*.c (complex 15 0) (complex -1 1)) (complex -1 1))) (*.c (complex 6 0) (complex -1 1))) (complex 1 0)))
1.7s
(re (+.c (+.c (+.c (+.c (+.c (+.c (*.c (*.c (*.c (*.c (*.c (complex -1 1) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1)) (*.c (*.c (*.c (*.c (*.c (complex 6 0) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1))) (*.c (*.c (*.c (*.c (complex 15 0) (complex -1 1)) (complex -1 1)) (complex -1 1)) (complex -1 1))) (*.c (*.c (*.c (complex 20 0) (complex -1 1)) (complex -1 1)) (complex -1 1))) (*.c (*.c (complex 15 0) (complex -1 1)) (complex -1 1))) (*.c (complex 6 0) (complex -1 1))) (complex 1 0)))
1.6s
(/ (* (* (* a c) (* a c)) (* a c)) (* (* (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
1.5s
(/ (* (* (- 0 (* a c)) (- 0 (* a c))) (- 0 (* a c))) (* (* a a) a))
1.5s
(/ (/ (* (* (+ (+ (sqrt (fma (* -4 c) a (* b b))) (- b)) (+ (- b) b)) (+ (+ (sqrt (fma (* -4 c) a (* b b))) (- b)) (+ (- b) b))) (+ (+ (sqrt (fma (* -4 c) a (* b b))) (- b)) (+ (- b) b))) (* (* 2 2) 2)) (* (* a a) a))

sample5.1m

Algorithm
56×intervals
16×halfpoints
Results
1.1m66535×body1280valid
36.5s17389×body2560valid
27.3s42048×body640valid
15.6s12964×body10240exit
11.3s93830×body80valid
10.4s21104×body320valid
6.9s62744×body80nan
3.4s10560×body160valid
2.1s47555×pre80true
902.0ms699×body1280nan
522.0ms692×body640nan
486.0ms398×body5120valid
213.0ms398×body320nan
52.0ms183×body160nan

prune2.5m

series34.4s

Calls

346 calls:

Slowest
782.0ms
(/ 1 (+ (hypot (sqrt x) 1) (sqrt x)))
686.0ms
(fma (- (/ 2 (cbrt x))) (/ 1 (* (cbrt x) (cbrt x))) (* (/ 2 (cbrt x)) (/ 1 (* (cbrt x) (cbrt x)))))
649.0ms
(/ (/ (* (expm1 (* (+ a b) eps)) eps) (expm1 (* eps a))) (expm1 (* eps b)))
624.0ms
(* (- c) (/ 1 (+ (sqrt (- (* b_2 b_2) (* a c))) b_2)))
502.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite9.2s

Algorithm
111×rewrite-expression-head
Calls

346 calls:

Slowest
690.0ms
(/ (/ (+ (+ (- (- b) (sqrt (fma b b (* (* -4 c) a)))) (+ (- b) b)) 0) 2) a)
454.0ms
(- (+ (log (exp (/ -1/2 (* N N)))) (/ 1 N)) (/ -1/3 (* (* N N) N)))
260.0ms
(/ (/ (+ (+ (sqrt (fma (* -4 c) a (* b b))) (- b)) (+ (- b) b)) 2) a)
237.0ms
(- (+ (/ -1/2 (* N N)) (/ 1 N)) (/ -1/3 (* (* N N) N)))
206.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
Rules
8718×*-un-lft-identity
7640×times-frac
7209×add-sqr-sqrt
5636×add-cube-cbrt
3175×prod-diff
1815×sqrt-prod
1244×pow1
1229×distribute-lft-out
1026×add-exp-log
927×add-cbrt-cube
551×difference-of-squares distribute-lft-out-- add-log-exp
524×div-inv
483×associate-+l+
412×associate-*l*
384×associate-*r*
381×associate-/l*
350×associate-/r/
342×log1p-expm1-u
339×expm1-log1p-u insert-posit16
338×cbrt-prod
332×fma-neg
331×distribute-rgt-neg-in
321×associate-/r*
310×pow-unpow
306×unpow-prod-down
233×pow-prod-down
220×pow-prod-up
216×prod-exp
208×div-exp
203×swap-sqr
200×cbrt-unprod
182×flip-+ flip3-+
177×fma-def
163×cbrt-undiv
148×sqrt-pow1
147×unswap-sqr
138×flip3-- flip--
135×sqrt-div
126×pow-sqr
114×distribute-lft-neg-in
103×pow1/2
92×pow-plus
89×sqr-pow
68×log-prod pow2
67×diff-log
66×*-commutative associate-*r/
62×sub-neg
61×frac-2neg clear-num
50×log-pow
49×fma-udef
47×sum-log
46×associate-*l/
40×pow1/3
38×associate-/l/
37×exp-prod
35×tan-quot
34×neg-mul-1
33×rem-sqrt-square
30×div-sub
28×cube-prod frac-times
27×cbrt-div +-commutative
26×1-exp rec-exp
24×frac-add
23×pow-flip
17×distribute-rgt-in distribute-lft-in
16×frac-sub
14×neg-sub0 inv-pow
13×associate-+l-
12×pow-exp pow-to-exp hypot-def
11×pow-pow
neg-log difference-of-sqr-1 sqrt-unprod log-div
associate-+r+ rem-log-exp
associate-+r- sin-mult sum-cubes cube-mult
associate--l-
log1p-def
exp-sum associate--l+ associate--r+ sqr-sin distribute-rgt-out-- rem-square-sqrt unsub-neg
expm1-log1p expm1-udef
exp-diff sin-sum sub-div +.c-commutative un-div-inv tan-sum cos-sum exp-neg log1p-udef
distribute-lft-neg-out diff-atan cos-mult sqrt-undiv log1p-expm1 pow3 distribute-frac-neg frac-2neg-c hypot-udef hypot-1-def sub0-neg diff-sin diff-cos expm1-def

localize4.2s

regimes4.1s

Accuracy

Total 22.7b remaining (18.4%)

4.4b84.1%quadm (p42, negative)
4.1b82.6%quad2m (problem 3.2.1, negative)
4.0b85.4%quadp (p42, positive)
3.3b0%expq3 (problem 3.4.2)
1.6b86.4%2nthrt (problem 3.4.6)

bsearch2.8s

end1.0ms