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

Theorem restidsing 6044
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 5995 . 2 Rel ( I ↾ {𝐴})
2 relxp 5668 . 2 Rel ({𝐴} × {𝐴})
3 velsn 4599 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
4 velsn 4599 . . . . 5 (𝑦 ∈ {𝐴} ↔ 𝑦 = 𝐴)
53, 4anbi12i 640 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}) ↔ (𝑥 = 𝐴 ∧ 𝑦 = 𝐴))
6 vex 3454 . . . . . . 7 𝑦 ∈ V
76ideq 5829 . . . . . 6 (𝑥 I 𝑦 ↔ 𝑥 = 𝑦)
83, 7anbi12i 640 . . . . 5 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 = 𝐴 ∧ 𝑥 = 𝑦))
9 eqeq1 2764 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑦 ↔ 𝐴 = 𝑦))
10 eqcom 2767 . . . . . . 7 (𝐴 = 𝑦 ↔ 𝑦 = 𝐴)
119, 10bitrdi 290 . . . . . 6 (𝑥 = 𝐴 → (𝑥 = 𝑦 ↔ 𝑦 = 𝐴))
1211pm5.32i 585 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑥 = 𝑦) ↔ (𝑥 = 𝐴 ∧ 𝑦 = 𝐴))
138, 12bitri 278 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 = 𝐴 ∧ 𝑦 = 𝐴))
14 df-br 5103 . . . . 5 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
1514anbi2i 635 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
165, 13, 153bitr2ri 303 . . 3 ((𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ) ↔ (𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}))
176opelresi 5977 . . 3 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ {𝐴}) ↔ (𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
18 opelxp 5686 . . 3 (⟨𝑥, 𝑦⟩ ∈ ({𝐴} × {𝐴}) ↔ (𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}))
1916, 17, 183bitr4i 306 . 2 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ {𝐴}) ↔ ⟨𝑥, 𝑦⟩ ∈ ({𝐴} × {𝐴}))
201, 2, 19eqrelriiv 5765 1 ( I ↾ {𝐴}) = ({𝐴} × {𝐴})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {csn 4583  ⟨cop 4589   class class class wbr 5102   I cid 5544   × cxp 5648   ↾ cres 5652
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-res 5662
This theorem is used by:  residpr  7146  grp1inv  19259  psgnsn  19735  m1detdiag  22913
  Copyright terms: Public domain W3C validator