Details

simplify12.5m (33.5%)

prune8.4m (22.5%)

series6.3m (17.0%)

Calls

516 calls:

17.2s
(- (pow 1 3) (/ (pow (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (- (* 0.254829592 0.254829592) (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429))))))) (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429)))))))))) (exp (- (* (fabs x) (fabs x))))) 3) (pow (- 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429)))))))) 3)))
4.2s
(- (pow 1 3) (pow (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 3))
3.6s
(+ (* (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x)))))) (* 1 (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x)))))))
3.1s
(* (/ (/ (* i (+ (+ alpha beta) i)) (+ (+ alpha beta) (* 2 i))) (+ (+ (+ alpha beta) (* 2 i)) (sqrt 1.0))) (/ (/ (+ (* beta alpha) (* i (+ (+ alpha beta) i))) (+ (+ alpha beta) (* 2 i))) (- (+ (+ alpha beta) (* 2 i)) (sqrt 1.0))))
1.5s
(- 1 (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))))

sample5.0m (13.4%)

Algorithm
99×intervals
Results
1.6m15825×body10240exit
1.3m438830×body80valid
42.4s30528×body1280valid
22.4s23337×body640valid
10.5s70373×body80nan
9.7s3014×body1280nan
8.3s11954×body320valid
8.0s2540×body640nan
3.0s1338×body320nan
2.6s6027×body160valid
2.5s49536×pre80true
1.8s1519×body2560valid
610.0ms642×body160nan
530.0ms593×body5120valid

rewrite4.6m (12.5%)

Algorithm
166×rewrite-expression-head
Calls

520 calls:

