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

Theorem residpr 6882
Description: Restriction of the identity to a pair. (Contributed by AV, 11-Dec-2018.)
Assertion
Ref Expression
residpr ((𝐴𝑉𝐵𝑊) → ( I ↾ {𝐴, 𝐵}) = {⟨𝐴, 𝐴⟩, ⟨𝐵, 𝐵⟩})

Proof of Theorem residpr
StepHypRef Expression
1 df-pr 4528 . . . 4 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
21reseq2i 5815 . . 3 ( I ↾ {𝐴, 𝐵}) = ( I ↾ ({𝐴} ∪ {𝐵}))
3 resundi 5832 . . 3 ( I ↾ ({𝐴} ∪ {𝐵})) = (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵}))
42, 3eqtri 2821 . 2 ( I ↾ {𝐴, 𝐵}) = (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵}))
5 xpsng 6878 . . . . . 6 ((𝐴𝑉𝐴𝑉) → ({𝐴} × {𝐴}) = {⟨𝐴, 𝐴⟩})
65anidms 570 . . . . 5 (𝐴𝑉 → ({𝐴} × {𝐴}) = {⟨𝐴, 𝐴⟩})
76adantr 484 . . . 4 ((𝐴𝑉𝐵𝑊) → ({𝐴} × {𝐴}) = {⟨𝐴, 𝐴⟩})
8 xpsng 6878 . . . . . 6 ((𝐵𝑊𝐵𝑊) → ({𝐵} × {𝐵}) = {⟨𝐵, 𝐵⟩})
98anidms 570 . . . . 5 (𝐵𝑊 → ({𝐵} × {𝐵}) = {⟨𝐵, 𝐵⟩})
109adantl 485 . . . 4 ((𝐴𝑉𝐵𝑊) → ({𝐵} × {𝐵}) = {⟨𝐵, 𝐵⟩})
117, 10uneq12d 4091 . . 3 ((𝐴𝑉𝐵𝑊) → (({𝐴} × {𝐴}) ∪ ({𝐵} × {𝐵})) = ({⟨𝐴, 𝐴⟩} ∪ {⟨𝐵, 𝐵⟩}))
12 restidsing 5889 . . . 4 ( I ↾ {𝐴}) = ({𝐴} × {𝐴})
13 restidsing 5889 . . . 4 ( I ↾ {𝐵}) = ({𝐵} × {𝐵})
1412, 13uneq12i 4088 . . 3 (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵})) = (({𝐴} × {𝐴}) ∪ ({𝐵} × {𝐵}))
15 df-pr 4528 . . 3 {⟨𝐴, 𝐴⟩, ⟨𝐵, 𝐵⟩} = ({⟨𝐴, 𝐴⟩} ∪ {⟨𝐵, 𝐵⟩})
1611, 14, 153eqtr4g 2858 . 2 ((𝐴𝑉𝐵𝑊) → (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵})) = {⟨𝐴, 𝐴⟩, ⟨𝐵, 𝐵⟩})
174, 16syl5eq 2845 1 ((𝐴𝑉𝐵𝑊) → ( I ↾ {𝐴, 𝐵}) = {⟨𝐴, 𝐴⟩, ⟨𝐵, 𝐵⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  cun 3879  {csn 4525  {cpr 4527  cop 4531   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-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  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-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331
This theorem is referenced by:  psgnprfval1  18642
  Copyright terms: Public domain W3C validator