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

Theorem uzin2 15556
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 13008 . . . 4 ℤ≥:ℤ⟶𝒫 ℤ
2 ffn 6739 . . . 4 (ℤ≥:ℤ⟶𝒫 ℤ → ℤ≥ Fn ℤ)
31, 2ax-mp 5 . . 3 ℤ≥ Fn ℤ
4 fvelrnb 6976 . . 3 (ℤ≥ Fn ℤ → (𝐴 ∈ ran ℤ≥ ↔ ∃𝑥 ∈ ℤ (ℤ≥‘𝑥) = 𝐴))
53, 4ax-mp 5 . 2 (𝐴 ∈ ran ℤ≥ ↔ ∃𝑥 ∈ ℤ (ℤ≥‘𝑥) = 𝐴)
6 fvelrnb 6976 . . 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 13041 . . 3 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((ℤ≥‘𝑥) ∩ (ℤ≥‘𝑦)) = (ℤ≥‘if(𝑥 ≤ 𝑦, 𝑦, 𝑥)))
13 ifcl 4531 . . . . 5 ((𝑦 ∈ ℤ ∧ 𝑥 ∈ ℤ) → if(𝑥 ≤ 𝑦, 𝑦, 𝑥) ∈ ℤ)
1413ancoms 464 . . . 4 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → if(𝑥 ≤ 𝑦, 𝑦, 𝑥) ∈ ℤ)
15 fnfvelrn 7112 . . . 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 1570   ∈ wcel 2147  ∃wrex 3090   ∩ cin 4092  ifcif 4485  𝒫 cpw 4560   class class class wbr 5108  ran crn 5659   Fn wfn 6561  ⟶wf 6562  ‘cfv 6566   ≤ cle 11383  ℤcz 12733  ℤ≥cuz 13005
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-pre-lttri 11313  ax-pre-lttrn 11314
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  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 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-po 5566  df-so 5567  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-neg 11583  df-z 12734  df-uz 13006
This theorem is used by:  rexanuz  15557  zfbas  24270  heibor1lem  39009
  Copyright terms: Public domain W3C validator