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

Theorem dmrnssfld 5806
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 3444 . . . . 5 𝑥 ∈ V
21eldm2 5734 . . . 4 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
31prid1 4658 . . . . . 6 𝑥 ∈ {𝑥, 𝑦}
4 vex 3444 . . . . . . . . . 10 𝑦 ∈ V
51, 4uniop 5370 . . . . . . . . 9 𝑥, 𝑦⟩ = {𝑥, 𝑦}
61, 4uniopel 5371 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥, 𝑦⟩ ∈ 𝐴)
75, 6eqeltrrid 2895 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → {𝑥, 𝑦} ∈ 𝐴)
8 elssuni 4830 . . . . . . . 8 ({𝑥, 𝑦} ∈ 𝐴 → {𝑥, 𝑦} ⊆ 𝐴)
97, 8syl 17 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → {𝑥, 𝑦} ⊆ 𝐴)
109sseld 3914 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑥 ∈ {𝑥, 𝑦} → 𝑥 𝐴))
113, 10mpi 20 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 𝐴)
1211exlimiv 1931 . . . 4 (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴𝑥 𝐴)
132, 12sylbi 220 . . 3 (𝑥 ∈ dom 𝐴𝑥 𝐴)
1413ssriv 3919 . 2 dom 𝐴 𝐴
154elrn2 5785 . . . 4 (𝑦 ∈ ran 𝐴 ↔ ∃𝑥𝑥, 𝑦⟩ ∈ 𝐴)
164prid2 4659 . . . . . 6 𝑦 ∈ {𝑥, 𝑦}
179sseld 3914 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑦 ∈ {𝑥, 𝑦} → 𝑦 𝐴))
1816, 17mpi 20 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 𝐴)
1918exlimiv 1931 . . . 4 (∃𝑥𝑥, 𝑦⟩ ∈ 𝐴𝑦 𝐴)
2015, 19sylbi 220 . . 3 (𝑦 ∈ ran 𝐴𝑦 𝐴)
2120ssriv 3919 . 2 ran 𝐴 𝐴
2214, 21unssi 4112 1 (dom 𝐴 ∪ ran 𝐴) ⊆ 𝐴
Colors of variables: wff setvar class
Syntax hints:  wex 1781  wcel 2111  cun 3879  wss 3881  {cpr 4527  cop 4531   cuni 4800  dom cdm 5519  ran crn 5520
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-cnv 5527  df-dm 5529  df-rn 5530
This theorem is referenced by:  relfld  6094  relcoi2  6096  dmexg  7594  rnexg  7595  wundm  10139  wunrn  10140  relexpdm  14394  relexprn  14398  relexpfld  14400  psdmrn  17809  dirdm  17836  dirge  17839  tailf  33836  filnetlem3  33841
  Copyright terms: Public domain W3C validator