This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: A prime number is even iff it is 2. (Contributed by AV, 21-Jul-2020)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | evenprm2 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 2a1 | ||
| 2 | df-ne | ||
| 3 | 2 | biimpri | |
| 4 | 3 | anim2i | |
| 5 | 4 | ancoms | |
| 6 | eldifsn | ||
| 7 | 5 6 | sylibr | |
| 8 | oddprmALTV | ||
| 9 | oddneven | ||
| 10 | 9 | pm2.21d | |
| 11 | 7 8 10 | 3syl | |
| 12 | 11 | ex | |
| 13 | 1 12 | pm2.61i | |
| 14 | 2evenALTV | ||
| 15 | eleq1 | ||
| 16 | 14 15 | mpbiri | |
| 17 | 13 16 | impbid1 |