Details

prune6.6m (27.1%)

sample5.5m (22.6%)

Algorithm
100×intervals
Results
1.7m15941×body10240exit
1.4m462488×body80valid
47.0s30587×body1280valid
25.3s23261×body640valid
12.5s3128×body1280nan
10.8s71907×body80nan
9.5s11560×body320valid
7.3s2569×body640nan
4.9s9898×body160valid
3.9s1326×body320nan
2.1s49536×pre80true
1.4s1497×body2560valid
1.0s625×body5120valid
810.0ms646×body160nan

simplify5.5m (22.6%)

rewrite5.0m (20.7%)

Algorithm
166×rewrite-expression-head
Calls

500 calls:

1.0m
(* (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.0s
(* (/ 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.0s
(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))))))))
16.0s
(* (/ (+ (+ (+ (+ (+ 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)
Rules
99099×frac-times
76916×cbrt-div
59475×flip3-- flip--
38275×add-exp-log
32611×associate-*l/
25718×prod-exp
19587×times-frac
18770×associate-*r/
12971×*-un-lft-identity
12323×add-sqr-sqrt
12149×div-exp
8520×add-cube-cbrt
5893×1-exp
5878×rec-exp
4758×pow1
4576×sqrt-prod
3894×add-cbrt-cube
2961×associate-*r*
1951×pow-prod-up
1856×distribute-lft-out
1758×cbrt-unprod
1595×cbrt-prod
1443×associate-*l*
1189×difference-of-squares
1062×pow-prod-down
983×div-inv
925×pow-plus
866×cbrt-undiv
785×flip-+ flip3-+
765×add-log-exp
705×associate-/l*
704×pow-flip
689×associate-/r*
675×distribute-lft-out--
660×associate-/r/
576×frac-add
500×insert-posit16
380×unswap-sqr
354×pow-sqr
295×pow2
255×sqrt-div
243×inv-pow
239×log-pow
235×associate-/l/
179×sqrt-pow1
172×*-commutative
171×swap-sqr
158×log-prod
115×pow1/2
104×exp-sum
101×frac-2neg clear-num
88×distribute-rgt-in distribute-lft-in
85×pow1/3
83×distribute-rgt-neg-in distribute-lft-neg-in
82×sum-log
74×sub-neg
67×diff-log
65×cube-unmult
55×+-commutative
54×un-div-inv
48×rem-sqrt-square
47×unpow-prod-down
46×pow-exp
39×pow3
38×exp-prod
33×associate--l+ sqr-pow
31×associate-+r+
27×pow-to-exp
26×frac-sub
25×div-sub
24×neg-mul-1
22×associate-+l+
19×pow-unpow
17×log-div
10×associate--l- difference-of-sqr-1
distribute-rgt-out
exp-diff associate-+l- rem-cbrt-cube
rem-log-exp
sin-sum associate--r+ pow-pow cos-sum
difference-cubes distribute-rgt1-in
rem-exp-log
sqrt-unprod rem-square-sqrt
remove-posit16 sqrt-undiv sum-cubes
unpow-prod-up neg-sub0 associate-+r- distribute-frac-neg distribute-rgt-out-- count-2 associate--r- pow-sub

series1.3m (5.2%)

Calls

500 calls:

2.4s
(- 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.3s
(- 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.3s
(+ 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.2s
(* 1/6 (pow (* -2 (log u1)) 0.5))
1.2s
(- 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))))))

regimes13.6s (0.9%)

Accuracy

Total 106.5b remaining (35.9%)

Threshold costs 5.1b (1.7%)

21.7b47.7%math.sqrt on complex, imaginary part, im greater than 0 branch
10.1b57.9%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.6s (0.6%)

bsearch5.2s (0.4%)

end1.0ms (0.0%)