| 164× | rewrite-expression-head |
504 calls:
| 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)))) (/ 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)))))))) |
| 13.8s | (* (/ (- (+ (- (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x))))) (- (* 0.0005064034 (pow x 8)))) (* (* 0.0001789971 (pow x 9)) 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))))) (* (* (pow x 12) 0.0001789971) 2.0))) x) |
| 8.1s | (/ (- (+ (- (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x))))) (- (* 0.0005064034 (pow x 8)))) (* (* 0.0001789971 (pow x 9)) 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))))) (* (* (pow x 12) 0.0001789971) 2.0))) |
| 7.3s | (* (/ (+ (+ (+ (+ (+ 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) |
| 4.8s | (* (/ 1.0 21.0) (* (* (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x))) |
| 64517× | frac-times |
| 47585× | associate-*l/ |
| 44623× | associate-*r/ |
| 43250× | frac-add |
| 9800× | add-exp-log |
| 5490× | prod-exp |
| 5251× | *-un-lft-identity |
| 5250× | add-sqr-sqrt |
| 5034× | times-frac |
| 3623× | add-cube-cbrt |
| 3471× | add-cbrt-cube |
| 3137× | div-exp |
| 2235× | pow1 |
| 1610× | cbrt-unprod |
| 1535× | flip-+ flip3-+ |
| 1323× | associate-*r* |
| 1206× | sqrt-prod |
| 1032× | associate-*l* |
| 812× | pow-prod-down |
| 776× | add-log-exp |
| 713× | cbrt-prod |
| 682× | cbrt-undiv |
| 602× | distribute-lft-out |
| 595× | 1-exp |
| 459× | associate-/l* |
| 429× | associate-/r/ |
| 425× | difference-of-squares |
| 365× | unpow-prod-down |
| 325× | unswap-sqr |
| 324× | associate-/r* |
| 309× | swap-sqr |
| 289× | pow-exp div-inv |
| 274× | pow-to-exp |
| 271× | sqrt-div |
| 259× | rec-exp |
| 252× | sqr-pow cube-prod |
| 232× | distribute-lft-out-- |
| 218× | cbrt-div |
| 214× | sqrt-pow1 |
| 205× | log-pow |
| 185× | log-prod |
| 158× | *-commutative |
| 145× | pow1/3 |
| 128× | pow1/2 |
| 125× | pow-prod-up |
| 124× | flip-- flip3-- |
| 101× | associate-/l/ distribute-rgt-in distribute-lft-in |
| 85× | pow-sqr diff-log |
| 82× | pow-plus |
| 80× | clear-num frac-2neg |
| 78× | sub-neg |
| 77× | pow-unpow |
| 72× | exp-prod |
| 71× | rem-sqrt-square |
| 67× | sum-log |
| 60× | cube-div |
| 51× | associate-+r+ |
| 50× | pow2 |
| 43× | +-commutative |
| 42× | associate--l+ |
| 34× | associate-+l+ pow-pow |
| 31× | exp-neg |
| 28× | exp-diff unpow3 cube-mult distribute-neg-frac |
| 25× | neg-sub0 |
| 19× | div-sub |
| 18× | distribute-rgt-neg-in distribute-lft-neg-in |
| 16× | frac-sub log-div |
| 15× | associate--l- |
| 14× | inv-pow pow-flip rem-log-exp |
| 12× | rem-cube-cbrt un-div-inv associate--r+ |
| 10× | distribute-rgt-out |
| 8× | rem-exp-log log-rec |
| 7× | pow3 exp-sum |
| 5× | difference-cubes distribute-neg-in neg-mul-1 rem-cbrt-cube |
| 4× | difference-of-sqr-1 neg-log associate-+l- |
| 3× | sqrt-unprod rem-square-sqrt |
| 2× | distribute-neg-out sqrt-pow2 associate-+r- distribute-lft-neg-out unsub-neg distribute-rgt-neg-out mul-1-neg |
| 1× | cos-sum sqrt-undiv unpow1/3 sin-sum unpow-prod-up pow-sub exp-to-pow |
498 calls:
| 19.7s | (- (pow 1.0 3) (/ (pow (* 1.0 (- (* 0.254829592 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 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))) (* (/ 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 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429)))))))))) 3) (pow (* (* (+ 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 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (* (fabs x) (fabs x)))) 3))) |
| 3.2s | (- (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 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 3)) |
| 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.5s | (* (* (* (/ 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 (+ 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 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x))))) 1.0)) |
| 918.0ms | (pow (* 1.0 (- (* 0.254829592 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 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))) (* (/ 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 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429)))))))))) 3) |
| 98× | intervals |
| 44.4s | 12028× | body | 10240 | exit |
| 18.6s | 447881× | body | 80 | valid |
| 11.1s | 27447× | body | 1280 | valid |
| 5.1s | 21203× | body | 640 | valid |
| 2.6s | 70746× | body | 80 | nan |
| 1.7s | 1613× | body | 1280 | nan |
| 1.6s | 10608× | body | 320 | valid |
| 952.0ms | 1344× | body | 640 | nan |
| 683.0ms | 49536× | pre | 80 | true |
| 549.0ms | 5412× | body | 160 | valid |
| 350.0ms | 1457× | body | 2560 | valid |
| 346.0ms | 680× | body | 320 | nan |
| 142.0ms | 589× | body | 5120 | valid |
| 111.0ms | 316× | body | 160 | nan |
| 260× | egg-herbie |
Total 95.8b remaining (34.9%)
Threshold costs 4.3b (1.6%)
| 12.9b | 47.9% | math.log/2 on complex, real part |
| 10.5b | 56.5% | math.log10 on complex, real part |
| 10.3b | 57.2% | math.log/1 on complex, real part |
| 10.0b | 56.9% | math.abs on complex |
| 9.4b | 55.3% | math.sqrt on complex, real part |