ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  setsresg GIF version

Theorem setsresg 12036
Description: The structure replacement function does not affect the value of 𝑆 away from 𝐴. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Jim Kingdon, 22-Jan-2023.)
Assertion
Ref Expression
setsresg ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))

Proof of Theorem setsresg
StepHypRef Expression
1 opexg 4158 . . . . 5 ((𝐴𝑊𝐵𝑋) → ⟨𝐴, 𝐵⟩ ∈ V)
2 setsvalg 12028 . . . . 5 ((𝑆𝑉 ∧ ⟨𝐴, 𝐵⟩ ∈ V) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}))
31, 2sylan2 284 . . . 4 ((𝑆𝑉 ∧ (𝐴𝑊𝐵𝑋)) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}))
433impb 1178 . . 3 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}))
54reseq1d 4826 . 2 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) = (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}) ↾ (V ∖ {𝐴})))
6 resundir 4841 . . 3 (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}) ↾ (V ∖ {𝐴})) = (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) ∪ ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})))
7 dmsnopg 5018 . . . . . . . . 9 (𝐵𝑋 → dom {⟨𝐴, 𝐵⟩} = {𝐴})
873ad2ant3 1005 . . . . . . . 8 ((𝑆𝑉𝐴𝑊𝐵𝑋) → dom {⟨𝐴, 𝐵⟩} = {𝐴})
9 eqimss 3156 . . . . . . . 8 (dom {⟨𝐴, 𝐵⟩} = {𝐴} → dom {⟨𝐴, 𝐵⟩} ⊆ {𝐴})
108, 9syl 14 . . . . . . 7 ((𝑆𝑉𝐴𝑊𝐵𝑋) → dom {⟨𝐴, 𝐵⟩} ⊆ {𝐴})
1110sscond 3218 . . . . . 6 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (V ∖ {𝐴}) ⊆ (V ∖ dom {⟨𝐴, 𝐵⟩}))
12 resabs1 4856 . . . . . 6 ((V ∖ {𝐴}) ⊆ (V ∖ dom {⟨𝐴, 𝐵⟩}) → ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
1311, 12syl 14 . . . . 5 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
14 dmres 4848 . . . . . . 7 dom ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ((V ∖ {𝐴}) ∩ dom {⟨𝐴, 𝐵⟩})
15 disj2 3423 . . . . . . . 8 (((V ∖ {𝐴}) ∩ dom {⟨𝐴, 𝐵⟩}) = ∅ ↔ (V ∖ {𝐴}) ⊆ (V ∖ dom {⟨𝐴, 𝐵⟩}))
1611, 15sylibr 133 . . . . . . 7 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((V ∖ {𝐴}) ∩ dom {⟨𝐴, 𝐵⟩}) = ∅)
1714, 16syl5eq 2185 . . . . . 6 ((𝑆𝑉𝐴𝑊𝐵𝑋) → dom ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅)
18 relres 4855 . . . . . . 7 Rel ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴}))
19 reldm0 4765 . . . . . . 7 (Rel ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) → (({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅ ↔ dom ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅))
2018, 19ax-mp 5 . . . . . 6 (({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅ ↔ dom ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅)
2117, 20sylibr 133 . . . . 5 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅)
2213, 21uneq12d 3236 . . . 4 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) ∪ ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴}))) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ ∅))
23 un0 3401 . . . 4 ((𝑆 ↾ (V ∖ {𝐴})) ∪ ∅) = (𝑆 ↾ (V ∖ {𝐴}))
2422, 23eqtrdi 2189 . . 3 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) ∪ ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴}))) = (𝑆 ↾ (V ∖ {𝐴})))
256, 24syl5eq 2185 . 2 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
265, 25eqtrd 2173 1 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 963   = wceq 1332  wcel 1481  Vcvv 2689  cdif 3073  cun 3074  cin 3075  wss 3076  c0 3368  {csn 3532  cop 3535  dom cdm 4547  cres 4549  Rel wrel 4552  (class class class)co 5782   sSet csts 11996
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139  ax-un 4363  ax-setind 4460
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ne 2310  df-ral 2422  df-rex 2423  df-rab 2426  df-v 2691  df-sbc 2914  df-dif 3078  df-un 3080  df-in 3082  df-ss 3089  df-nul 3369  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-br 3938  df-opab 3998  df-id 4223  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-res 4559  df-iota 5096  df-fun 5133  df-fv 5139  df-ov 5785  df-oprab 5786  df-mpo 5787  df-sets 12005
This theorem is referenced by:  setsabsd  12037  setsslnid  12049
  Copyright terms: Public domain W3C validator