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

Theorem restidsing 6057
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 6007 . 2 Rel ( I ↾ {𝐴})
2 relxp 5673 . 2 Rel ({𝐴} × {𝐴})
3 velsn 4600 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
4 velsn 4600 . . . . 5 (𝑦 ∈ {𝐴} ↔ 𝑦 = 𝐴)
53, 4anbi12i 640 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}) ↔ (𝑥 = 𝐴 ∧ 𝑦 = 𝐴))
6 vex 3458 . . . . . . 7 𝑦 ∈ V
76ideq 5836 . . . . . 6 (𝑥 I 𝑦 ↔ 𝑥 = 𝑦)
83, 7anbi12i 640 . . . . 5 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 = 𝐴 ∧ 𝑥 = 𝑦))
9 eqeq1 2767 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑦 ↔ 𝐴 = 𝑦))
10 eqcom 2770 . . . . . . 7 (𝐴 = 𝑦 ↔ 𝑦 = 𝐴)
119, 10bitrdi 290 . . . . . 6 (𝑥 = 𝐴 → (𝑥 = 𝑦 ↔ 𝑦 = 𝐴))
1211pm5.32i 585 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑥 = 𝑦) ↔ (𝑥 = 𝐴 ∧ 𝑦 = 𝐴))
138, 12bitri 278 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 = 𝐴 ∧ 𝑦 = 𝐴))
14 df-br 5107 . . . . 5 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
1514anbi2i 635 . . . 4 ((𝑥 ∈ {𝐴} ∧ 𝑥 I 𝑦) ↔ (𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
165, 13, 153bitr2ri 303 . . 3 ((𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ) ↔ (𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}))
176opelresi 5989 . . 3 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ {𝐴}) ↔ (𝑥 ∈ {𝐴} ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
18 opelxp 5691 . . 3 (⟨𝑥, 𝑦⟩ ∈ ({𝐴} × {𝐴}) ↔ (𝑥 ∈ {𝐴} ∧ 𝑦 ∈ {𝐴}))
1916, 17, 183bitr4i 306 . 2 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ {𝐴}) ↔ ⟨𝑥, 𝑦⟩ ∈ ({𝐴} × {𝐴}))
201, 2, 19eqrelriiv 5771 1 ( I ↾ {𝐴}) = ({𝐴} × {𝐴})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {csn 4588  ⟨cop 4838   class class class wbr 5106   I cid 5549   × cxp 5653   ↾ cres 5657
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-res 5667
This theorem is used by:  residpr  7170  grp1inv  19287  psgnsn  19764  m1detdiag  22942
  Copyright terms: Public domain W3C validator