Time bar (total: 8.8s)
| 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 | 8113× | body | 128 | valid |
| 87.0ms | 105× | body | 1024 | invalid |
| 64.0ms | 270× | body | 128 | invalid |
| 51.0ms | 62× | body | 1024 | valid |
| 38.0ms | 71× | body | 512 | invalid |
| 37.0ms | 20× | body | 2048 | invalid |
| 33.0ms | 57× | body | 512 | valid |
| 23.0ms | 63× | body | 256 | invalid |
| 9.0ms | 23× | body | 256 | valid |
| 1.0ms | 1× | body | 2048 | valid |
Compiled 104 to 71 computations (31.7% saved)
| 1× | egg-herbie |
| 446× | fma-neg_binary64 |
| 251× | times-frac_binary64 |
| 231× | cancel-sign-sub-inv_binary64 |
| 219× | exp-sum_binary64 |
| 202× | distribute-rgt-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 45 |
| 1 | 58 | 45 |
| 2 | 135 | 43 |
| 3 | 442 | 43 |
| 4 | 1753 | 43 |
| 1× | node limit |
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 |
| ▶ | 14.6b | (*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 128 to 83 computations (35.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (-.f64 (/.f64 (+.f64 m n) 2) M) |
| ✓ | 0.0b | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| ✓ | 0.0b | (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M)) |
| ✓ | 32.9b | (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) |
4 calls:
| 19.0ms | (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) |
| 15.0ms | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| 12.0ms | (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M)) |
| 6.0ms | (-.f64 (/.f64 (+.f64 m n) 2) M) |
| 1× | batch-egg-rewrite |
| 354× | fma-def_binary64 |
| 241× | expm1-udef_binary64 |
| 241× | log1p-udef_binary64 |
| 201× | fma-neg_binary64 |
| 173× | egg-rr |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 51 |
| 1 | 291 | 43 |
| 2 | 3972 | 43 |
| 1× | node limit |
4 calls:
| 61.0ms | (-.f64 (/.f64 (+.f64 m n) 2) M) |
| 61.0ms | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| 61.0ms | (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M)) |
| 61.0ms | (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) |
| 1× | egg-herbie |
| 523× | cancel-sign-sub-inv_binary64 |
| 308× | associate--r+_binary64 |
| 277× | associate--l+_binary64 |
| 223× | associate-*r*_binary64 |
| 185× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 163 | 3245 |
| 1 | 547 | 3003 |
| 2 | 2063 | 2914 |
| 1× | node limit |
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 250 | 5 | 255 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 251 | 5 | 256 |
| Status | Error | Program |
| 14.5b | (*.f64 (cos.f64 (*.f64 (cbrt.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)) (pow.f64 (cbrt.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)) 2))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 10.2b | (*.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ▶ | 1.5b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 14.6b | (*.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)))) 1) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 14.6b | (*.f64 (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 9782 to 4871 computations (50.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) |
| 0.0b | (-.f64 (/.f64 (+.f64 m n) 2) M) | |
| 0.0b | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
1 calls:
| 44.0ms | (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) |
| 1× | batch-egg-rewrite |
| 176× | add-sqr-sqrt_binary64 |
| 174× | log1p-expm1-u_binary64 |
| 174× | expm1-log1p-u_binary64 |
| 172× | add-cbrt-cube_binary64 |
| 165× | add-log-exp_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 24 |
| 1 | 343 | 22 |
| 1× | node limit |
1 calls:
| 28.0ms | (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) |
| 1× | egg-herbie |
| 681× | associate--r+_binary64 |
| 312× | fma-def_binary64 |
| 265× | associate--l+_binary64 |
| 251× | associate-+l+_binary64 |
| 249× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 1639 |
| 1 | 250 | 1476 |
| 2 | 936 | 1471 |
| 3 | 3951 | 1459 |
| 1× | node limit |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 237 | 0 | 237 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 237 | 5 | 242 |
| Status | Error | Program |
| 14.5b | (*.f64 (cos.f64 (*.f64 (cbrt.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)) (pow.f64 (cbrt.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)) 2))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ▶ | 10.2b | (*.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| ✓ | 1.5b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 14.6b | (*.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)))) 1) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 14.6b | (*.f64 (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 7161 to 3500 computations (51.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (*.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 0.0b | (-.f64 (/.f64 (+.f64 m n) 2) M) | |
| 0.0b | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) | |
| ✓ | 29.4b | (cos.f64 (*.f64 1/2 (*.f64 K m))) |
2 calls:
| 227.0ms | (*.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 11.0ms | (cos.f64 (*.f64 1/2 (*.f64 K m))) |
| 1× | batch-egg-rewrite |
| 243× | add-sqr-sqrt_binary64 |
| 235× | log1p-expm1-u_binary64 |
| 235× | expm1-log1p-u_binary64 |
| 233× | add-cbrt-cube_binary64 |
| 227× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 46 |
| 1 | 480 | 46 |
| 1× | node limit |
2 calls:
| 26.0ms | (*.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 26.0ms | (cos.f64 (*.f64 1/2 (*.f64 K m))) |
| 1× | egg-herbie |
| 654× | associate-*r*_binary64 |
| 441× | associate-*l*_binary64 |
| 418× | fma-def_binary64 |
| 326× | fma-neg_binary64 |
| 296× | *-commutative_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 312 | 7332 |
| 1 | 1105 | 6596 |
| 2 | 4989 | 6592 |
| 1× | node limit |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 240 | 2 | 242 |
| Fresh | 1 | 2 | 3 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 242 | 5 | 247 |
| Status | Error | Program |
| ✓ | 1.5b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 14.6b | (*.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)))) 1) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 14.5b | (*.f64 (cos.f64 (*.f64 (cbrt.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)) (pow.f64 (cbrt.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)) 2))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ▶ | 10.2b | (*.f64 (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 10.2b | (*.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))) 3) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 13100 to 6656 computations (49.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))))) |
| ✓ | 0.6b | (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))) |
| ✓ | 0.6b | (+.f64 1 (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))))) |
| 29.4b | (cos.f64 (*.f64 1/2 (*.f64 K m))) |
3 calls:
| 349.0ms | (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))))) |
| 9.0ms | (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))) |
| 9.0ms | (+.f64 1 (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))))) |
| 1× | batch-egg-rewrite |
| 875× | log1p-expm1-u_binary64 |
| 875× | expm1-log1p-u_binary64 |
| 462× | prod-diff_binary64 |
| 96× | add-sqr-sqrt_binary64 |
| 89× | add-cbrt-cube_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 31 |
| 1 | 206 | 31 |
| 2 | 2368 | 31 |
| 1× | node limit |
3 calls:
| 50.0ms | (log.f64 (+.f64 1 (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))))) |
| 50.0ms | (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))) |
| 50.0ms | (+.f64 1 (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))))) |
| 1× | egg-herbie |
| 493× | distribute-rgt-neg-in_binary64 |
| 471× | distribute-lft-neg-in_binary64 |
| 418× | associate-*l*_binary64 |
| 416× | associate-*r*_binary64 |
| 327× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 1176 |
| 1 | 200 | 1144 |
| 2 | 692 | 1110 |
| 3 | 3419 | 1108 |
| 1× | node limit |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 130 | 2 | 132 |
| Fresh | 1 | 2 | 3 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 132 | 5 | 137 |
| Status | Error | Program |
| ✓ | 1.5b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 14.6b | (*.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)))) 1) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 10.3b | (*.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))))) (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))))) 2))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 10.2b | (*.f64 (log.f64 (+.f64 1 (log.f64 (exp.f64 (expm1.f64 (cos.f64 (*.f64 1/2 (*.f64 K m)))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 14.5b | (*.f64 (cos.f64 (*.f64 (cbrt.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)) (pow.f64 (cbrt.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) M)) 2))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 4747 to 2910 computations (38.7% saved)
Total 0.2b remaining (17.7%)
Threshold costs 0.2b (17.7%)
Compiled 26546 to 18996 computations (28.4% saved)
| 1× | egg-herbie |
| 12× | +-commutative_binary64 |
| 10× | sub-neg_binary64 |
| 9× | *-commutative_binary64 |
| 6× | neg-sub0_binary64 |
| 6× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 41 |
| 1 | 36 | 41 |
| 2 | 53 | 41 |
| 3 | 68 | 41 |
| 4 | 77 | 41 |
| 5 | 80 | 41 |
| 1× | saturated |
(sort m n)
Compiled 308 to 223 computations (27.6% saved)
Loading profile data...