Metamath Proof Explorer


Theorem 2elfz3nn0

Description: If there are two elements in a finite set of sequential integers starting at 0, these two elements as well as the upper bound are nonnegative integers. (Contributed by Alexander van der Vekens, 7-Apr-2018)

Ref Expression
Assertion 2elfz3nn0 A0NB0NA0B0N0

Proof

Step Hyp Ref Expression
1 elfznn0 A0NA0
2 elfz2nn0 B0NB0N0BN
3 3anass A0B0N0A0B0N0
4 3 simplbi2com B0N0A0A0B0N0
5 4 3adant3 B0N0BNA0A0B0N0
6 2 5 sylbi B0NA0A0B0N0
7 1 6 mpan9 A0NB0NA0B0N0