Metamath Proof Explorer


Theorem fzp1nel

Description: One plus the upper bound of a finite set of integers is not a member of that set. (Contributed by Scott Fenton, 16-Dec-2017)

Ref Expression
Assertion fzp1nel ¬N+1MN

Proof

Step Hyp Ref Expression
1 zre NN
2 ltp1 NN<N+1
3 id NN
4 peano2re NN+1
5 3 4 ltnled NN<N+1¬N+1N
6 2 5 mpbid N¬N+1N
7 1 6 syl N¬N+1N
8 7 intnand N¬MN+1N+1N
9 8 3ad2ant2 MNN+1¬MN+1N+1N
10 elfz2 N+1MNMNN+1MN+1N+1N
11 10 notbii ¬N+1MN¬MNN+1MN+1N+1N
12 imnan MNN+1¬MN+1N+1N¬MNN+1MN+1N+1N
13 11 12 bitr4i ¬N+1MNMNN+1¬MN+1N+1N
14 9 13 mpbir ¬N+1MN