| 108× | rewrite-expression-head |
307 calls:
| 2.5m | (- (* (+ (* (/ 77617.0 (* 2.0 33096.0)) (- (/ 77617.0 (* 2.0 33096.0)) (* 5.5 (pow 33096.0 8.0)))) (* (pow 33096.0 (* 2 8.0)) (* 5.5 5.5))) (* (+ (pow (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) 3) (pow (* 333.75 (pow 33096.0 6.0)) 3)) (+ (pow (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) 3) (pow (* 333.75 (pow 33096.0 6.0)) 3)))) (* (+ (* (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0)))) (* (* 333.75 (pow 33096.0 6.0)) (- (* 333.75 (pow 33096.0 6.0)) (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0)))))) (* (* (+ (pow (* 5.5 (pow 33096.0 8.0)) 3) (pow (/ 77617.0 (* 2.0 33096.0)) 3)) (+ (* (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0)))) (* (* 333.75 (pow 33096.0 6.0)) (- (* 333.75 (pow 33096.0 6.0)) (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))))))) (+ (* 5.5 (pow 33096.0 8.0)) (/ 77617.0 (* 2.0 33096.0)))))) |
| 16.1s | (* (+ (* (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0)))) (* (* 333.75 (pow 33096.0 6.0)) (- (* 333.75 (pow 33096.0 6.0)) (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0)))))) (* (+ (* (/ 77617.0 (* 2.0 33096.0)) (- (/ 77617.0 (* 2.0 33096.0)) (* 5.5 (pow 33096.0 8.0)))) (* (pow 33096.0 (* 2 8.0)) (* 5.5 5.5))) (+ (* (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0)))) (* (* 333.75 (pow 33096.0 6.0)) (- (* 333.75 (pow 33096.0 6.0)) (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0)))))))) |
| 5.8s | (/ (- (* (+ (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) (* 333.75 (pow 33096.0 6.0))) (+ (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) (* 333.75 (pow 33096.0 6.0)))) (* (+ (* 5.5 (pow 33096.0 8.0)) (/ 77617.0 (* 2.0 33096.0))) (+ (* 5.5 (pow 33096.0 8.0)) (/ 77617.0 (* 2.0 33096.0))))) (- (+ (* (* 77617.0 77617.0) (+ (- (* (* 11.0 (* 77617.0 77617.0)) (* 33096.0 33096.0)) (pow 33096.0 6.0)) (+ (* -121.0 (pow 33096.0 4.0)) -2.0))) (* 333.75 (pow 33096.0 6.0))) (+ (* 5.5 (pow 33096.0 8.0)) (/ 77617.0 (* 2.0 33096.0))))) |
| 5.0s | (+ (+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (* x1 x1))) (* (* x1 x1) (- 6.0))) |
| 3.9s | (+ (+ (* 333.75 (pow y 6.0)) (* (* x x) (- (- (- (* (* (* (* 11.0 x) x) y) y) (pow y 6.0)) (* 121.0 (pow y 4.0))) 2.0))) (* 5.5 (pow y 8.0))) |
| 6517× | times-frac |
| 5840× | *-un-lft-identity |
| 5125× | add-sqr-sqrt |
| 3297× | add-cube-cbrt |
| 1764× | add-exp-log |
| 1497× | associate-*r/ |
| 1333× | add-cbrt-cube |
| 1123× | frac-times |
| 854× | distribute-lft-out |
| 851× | cbrt-div |
| 844× | difference-of-squares |
| 792× | flip-+ flip3-+ |
| 740× | add-log-exp |
| 717× | associate-*r* |
| 701× | associate-*l* |
| 674× | pow1 |
| 608× | flip-- flip3-- |
| 550× | prod-exp |
| 520× | div-exp |
| 497× | associate-*l/ |
| 480× | frac-add |
| 465× | distribute-lft-out-- |
| 464× | unpow-prod-down |
| 449× | sqrt-prod |
| 448× | associate-/r* |
| 389× | distribute-rgt-neg-in |
| 386× | cbrt-unprod |
| 373× | associate-/l* |
| 369× | distribute-lft-neg-in |
| 332× | associate-/r/ |
| 309× | cbrt-undiv |
| 292× | div-inv |
| 276× | sqr-pow |
| 256× | cbrt-prod |
| 232× | cube-prod |
| 165× | associate-/l/ |
| 162× | pow-prod-down frac-sub |
| 151× | sum-log |
| 141× | unswap-sqr |
| 123× | neg-mul-1 |
| 100× | sub-neg |
| 97× | diff-log |
| 88× | sqrt-div |
| 76× | 1-exp |
| 68× | clear-num frac-2neg |
| 67× | log-pow *-commutative |
| 55× | rec-exp |
| 53× | exp-prod |
| 52× | distribute-rgt-in distribute-lft-in swap-sqr |
| 44× | +-commutative |
| 42× | log-prod |
| 37× | unpow3 |
| 36× | cube-mult |
| 35× | pow-to-exp pow-exp |
| 31× | unpow2 |
| 30× | associate-+r+ |
| 29× | rem-sqrt-square |
| 26× | associate-+l+ associate--l+ sqrt-pow1 |
| 24× | pow1/2 |
| 23× | pow1/3 div-sub |
| 21× | pow-unpow |
| 18× | distribute-rgt-out-- |
| 16× | exp-to-pow |
| 14× | associate--l- |
| 12× | cube-div pow-prod-up pow-sqr |
| 11× | rem-exp-log |
| 10× | neg-sub0 |
| 9× | difference-cubes un-div-inv pow-plus log-div |
| 8× | pow2 neg-log associate--r+ pow-pow |
| 7× | distribute-rgt-out exp-sum rem-cbrt-cube |
| 6× | distribute-lft1-in rem-log-exp |
| 4× | unsub-neg inv-pow associate-+r- pow-flip |
| 3× | exp-diff rem-cube-cbrt distribute-frac-neg |
| 2× | distribute-lft-neg-out associate--r- distribute-rgt-neg-out associate-+l- |
| 1× | sub-div |
| 72× | intervals |
| 27.2s | 294792× | body | 80 | valid |
| 8.9s | 13889× | body | 1280 | valid |
| 5.0s | 9364× | body | 640 | valid |
| 4.3s | 3872× | body | 2560 | valid |
| 2.8s | 2182× | body | 10240 | exit |
| 2.7s | 100661× | pre | 80 | true |
| 2.1s | 6830× | body | 320 | valid |
| 2.0s | 19374× | body | 80 | nan |
| 1.6s | 8858× | body | 160 | valid |
| 234.0ms | 234× | body | 5120 | valid |
| 7.0ms | 100× | pre | 80 | false |
303 calls:
| 823.0ms | (cbrt (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ 1 n))) |
| 812.0ms | (cbrt (* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n)) |
| 808.0ms | (cbrt (* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n)) |
| 731.0ms | (+ (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) (+ (* (* 3.0 x1) x1) (* (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) (* 2.0 x1)) (+ (* x1 x1) 1.0)))) (* (+ (* x1 x1) 1.0) (* (* (cbrt (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))) (cbrt (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))) (cbrt (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))))) |
| 730.0ms | (cbrt (pow (- (* 9.0 (pow x 4.0)) (pow y 4)) 3)) |
Total 32.7b remaining (8.8%)
Threshold costs 4.2b (1.1%)
| 11.5b | 54.9% | Compound Interest |
| 5.2b | 73.7% | Kahan p9 Example |
| 3.7b | 86.5% | The quadratic formula (r2) |
| 3.0b | 0% | Complex division, imag part |
| 2.9b | 3.8% | Complex division, real part |