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

Theorem elsnres 5356
Description: Membership in restriction to a singleton. (Contributed by Scott Fenton, 17-Mar-2011.)
Hypothesis
Ref Expression
elsnres.1 𝐶 ∈ V
Assertion
Ref Expression
elsnres (𝐴 ∈ (𝐵 ↾ {𝐶}) ↔ ∃𝑦(𝐴 = ⟨𝐶, 𝑦⟩ ∧ ⟨𝐶, 𝑦⟩ ∈ 𝐵))
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑦,𝐶

Proof of Theorem elsnres
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 elres 5355 . 2 (𝐴 ∈ (𝐵 ↾ {𝐶}) ↔ ∃𝑥 ∈ {𝐶}∃𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
2 rexcom4 3198 . 2 (∃𝑥 ∈ {𝐶}∃𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐵) ↔ ∃𝑦𝑥 ∈ {𝐶} (𝐴 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
3 elsnres.1 . . . 4 𝐶 ∈ V
4 opeq1 4340 . . . . . 6 (𝑥 = 𝐶 → ⟨𝑥, 𝑦⟩ = ⟨𝐶, 𝑦⟩)
54eqeq2d 2620 . . . . 5 (𝑥 = 𝐶 → (𝐴 = ⟨𝑥, 𝑦⟩ ↔ 𝐴 = ⟨𝐶, 𝑦⟩))
64eleq1d 2672 . . . . 5 (𝑥 = 𝐶 → (⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ⟨𝐶, 𝑦⟩ ∈ 𝐵))
75, 6anbi12d 743 . . . 4 (𝑥 = 𝐶 → ((𝐴 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐵) ↔ (𝐴 = ⟨𝐶, 𝑦⟩ ∧ ⟨𝐶, 𝑦⟩ ∈ 𝐵)))
83, 7rexsn 4170 . . 3 (∃𝑥 ∈ {𝐶} (𝐴 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐵) ↔ (𝐴 = ⟨𝐶, 𝑦⟩ ∧ ⟨𝐶, 𝑦⟩ ∈ 𝐵))
98exbii 1764 . 2 (∃𝑦𝑥 ∈ {𝐶} (𝐴 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐵) ↔ ∃𝑦(𝐴 = ⟨𝐶, 𝑦⟩ ∧ ⟨𝐶, 𝑦⟩ ∈ 𝐵))
101, 2, 93bitri 285 1 (𝐴 ∈ (𝐵 ↾ {𝐶}) ↔ ∃𝑦(𝐴 = ⟨𝐶, 𝑦⟩ ∧ ⟨𝐶, 𝑦⟩ ∈ 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wb 195  wa 383   = wceq 1475  wex 1695  wcel 1977  wrex 2897  Vcvv 3173  {csn 4125  cop 4131  cres 5040
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-opab 4644  df-xp 5044  df-rel 5045  df-res 5050
This theorem is referenced by:  fvn0ssdmfun  6258  frxp  7174
  Copyright terms: Public domain W3C validator