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

Theorem restidsing 5889
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 5847 . 2 Rel ( I ↾ {𝐴})
2 relxp 5537 . 2 Rel ({𝐴} × {𝐴})
3 velsn 4541 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
4 velsn 4541 . . . . 5 (𝑦 ∈ {𝐴} ↔ 𝑦 = 𝐴)
53, 4anbi12i 629 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}) ↔ (𝑥 = 𝐴𝑦 = 𝐴))
6 vex 3444 . . . . . . 7 𝑦 ∈ V
76ideq 5687 . . . . . 6 (𝑥 I 𝑦𝑥 = 𝑦)
83, 7anbi12i 629 . . . . 5 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 = 𝐴𝑥 = 𝑦))
9 eqeq1 2802 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑦𝐴 = 𝑦))
10 eqcom 2805 . . . . . . 7 (𝐴 = 𝑦𝑦 = 𝐴)
119, 10syl6bb 290 . . . . . 6 (𝑥 = 𝐴 → (𝑥 = 𝑦𝑦 = 𝐴))
1211pm5.32i 578 . . . . 5 ((𝑥 = 𝐴𝑥 = 𝑦) ↔ (𝑥 = 𝐴𝑦 = 𝐴))
138, 12bitri 278 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 = 𝐴𝑦 = 𝐴))
14 df-br 5031 . . . . 5 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
1514anbi2i 625 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
165, 13, 153bitr2ri 303 . . 3 ((𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ) ↔ (𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}))
176opelresi 5826 . . 3 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ {𝐴}) ↔ (𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
18 opelxp 5555 . . 3 (⟨𝑥, 𝑦⟩ ∈ ({𝐴} × {𝐴}) ↔ (𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}))
1916, 17, 183bitr4i 306 . 2 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ {𝐴}) ↔ ⟨𝑥, 𝑦⟩ ∈ ({𝐴} × {𝐴}))
201, 2, 19eqrelriiv 5627 1 ( I ↾ {𝐴}) = ({𝐴} × {𝐴})
Colors of variables: wff setvar class
Syntax hints:  wa 399   = wceq 1538  wcel 2111  {csn 4525  cop 4531   class class class wbr 5030   I cid 5424   × cxp 5517  cres 5521
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-res 5531
This theorem is referenced by:  residpr  6882  grp1inv  18199  psgnsn  18640  m1detdiag  21202
  Copyright terms: Public domain W3C validator