3.7m
(* (sqrt (* PI 2)) (+ (+ (+ (/ 9.984369578019572e-06 (+ z 6)) (/ 1.5056327351493116e-07 (+ z 7))) (+ (/ 12.507343278686905 (+ 4 z)) (+ (+ (+ (+ (/ -176.6150291621406 (+ z 3)) 0.9999999999998099) (/ -1259.1392167224028 (+ 1 z))) (/ 771.3234287776531 (+ 2 z))) (/ 676.5203681218851 z)))) (/ -0.13857109526572012 (- z -5))))
4.7s
(cbrt (* (* (* (exp re) (cos im)) (* (* (exp re) (cos im)) (* (exp re) (cos im)))) (* (* (* (exp re) (cos im)) (* (* (exp re) (cos im)) (* (exp re) (cos im)))) (* (* (exp re) (cos im)) (* (* (exp re) (cos im)) (* (exp re) (cos im)))))))
2.8s
(* (/ (+ (+ (* (* x x) (+ (* (* (* x x) (* x x)) 0.0072644182) 0.1049934947)) 1) (* (* (* x x) (* x x)) (+ 0.0424060604 (* (* (* x x) (* x x)) (+ 0.0005064034 (* (* x x) 0.0001789971)))))) (+ (+ (* (* (* x x) (* x x)) (+ 0.2909738639 (* (* (* x x) (* x x)) (+ (* (* (* x x) (* x x)) (* 2 0.0001789971)) (* 0.0008327945 (* x x)))))) 1) (* (* x x) (+ 0.7715471019 (* (* (* x x) (* x x)) (+ 0.0694555761 (* (* x x) 0.0140005442))))))) x)
2.2s
(/ (* (- (* (+ (* (* x x) (+ (* (* (* x x) (* x x)) 0.0072644182) 0.1049934947)) 1) (+ (* (* x x) (+ (* (* (* x x) (* x x)) 0.0072644182) 0.1049934947)) 1)) (* (* (* (* x x) (* x x)) (+ 0.0424060604 (* (* (* x x) (* x x)) (+ 0.0005064034 (* (* x x) 0.0001789971))))) (* (* (* x x) (* x x)) (+ 0.0424060604 (* (* (* x x) (* x x)) (+ 0.0005064034 (* (* x x) 0.0001789971))))))) x) (* (- (+ (* (* x x) (+ (* (* (* x x) (* x x)) 0.0072644182) 0.1049934947)) 1) (* (* (* x x) (* x x)) (+ 0.0424060604 (* (* (* x x) (* x x)) (+ 0.0005064034 (* (* x x) 0.0001789971)))))) (+ (+ (* (* x x) (+ 0.7715471019 (* (+ (* 0.0140005442 (* x x)) 0.0694555761) (* (* x x) (* x x))))) 1) (* (* (* x x) (* x x)) (+ 0.2909738639 (* (+ (* (* 0.0001789971 2) (* (* x x) (* x x))) (* 0.0008327945 (* x x))) (* (* x x) (* x x))))))))
2.1s
(* (+ (+ (* (* x x) (+ (* (* (* x x) (* x x)) 0.0072644182) 0.1049934947)) 1) (* (* (* x x) (* x x)) (+ 0.0424060604 (* (* (* x x) (* x x)) (+ 0.0005064034 (* (* x x) 0.0001789971)))))) (/ x (+ (+ (* (* x x) (+ 0.7715471019 (* (+ (* 0.0140005442 (* x x)) 0.0694555761) (* (* x x) (* x x))))) 1) (* (* (* x x) (* x x)) (+ 0.2909738639 (* (+ (* (* 0.0001789971 2) (* (* x x) (* x x))) (* 0.0008327945 (* x x))) (* (* x x) (* x x))))))))
Rules
31834×*-un-lft-identity
24223×frac-times
24184×times-frac
16348×associate-*r/
13558×distribute-lft-out
11031×add-sqr-sqrt
9676×associate-*l/
8803×add-cube-cbrt
7754×flip-+ flip3-+
7581×exp-neg
6752×frac-add
6504×exp-diff
6498×neg-sub0
3838×add-exp-log
3637×pow1
2378×add-cbrt-cube
1788×associate-*r*
1675×prod-exp
1477×associate-/r*
1353×sqrt-prod
1091×un-div-inv
964×div-exp
900×cbrt-unprod
897×associate-/r/
886×associate-*l*
857×pow-prod-down
828×pow-prod-up
821×difference-of-squares
784×add-log-exp
683×associate-/l*
626×unpow-prod-down
538×div-inv
520×insert-posit16
498×log-pow
495×distribute-lft-out--
426×cube-prod
424×cbrt-div
410×pow-plus
394×sqr-pow
375×cbrt-undiv
334×cbrt-prod
286×unswap-sqr
252×sqrt-div
236×pow-sqr
231×pow-exp
216×flip3-- flip--
192×sqrt-pow1
182×frac-sub
174×associate-/l/
173×pow1/2
167×*-commutative
166×pow2
151×swap-sqr
144×pow1/3
124×1-exp
123×pow-to-exp
121×rec-exp
101×frac-2neg clear-num
93×sub-neg
75×diff-log
72×sum-log
66×distribute-rgt-in distribute-lft-in
64×log-prod
63×rem-sqrt-square
57×unpow-prod-up
50×exp-sum
46×+-commutative
42×cube-unmult
36×associate--l+
27×pow3
24×pow-flip
22×pow-unpow exp-prod
20×associate--r+
18×cube-div
17×div-sub associate--r- log-div
15×inv-pow
11×associate-+l+
10×difference-of-sqr-1 associate--l-
pow-pow rem-log-exp cube-mult
sin-sum distribute-rgt-out
associate-+l-
remove-posit16 rem-cbrt-cube distribute-rgt1-in
sqrt-undiv sum-cubes pow-sub
rem-cube-cbrt
associate-+r+ rem-exp-log
sqrt-unprod difference-cubes distribute-rgt-out-- cos-sum
associate-+r- unpow3 rem-square-sqrt

regimes12.7s (0.6%)

Accuracy

Total 109.7b remaining (38.2%)

Threshold costs 3.1b (1.1%)

19.7b43.5%math.sqrt on complex, imaginary part, im greater than 0 branch
16.4b53.2%math.sqrt on complex, real part
10.4b56.5%math.log10 on complex, real part
10.1b57.3%math.log/1 on complex, real part
9.8b59%math.log/2 on complex, real part

localize8.5s (0.4%)

bsearch3.8s (0.2%)

end1.0ms (0.0%)