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

Theorem ressn 5784
Description: Restriction of a class to a singleton. (Contributed by Mario Carneiro, 28-Dec-2014.)
Assertion
Ref Expression
ressn (𝐴 ↾ {𝐵}) = ({𝐵} × (𝐴 “ {𝐵}))

Proof of Theorem ressn
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relres 5536 . 2 Rel (𝐴 ↾ {𝐵})
2 relxp 5235 . 2 Rel ({𝐵} × (𝐴 “ {𝐵}))
3 ancom 465 . . . 4 ((⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ {𝐵}) ↔ (𝑥 ∈ {𝐵} ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
4 vex 3307 . . . . . . 7 𝑥 ∈ V
5 vex 3307 . . . . . . 7 𝑦 ∈ V
64, 5elimasn 5600 . . . . . 6 (𝑦 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴)
7 elsni 4302 . . . . . . . . 9 (𝑥 ∈ {𝐵} → 𝑥 = 𝐵)
87sneqd 4297 . . . . . . . 8 (𝑥 ∈ {𝐵} → {𝑥} = {𝐵})
98imaeq2d 5576 . . . . . . 7 (𝑥 ∈ {𝐵} → (𝐴 “ {𝑥}) = (𝐴 “ {𝐵}))
109eleq2d 2789 . . . . . 6 (𝑥 ∈ {𝐵} → (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 𝑦 ∈ (𝐴 “ {𝐵})))
116, 10syl5bbr 274 . . . . 5 (𝑥 ∈ {𝐵} → (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 ∈ (𝐴 “ {𝐵})))
1211pm5.32i 672 . . . 4 ((𝑥 ∈ {𝐵} ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵})))
133, 12bitri 264 . . 3 ((⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ {𝐵}) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵})))
145opelres 5511 . . 3 (⟨𝑥, 𝑦⟩ ∈ (𝐴 ↾ {𝐵}) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ {𝐵}))
15 opelxp 5255 . . 3 (⟨𝑥, 𝑦⟩ ∈ ({𝐵} × (𝐴 “ {𝐵})) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵})))
1613, 14, 153bitr4i 292 . 2 (⟨𝑥, 𝑦⟩ ∈ (𝐴 ↾ {𝐵}) ↔ ⟨𝑥, 𝑦⟩ ∈ ({𝐵} × (𝐴 “ {𝐵})))
171, 2, 16eqrelriiv 5323 1 (𝐴 ↾ {𝐵}) = ({𝐵} × (𝐴 “ {𝐵}))
Colors of variables: wff setvar class
Syntax hints:  wa 383   = wceq 1596  wcel 2103  {csn 4285  cop 4291   × cxp 5216  cres 5220  cima 5221
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1835  ax-4 1850  ax-5 1952  ax-6 2018  ax-7 2054  ax-9 2112  ax-10 2132  ax-11 2147  ax-12 2160  ax-13 2355  ax-ext 2704  ax-sep 4889  ax-nul 4897  ax-pr 5011
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1599  df-ex 1818  df-nf 1823  df-sb 2011  df-eu 2575  df-mo 2576  df-clab 2711  df-cleq 2717  df-clel 2720  df-nfc 2855  df-ral 3019  df-rex 3020  df-rab 3023  df-v 3306  df-sbc 3542  df-dif 3683  df-un 3685  df-in 3687  df-ss 3694  df-nul 4024  df-if 4195  df-sn 4286  df-pr 4288  df-op 4292  df-br 4761  df-opab 4821  df-xp 5224  df-rel 5225  df-cnv 5226  df-dm 5228  df-rn 5229  df-res 5230  df-ima 5231
This theorem is referenced by:  gsum2dlem2  18491  dprd2da  18562  ustneism  22149
  Copyright terms: Public domain W3C validator