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

Theorem restidsing 5915
Description: Restriction of the identity to a singleton. (Contributed by FL, 2-Aug-2009.) (Proof shortened by JJ, 25-Aug-2021.) (Proof shortened by Peter Mazsa, 6-Oct-2022.)
Assertion
Ref Expression
restidsing ( I ↾ {𝐴}) = ({𝐴} × {𝐴})

Proof of Theorem restidsing
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relres 5875 . 2 Rel ( I ↾ {𝐴})
2 relxp 5566 . 2 Rel ({𝐴} × {𝐴})
3 velsn 4573 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
4 velsn 4573 . . . . 5 (𝑦 ∈ {𝐴} ↔ 𝑦 = 𝐴)
53, 4anbi12i 626 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}) ↔ (𝑥 = 𝐴𝑦 = 𝐴))
6 vex 3495 . . . . . . 7 𝑦 ∈ V
76ideq 5716 . . . . . 6 (𝑥 I 𝑦𝑥 = 𝑦)
83, 7anbi12i 626 . . . . 5 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 = 𝐴𝑥 = 𝑦))
9 eqeq1 2822 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑦𝐴 = 𝑦))
10 eqcom 2825 . . . . . . 7 (𝐴 = 𝑦𝑦 = 𝐴)
119, 10syl6bb 288 . . . . . 6 (𝑥 = 𝐴 → (𝑥 = 𝑦𝑦 = 𝐴))
1211pm5.32i 575 . . . . 5 ((𝑥 = 𝐴𝑥 = 𝑦) ↔ (𝑥 = 𝐴𝑦 = 𝐴))
138, 12bitri 276 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 = 𝐴𝑦 = 𝐴))
14 df-br 5058 . . . . 5 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
1514anbi2i 622 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
165, 13, 153bitr2ri 301 . . 3 ((𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ) ↔ (𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}))
176opelresi 5854 . . 3 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ {𝐴}) ↔ (𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
18 opelxp 5584 . . 3 (⟨𝑥, 𝑦⟩ ∈ ({𝐴} × {𝐴}) ↔ (𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}))
1916, 17, 183bitr4i 304 . 2 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ {𝐴}) ↔ ⟨𝑥, 𝑦⟩ ∈ ({𝐴} × {𝐴}))
201, 2, 19eqrelriiv 5656 1 ( I ↾ {𝐴}) = ({𝐴} × {𝐴})
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1528  wcel 2105  {csn 4557  cop 4563   class class class wbr 5057   I cid 5452   × cxp 5546  cres 5550
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-opab 5120  df-id 5453  df-xp 5554  df-rel 5555  df-res 5560
This theorem is referenced by:  residpr  6897  grp1inv  18145  psgnsn  18577  m1detdiag  21134
  Copyright terms: Public domain W3C validator