Time bar (total: 9.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.8% | 0.2% | 0 |
| 0% | 99.8% | 0.2% | 1 |
| 0% | 99.8% | 0.2% | 2 |
| 0% | 99.8% | 0.2% | 3 |
| 0% | 99.8% | 0.2% | 4 |
| 0% | 99.8% | 0.2% | 5 |
| 0% | 99.8% | 0.2% | 6 |
| 0% | 99.8% | 0.2% | 7 |
| 0% | 99.8% | 0.2% | 8 |
| 12.5% | 87.3% | 0.2% | 9 |
| 12.5% | 87.3% | 0.2% | 10 |
| 18.7% | 81.1% | 0.2% | 11 |
| 18.7% | 81.1% | 0.2% | 12 |
| 18.7% | 81.1% | 0.2% | 13 |
| 20.5% | 79.3% | 0.2% | 14 |
Compiled 35 to 24 computations (31.4% saved)
(sort m n)
| 1.7s | 8095× | body | 128 | valid |
| 93.0ms | 91× | body | 1024 | invalid |
| 58.0ms | 292× | body | 128 | invalid |
| 57.0ms | 68× | body | 1024 | valid |
| 42.0ms | 79× | body | 512 | invalid |
| 35.0ms | 66× | body | 512 | valid |
| 20.0ms | 51× | body | 256 | invalid |
| 15.0ms | 13× | body | 2048 | invalid |
| 11.0ms | 27× | body | 256 | valid |
Compiled 104 to 71 computations (31.7% saved)
| 1× | egg-herbie |
| 691× | exp-prod_binary64 |
| 507× | exp-sum_binary64 |
| 446× | fma-neg_binary64 |
| 375× | associate-*l*_binary64 |
| 251× | times-frac_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 45 |
| 1 | 58 | 45 |
| 2 | 129 | 43 |
| 3 | 384 | 43 |
| 4 | 1266 | 43 |
| 5 | 4023 | 43 |
| 6 | 4945 | 43 |
| 7 | 5019 | 43 |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
| ▶ | 12.8b | (*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 128 to 80 computations (37.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l) |
| ✓ | 0.0b | (*.f64 K (+.f64 m n)) |
| ✓ | 0.0b | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| ✓ | 30.0b | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
4 calls:
| 42.0ms | (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l) |
| 26.0ms | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
| 15.0ms | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| 7.0ms | (*.f64 K (+.f64 m n)) |
| 1× | rewrite-expression-head |
| 36× | add-sqr-sqrt_binary64 |
| 32× | *-un-lft-identity_binary64 |
| 25× | cos-sum_binary64 |
| 24× | add-cube-cbrt_binary64 |
| 21× | prod-diff_binary64 |
4 calls:
| 11.0ms | (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l) |
| 8.0ms | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
| 7.0ms | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| 5.0ms | (*.f64 K (+.f64 m n)) |
| 1× | egg-herbie |
| 326× | associate-*r*_binary64 |
| 293× | fma-neg_binary64 |
| 288× | associate-*l*_binary64 |
| 269× | fma-def_binary64 |
| 238× | distribute-rgt-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 461 | 7167 |
| 1 | 983 | 5956 |
| 2 | 3264 | 5823 |
| 3 | 4933 | 5823 |
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 230 | 5 | 235 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 231 | 5 | 236 |
| Status | Error | Program |
| 43.5b | (*.f64 (cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (+.f64 (pow.f64 m 3) (pow.f64 n 3))) (+.f64 (*.f64 m m) (-.f64 (*.f64 n n) (*.f64 m n)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 12.8b | (*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) (cbrt.f64 (*.f64 K (+.f64 m n)))) (cbrt.f64 (*.f64 K (+.f64 m n)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 12.8b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 12.7b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ▶ | 1.1b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 10675 to 5135 computations (51.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (cos.f64 M) |
| 0.0b | (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l) | |
| 0.0b | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
1 calls:
| 2.0ms | (cos.f64 M) |
| 1× | rewrite-expression-head |
| 1× | *-un-lft-identity_binary64 |
| 1× | add-sqr-sqrt_binary64 |
| 1× | add-cube-cbrt_binary64 |
| 1× | add-cbrt-cube_binary64 |
| 1× | add-exp-log_binary64 |
1 calls:
| 1.0ms | (cos.f64 M) |
| 1× | egg-herbie |
| 1004× | fma-neg_binary64 |
| 777× | cancel-sign-sub-inv_binary64 |
| 308× | distribute-rgt-neg-in_binary64 |
| 286× | unswap-sqr_binary64 |
| 275× | unsub-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 116 |
| 1 | 64 | 105 |
| 2 | 138 | 101 |
| 3 | 368 | 99 |
| 4 | 1252 | 99 |
| 5 | 3986 | 99 |
| 6 | 4702 | 99 |
| 7 | 5057 | 99 |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 130 | 0 | 130 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 130 | 5 | 135 |
| Status | Error | Program |
| 43.5b | (*.f64 (cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (+.f64 (pow.f64 m 3) (pow.f64 n 3))) (+.f64 (*.f64 m m) (-.f64 (*.f64 n n) (*.f64 m n)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 12.8b | (*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) (cbrt.f64 (*.f64 K (+.f64 m n)))) (cbrt.f64 (*.f64 K (+.f64 m n)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 12.8b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ▶ | 12.7b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| ✓ | 1.1b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 4092 to 2103 computations (48.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.4b | (/.f64 K (sqrt.f64 2)) |
| ✓ | 0.4b | (/.f64 (+.f64 n m) (sqrt.f64 2)) |
| ✓ | 30.0b | (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))) |
| ✓ | 30.3b | (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))) |
4 calls:
| 44.0ms | (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))) |
| 42.0ms | (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))) |
| 11.0ms | (/.f64 (+.f64 n m) (sqrt.f64 2)) |
| 6.0ms | (/.f64 K (sqrt.f64 2)) |
| 1× | rewrite-expression-head |
| 50× | *-un-lft-identity_binary64 |
| 42× | times-frac_binary64 |
| 36× | add-sqr-sqrt_binary64 |
| 36× | add-cube-cbrt_binary64 |
| 27× | sqrt-prod_binary64 |
4 calls:
| 5.0ms | (/.f64 (+.f64 n m) (sqrt.f64 2)) |
| 3.0ms | (/.f64 K (sqrt.f64 2)) |
| 1.0ms | (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))) |
| 1.0ms | (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))) |
| 1× | egg-herbie |
| 501× | fma-def_binary64 |
| 294× | associate-*r*_binary64 |
| 274× | cancel-sign-sub-inv_binary64 |
| 211× | associate-*l*_binary64 |
| 196× | sub-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 364 | 4556 |
| 1 | 970 | 4388 |
| 2 | 3284 | 4239 |
| 3 | 5115 | 4239 |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 326 | 3 | 329 |
| Fresh | 2 | 1 | 3 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 329 | 5 | 334 |
| Status | Error | Program |
| 43.5b | (*.f64 (cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (+.f64 (pow.f64 m 3) (pow.f64 n 3))) (+.f64 (*.f64 m m) (-.f64 (*.f64 n n) (*.f64 m n)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 12.7b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (expm1.f64 (log1p.f64 (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 29.3b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (-.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M)) (+.f64 (/.f64 (*.f64 (sin.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M)) (*.f64 n K)) (pow.f64 (sqrt.f64 2) 2)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 n 2) (*.f64 (pow.f64 K 2) (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M)))) (pow.f64 (sqrt.f64 2) 4)))))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ✓ | 1.1b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| ▶ | 12.7b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (*.f64 (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) (/.f64 (cbrt.f64 (+.f64 m n)) (sqrt.f64 2))) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 22157 to 13607 computations (38.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.5b | (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) |
| ✓ | 0.6b | (cbrt.f64 (+.f64 m n)) |
| ✓ | 30.1b | (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (*.f64 (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) (/.f64 (cbrt.f64 (+.f64 m n)) (sqrt.f64 2))) (neg.f64 M))) |
| 30.3b | (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))) |
3 calls:
| 47.0ms | (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (*.f64 (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) (/.f64 (cbrt.f64 (+.f64 m n)) (sqrt.f64 2))) (neg.f64 M))) |
| 28.0ms | (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) |
| 23.0ms | (cbrt.f64 (+.f64 m n)) |
| 1× | rewrite-expression-head |
| 28× | cbrt-prod_binary64 |
| 28× | *-un-lft-identity_binary64 |
| 20× | add-sqr-sqrt_binary64 |
| 14× | cbrt-div_binary64 |
| 12× | add-cube-cbrt_binary64 |
3 calls:
| 8.0ms | (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) |
| 2.0ms | (cbrt.f64 (+.f64 m n)) |
| 1.0ms | (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (*.f64 (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) (/.f64 (cbrt.f64 (+.f64 m n)) (sqrt.f64 2))) (neg.f64 M))) |
| 1× | egg-herbie |
| 830× | fma-def_binary64 |
| 415× | cancel-sign-sub-inv_binary64 |
| 313× | associate-*r*_binary64 |
| 221× | associate-*l*_binary64 |
| 212× | unswap-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 348 | 5245 |
| 1 | 939 | 4782 |
| 2 | 3258 | 4455 |
| 3 | 5147 | 4455 |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 335 | 2 | 337 |
| Fresh | 1 | 2 | 3 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 337 | 5 | 342 |
| Status | Error | Program |
| 43.5b | (*.f64 (cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (+.f64 (pow.f64 m 3) (pow.f64 n 3))) (+.f64 (*.f64 m m) (-.f64 (*.f64 n n) (*.f64 m n)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 38.2b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (*.f64 (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) (/.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 n 2)) 1/3) m)) (pow.f64 n 1/3)) (sqrt.f64 2))) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 25.2b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (*.f64 (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n))) (/.f64 (pow.f64 n 1/3) (sqrt.f64 2))) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 29.3b | (*.f64 (-.f64 (*.f64 (cos.f64 0) (-.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M)) (+.f64 (/.f64 (*.f64 (sin.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M)) (*.f64 n K)) (pow.f64 (sqrt.f64 2) 2)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 n 2) (*.f64 (pow.f64 K 2) (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M)))) (pow.f64 (sqrt.f64 2) 4)))))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ✓ | 1.1b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 27209 to 15390 computations (43.4% saved)
Total 0.1b remaining (9.2%)
Threshold costs 0.1b (9.2%)
Compiled 37166 to 24930 computations (32.9% saved)
| 1× | egg-herbie |
| 12× | +-commutative_binary64 |
| 10× | sub-neg_binary64 |
| 7× | *-commutative_binary64 |
| 6× | neg-sub0_binary64 |
| 6× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 33 |
| 1 | 32 | 33 |
| 2 | 47 | 33 |
| 3 | 61 | 33 |
| 4 | 69 | 33 |
| 5 | 72 | 33 |
| 6 | 72 | 33 |
(sort m n)
Compiled 429 to 309 computations (28% saved)
Loading profile data...