Details

rewrite7.3m (62.8%)

Algorithm
71×rewrite-expression-head
Calls

179 calls:

3.7m
(* (/ (pow (+ 0.5 (+ 7.0 (- z))) (+ (- z) 0.5)) (exp (+ 0.5 (+ 7.0 (- z))))) (* (/ PI (sin (* PI z))) (+ (/ -176.6150291621406 (+ 4.0 (- z))) (+ (+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (+ (/ 771.3234287776531 (+ (- z) 3.0)) (+ 0.9999999999998099 (/ 676.5203681218851 (- 1.0 z))))) (/ -1259.1392167224028 (+ 2.0 (- z)))) (/ 12.507343278686905 (+ 5.0 (- z)))) (+ (/ 1.5056327351493116e-07 (+ 8.0 (- z))) (/ 9.984369578019572e-06 (+ 7.0 (- z))))))))
1.6m
(+ (/ -176.6150291621406 (+ 4.0 (- z))) (+ (+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (+ (/ 771.3234287776531 (+ (- z) 3.0)) (+ 0.9999999999998099 (/ 676.5203681218851 (- 1.0 z))))) (/ -1259.1392167224028 (+ 2.0 (- z)))) (/ 12.507343278686905 (+ 5.0 (- z)))) (+ (/ 1.5056327351493116e-07 (+ 8.0 (- z))) (/ 9.984369578019572e-06 (+ 7.0 (- z))))))
1.1m
(* (/ (* (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)) (sqrt (* PI 2.0))) (exp (+ (+ (- z 1.0) 7.0) 0.5))) (+ (+ (/ -176.6150291621406 (+ (- z 1.0) 4.0)) (+ (+ (/ 676.5203681218851 z) 0.9999999999998099) (/ -1259.1392167224028 (+ (- z 1.0) 2.0)))) (+ (/ 771.3234287776531 (+ (- z 1.0) 3.0)) (+ (+ (/ 12.507343278686905 (+ (- z 1.0) 5.0)) (/ -0.13857109526572012 (+ (- z 1.0) 6.0))) (+ (/ 9.984369578019572e-06 (+ (- z 1.0) 7.0)) (/ 1.5056327351493116e-07 (+ (- z 1.0) 8.0)))))))
25.3s
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) x)
14.0s
(/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x)))))
Rules
2033×*-un-lft-identity
1875×times-frac
1737×add-sqr-sqrt
1328×frac-add
1286×add-cube-cbrt
946×add-exp-log
762×add-cbrt-cube
627×associate-*l*
561×pow1
541×flip-+ flip3-+
424×distribute-lft-out
378×add-log-exp
365×prod-exp
360×associate-*r*
351×associate-*r/
339×sqrt-prod
315×frac-times
294×unpow-prod-down
254×cbrt-unprod
183×cube-prod
178×div-exp
173×associate-/r/
170×associate-/l*
151×pow-prod-down
135×unswap-sqr
127×cbrt-undiv
112×sum-log
108×div-inv
97×associate-*l/
92×associate-/r*
87×log-pow
79×sqr-pow
77×sqrt-div
69×difference-of-squares
68×pow-exp
60×*-commutative
57×cbrt-prod
51×log-prod
43×pow-to-exp
42×pow-unpow sqrt-pow1
39×flip-- flip3--
38×associate-/l/ distribute-rgt-in distribute-lft-in
36×unpow3 cube-mult
30×pow1/2 distribute-lft-out--
29×+-commutative
25×rem-cube-cbrt frac-2neg clear-num
24×swap-sqr
21×sub-neg
20×rem-sqrt-square cbrt-div diff-log
19×pow1/3
15×pow-pow
14×exp-sum
12×1-exp rec-exp
11×cube-div
associate-+l-
associate-+l+ div-sub
pow-prod-up pow-sqr
associate-+r+ unpow-prod-up
exp-diff pow-plus pow2
distribute-rgt-neg-in associate-+r- associate--l+ associate--r+
un-div-inv rem-log-exp log-div
pow-sub
cos-sum difference-cubes associate--l- unsub-neg distribute-rgt-out neg-sub0 associate--r- rem-cbrt-cube sin-sum

simplify2.8m (24.1%)

series35.5s (5.1%)

Calls

82 calls:

4.6s
(- (pow 1.0 3) (pow (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) 3))
4.6s
(- (pow 1.0 3) (* (sqrt (pow (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) 3)) (sqrt (pow (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) 3))))
4.4s
(- (pow 1.0 3) (* (sqrt (pow (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) 3)) (sqrt (pow (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) 3))))
2.1s
(* (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) (+ (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) 1.0))
2.1s
(* (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) (+ (/ (* 1.0 (/ (+ 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 (pow (fabs x) 2)))) (+ (* 0.3275911 (fabs x)) 1.0)) 1.0))

sample34.8s (5.0%)

Algorithm
66×intervals
Results
19.2s181741×body80valid
2.5s500×body10240exit
2.1s2428×body1280valid
1.8s4551×body160valid
1.5s26306×body80nan
890.0ms1960×body640valid
298.0ms980×body320valid
269.0ms95×body1280nan
88.0ms70×body640nan
64.0ms43×body320nan
42.0ms1536×pre80true
34.0ms53×body2560valid
11.0ms20×body160nan
11.0ms18×body5120valid

prune18.0s (2.6%)

localize2.3s (0.3%)

regimes719.0ms (0.1%)

Accuracy

Total 0.3b remaining (2.4%)

Threshold costs 0.3b (2.4%)

0.2b0%Jmat.Real.erfi, branch x less than or equal to 0.5
0.1b0%math.log10 on complex, imaginary part
0.0b0%Jmat.Real.erf
0.0b0%FastMath dist
0.0b0%Jmat.Real.lambertw, estimator

bsearch0.0ms (0.0%)

end0.0ms (0.0%)