Metamath Proof Explorer


Theorem fzo1to4tp

Description: A half-open integer range from 1 to 4 is an unordered triple. (Contributed by AV, 28-Jul-2021)

Ref Expression
Assertion fzo1to4tp 1..^4=123

Proof

Step Hyp Ref Expression
1 4z 4
2 fzoval 41..^4=141
3 1 2 ax-mp 1..^4=141
4 4m1e3 41=3
5 df-3 3=2+1
6 2cn 2
7 ax-1cn 1
8 6 7 addcomi 2+1=1+2
9 4 5 8 3eqtri 41=1+2
10 9 oveq2i 141=11+2
11 1z 1
12 fztp 111+2=11+11+2
13 eqidd 11=1
14 1p1e2 1+1=2
15 14 a1i 11+1=2
16 1p2e3 1+2=3
17 16 a1i 11+2=3
18 13 15 17 tpeq123d 111+11+2=123
19 12 18 eqtrd 111+2=123
20 11 19 ax-mp 11+2=123
21 3 10 20 3eqtri 1..^4=123