Details

prune14.6m (44.6%)

simplify5.7m (17.4%)

sample5.5m (16.7%)

Algorithm
100×intervals
Results
1.7m15941×body10240exit
1.4m462488×body80valid
47.6s30587×body1280valid
25.8s23261×body640valid
11.6s3128×body1280nan
10.4s71907×body80nan
8.7s11560×body320valid
7.6s2569×body640nan
4.9s9898×body160valid
2.5s1326×body320nan
2.2s49536×pre80true
1.4s1497×body2560valid
1.2s646×body160nan
624.0ms625×body5120valid

rewrite5.3m (16.0%)

Algorithm
166×rewrite-expression-head
Calls

500 calls:

1.1m
(* (exp (log (/ (+ (+ (+ (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) 0.0005064034) (+ 1 (* 0.1049934947 (* x x)))) (* (* x x) (+ (* 0.0424060604 (* x x)) (* 0.0072644182 (* (* x x) (* x x)))))) (* 0.0001789971 (* (* x x) (* (* (* x x) (* x x)) (* (* x x) (* x x)))))) (+ (+ (+ (+ (* (* 0.0694555761 (* (* x x) (* x x))) (* x x)) 1) (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x))))) (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) 0.0140005442)) (+ (* 0.0008327945 (* (* x x) (* (* (* x x) (* x x)) (* (* x x) (* x x))))) (* (* 2 0.0001789971) (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x))))))))) x)
1.0m
(/ (+ (+ (+ (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) 0.0005064034) (+ 1 (* 0.1049934947 (* x x)))) (* (* x x) (+ (* 0.0424060604 (* x x)) (* 0.0072644182 (* (* x x) (* x x)))))) (* 0.0001789971 (* (* x x) (* (* (* x x) (* x x)) (* (* x x) (* x x)))))) (+ (+ (+ (+ (* (* 0.0694555761 (* (* x x) (* x x))) (* x x)) 1) (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x))))) (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) 0.0140005442)) (+ (* 0.0008327945 (* (* x x) (* (* (* x x) (* x x)) (* (* x x) (* x x))))) (* (* 2 0.0001789971) (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x)))))))
24.8s
(* (/ 1 (sqrt (+ (+ (+ (+ (+ (+ 1 (* 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.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x)))))) (* (/ (+ (+ (+ (+ (+ 1 (* 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)))) (sqrt (+ (+ (+ (+ (+ (+ 1 (* 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.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x)))))) x))
16.7s
(* (/ (+ (+ (+ (+ (+ 1 (* 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.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.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) x)
16.6s
(exp (log (/ (+ (+ (+ (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) 0.0005064034) (+ 1 (* 0.1049934947 (* x x)))) (* (* x x) (+ (* 0.0424060604 (* x x)) (* 0.0072644182 (* (* x x) (* x x)))))) (* 0.0001789971 (* (* x x) (* (* (* x x) (* x x)) (* (* x x) (* x x)))))) (+ (+ (+ (+ (* (* 0.0694555761 (* (* x x) (* x x))) (* x x)) 1) (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x))))) (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) 0.0140005442)) (+ (* 0.0008327945 (* (* x x) (* (* (* x x) (* x x)) (* (* x x) (* x x))))) (* (* 2 0.0001789971) (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x)))))))))
Rules
99769×frac-times
78297×cbrt-div
59475×flip3-- flip--
38103×add-exp-log
33010×associate-*l/
25559×prod-exp
22079×times-frac
18990×associate-*r/
13987×*-un-lft-identity
13342×add-sqr-sqrt
12161×div-exp
9535×add-cube-cbrt
5893×1-exp
5878×rec-exp
5429×sqrt-prod
4369×pow1
3700×add-cbrt-cube
2934×associate-*r*
1858×distribute-lft-out
1692×pow-prod-up
1599×cbrt-unprod
1589×cbrt-prod
1469×associate-*l*
1221×flip-+ flip3-+
1187×difference-of-squares
1046×div-inv
878×cbrt-undiv
829×associate-/r*
760×add-log-exp
726×associate-/l*
704×pow-flip
680×pow-prod-down
672×distribute-lft-out--
669×pow-plus
662×associate-/r/
633×log-pow
576×frac-add
500×insert-posit16
384×unswap-sqr
323×pow-sqr
263×pow2
253×sqrt-div
243×inv-pow
236×associate-/l/
185×sqrt-pow1
180×log-prod swap-sqr
171×*-commutative
121×pow1/2
115×un-div-inv
112×exp-sum
104×frac-2neg clear-num
91×distribute-rgt-in distribute-lft-in
82×pow1/3
81×sum-log
80×sub-neg
63×cube-unmult diff-log
55×+-commutative
53×unpow-prod-down
49×rem-sqrt-square
48×pow-exp
43×exp-prod
35×sqr-pow
32×pow3
31×associate--l+
29×associate-+r+ pow-to-exp
26×frac-sub
22×associate-+l+ pow-unpow div-sub
20×log-div
13×rem-log-exp
10×pow-pow
associate--l- difference-of-sqr-1 distribute-rgt-out
exp-diff associate-+l-
rem-cbrt-cube
sin-sum cos-sum
unpow-prod-up associate--r+ difference-cubes rem-exp-log distribute-rgt1-in
remove-posit16 sqrt-unprod rem-square-sqrt pow-sub
sqrt-undiv sum-cubes exp-to-pow
associate-+r- distribute-rgt-out-- count-2 associate--r-

series1.3m (3.9%)

Calls

500 calls:

2.5s
(- 1 (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (- (* 1 1) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 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))))))
2.2s
(- 1 (* (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (- (* 1 1) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 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.4s
(* (* 1/6 (pow (* -2 (log u1)) (/ 0.5 2))) (pow (* -2 (log u1)) (/ 0.5 2)))
1.2s
(+ 0.254829592 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1 (- (* 1 1) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 1 (* 0.3275911 (fabs x))) (+ 1.421413741 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1 (+ 1 (* 0.3275911 (fabs x)))) 1.061405429)))))))))
1.1s
(* (sqrt 1/6) (* (sqrt 1/6) (pow (* -2 (log u1)) 0.5)))

regimes13.4s (0.7%)

Accuracy

Total 106.4b remaining (36%)

Threshold costs 5.5b (1.9%)

21.7b47.7%math.sqrt on complex, imaginary part, im greater than 0 branch
10.2b57.6%math.log10 on complex, real part
9.9b58.5%math.log/1 on complex, real part
9.7b58.9%math.log/2 on complex, real part
8.9b60.1%math.abs on complex

localize8.1s (0.4%)

bsearch4.9s (0.2%)

end1.0ms (0.0%)