Time bar (total: 14.3s)
| 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 | 8106× | body | 128 | valid |
| 70.0ms | 87× | body | 1024 | invalid |
| 64.0ms | 287× | body | 128 | invalid |
| 54.0ms | 86× | body | 512 | invalid |
| 42.0ms | 52× | body | 1024 | valid |
| 33.0ms | 60× | body | 512 | valid |
| 28.0ms | 21× | body | 2048 | invalid |
| 22.0ms | 57× | body | 256 | invalid |
| 14.0ms | 37× | body | 256 | valid |
| 1.0ms | 1× | body | 2048 | 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 |
| ▶ | 14.4b | (*.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 K (+.f64 m n)) |
| ✓ | 0.0b | (-.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) |
| ✓ | 35.4b | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
4 calls:
| 44.0ms | (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) |
| 21.0ms | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
| 14.0ms | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| 6.0ms | (*.f64 K (+.f64 m n)) |
| 1× | rewrite-expression-head |
| 81× | *-un-lft-identity_binary64 |
| 70× | add-sqr-sqrt_binary64 |
| 57× | prod-diff_binary64 |
| 42× | add-cube-cbrt_binary64 |
| 26× | fabs-mul_binary64 |
4 calls:
| 20.0ms | (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)) |
| 9.0ms | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
| 8.0ms | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
| 4.0ms | (*.f64 K (+.f64 m n)) |
| 1× | egg-herbie |
| 692× | fma-neg_binary64 |
| 385× | associate-*r*_binary64 |
| 362× | associate-*l*_binary64 |
| 329× | fma-def_binary64 |
| 268× | *-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 575 | 11388 |
| 1 | 1288 | 8942 |
| 2 | 4458 | 8942 |
| 3 | 5047 | 8942 |
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 302 | 3 | 305 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 303 | 3 | 306 |
| Status | Error | Program |
| 28.6b | (*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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)))) | |
| 14.4b | (*.f64 (expm1.f64 (log1p.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)))) | |
| ▶ | 0.8b | (*.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 14930 to 7231 computations (51.6% saved)
Found 2 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 | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 183 | 0 | 183 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 183 | 3 | 186 |
| Status | Error | Program |
| 28.6b | (*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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)))) | |
| ▶ | 14.4b | (*.f64 (expm1.f64 (log1p.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)))) |
| ✓ | 0.8b | (*.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 7335 to 3680 computations (49.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.0b | (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) | |
| ✓ | 0.2b | (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) |
| ✓ | 0.5b | (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) |
| 35.4b | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
2 calls:
| 1.4s | (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) |
| 23.0ms | (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) |
| 1× | rewrite-expression-head |
| 3× | expm1-log1p-u_binary64 |
| 2× | *-un-lft-identity_binary64 |
| 2× | add-sqr-sqrt_binary64 |
| 2× | add-cube-cbrt_binary64 |
| 2× | add-cbrt-cube_binary64 |
2 calls:
| 0.0ms | (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) |
| 0.0ms | (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) |
| 1× | egg-herbie |
| 504× | associate-*r*_binary64 |
| 350× | associate-*l*_binary64 |
| 295× | fma-def_binary64 |
| 271× | associate-/l*_binary64 |
| 215× | times-frac_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 359 | 5081 |
| 1 | 1170 | 4668 |
| 2 | 5213 | 4668 |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 243 | 1 | 244 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 244 | 3 | 247 |
| Status | Error | Program |
| ▶ | 14.4b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))))) (cbrt.f64 (expm1.f64 (log1p.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)))) |
| 28.6b | (*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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)))) | |
| ✓ | 0.8b | (*.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 14473 to 7519 computations (48% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.4b | (*.f64 (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))))) |
| 0.5b | (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) | |
| ✓ | 0.5b | (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) |
| 35.4b | (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) |
2 calls:
| 1.9s | (*.f64 (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))))) |
| 1.6s | (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) |
| 1× | rewrite-expression-head |
| 19× | add-sqr-sqrt_binary64 |
| 19× | cbrt-prod_binary64 |
| 11× | *-un-lft-identity_binary64 |
| 11× | add-cube-cbrt_binary64 |
| 9× | pow1_binary64 |
2 calls:
| 8.0ms | (*.f64 (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))))) |
| 1.0ms | (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) |
| 1× | egg-herbie |
| 871× | associate-*r*_binary64 |
| 769× | associate-*l*_binary64 |
| 424× | fma-def_binary64 |
| 177× | *-commutative_binary64 |
| 135× | sqr-pow_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 447 | 7490 |
| 1 | 1442 | 6897 |
| 2 | 5089 | 6897 |
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 661 | 2 | 663 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 662 | 4 | 666 |
| Status | Error | Program |
| 14.4b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))))) (expm1.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (log1p.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)))) | |
| 14.3b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))) (cbrt.f64 (expm1.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))))) (cbrt.f64 (expm1.f64 (log1p.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 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 (*.f64 M 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)))) | |
| 28.6b | (*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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)))) | |
| ✓ | 0.8b | (*.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 66883 to 36875 computations (44.9% saved)
Total 0.2b remaining (15.3%)
Threshold costs 0.2b (15.3%)
Compiled 17402 to 11880 computations (31.7% 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 329 to 231 computations (29.8% saved)
Loading profile data...