Metamath Proof Explorer


Theorem elfzo

Description: Membership in a half-open finite set of integers. (Contributed by Stefan O'Rear, 15-Aug-2015)

Ref Expression
Assertion elfzo K M N K M ..^ N M K K < N

Proof

Step Hyp Ref Expression
1 peano2zm N N 1
2 elfz K M N 1 K M N 1 M K K N 1
3 1 2 syl3an3 K M N K M N 1 M K K N 1
4 fzoval N M ..^ N = M N 1
5 4 eleq2d N K M ..^ N K M N 1
6 5 3ad2ant3 K M N K M ..^ N K M N 1
7 zltlem1 K N K < N K N 1
8 7 3adant2 K M N K < N K N 1
9 8 anbi2d K M N M K K < N M K K N 1
10 3 6 9 3bitr4d K M N K M ..^ N M K K < N