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

Theorem setsabs 16108
Description: Replacing the same components twice yields the same as the second setting only. (Contributed by Mario Carneiro, 2-Dec-2014.)
Assertion
Ref Expression
setsabs ((𝑆𝑉𝐶𝑊) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) sSet ⟨𝐴, 𝐶⟩) = (𝑆 sSet ⟨𝐴, 𝐶⟩))

Proof of Theorem setsabs
StepHypRef Expression
1 setsres 16107 . . . 4 (𝑆𝑉 → ((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
21adantr 466 . . 3 ((𝑆𝑉𝐶𝑊) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
32uneq1d 3917 . 2 ((𝑆𝑉𝐶𝑊) → (((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐶⟩}) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐶⟩}))
4 ovexd 6824 . . 3 (𝑆𝑉 → (𝑆 sSet ⟨𝐴, 𝐵⟩) ∈ V)
5 setsval 16094 . . 3 (((𝑆 sSet ⟨𝐴, 𝐵⟩) ∈ V ∧ 𝐶𝑊) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) sSet ⟨𝐴, 𝐶⟩) = (((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐶⟩}))
64, 5sylan 561 . 2 ((𝑆𝑉𝐶𝑊) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) sSet ⟨𝐴, 𝐶⟩) = (((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐶⟩}))
7 setsval 16094 . 2 ((𝑆𝑉𝐶𝑊) → (𝑆 sSet ⟨𝐴, 𝐶⟩) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐶⟩}))
83, 6, 73eqtr4d 2815 1 ((𝑆𝑉𝐶𝑊) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) sSet ⟨𝐴, 𝐶⟩) = (𝑆 sSet ⟨𝐴, 𝐶⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382   = wceq 1631  wcel 2145  Vcvv 3351  cdif 3720  cun 3721  {csn 4316  cop 4322  cres 5251  (class class class)co 6792   sSet csts 16061
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-sep 4915  ax-nul 4923  ax-pr 5034  ax-un 7095
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 827  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3353  df-sbc 3588  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4226  df-sn 4317  df-pr 4319  df-op 4323  df-uni 4575  df-br 4787  df-opab 4847  df-id 5157  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-res 5261  df-iota 5994  df-fun 6033  df-fv 6039  df-ov 6795  df-oprab 6796  df-mpt2 6797  df-sets 16070
This theorem is referenced by:  ressress  16145  rescabs  16699
  Copyright terms: Public domain W3C validator