ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fz0to4untppr GIF version

Theorem fz0to4untppr 10110
Description: An integer range from 0 to 4 is the union of a triple and a pair. (Contributed by Alexander van der Vekens, 13-Aug-2017.)
Assertion
Ref Expression
fz0to4untppr (0...4) = ({0, 1, 2} ∪ {3, 4})

Proof of Theorem fz0to4untppr
StepHypRef Expression
1 df-3 8968 . . . . 5 3 = (2 + 1)
2 2cn 8979 . . . . . . . 8 2 ∈ ℂ
32addid2i 8090 . . . . . . 7 (0 + 2) = 2
43eqcomi 2181 . . . . . 6 2 = (0 + 2)
54oveq1i 5879 . . . . 5 (2 + 1) = ((0 + 2) + 1)
61, 5eqtri 2198 . . . 4 3 = ((0 + 2) + 1)
7 3z 9271 . . . . 5 3 ∈ ℤ
8 0re 7948 . . . . . 6 0 ∈ ℝ
9 3re 8982 . . . . . 6 3 ∈ ℝ
10 3pos 9002 . . . . . 6 0 < 3
118, 9, 10ltleii 8050 . . . . 5 0 ≤ 3
12 0z 9253 . . . . . 6 0 ∈ ℤ
1312eluz1i 9524 . . . . 5 (3 ∈ (ℤ‘0) ↔ (3 ∈ ℤ ∧ 0 ≤ 3))
147, 11, 13mpbir2an 942 . . . 4 3 ∈ (ℤ‘0)
156, 14eqeltrri 2251 . . 3 ((0 + 2) + 1) ∈ (ℤ‘0)
16 4z 9272 . . . . 5 4 ∈ ℤ
17 2re 8978 . . . . . 6 2 ∈ ℝ
18 4re 8985 . . . . . 6 4 ∈ ℝ
19 2lt4 9081 . . . . . 6 2 < 4
2017, 18, 19ltleii 8050 . . . . 5 2 ≤ 4
21 2z 9270 . . . . . 6 2 ∈ ℤ
2221eluz1i 9524 . . . . 5 (4 ∈ (ℤ‘2) ↔ (4 ∈ ℤ ∧ 2 ≤ 4))
2316, 20, 22mpbir2an 942 . . . 4 4 ∈ (ℤ‘2)
244fveq2i 5514 . . . 4 (ℤ‘2) = (ℤ‘(0 + 2))
2523, 24eleqtri 2252 . . 3 4 ∈ (ℤ‘(0 + 2))
26 fzsplit2 10036 . . 3 ((((0 + 2) + 1) ∈ (ℤ‘0) ∧ 4 ∈ (ℤ‘(0 + 2))) → (0...4) = ((0...(0 + 2)) ∪ (((0 + 2) + 1)...4)))
2715, 25, 26mp2an 426 . 2 (0...4) = ((0...(0 + 2)) ∪ (((0 + 2) + 1)...4))
28 fztp 10064 . . . . 5 (0 ∈ ℤ → (0...(0 + 2)) = {0, (0 + 1), (0 + 2)})
2912, 28ax-mp 5 . . . 4 (0...(0 + 2)) = {0, (0 + 1), (0 + 2)}
30 ax-1cn 7895 . . . . 5 1 ∈ ℂ
31 eqidd 2178 . . . . . 6 (1 ∈ ℂ → 0 = 0)
32 addid2 8086 . . . . . 6 (1 ∈ ℂ → (0 + 1) = 1)
333a1i 9 . . . . . 6 (1 ∈ ℂ → (0 + 2) = 2)
3431, 32, 33tpeq123d 3683 . . . . 5 (1 ∈ ℂ → {0, (0 + 1), (0 + 2)} = {0, 1, 2})
3530, 34ax-mp 5 . . . 4 {0, (0 + 1), (0 + 2)} = {0, 1, 2}
3629, 35eqtri 2198 . . 3 (0...(0 + 2)) = {0, 1, 2}
373a1i 9 . . . . . . . 8 (3 ∈ ℤ → (0 + 2) = 2)
3837oveq1d 5884 . . . . . . 7 (3 ∈ ℤ → ((0 + 2) + 1) = (2 + 1))
3938, 1eqtr4di 2228 . . . . . 6 (3 ∈ ℤ → ((0 + 2) + 1) = 3)
4039oveq1d 5884 . . . . 5 (3 ∈ ℤ → (((0 + 2) + 1)...4) = (3...4))
41 eqid 2177 . . . . . . . . . 10 3 = 3
42 df-4 8969 . . . . . . . . . 10 4 = (3 + 1)
4341, 42pm3.2i 272 . . . . . . . . 9 (3 = 3 ∧ 4 = (3 + 1))
4443a1i 9 . . . . . . . 8 (3 ∈ ℤ → (3 = 3 ∧ 4 = (3 + 1)))
45 3lt4 9080 . . . . . . . . . . 11 3 < 4
469, 18, 45ltleii 8050 . . . . . . . . . 10 3 ≤ 4
477eluz1i 9524 . . . . . . . . . 10 (4 ∈ (ℤ‘3) ↔ (4 ∈ ℤ ∧ 3 ≤ 4))
4816, 46, 47mpbir2an 942 . . . . . . . . 9 4 ∈ (ℤ‘3)
49 fzopth 10047 . . . . . . . . 9 (4 ∈ (ℤ‘3) → ((3...4) = (3...(3 + 1)) ↔ (3 = 3 ∧ 4 = (3 + 1))))
5048, 49ax-mp 5 . . . . . . . 8 ((3...4) = (3...(3 + 1)) ↔ (3 = 3 ∧ 4 = (3 + 1)))
5144, 50sylibr 134 . . . . . . 7 (3 ∈ ℤ → (3...4) = (3...(3 + 1)))
52 fzpr 10063 . . . . . . 7 (3 ∈ ℤ → (3...(3 + 1)) = {3, (3 + 1)})
5351, 52eqtrd 2210 . . . . . 6 (3 ∈ ℤ → (3...4) = {3, (3 + 1)})
5442eqcomi 2181 . . . . . . 7 (3 + 1) = 4
5554preq2i 3672 . . . . . 6 {3, (3 + 1)} = {3, 4}
5653, 55eqtrdi 2226 . . . . 5 (3 ∈ ℤ → (3...4) = {3, 4})
5740, 56eqtrd 2210 . . . 4 (3 ∈ ℤ → (((0 + 2) + 1)...4) = {3, 4})
587, 57ax-mp 5 . . 3 (((0 + 2) + 1)...4) = {3, 4}
5936, 58uneq12i 3287 . 2 ((0...(0 + 2)) ∪ (((0 + 2) + 1)...4)) = ({0, 1, 2} ∪ {3, 4})
6027, 59eqtri 2198 1 (0...4) = ({0, 1, 2} ∪ {3, 4})
Colors of variables: wff set class
Syntax hints:  wa 104  wb 105   = wceq 1353  wcel 2148  cun 3127  {cpr 3592  {ctp 3593   class class class wbr 4000  cfv 5212  (class class class)co 5869  cc 7800  0cc0 7802  1c1 7803   + caddc 7805  cle 7983  2c2 8959  3c3 8960  4c4 8961  cz 9242  cuz 9517  ...cfz 9995
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4118  ax-pow 4171  ax-pr 4206  ax-un 4430  ax-setind 4533  ax-cnex 7893  ax-resscn 7894  ax-1cn 7895  ax-1re 7896  ax-icn 7897  ax-addcl 7898  ax-addrcl 7899  ax-mulcl 7900  ax-addcom 7902  ax-addass 7904  ax-distr 7906  ax-i2m1 7907  ax-0lt1 7908  ax-0id 7910  ax-rnegex 7911  ax-cnre 7913  ax-pre-ltirr 7914  ax-pre-ltwlin 7915  ax-pre-lttrn 7916  ax-pre-apti 7917  ax-pre-ltadd 7918
This theorem depends on definitions:  df-bi 117  df-3or 979  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-nel 2443  df-ral 2460  df-rex 2461  df-reu 2462  df-rab 2464  df-v 2739  df-sbc 2963  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-pw 3576  df-sn 3597  df-pr 3598  df-tp 3599  df-op 3600  df-uni 3808  df-int 3843  df-br 4001  df-opab 4062  df-mpt 4063  df-id 4290  df-xp 4629  df-rel 4630  df-cnv 4631  df-co 4632  df-dm 4633  df-rn 4634  df-res 4635  df-ima 4636  df-iota 5174  df-fun 5214  df-fn 5215  df-f 5216  df-fv 5220  df-riota 5825  df-ov 5872  df-oprab 5873  df-mpo 5874  df-pnf 7984  df-mnf 7985  df-xr 7986  df-ltxr 7987  df-le 7988  df-sub 8120  df-neg 8121  df-inn 8909  df-2 8967  df-3 8968  df-4 8969  df-n0 9166  df-z 9243  df-uz 9518  df-fz 9996
This theorem is referenced by:  prm23lt5  12246
  Copyright terms: Public domain W3C validator