Details

rewrite16.3m (58.9%)

Algorithm
158×rewrite-expression-head
Calls

476 calls:

1.2m
(* (* (/ 1.0 (sqrt PI)) (exp (* (fabs x) (fabs x)))) (+ (+ (+ (/ 1.0 (fabs x)) (* (/ 1.0 2.0) (* (* (/ 1.0 (fabs x)) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))))) (* (/ 3.0 4.0) (* (* (* (* (/ 1.0 (fabs x)) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))))) (* (/ 15.0 8.0) (* (* (* (* (* (* (/ 1.0 (fabs x)) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))) (/ 1.0 (fabs x))))))
37.2s
(* (/ (* (cbrt (+ (+ (+ (+ (+ 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))))) (cbrt (+ (+ (+ (+ (+ 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) (/ (* x (cbrt (+ (+ (+ (+ (+ 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)))))) (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3)))))) (* 2.0 0.0001789971)) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0694555761) 1.0) (* (pow x 2) (+ 0.7715471019 (* 0.2909738639 (pow x 2)))))) (* (pow x 2) (+ (* 0.0140005442 (* (* (* x x) x) (* (* x x) x))) (* 0.0008327945 (* (* (* (* x x) (* x x)) (* x x)) (* x x))))))))
16.8s
(* (/ (+ (+ (+ (+ (+ 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)
15.7s
(/ (* x (cbrt (+ (+ (+ (+ (+ 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)))))) (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3)))))) (* 2.0 0.0001789971)) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0694555761) 1.0) (* (pow x 2) (+ 0.7715471019 (* 0.2909738639 (pow x 2)))))) (* (pow x 2) (+ (* 0.0140005442 (* (* (* x x) x) (* (* x x) x))) (* 0.0008327945 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))))))
9.5s
(/ (+ (+ (+ (+ (+ 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
3588856×frac-times
2865414×associate-*l/
1763573×associate-*r/
1575572×frac-add
33466×flip-+ flip3-+
23132×times-frac
14900×*-un-lft-identity
11715×add-sqr-sqrt
10408×add-cube-cbrt
7200×sqrt-prod
2464×pow1
2151×add-exp-log
2022×distribute-lft-out
1563×add-cbrt-cube
1270×associate-*r*
1237×log-pow
1132×associate-/l*
996×add-log-exp
933×associate-*l*
862×prod-exp
691×cbrt-div
679×div-inv
674×associate-/r/
522×associate-/r*
519×sqrt-div
478×cbrt-prod
425×cbrt-unprod
359×div-exp
354×difference-of-squares
334×pow-prod-down
333×pow-exp
294×distribute-lft-out--
279×cbrt-undiv
277×unswap-sqr
251×unpow-prod-down
217×swap-sqr
210×flip3-- flip--
203×pow-to-exp
181×sum-log
177×log-prod
158×diff-log
152×sqrt-pow1
140×*-commutative
134×cube-prod
133×sqr-pow
123×pow1/3
102×frac-sub
100×pow1/2
99×associate-/l/
89×clear-num frac-2neg
87×sub-neg
82×exp-prod
79×distribute-rgt-in distribute-lft-in
69×rem-sqrt-square pow-prod-up
53×pow-sqr
48×associate--l+
39×pow-unpow 1-exp pow-plus
37×+-commutative
33×rec-exp
32×associate-+r+
29×pow-pow pow2
27×pow-flip
25×unpow3 cube-mult
23×associate-+l+ inv-pow
22×distribute-neg-frac
21×rem-log-exp
16×cube-div div-sub
15×log-div
14×associate--l-
13×associate--r+
12×distribute-rgt-neg-in distribute-lft-neg-in exp-sum
11×distribute-rgt-out
unpow2
rem-cube-cbrt rem-exp-log
un-div-inv rem-cbrt-cube
associate-+l-
exp-diff difference-cubes distribute-neg-in log-rec
neg-log pow3
sin-mult neg-mul-1 associate-+r-
sqrt-pow2 sin-sum distribute-rgt-neg-out exp-to-pow
distribute-neg-out sqrt-undiv sqrt-unprod distribute-lft-neg-out exp-neg sqr-sin unpow-prod-up pow-sub unsub-neg rem-square-sqrt distribute-frac-neg neg-sub0 cos-sum associate--r- mul-1-neg

simplify6.1m (22.2%)

sample2.6m (9.5%)

Algorithm
98×intervals
Results
52.5s12315×body10240exit
38.6s439760×body80valid
18.3s27263×body1280valid
10.4s21027×body640valid
5.2s69377×body80nan
3.7s1688×body1280nan
3.1s10688×body320valid
1.9s9545×body160valid
1.8s1327×body640nan
1.3s49536×pre80true
846.0ms1456×body2560valid
673.0ms707×body320nan
272.0ms373×body160nan
220.0ms628×body5120valid

series1.3m (4.6%)

Calls

474 calls:

2.4s
(* (/ (/ (* i (+ (+ alpha beta) i)) (+ (+ alpha beta) (* 2.0 i))) (+ (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0))) (/ (/ (+ (* beta alpha) (* i (+ (+ alpha beta) i))) (+ (+ alpha beta) (* 2.0 i))) (- (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0))))
1.4s
(- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3))
1.4s
(cbrt (- (+ 1.0 (+ (* 0.284496736 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 2))) (* 1.453152027 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 4))))) (+ (* 1.061405429 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 5))) (+ (* 1.421413741 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 3))) (* 0.254829592 (/ (exp (- (pow (fabs x) 2))) (+ (* 0.3275911 (fabs x)) 1.0)))))))
1.4s
(* (pow (* (pow -1 1.0) (* (pow -2.0 1.0) (pow (log (/ 1 u1)) 1.0))) 0.5) (pow (sqrt 0.16666666666666666) 2))
1.3s
(cbrt (- (+ 1.0 (+ (* 0.284496736 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 2))) (* 1.453152027 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 4))))) (+ (* 1.061405429 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 5))) (+ (* 1.421413741 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 3))) (* 0.254829592 (/ (exp (- (pow (fabs x) 2))) (+ (* 0.3275911 (fabs x)) 1.0)))))))

prune1.1m (4.0%)

regimes7.6s (0.5%)

Accuracy

Total 88.0b remaining (31.8%)

Threshold costs 3.0b (1.1%)

10.9b56.7%math.log10 on complex, real part
10.5b57.8%math.log/1 on complex, real part
10.1b59.7%math.log/2 on complex, real part
10.0b58.9%math.abs on complex
9.7b61.7%math.sqrt on complex, real part

localize3.7s (0.2%)

bsearch2.6s (0.2%)

end1.0ms (0.0%)