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

Theorem dmrnssfld 5305
Description: The domain and range of a class are included in its double union. (Contributed by NM, 13-May-2008.)
Assertion
Ref Expression
dmrnssfld (dom 𝐴 ∪ ran 𝐴) ⊆ 𝐴

Proof of Theorem dmrnssfld
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3176 . . . . 5 𝑥 ∈ V
21eldm2 5244 . . . 4 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
31prid1 4241 . . . . . 6 𝑥 ∈ {𝑥, 𝑦}
4 vex 3176 . . . . . . . . . 10 𝑦 ∈ V
51, 4uniop 4902 . . . . . . . . 9 𝑥, 𝑦⟩ = {𝑥, 𝑦}
61, 4uniopel 4903 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥, 𝑦⟩ ∈ 𝐴)
75, 6syl5eqelr 2693 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → {𝑥, 𝑦} ∈ 𝐴)
8 elssuni 4403 . . . . . . . 8 ({𝑥, 𝑦} ∈ 𝐴 → {𝑥, 𝑦} ⊆ 𝐴)
97, 8syl 17 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → {𝑥, 𝑦} ⊆ 𝐴)
109sseld 3567 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑥 ∈ {𝑥, 𝑦} → 𝑥 𝐴))
113, 10mpi 20 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 𝐴)
1211exlimiv 1845 . . . 4 (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴𝑥 𝐴)
132, 12sylbi 206 . . 3 (𝑥 ∈ dom 𝐴𝑥 𝐴)
1413ssriv 3572 . 2 dom 𝐴 𝐴
154elrn2 5286 . . . 4 (𝑦 ∈ ran 𝐴 ↔ ∃𝑥𝑥, 𝑦⟩ ∈ 𝐴)
164prid2 4242 . . . . . 6 𝑦 ∈ {𝑥, 𝑦}
179sseld 3567 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑦 ∈ {𝑥, 𝑦} → 𝑦 𝐴))
1816, 17mpi 20 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 𝐴)
1918exlimiv 1845 . . . 4 (∃𝑥𝑥, 𝑦⟩ ∈ 𝐴𝑦 𝐴)
2015, 19sylbi 206 . . 3 (𝑦 ∈ ran 𝐴𝑦 𝐴)
2120ssriv 3572 . 2 ran 𝐴 𝐴
2214, 21unssi 3750 1 (dom 𝐴 ∪ ran 𝐴) ⊆ 𝐴
Colors of variables: wff setvar class
Syntax hints:  wex 1695  wcel 1977  cun 3538  wss 3540  {cpr 4127  cop 4131   cuni 4372  dom cdm 5038  ran crn 5039
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-cnv 5046  df-dm 5048  df-rn 5049
This theorem is referenced by:  relfld  5578  relcoi2  5580  dmexg  6989  rnexg  6990  wundm  9429  wunrn  9430  relexpdm  13631  relexprn  13635  relexpfld  13637  psdmrn  17030  dirdm  17057  dirge  17060  tailf  31540  filnetlem3  31545
  Copyright terms: Public domain W3C validator