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

Theorem setsresg 11997
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 4150 . . . . 5 ((𝐴𝑊𝐵𝑋) → ⟨𝐴, 𝐵⟩ ∈ V)
2 setsvalg 11989 . . . . 5 ((𝑆𝑉 ∧ ⟨𝐴, 𝐵⟩ ∈ V) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}))
31, 2sylan2 284 . . . 4 ((𝑆𝑉 ∧ (𝐴𝑊𝐵𝑋)) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}))
433impb 1177 . . 3 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}))
54reseq1d 4818 . 2 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) = (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}) ↾ (V ∖ {𝐴})))
6 resundir 4833 . . 3 (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}) ↾ (V ∖ {𝐴})) = (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) ∪ ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})))
7 dmsnopg 5010 . . . . . . . . 9 (𝐵𝑋 → dom {⟨𝐴, 𝐵⟩} = {𝐴})
873ad2ant3 1004 . . . . . . . 8 ((𝑆𝑉𝐴𝑊𝐵𝑋) → dom {⟨𝐴, 𝐵⟩} = {𝐴})
9 eqimss 3151 . . . . . . . 8 (dom {⟨𝐴, 𝐵⟩} = {𝐴} → dom {⟨𝐴, 𝐵⟩} ⊆ {𝐴})
108, 9syl 14 . . . . . . 7 ((𝑆𝑉𝐴𝑊𝐵𝑋) → dom {⟨𝐴, 𝐵⟩} ⊆ {𝐴})
1110sscond 3213 . . . . . 6 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (V ∖ {𝐴}) ⊆ (V ∖ dom {⟨𝐴, 𝐵⟩}))
12 resabs1 4848 . . . . . 6 ((V ∖ {𝐴}) ⊆ (V ∖ dom {⟨𝐴, 𝐵⟩}) → ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
1311, 12syl 14 . . . . 5 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
14 dmres 4840 . . . . . . 7 dom ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ((V ∖ {𝐴}) ∩ dom {⟨𝐴, 𝐵⟩})
15 disj2 3418 . . . . . . . 8 (((V ∖ {𝐴}) ∩ dom {⟨𝐴, 𝐵⟩}) = ∅ ↔ (V ∖ {𝐴}) ⊆ (V ∖ dom {⟨𝐴, 𝐵⟩}))
1611, 15sylibr 133 . . . . . . 7 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((V ∖ {𝐴}) ∩ dom {⟨𝐴, 𝐵⟩}) = ∅)
1714, 16syl5eq 2184 . . . . . 6 ((𝑆𝑉𝐴𝑊𝐵𝑋) → dom ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅)
18 relres 4847 . . . . . . 7 Rel ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴}))
19 reldm0 4757 . . . . . . 7 (Rel ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) → (({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅ ↔ dom ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅))
2018, 19ax-mp 5 . . . . . 6 (({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅ ↔ dom ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅)
2117, 20sylibr 133 . . . . 5 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴})) = ∅)
2213, 21uneq12d 3231 . . . 4 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) ∪ ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴}))) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ ∅))
23 un0 3396 . . . 4 ((𝑆 ↾ (V ∖ {𝐴})) ∪ ∅) = (𝑆 ↾ (V ∖ {𝐴}))
2422, 23syl6eq 2188 . . 3 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ↾ (V ∖ {𝐴})) ∪ ({⟨𝐴, 𝐵⟩} ↾ (V ∖ {𝐴}))) = (𝑆 ↾ (V ∖ {𝐴})))
256, 24syl5eq 2184 . 2 ((𝑆𝑉𝐴𝑊𝐵𝑋) → (((𝑆 ↾ (V ∖ dom {⟨𝐴, 𝐵⟩})) ∪ {⟨𝐴, 𝐵⟩}) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
265, 25eqtrd 2172 1 ((𝑆𝑉𝐴𝑊𝐵𝑋) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 962   = wceq 1331  wcel 1480  Vcvv 2686  cdif 3068  cun 3069  cin 3070  wss 3071  c0 3363  {csn 3527  cop 3530  dom cdm 4539  cres 4541  Rel wrel 4544  (class class class)co 5774   sSet csts 11957
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-setind 4452
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ne 2309  df-ral 2421  df-rex 2422  df-rab 2425  df-v 2688  df-sbc 2910  df-dif 3073  df-un 3075  df-in 3077  df-ss 3084  df-nul 3364  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-br 3930  df-opab 3990  df-id 4215  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-res 4551  df-iota 5088  df-fun 5125  df-fv 5131  df-ov 5777  df-oprab 5778  df-mpo 5779  df-sets 11966
This theorem is referenced by:  setsabsd  11998  setsslnid  12010
  Copyright terms: Public domain W3C validator