Metamath Proof Explorer


Theorem fzofzp1

Description: If a point is in a half-open range, the next point is in the closed range. (Contributed by Stefan O'Rear, 23-Aug-2015)

Ref Expression
Assertion fzofzp1 CA..^BC+1AB

Proof

Step Hyp Ref Expression
1 elfzoel1 CA..^BA
2 uzid AAA
3 peano2uz AAA+1A
4 fzoss1 A+1AA+1..^B+1A..^B+1
5 1 2 3 4 4syl CA..^BA+1..^B+1A..^B+1
6 1z 1
7 fzoaddel CA..^B1C+1A+1..^B+1
8 6 7 mpan2 CA..^BC+1A+1..^B+1
9 5 8 sseldd CA..^BC+1A..^B+1
10 elfzoel2 CA..^BB
11 fzval3 BAB=A..^B+1
12 10 11 syl CA..^BAB=A..^B+1
13 9 12 eleqtrrd CA..^BC+1AB