Metamath Proof Explorer


Theorem xnn0le2is012

Description: An extended nonnegative integer which is less than or equal to 2 is either 0 or 1 or 2. (Contributed by AV, 24-Nov-2021)

Ref Expression
Assertion xnn0le2is012 N0*N2N=0N=1N=2

Proof

Step Hyp Ref Expression
1 2nn0 20
2 xnn0lenn0nn0 N0*20N2N0
3 1 2 mp3an2 N0*N2N0
4 nn0le2is012 N0N2N=0N=1N=2
5 3 4 sylancom N0*N2N=0N=1N=2