| 167× | rewrite-expression-head |
517 calls:
| 7.1m | (* (* (* (+ (+ (/ 1.5056327351493116e-07 (+ 8.0 (- z))) (/ 12.507343278686905 (+ (- z) 5.0))) (+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -176.6150291621406 (+ 4.0 (- z)))) (+ (/ 771.3234287776531 (+ 3.0 (- z))) (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1.0 z)) (/ -1259.1392167224028 (+ 2.0 (- z))))))) (/ 9.984369578019572e-06 (+ 7.0 (- z))))) (/ PI (sin (* PI z)))) (pow (+ (+ 7.0 (- z)) 0.5) (+ (- z) 0.5))) (/ (sqrt (* 2.0 PI)) (exp (+ (+ 7.0 (- z)) 0.5)))) |
| 6.2m | (* (* (sqrt (* (/ (sqrt (+ (+ (+ (+ (+ 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.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))))) (cbrt (+ (+ (+ (+ (+ (+ 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))))))) (/ (sqrt (+ (+ (+ (+ (+ 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.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)))))))) (sqrt (/ (+ (+ (+ (+ (+ 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) |
| 35.1s | (* (* (sqrt (/ (+ (+ (+ (+ (+ 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)))))) (sqrt (/ (+ (+ (+ (+ (+ 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) |
| 20.9s | (* (- (* (/ 1.5056327351493116e-07 (+ 8.0 (- z))) (/ 1.5056327351493116e-07 (+ 8.0 (- z)))) (* (/ 12.507343278686905 (+ (- z) 5.0)) (/ 12.507343278686905 (+ (- z) 5.0)))) (+ (* (+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -176.6150291621406 (+ 4.0 (- z)))) (/ 771.3234287776531 (+ 3.0 (- z)))) (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1.0 z)) (/ -1259.1392167224028 (+ 2.0 (- z)))))) (+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -176.6150291621406 (+ 4.0 (- z)))) (/ 771.3234287776531 (+ 3.0 (- z)))) (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1.0 z)) (/ -1259.1392167224028 (+ 2.0 (- z))))))) (- (* (/ 9.984369578019572e-06 (+ 7.0 (- z))) (/ 9.984369578019572e-06 (+ 7.0 (- z)))) (* (+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -176.6150291621406 (+ 4.0 (- z)))) (/ 771.3234287776531 (+ 3.0 (- z)))) (+ 0.9999999999998099 (+ (/ 676.5203681218851 (- 1.0 z)) (/ -1259.1392167224028 (+ 2.0 (- z)))))) (/ 9.984369578019572e-06 (+ 7.0 (- z))))))) |
| 18.2s | (* (/ (+ (+ (+ (+ (+ 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) |
| 828896× | frac-add |
| 511151× | frac-times |
| 375461× | flip-+ flip3-+ |
| 270705× | frac-sub |
| 226735× | associate-*l/ |
| 183450× | associate-*r/ |
| 15436× | flip3-- flip-- |
| 11560× | times-frac |
| 9359× | *-un-lft-identity |
| 7920× | add-sqr-sqrt |
| 7862× | exp-neg |
| 6945× | neg-sub0 |
| 6748× | exp-diff |
| 6365× | add-cube-cbrt |
| 5018× | add-exp-log |
| 4981× | sqrt-prod |
| 4188× | add-cbrt-cube |
| 4032× | sub-div |
| 3317× | pow1 |
| 2529× | prod-exp |
| 2050× | cbrt-unprod |
| 1451× | associate-*r* |
| 1341× | distribute-lft-out |
| 1287× | associate-*l* |
| 1136× | un-div-inv |
| 1111× | div-exp |
| 985× | cbrt-prod |
| 957× | pow-prod-down |
| 827× | cbrt-undiv |
| 745× | add-log-exp |
| 692× | associate-/l* |
| 639× | pow-prod-up |
| 573× | associate-/r/ |
| 489× | cbrt-div |
| 407× | div-inv |
| 391× | sqrt-div |
| 390× | difference-of-squares associate-/r* |
| 296× | pow-plus |
| 278× | unswap-sqr |
| 269× | swap-sqr |
| 230× | distribute-lft-out-- |
| 215× | associate-+l- |
| 209× | pow-sqr |
| 205× | pow-sub |
| 204× | log-pow |
| 184× | sqrt-pow1 |
| 179× | *-commutative |
| 126× | associate-/l/ |
| 125× | pow1/2 |
| 123× | pow2 |
| 122× | 1-exp |
| 115× | pow1/3 |
| 109× | rec-exp |
| 92× | log-prod |
| 91× | sum-log |
| 89× | frac-2neg clear-num rem-sqrt-square |
| 76× | pow-exp |
| 70× | cube-unmult |
| 69× | distribute-rgt-in distribute-lft-in |
| 54× | cube-div |
| 52× | unpow-prod-down |
| 51× | +-commutative |
| 49× | pow-to-exp |
| 47× | exp-prod |
| 41× | sub-neg |
| 39× | sqr-pow |
| 37× | diff-log |
| 35× | pow-flip |
| 33× | distribute-rgt-neg-in inv-pow |
| 27× | pow3 |
| 25× | pow-unpow |
| 22× | sum-cubes |
| 16× | exp-sum |
| 15× | pow-pow div-sub |
| 14× | log-div |
| 12× | rem-cube-cbrt associate-+r+ |
| 8× | rem-exp-log distribute-rgt-out |
| 6× | associate-+l+ cube-prod sin-sum distribute-lft-neg-in associate--l+ associate--r+ difference-cubes |
| 5× | rem-cbrt-cube rem-log-exp |
| 4× | neg-log cos-sum distribute-rgt1-in |
| 3× | associate-+r- unpow3 sqrt-unprod rem-square-sqrt cube-mult |
| 2× | sqrt-undiv unsub-neg |
| 1× | unpow-prod-up associate--l- neg-mul-1 distribute-rgt-out-- count-2 distribute-neg-in associate--r- |
| 98× | intervals |
| 46.7s | 444255× | body | 80 | valid |
| 27.9s | 27300× | body | 1280 | valid |
| 12.7s | 21028× | body | 640 | valid |
| 7.8s | 8311× | body | 10240 | exit |
| 6.8s | 69127× | body | 80 | nan |
| 4.6s | 10809× | body | 320 | valid |
| 2.5s | 9527× | body | 160 | valid |
| 2.2s | 49536× | pre | 80 | true |
| 838.0ms | 1473× | body | 2560 | valid |
| 739.0ms | 108× | body | 1280 | nan |
| 433.0ms | 636× | body | 5120 | valid |
| 87.0ms | 73× | body | 640 | nan |
| 42.0ms | 44× | body | 320 | nan |
| 14.0ms | 23× | body | 160 | nan |
517 calls:
| 5.0s | (* (+ (sqrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1))) d1) (- (sqrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1))) d1)) |
| 4.7s | (- (pow 1.0 3) (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ (/ 1.0 (* (cbrt (+ 1.0 (* 0.3275911 (fabs x)))) (cbrt (+ 1.0 (* 0.3275911 (fabs x)))))) (cbrt (+ 1.0 (* 0.3275911 (fabs x))))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 3)) |
| 4.4s | (+ (* (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ (/ 1.0 (* (cbrt (+ 1.0 (* 0.3275911 (fabs x)))) (cbrt (+ 1.0 (* 0.3275911 (fabs x)))))) (cbrt (+ 1.0 (* 0.3275911 (fabs x))))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ (/ 1.0 (* (cbrt (+ 1.0 (* 0.3275911 (fabs x)))) (cbrt (+ 1.0 (* 0.3275911 (fabs x)))))) (cbrt (+ 1.0 (* 0.3275911 (fabs x))))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x)))))) (* 1.0 (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ (/ 1.0 (* (cbrt (+ 1.0 (* 0.3275911 (fabs x)))) (cbrt (+ 1.0 (* 0.3275911 (fabs x)))))) (cbrt (+ 1.0 (* 0.3275911 (fabs x))))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))))) |
| 3.5s | (- (pow 1.0 3) (* (sqrt (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ (/ 1.0 (* (cbrt (+ 1.0 (* 0.3275911 (fabs x)))) (cbrt (+ 1.0 (* 0.3275911 (fabs x)))))) (cbrt (+ 1.0 (* 0.3275911 (fabs x))))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 3)) (sqrt (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ (/ 1.0 (* (cbrt (+ 1.0 (* 0.3275911 (fabs x)))) (cbrt (+ 1.0 (* 0.3275911 (fabs x)))))) (cbrt (+ 1.0 (* 0.3275911 (fabs x))))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 3)))) |
| 3.5s | (* (* (/ (/ (* 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)))) (/ 1 (- (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0)))) |
Total 101.5b remaining (37.2%)
Threshold costs 3.7b (1.3%)
| 19.3b | 50.9% | math.sqrt on complex, imaginary part, im greater than 0 branch |
| 10.4b | 57.9% | math.log/2 on complex, real part |
| 10.2b | 59.1% | math.log10 on complex, real part |
| 10.0b | 59.9% | math.log/1 on complex, real part |
| 9.7b | 63.1% | math.sqrt on complex, real part |