Details

simplify19.7m (39.5%)

rewrite16.0m (32.0%)

Algorithm
155×rewrite-expression-head
Calls

470 calls:

2.1m
(+ (/ -176.6150291621406 (+ (- 2 z) 2)) (+ (+ (+ (+ (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1 z)) (/ -1259.1392167224028 (- 2 z)))) (/ 12.507343278686905 (+ -1 (- 6 z)))) (/ 771.3234287776531 (- (- 1 z) -2))) (/ -0.13857109526572012 (- 6 z))) (+ (/ 1.5056327351493116e-07 (- 8 z)) (/ 9.984369578019572e-06 (- 7 z)))))
1.5m
(+ (/ -176.6150291621406 (+ (- 2 z) 2)) (+ (+ (+ (+ (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1 z)) (/ -1259.1392167224028 (- 2 z)))) (/ 12.507343278686905 (+ -1 (- 6 z)))) (/ 771.3234287776531 (- (- 1 z) -2))) (/ -0.13857109526572012 (- 6 z))) (+ (/ 1.5056327351493116e-07 (- 8 z)) (/ 9.984369578019572e-06 (- 7 z)))))
1.0m
(+ (+ (+ (+ (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1 z)) (/ -1259.1392167224028 (- 2 z)))) (/ 12.507343278686905 (+ -1 (- 6 z)))) (/ 771.3234287776531 (- (- 1 z) -2))) (/ -0.13857109526572012 (- 6 z))) (+ (/ 1.5056327351493116e-07 (- 8 z)) (/ 9.984369578019572e-06 (- 7 z))))
41.3s
(+ (+ (+ (+ (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1 z)) (/ -1259.1392167224028 (- 2 z)))) (/ 12.507343278686905 (+ -1 (- 6 z)))) (/ 771.3234287776531 (- (- 1 z) -2))) (/ -0.13857109526572012 (- 6 z))) (+ (/ 1.5056327351493116e-07 (- 8 z)) (/ 9.984369578019572e-06 (- 7 z))))
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)
Rules
46450×frac-times
30906×associate-*r/
18160×associate-*l/
17315×times-frac
14925×exp-neg
13963×*-un-lft-identity
13469×flip-+ flip3-+
13317×frac-add
12795×exp-diff
12793×neg-sub0
10634×add-exp-log
10130×add-sqr-sqrt
8845×add-cube-cbrt
6182×prod-exp
4578×sqrt-prod
3659×div-exp
3217×pow1
2626×distribute-lft-out
2392×add-cbrt-cube
2179×un-div-inv
1700×1-exp
1688×rec-exp
1258×associate-/l*
1245×prod-diff
1053×associate-*l*
952×associate-*r*
896×cbrt-unprod
893×pow-prod-up
875×add-log-exp
631×pow-prod-down
557×associate-/r/
511×log-pow
499×cbrt-div
470×log1p-expm1-u
469×expm1-log1p-u
468×insert-posit16
458×cbrt-undiv
440×div-inv
372×unpow-prod-down
360×cbrt-prod
357×sqrt-div
353×pow-plus
343×associate-/r*
338×unswap-sqr
303×cube-prod
271×swap-sqr
259×sum-log
244×difference-of-squares
233×pow-flip inv-pow
231×pow-sqr
222×sqrt-pow1
220×exp-sum
204×fma-def
189×fma-neg
161×distribute-lft-out-- *-commutative
155×sqr-pow
153×log-prod
148×distribute-rgt-out
147×pow1/3
132×pow2
131×distribute-rgt-in distribute-lft-in
128×pow1/2
125×pow-exp
108×cube-div
101×flip3-- flip--
87×cube-mult
86×unpow3 pow-to-exp
78×frac-2neg clear-num
75×associate--r+
73×distribute-lft1-in
72×fma-udef
71×distribute-rgt1-in
65×associate-/l/
63×sub-neg
41×rem-sqrt-square
38×frac-sub
34×exp-prod
33×diff-log
32×+-commutative
27×pow-unpow
26×count-2
24×rem-cube-cbrt cube-unmult pow-pow
19×associate-+l+
14×hypot-def
13×pow3
12×div-sub
11×rem-log-exp
10×sin-sum
distribute-lft-neg-in distribute-rgt-neg-in cos-sum
sqrt-unprod
unpow-prod-up associate-+r+
associate--l+ rem-exp-log associate-+l- rem-square-sqrt
expm1-log1p expm1-udef neg-log pow-sub sub-div pow-div
log1p-expm1 log1p-udef
sub0-neg difference-cubes neg-mul-1 associate--r- log-div
distribute-rgt-neg-out difference-of-sqr-1 associate-+r- distribute-rgt-out-- distribute-neg-in rem-cbrt-cube unsub-neg

prune6.3m (12.5%)

sample3.9m (7.8%)

Algorithm
98×intervals
Results
1.2m439363×body80valid
1.0m12010×body10240exit
35.4s27449×body1280valid
17.9s21042×body640valid
10.2s68475×body80nan
6.1s10792×body320valid
4.4s1634×body1280nan
3.5s9555×body160valid
2.8s1299×body640nan
2.1s49536×pre80true
1.3s665×body320nan
1.2s1441×body2560valid
527.0ms585×body5120valid
300.0ms350×body160nan

series3.8m (7.6%)

Calls

468 calls:

2.4m
(- (pow (pow 1 3) 3) (pow (* (sqrt (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)) (sqrt (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))
4.1s
(- (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))
4.1s
(+ (* (* (* (/ 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
(- (pow 1 3) (* (sqrt (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)) (sqrt (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))))
2.7s
(+ (* (* (* (/ 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)))))))

regimes9.1s (0.3%)

Accuracy

Total 34.8b remaining (25.2%)

Threshold costs 6.2b (4.5%)

9.3b43.9%Octave 3.8, jcobi/4
6.8b11.4%Octave 3.8, jcobi/2
3.0b75.9%Octave 3.8, jcobi/1
3.0b0%_divideComplex, imaginary part
2.5b0%Octave 3.8, jcobi/3

localize7.1s (0.2%)

bsearch883.0ms (0.0%)

end1.0ms (0.0%)