Metamath Proof Explorer


Theorem fzne2d

Description: Elementhood in a finite set of sequential integers, except its upper bound. (Contributed by metakunt, 23-May-2024)

Ref Expression
Hypotheses fzne2d.1 φ K M N
fzne2d.2 φ K N
Assertion fzne2d φ K < N

Proof

Step Hyp Ref Expression
1 fzne2d.1 φ K M N
2 fzne2d.2 φ K N
3 2 necomd φ N K
4 elfz2 K M N M N K M K K N
5 1 4 sylib φ M N K M K K N
6 5 simpld φ M N K
7 6 simp3d φ K
8 7 zred φ K
9 6 simp2d φ N
10 9 zred φ N
11 5 simprrd φ K N
12 8 10 11 leltned φ K < N N K
13 3 12 mpbird φ K < N