Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  setsnidel Structured version   Visualization version   GIF version

Theorem setsnidel 44717
Description: The injected slot is an element of the structure with replacement. (Contributed by AV, 10-Nov-2021.)
Hypotheses
Ref Expression
setsidel.s (𝜑𝑆𝑉)
setsidel.b (𝜑𝐵𝑊)
setsidel.r 𝑅 = (𝑆 sSet ⟨𝐴, 𝐵⟩)
setsnidel.c (𝜑𝐶𝑋)
setsnidel.d (𝜑𝐷𝑌)
setsnidel.s (𝜑 → ⟨𝐶, 𝐷⟩ ∈ 𝑆)
setsnidel.n (𝜑𝐴𝐶)
Assertion
Ref Expression
setsnidel (𝜑 → ⟨𝐶, 𝐷⟩ ∈ 𝑅)

Proof of Theorem setsnidel
StepHypRef Expression
1 setsnidel.c . . . . . 6 (𝜑𝐶𝑋)
21elexd 3442 . . . . 5 (𝜑𝐶 ∈ V)
3 setsnidel.n . . . . . 6 (𝜑𝐴𝐶)
43necomd 2998 . . . . 5 (𝜑𝐶𝐴)
5 eldifsn 4717 . . . . 5 (𝐶 ∈ (V ∖ {𝐴}) ↔ (𝐶 ∈ V ∧ 𝐶𝐴))
62, 4, 5sylanbrc 582 . . . 4 (𝜑𝐶 ∈ (V ∖ {𝐴}))
7 setsnidel.s . . . 4 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ 𝑆)
8 setsnidel.d . . . . 5 (𝜑𝐷𝑌)
9 opelres 5886 . . . . 5 (𝐷𝑌 → (⟨𝐶, 𝐷⟩ ∈ (𝑆 ↾ (V ∖ {𝐴})) ↔ (𝐶 ∈ (V ∖ {𝐴}) ∧ ⟨𝐶, 𝐷⟩ ∈ 𝑆)))
108, 9syl 17 . . . 4 (𝜑 → (⟨𝐶, 𝐷⟩ ∈ (𝑆 ↾ (V ∖ {𝐴})) ↔ (𝐶 ∈ (V ∖ {𝐴}) ∧ ⟨𝐶, 𝐷⟩ ∈ 𝑆)))
116, 7, 10mpbir2and 709 . . 3 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ (𝑆 ↾ (V ∖ {𝐴})))
12 elun1 4106 . . 3 (⟨𝐶, 𝐷⟩ ∈ (𝑆 ↾ (V ∖ {𝐴})) → ⟨𝐶, 𝐷⟩ ∈ ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
1311, 12syl 17 . 2 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
14 setsidel.r . . 3 𝑅 = (𝑆 sSet ⟨𝐴, 𝐵⟩)
15 setsidel.s . . . 4 (𝜑𝑆𝑉)
16 setsidel.b . . . 4 (𝜑𝐵𝑊)
17 setsval 16796 . . . 4 ((𝑆𝑉𝐵𝑊) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
1815, 16, 17syl2anc 583 . . 3 (𝜑 → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
1914, 18syl5eq 2791 . 2 (𝜑𝑅 = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
2013, 19eleqtrrd 2842 1 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  cdif 3880  cun 3881  {csn 4558  cop 4564  cres 5582  (class class class)co 7255   sSet csts 16792
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-res 5592  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-sets 16793
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator