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 41857
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.s . . . 4 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ 𝑆)
2 setsnidel.c . . . . . 6 (𝜑𝐶𝑋)
32elexd 3354 . . . . 5 (𝜑𝐶 ∈ V)
4 setsnidel.n . . . . . 6 (𝜑𝐴𝐶)
54necomd 2987 . . . . 5 (𝜑𝐶𝐴)
6 eldifsn 4462 . . . . 5 (𝐶 ∈ (V ∖ {𝐴}) ↔ (𝐶 ∈ V ∧ 𝐶𝐴))
73, 5, 6sylanbrc 701 . . . 4 (𝜑𝐶 ∈ (V ∖ {𝐴}))
8 setsnidel.d . . . . 5 (𝜑𝐷𝑌)
9 opelresg 5557 . . . . 5 (𝐷𝑌 → (⟨𝐶, 𝐷⟩ ∈ (𝑆 ↾ (V ∖ {𝐴})) ↔ (⟨𝐶, 𝐷⟩ ∈ 𝑆𝐶 ∈ (V ∖ {𝐴}))))
108, 9syl 17 . . . 4 (𝜑 → (⟨𝐶, 𝐷⟩ ∈ (𝑆 ↾ (V ∖ {𝐴})) ↔ (⟨𝐶, 𝐷⟩ ∈ 𝑆𝐶 ∈ (V ∖ {𝐴}))))
111, 7, 10mpbir2and 995 . . 3 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ (𝑆 ↾ (V ∖ {𝐴})))
12 elun1 3923 . . 3 (⟨𝐶, 𝐷⟩ ∈ (𝑆 ↾ (V ∖ {𝐴})) → ⟨𝐶, 𝐷⟩ ∈ ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
1311, 12syl 17 . 2 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
14 setsidel.r . . 3 𝑅 = (𝑆 sSet ⟨𝐴, 𝐵⟩)
15 setsidel.s . . . 4 (𝜑𝑆𝑉)
16 setsidel.b . . . 4 (𝜑𝐵𝑊)
17 setsval 16090 . . . 4 ((𝑆𝑉𝐵𝑊) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
1815, 16, 17syl2anc 696 . . 3 (𝜑 → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
1914, 18syl5eq 2806 . 2 (𝜑𝑅 = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
2013, 19eleqtrrd 2842 1 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1632  wcel 2139  wne 2932  Vcvv 3340  cdif 3712  cun 3713  {csn 4321  cop 4327  cres 5268  (class class class)co 6813   sSet csts 16057
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pr 5055  ax-un 7114
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-br 4805  df-opab 4865  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-res 5278  df-iota 6012  df-fun 6051  df-fv 6057  df-ov 6816  df-oprab 6817  df-mpt2 6818  df-sets 16066
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator