Details

rewrite11.2m (32.9%)

Algorithm
161×rewrite-expression-head
Calls

491 calls:

21.8s
(* (/ (+ (* (* x x) (+ (* (* (* x x) (* (* x x) (* x x))) (+ 0.0005064034 (* (* x x) 0.0001789971))) 0.1049934947)) (+ (+ 1.0 (* (* (* x x) (* x x)) 0.0424060604)) (* 0.0072644182 (* (* x x) (* (* x x) (* x x)))))) (+ (* (* (* (* x x) (* (* x x) (* x x))) (* (* x x) (* x x))) (+ (* (* (* x x) 0.0001789971) 2.0) 0.0008327945)) (+ (* (* x x) (+ (* (* (* x x) (* x x)) (+ (* (* x x) 0.0140005442) 0.0694555761)) (+ 0.7715471019 (* (* x x) 0.2909738639)))) 1.0))) x)
11.4s
(/ (+ (* (* x x) (+ (* (* (* x x) (* (* x x) (* x x))) (+ 0.0005064034 (* (* x x) 0.0001789971))) 0.1049934947)) (+ (+ 1.0 (* (* (* x x) (* x x)) 0.0424060604)) (* 0.0072644182 (* (* x x) (* (* x x) (* x x)))))) (+ (* (* (* (* x x) (* (* x x) (* x x))) (* (* x x) (* x x))) (+ (* (* (* x x) 0.0001789971) 2.0) 0.0008327945)) (+ (* (* x x) (+ (* (* (* x x) (* x x)) (+ (* (* x x) 0.0140005442) 0.0694555761)) (+ 0.7715471019 (* (* x x) 0.2909738639)))) 1.0)))
3.0s
(* (* (* (* (* d1 (* d1 d1)) d1) d1) (* d1 d1)) d1)
2.9s
(+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -176.6150291621406 (+ 4.0 (- z)))) (+ (/ 771.3234287776531 (+ 3.0 (- z))) (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1.0 z)) (/ -1259.1392167224028 (+ 2.0 (- z)))))))
2.7s
(+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -176.6150291621406 (+ 4.0 (- z)))) (+ (/ 771.3234287776531 (+ 3.0 (- z))) (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1.0 z)) (/ -1259.1392167224028 (+ 2.0 (- z)))))))
Rules
25499×frac-times
16273×associate-*r/
12197×times-frac
10058×associate-*l/
8612×*-un-lft-identity
8036×flip-+ flip3-+
7883×exp-neg
7508×frac-add
7490×add-sqr-sqrt
6959×exp-diff
6824×neg-sub0
6243×add-cube-cbrt
3957×pow1
3303×sqrt-prod
2821×add-exp-log
2396×add-cbrt-cube
1583×cbrt-div
1287×pow-prod-up
1217×associate-*r*
1162×prod-exp
1129×un-div-inv
1107×associate-*l*
1100×distribute-lft-out
912×cbrt-unprod
804×pow-prod-down
773×add-log-exp
660×associate-/r/
652×pow-plus
587×div-exp
473×div-inv
432×associate-/r*
410×cbrt-prod
409×cbrt-undiv
385×associate-/l*
337×pow-sqr
325×swap-sqr
285×difference-of-squares
282×unswap-sqr
244×pow2
234×sqrt-div
214×flip3-- flip--
205×associate-+l-
187×log-pow
169×*-commutative
168×pow-exp
145×unpow-prod-down
140×sqrt-pow1
138×distribute-lft-out--
131×sum-log
112×pow1/2 cube-div
105×pow1/3
94×associate-/l/
90×cube-prod
81×log-prod
80×pow-to-exp
79×frac-2neg clear-num
74×sqr-pow
70×rem-sqrt-square
67×associate-+r- 1-exp unsub-neg
60×distribute-rgt-in distribute-lft-in
59×cube-unmult
56×rec-exp
52×sub-neg
49×+-commutative
38×diff-log
37×exp-sum
36×pow-unpow
29×rem-cube-cbrt
27×pow-pow
20×frac-sub
19×exp-prod
18×distribute-rgt-neg-in
14×associate-+r+
13×div-sub distribute-rgt-out
10×pow3 log-div distribute-rgt1-in
associate-+l+ unpow3 cube-mult
rem-exp-log
pow-flip sin-sum distribute-lft-neg-in associate--r+ rem-log-exp
inv-pow cos-sum
neg-log
sqrt-unprod associate--l+
sqrt-undiv difference-cubes rem-square-sqrt associate--r-
unpow-prod-up sum-cubes neg-mul-1 distribute-rgt-out-- distribute-neg-in rem-cbrt-cube pow-sub

simplify9.0m (26.6%)

series5.3m (15.7%)

Calls

489 calls:

2.7m
(- (pow (pow 1.0 3) 3) (pow (* (sqrt (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 3)) (sqrt (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 3))) 3))
33.8s
(log (* (exp (* (* 1.0 1.0) 1.0)) (exp (* (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i)))) (* (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i)))) (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i)))))))))
21.9s
(* (exp (* (* 1.0 1.0) 1.0)) (exp (* (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i)))) (* (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i)))) (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i))))))))
9.3s
(+ (* (* 1.0 1.0) 1.0) (* (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i)))) (* (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i)))) (* (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (/ (+ alpha beta) (+ (+ 2.0 (+ alpha beta)) (* 2.0 i)))))))
5.5s
(- (pow 1.0 3) (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 3))

prune4.4m (13.1%)

sample3.5m (10.2%)

Algorithm
99×intervals
Results
1.2m11978×body10240exit
51.8s454278×body80valid
25.0s27048×body1280valid
12.8s21157×body640valid
7.1s70443×body80nan
4.9s1557×body1280nan
4.3s10846×body320valid
3.3s1342×body640nan
2.0s9639×body160valid
1.5s1395×body2560valid
1.3s49536×pre80true
819.0ms693×body320nan
353.0ms616×body5120valid
219.0ms327×body160nan

regimes15.5s (0.8%)

Accuracy

Total 90.9b remaining (32.3%)

Threshold costs 4.2b (1.5%)

13.6b35.4%math.sqrt on complex, real part
10.5b56.7%math.log/2 on complex, real part
10.1b57.9%math.log10 on complex, real part
9.9b58.7%math.log/1 on complex, real part
9.6b58.6%math.abs on complex

localize9.9s (0.5%)

bsearch3.5s (0.2%)

end1.0ms (0.0%)