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

Theorem setsdm 15813
Description: The domain of a structure with replacement is the domain of the original structure extended by the index of the replacement. (Contributed by AV, 7-Jun-2021.)
Assertion
Ref Expression
setsdm ((𝐺𝑉𝐸𝑊) → dom (𝐺 sSet ⟨𝐼, 𝐸⟩) = (dom 𝐺 ∪ {𝐼}))

Proof of Theorem setsdm
StepHypRef Expression
1 opex 4893 . . . . 5 𝐼, 𝐸⟩ ∈ V
21a1i 11 . . . 4 (𝐸𝑊 → ⟨𝐼, 𝐸⟩ ∈ V)
3 setsvalg 15808 . . . 4 ((𝐺𝑉 ∧ ⟨𝐼, 𝐸⟩ ∈ V) → (𝐺 sSet ⟨𝐼, 𝐸⟩) = ((𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) ∪ {⟨𝐼, 𝐸⟩}))
42, 3sylan2 491 . . 3 ((𝐺𝑉𝐸𝑊) → (𝐺 sSet ⟨𝐼, 𝐸⟩) = ((𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) ∪ {⟨𝐼, 𝐸⟩}))
54dmeqd 5286 . 2 ((𝐺𝑉𝐸𝑊) → dom (𝐺 sSet ⟨𝐼, 𝐸⟩) = dom ((𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) ∪ {⟨𝐼, 𝐸⟩}))
6 dmun 5291 . . 3 dom ((𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) ∪ {⟨𝐼, 𝐸⟩}) = (dom (𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) ∪ dom {⟨𝐼, 𝐸⟩})
7 dmres 5378 . . . . 5 dom (𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) = ((V ∖ dom {⟨𝐼, 𝐸⟩}) ∩ dom 𝐺)
8 dmsnopg 5565 . . . . . . . . 9 (𝐸𝑊 → dom {⟨𝐼, 𝐸⟩} = {𝐼})
98adantl 482 . . . . . . . 8 ((𝐺𝑉𝐸𝑊) → dom {⟨𝐼, 𝐸⟩} = {𝐼})
109difeq2d 3706 . . . . . . 7 ((𝐺𝑉𝐸𝑊) → (V ∖ dom {⟨𝐼, 𝐸⟩}) = (V ∖ {𝐼}))
1110ineq1d 3791 . . . . . 6 ((𝐺𝑉𝐸𝑊) → ((V ∖ dom {⟨𝐼, 𝐸⟩}) ∩ dom 𝐺) = ((V ∖ {𝐼}) ∩ dom 𝐺))
12 incom 3783 . . . . . . 7 ((V ∖ {𝐼}) ∩ dom 𝐺) = (dom 𝐺 ∩ (V ∖ {𝐼}))
13 invdif 3844 . . . . . . 7 (dom 𝐺 ∩ (V ∖ {𝐼})) = (dom 𝐺 ∖ {𝐼})
1412, 13eqtri 2643 . . . . . 6 ((V ∖ {𝐼}) ∩ dom 𝐺) = (dom 𝐺 ∖ {𝐼})
1511, 14syl6eq 2671 . . . . 5 ((𝐺𝑉𝐸𝑊) → ((V ∖ dom {⟨𝐼, 𝐸⟩}) ∩ dom 𝐺) = (dom 𝐺 ∖ {𝐼}))
167, 15syl5eq 2667 . . . 4 ((𝐺𝑉𝐸𝑊) → dom (𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) = (dom 𝐺 ∖ {𝐼}))
1716, 9uneq12d 3746 . . 3 ((𝐺𝑉𝐸𝑊) → (dom (𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) ∪ dom {⟨𝐼, 𝐸⟩}) = ((dom 𝐺 ∖ {𝐼}) ∪ {𝐼}))
186, 17syl5eq 2667 . 2 ((𝐺𝑉𝐸𝑊) → dom ((𝐺 ↾ (V ∖ dom {⟨𝐼, 𝐸⟩})) ∪ {⟨𝐼, 𝐸⟩}) = ((dom 𝐺 ∖ {𝐼}) ∪ {𝐼}))
19 undif1 4015 . . 3 ((dom 𝐺 ∖ {𝐼}) ∪ {𝐼}) = (dom 𝐺 ∪ {𝐼})
2019a1i 11 . 2 ((𝐺𝑉𝐸𝑊) → ((dom 𝐺 ∖ {𝐼}) ∪ {𝐼}) = (dom 𝐺 ∪ {𝐼}))
215, 18, 203eqtrd 2659 1 ((𝐺𝑉𝐸𝑊) → dom (𝐺 sSet ⟨𝐼, 𝐸⟩) = (dom 𝐺 ∪ {𝐼}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1987  Vcvv 3186  cdif 3552  cun 3553  cin 3554  {csn 4148  cop 4154  dom cdm 5074  cres 5076  (class class class)co 6604   sSet csts 15779
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3418  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-res 5086  df-iota 5810  df-fun 5849  df-fv 5855  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-sets 15787
This theorem is referenced by:  setsstruct2  15817  setsstructOLD  15820  basprssdmsets  15846
  Copyright terms: Public domain W3C validator