| 158× | rewrite-expression-head |
476 calls:
| 3.6m | (* (/ (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))))) (/ (+ (+ (* 2.0 (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x (pow x 3))))) (+ (+ (* (* (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)))))) (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))))))) x) |
| 3.5m | (/ (+ (+ (* 2.0 (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x (pow x 3))))) (+ (+ (* (* (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)))))) (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.9m | (/ (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))))) (/ (+ (+ (* 2.0 (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x (pow x 3))))) (+ (+ (* (* (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)))))) (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))))))) |
| 7.0s | (* (/ (+ (+ (+ (+ (+ 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.0s | (/ (+ (+ (+ (+ (+ 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))))) |
| 11594× | times-frac |
| 9244× | add-sqr-sqrt |
| 8709× | *-un-lft-identity |
| 5953× | add-cube-cbrt |
| 3822× | add-exp-log |
| 3217× | associate-*r* |
| 3183× | sqrt-prod |
| 2918× | add-cbrt-cube |
| 2127× | pow1 |
| 1649× | prod-exp |
| 1492× | associate-*l* |
| 1213× | difference-of-squares |
| 1142× | cbrt-unprod |
| 948× | div-exp |
| 877× | distribute-lft-out |
| 771× | add-log-exp |
| 719× | flip-+ flip3-+ |
| 666× | cbrt-undiv |
| 631× | associate-/r/ |
| 578× | unpow-prod-down frac-times |
| 567× | distribute-lft-out-- |
| 513× | associate-*r/ |
| 512× | pow-prod-down |
| 407× | cube-prod |
| 405× | associate-/l* |
| 404× | sqrt-div |
| 399× | associate-/r* |
| 391× | div-inv |
| 364× | associate-*l/ |
| 362× | cbrt-prod |
| 342× | unswap-sqr |
| 302× | pow-prod-up |
| 297× | sqr-pow |
| 247× | sqrt-pow1 |
| 246× | swap-sqr |
| 234× | log-prod |
| 233× | log-pow |
| 212× | cbrt-div |
| 190× | flip3-- flip-- |
| 172× | pow1/2 |
| 159× | *-commutative |
| 148× | distribute-rgt-in distribute-lft-in |
| 143× | pow-plus |
| 129× | pow-exp |
| 118× | pow-sqr |
| 104× | pow1/3 |
| 99× | associate-/l/ |
| 97× | pow-to-exp |
| 87× | sub-neg |
| 85× | exp-prod sum-log |
| 83× | pow-unpow |
| 80× | diff-log |
| 74× | frac-2neg clear-num |
| 72× | pow2 |
| 60× | rem-sqrt-square |
| 58× | distribute-neg-frac |
| 52× | frac-add |
| 48× | +-commutative |
| 42× | pow-pow |
| 41× | exp-diff |
| 40× | cube-div |
| 38× | associate-+r+ |
| 33× | 1-exp rec-exp |
| 32× | exp-neg |
| 30× | associate-+l+ associate--l+ |
| 28× | neg-sub0 exp-sum |
| 23× | log-div |
| 19× | distribute-rgt-neg-in unpow3 distribute-lft-neg-in cube-mult |
| 16× | div-sub |
| 15× | rem-exp-log |
| 14× | rem-cube-cbrt |
| 13× | rem-log-exp |
| 12× | inv-pow pow-flip frac-sub associate--r+ |
| 10× | un-div-inv difference-of-sqr-1 distribute-rgt-out |
| 8× | associate--l- sum-cubes |
| 7× | unpow2 |
| 6× | pow3 sin-sum neg-log neg-mul-1 |
| 5× | distribute-neg-in associate-+l- |
| 4× | log-rec |
| 3× | sqrt-pow2 associate-+r- |
| 2× | difference-cubes sqrt-unprod rem-square-sqrt rem-cbrt-cube distribute-rgt-neg-out |
| 1× | cos-sum distribute-neg-out sqrt-undiv distribute-lft-neg-out distribute-rgt-out-- unpow-prod-up pow-sub unsub-neg associate--r- |
472 calls:
| 19.8s | (- (pow 1.0 3) (/ (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (- (* 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)))))))))) (exp (- (* (fabs x) (fabs x))))) 3) (pow (- 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)))))))) 3))) |
| 3.1s | (- (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.7s | (pow (* (+ alpha beta) (/ (/ (- beta alpha) (+ (+ alpha beta) (* 2.0 i))) (+ (+ (+ alpha beta) (* 2.0 i)) 2.0))) 3) |
| 2.4s | (* (/ (/ (* i (+ (+ alpha beta) i)) (+ (+ alpha beta) (* 2.0 i))) (+ (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0))) (/ (/ (sqrt (+ (* beta alpha) (* i (+ (+ alpha beta) i)))) (/ (+ (+ alpha beta) (* 2.0 i)) (sqrt (+ (* beta alpha) (* i (+ (+ alpha beta) i)))))) (- (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0)))) |
| 2.2s | (* (/ (/ i (/ (+ (+ alpha beta) (* 2.0 i)) (+ (+ alpha beta) i))) (+ (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0))) (/ (/ (sqrt (+ (* beta alpha) (* i (+ (+ alpha beta) i)))) (/ (+ (+ alpha beta) (* 2.0 i)) (sqrt (+ (* beta alpha) (* i (+ (+ alpha beta) i)))))) (- (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0)))) |
| 97× | intervals |
| 43.0s | 11949× | body | 10240 | exit |
| 25.2s | 530712× | body | 80 | valid |
| 11.2s | 27137× | body | 1280 | valid |
| 4.9s | 20549× | body | 640 | valid |
| 2.6s | 69824× | body | 80 | nan |
| 1.8s | 1624× | body | 1280 | nan |
| 1.6s | 10539× | body | 320 | valid |
| 1.0s | 1361× | body | 640 | nan |
| 647.0ms | 49536× | pre | 80 | true |
| 574.0ms | 5719× | body | 160 | valid |
| 349.0ms | 1490× | body | 2560 | valid |
| 342.0ms | 643× | body | 320 | nan |
| 152.0ms | 622× | body | 5120 | valid |
| 126.0ms | 353× | body | 160 | nan |
| 252× | egg-herbie |
Total 100.3b remaining (42.2%)
Threshold costs 3.7b (1.5%)
| 17.8b | 44.8% | math.log10 on complex, real part |
| 10.6b | 57.5% | math.log/2 on complex, real part |
| 10.5b | 57.7% | math.log/1 on complex, real part |
| 10.3b | 57.2% | math.abs on complex |
| 10.2b | 60.4% | math.sqrt on complex, real part |