Time bar (total: 13.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)
| 1× | intervals |
(sort m n)
| 33.0ms | 245× | body | 128 | valid |
| 3.0ms | 5× | body | 1024 | valid |
| 2.0ms | 4× | body | 1024 | invalid |
| 2.0ms | 13× | body | 128 | invalid |
| 1.0ms | 3× | body | 512 | valid |
| 1.0ms | 3× | body | 256 | valid |
| 0.0ms | 2× | body | 256 | invalid |
| 0.0ms | 1× | body | 512 | invalid |
Compiled 74 to 52 computations (29.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 |
| ▶ | 16.5b | (*.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 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) |
| ✓ | 0.0b | (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))) |
| ✓ | 0.0b | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| ✓ | 36.7b | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
4 calls:
| 78.0ms | (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))) |
| 52.0ms | (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) |
| 28.0ms | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
| 17.0ms | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| 1× | rewrite-expression-head |
| 129× | *-un-lft-identity_binary64 |
| 103× | add-sqr-sqrt_binary64 |
| 93× | prod-diff_binary64 |
| 59× | add-cube-cbrt_binary64 |
| 47× | fabs-mul_binary64 |
4 calls:
| 24.0ms | (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) |
| 21.0ms | (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))) |
| 9.0ms | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| 9.0ms | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
| 1× | egg-herbie |
| 791× | associate-*r*_binary64 |
| 607× | associate-*l*_binary64 |
| 607× | fma-def_binary64 |
| 243× | *-commutative_binary64 |
| 172× | sub-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 763 | 19209 |
| 1 | 1877 | 15239 |
| 2 | 5882 | 15239 |
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 361 | 7 | 368 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 362 | 7 | 369 |
| Status | Error | Program |
| 53.8b | (*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (*.f64 (exp.f64 (fma.f64 1 (fabs.f64 (-.f64 m n)) (neg.f64 (*.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))) (exp.f64 (fma.f64 (neg.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (*.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))))) | |
| 16.3b | (*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (cos.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (sin.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ▶ | 2.9b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 16.5b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (cbrt.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)))) | |
| 16.1b | (*.f64 (-.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (*.f64 1/2 (*.f64 n (*.f64 K (sin.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 16.4b | (*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 m n) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (cos.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (*.f64 (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 m n) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (sin.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 11.0b | (*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 23749 to 11688 computations (50.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (-.f64 (/.f64 (+.f64 m n) 2) M) |
| 0.0b | (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) | |
| 0.0b | (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.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:
| 7.0ms | (-.f64 (/.f64 (+.f64 m n) 2) M) |
| 1× | rewrite-expression-head |
| 76× | *-un-lft-identity_binary64 |
| 55× | add-sqr-sqrt_binary64 |
| 50× | add-cube-cbrt_binary64 |
| 49× | times-frac_binary64 |
| 48× | prod-diff_binary64 |
1 calls:
| 9.0ms | (-.f64 (/.f64 (+.f64 m n) 2) M) |
| 1× | egg-herbie |
| 1011× | fma-def_binary64 |
| 456× | distribute-rgt-in_binary64 |
| 400× | fma-neg_binary64 |
| 398× | distribute-lft-in_binary64 |
| 288× | times-frac_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 126 | 2560 |
| 1 | 213 | 1627 |
| 2 | 596 | 1258 |
| 3 | 1855 | 1257 |
| 4 | 4398 | 1257 |
| 5 | 4945 | 1257 |
| 6 | 4891 | 1257 |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 382 | 2 | 384 |
| Fresh | 1 | 5 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 383 | 8 | 391 |
| Status | Error | Program |
| 16.1b | (*.f64 (-.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (*.f64 1/2 (*.f64 n (*.f64 K (sin.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 42.8b | (*.f64 (cos.f64 M) (exp.f64 (+.f64 (-.f64 (-.f64 m n) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2))) (*.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)) 0)))) | |
| ✓ | 2.9b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 16.5b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (cbrt.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)))) | |
| 52.9b | (*.f64 (cos.f64 M) (*.f64 (exp.f64 (fma.f64 1 (fabs.f64 (-.f64 m n)) (neg.f64 (*.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))) (exp.f64 (fma.f64 (neg.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (*.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))))) | |
| 16.4b | (*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 m n) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (cos.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (*.f64 (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 m n) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (sin.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 16.3b | (*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (cos.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (sin.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ▶ | 11.0b | (*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 20081 to 9790 computations (51.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.0b | (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) | |
| 0.0b | (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))) | |
| 0.0b | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) | |
| ✓ | 27.1b | (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) |
1 calls:
| 12.0ms | (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) |
| 1× | rewrite-expression-head |
| 7× | cos-sum_binary64 |
| 3× | cancel-sign-sub-inv_binary64 |
| 3× | *-un-lft-identity_binary64 |
| 3× | add-sqr-sqrt_binary64 |
| 3× | prod-diff_binary64 |
1 calls:
| 5.0ms | (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) |
| 1× | egg-herbie |
| 690× | fma-neg_binary64 |
| 649× | distribute-rgt-neg-in_binary64 |
| 527× | associate-*r*_binary64 |
| 509× | associate-*l*_binary64 |
| 230× | distribute-lft-neg-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 117 | 810 |
| 1 | 202 | 773 |
| 2 | 626 | 723 |
| 3 | 2646 | 701 |
| 4 | 4956 | 701 |
| 5 | 4976 | 701 |
| 6 | 4888 | 701 |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 324 | 1 | 325 |
| Fresh | 0 | 6 | 6 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 325 | 8 | 333 |
| Status | Error | Program |
| 16.1b | (*.f64 (-.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (*.f64 1/2 (*.f64 n (*.f64 K (sin.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 42.8b | (*.f64 (cos.f64 M) (exp.f64 (+.f64 (-.f64 (-.f64 m n) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2))) (*.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)) 0)))) | |
| 16.3b | (*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (cos.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (sin.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ▶ | 11.0b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| ✓ | 2.9b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 16.5b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (cbrt.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)))) | |
| 52.9b | (*.f64 (cos.f64 M) (*.f64 (exp.f64 (fma.f64 1 (fabs.f64 (-.f64 m n)) (neg.f64 (*.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))) (exp.f64 (fma.f64 (neg.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (*.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))))) | |
| 16.4b | (*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 m n) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (cos.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (*.f64 (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 m n) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (sin.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 20017 to 10323 computations (48.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) |
| ✓ | 0.4b | (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) |
| ✓ | 0.5b | (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) |
| 27.1b | (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) |
3 calls:
| 1.2s | (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) |
| 920.0ms | (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) |
| 19.0ms | (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) |
| 1× | rewrite-expression-head |
| 29× | pow1_binary64 |
| 24× | add-sqr-sqrt_binary64 |
| 23× | cbrt-prod_binary64 |
| 16× | pow1/3_binary64 |
| 14× | *-un-lft-identity_binary64 |
3 calls:
| 15.0ms | (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) |
| 6.0ms | (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) |
| 2.0ms | (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) |
| 1× | egg-herbie |
| 663× | cancel-sign-sub-inv_binary64 |
| 484× | unswap-sqr_binary64 |
| 355× | associate-*r*_binary64 |
| 296× | associate-*l*_binary64 |
| 231× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 244 | 5482 |
| 1 | 676 | 4981 |
| 2 | 2471 | 4827 |
| 3 | 4795 | 4766 |
| 4 | 4940 | 4766 |
| 5 | 4956 | 4766 |
9 alts after pruning (8 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 335 | 2 | 337 |
| Fresh | 0 | 6 | 6 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 336 | 9 | 345 |
| Status | Error | Program |
| 16.1b | (*.f64 (-.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (*.f64 1/2 (*.f64 n (*.f64 K (sin.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 42.8b | (*.f64 (cos.f64 M) (exp.f64 (+.f64 (-.f64 (-.f64 m n) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2))) (*.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)) 0)))) | |
| 16.3b | (*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (cos.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (sin.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 11.0b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| ✓ | 2.9b | (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
| 16.5b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (cbrt.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)))) | |
| 52.9b | (*.f64 (cos.f64 M) (*.f64 (exp.f64 (fma.f64 1 (fabs.f64 (-.f64 m n)) (neg.f64 (*.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))) (exp.f64 (fma.f64 (neg.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (*.f64 (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))))) | |
| 16.4b | (*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 m n) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (cos.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (*.f64 (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 m n) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M)))))) (sin.f64 (fma.f64 (neg.f64 (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (cbrt.f64 M)) (*.f64 (cbrt.f64 M) (*.f64 (cbrt.f64 M) (cbrt.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) | |
| 22.7b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) (pow.f64 (cos.f64 (neg.f64 M)) 1/3)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) |
Compiled 21460 to 12107 computations (43.6% saved)
Total 0.2b remaining (14.5%)
Threshold costs 0.2b (14.5%)
Compiled 59624 to 39702 computations (33.4% 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 | 17 | 31 |
| 1 | 28 | 31 |
| 2 | 45 | 31 |
| 3 | 60 | 31 |
| 4 | 69 | 31 |
| 5 | 72 | 31 |
| 6 | 72 | 31 |
(sort m n)
Compiled 75 to 54 computations (28% saved)
| 1× | intervals |
| 991.0ms | 7792× | body | 128 | valid |
| 73.0ms | 103× | body | 1024 | invalid |
| 57.0ms | 94× | body | 1024 | valid |
| 39.0ms | 316× | body | 128 | invalid |
| 34.0ms | 96× | body | 512 | invalid |
| 24.0ms | 66× | body | 512 | valid |
| 17.0ms | 20× | body | 2048 | invalid |
| 13.0ms | 54× | body | 256 | invalid |
| 12.0ms | 45× | body | 256 | valid |
| 3.0ms | 3× | body | 2048 | valid |
Compiled 672 to 393 computations (41.5% saved)
Loading profile data...