MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  uzin2 Structured version   Visualization version   GIF version

Theorem uzin2 15527
Description: The upper integers are closed under intersection. (Contributed by Mario Carneiro, 24-Dec-2013.)
Assertion
Ref Expression
uzin2 ((𝐴 ∈ ran ℤ≥ ∧ 𝐵 ∈ ran ℤ≥) → (𝐴 ∩ 𝐵) ∈ ran ℤ≥)

Proof of Theorem uzin2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 uzf 12981 . . . 4 ℤ≥:ℤ⟶𝒫 ℤ
2 ffn 6720 . . . 4 (ℤ≥:ℤ⟶𝒫 ℤ → ℤ≥ Fn ℤ)
31, 2ax-mp 5 . . 3 ℤ≥ Fn ℤ
4 fvelrnb 6956 . . 3 (ℤ≥ Fn ℤ → (𝐴 ∈ ran ℤ≥ ↔ ∃𝑥 ∈ ℤ (ℤ≥‘𝑥) = 𝐴))
53, 4ax-mp 5 . 2 (𝐴 ∈ ran ℤ≥ ↔ ∃𝑥 ∈ ℤ (ℤ≥‘𝑥) = 𝐴)
6 fvelrnb 6956 . . 3 (ℤ≥ Fn ℤ → (𝐵 ∈ ran ℤ≥ ↔ ∃𝑦 ∈ ℤ (ℤ≥‘𝑦) = 𝐵))
73, 6ax-mp 5 . 2 (𝐵 ∈ ran ℤ≥ ↔ ∃𝑦 ∈ ℤ (ℤ≥‘𝑦) = 𝐵)
8 ineq1 4113 . . 3 ((ℤ≥‘𝑥) = 𝐴 → ((ℤ≥‘𝑥) ∩ (ℤ≥‘𝑦)) = (𝐴 ∩ (ℤ≥‘𝑦)))
98eleq1d 2849 . 2 ((ℤ≥‘𝑥) = 𝐴 → (((ℤ≥‘𝑥) ∩ (ℤ≥‘𝑦)) ∈ ran ℤ≥ ↔ (𝐴 ∩ (ℤ≥‘𝑦)) ∈ ran ℤ≥))
10 ineq2 4114 . . 3 ((ℤ≥‘𝑦) = 𝐵 → (𝐴 ∩ (ℤ≥‘𝑦)) = (𝐴 ∩ 𝐵))
1110eleq1d 2849 . 2 ((ℤ≥‘𝑦) = 𝐵 → ((𝐴 ∩ (ℤ≥‘𝑦)) ∈ ran ℤ≥ ↔ (𝐴 ∩ 𝐵) ∈ ran ℤ≥))
12 uzin 13014 . . 3 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((ℤ≥‘𝑥) ∩ (ℤ≥‘𝑦)) = (ℤ≥‘if(𝑥 ≤ 𝑦, 𝑦, 𝑥)))
13 ifcl 4531 . . . . 5 ((𝑦 ∈ ℤ ∧ 𝑥 ∈ ℤ) → if(𝑥 ≤ 𝑦, 𝑦, 𝑥) ∈ ℤ)
1413ancoms 464 . . . 4 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → if(𝑥 ≤ 𝑦, 𝑦, 𝑥) ∈ ℤ)
15 fnfvelrn 7091 . . . 4 ((ℤ≥ Fn ℤ ∧ if(𝑥 ≤ 𝑦, 𝑦, 𝑥) ∈ ℤ) → (ℤ≥‘if(𝑥 ≤ 𝑦, 𝑦, 𝑥)) ∈ ran ℤ≥)
163, 14, 15sylancr 599 . . 3 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → (ℤ≥‘if(𝑥 ≤ 𝑦, 𝑦, 𝑥)) ∈ ran ℤ≥)
1712, 16eqeltrd 2864 . 2 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((ℤ≥‘𝑥) ∩ (ℤ≥‘𝑦)) ∈ ran ℤ≥)
185, 7, 9, 11, 172gencl 3496 1 ((𝐴 ∈ ran ℤ≥ ∧ 𝐵 ∈ ran ℤ≥) → (𝐴 ∩ 𝐵) ∈ ran ℤ≥)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2146  ∃wrex 3090   ∩ cin 4092  ifcif 4485  𝒫 cpw 4560   class class class wbr 5106  ran crn 5656   Fn wfn 6542  ⟶wf 6543  ‘cfv 6547   ≤ cle 11357  ℤcz 12706  ℤ≥cuz 12978
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761  ax-cnex 11269  ax-resscn 11270  ax-pre-lttri 11287  ax-pre-lttrn 11288
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-po 5563  df-so 5564  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-ov 7433  df-er 8731  df-en 8988  df-dom 8989  df-sdom 8990  df-pnf 11358  df-mnf 11359  df-xr 11360  df-ltxr 11361  df-le 11362  df-neg 11557  df-z 12707  df-uz 12979
This theorem is used by:  rexanuz  15528  zfbas  24230  heibor1lem  38889
  Copyright terms: Public domain W3C validator