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

Theorem residpr 7154
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 4590 . . . 4 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
21reseq2i 5971 . . 3 ( I ↾ {𝐴, 𝐵}) = ( I ↾ ({𝐴} ∪ {𝐵}))
3 resundi 5988 . . 3 ( I ↾ ({𝐴} ∪ {𝐵})) = (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵}))
42, 3eqtri 2786 . 2 ( I ↾ {𝐴, 𝐵}) = (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵}))
5 xpsng 7148 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐴 ∈ 𝑉) → ({𝐴} × {𝐴}) = {⟨𝐴, 𝐴⟩})
65anidms 577 . . . . 5 (𝐴 ∈ 𝑉 → ({𝐴} × {𝐴}) = {⟨𝐴, 𝐴⟩})
76adantr 486 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ({𝐴} × {𝐴}) = {⟨𝐴, 𝐴⟩})
8 xpsng 7148 . . . . . 6 ((𝐵 ∈ 𝑊 ∧ 𝐵 ∈ 𝑊) → ({𝐵} × {𝐵}) = {⟨𝐵, 𝐵⟩})
98anidms 577 . . . . 5 (𝐵 ∈ 𝑊 → ({𝐵} × {𝐵}) = {⟨𝐵, 𝐵⟩})
109adantl 487 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ({𝐵} × {𝐵}) = {⟨𝐵, 𝐵⟩})
117, 10uneq12d 4170 . . 3 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (({𝐴} × {𝐴}) ∪ ({𝐵} × {𝐵})) = ({⟨𝐴, 𝐴⟩} ∪ {⟨𝐵, 𝐵⟩}))
12 restidsing 6050 . . . 4 ( I ↾ {𝐴}) = ({𝐴} × {𝐴})
13 restidsing 6050 . . . 4 ( I ↾ {𝐵}) = ({𝐵} × {𝐵})
1412, 13uneq12i 4167 . . 3 (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵})) = (({𝐴} × {𝐴}) ∪ ({𝐵} × {𝐵}))
15 df-pr 4590 . . 3 {⟨𝐴, 𝐴⟩, ⟨𝐵, 𝐵⟩} = ({⟨𝐴, 𝐴⟩} ∪ {⟨𝐵, 𝐵⟩})
1611, 14, 153eqtr4g 2823 . 2 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵})) = {⟨𝐴, 𝐴⟩, ⟨𝐵, 𝐵⟩})
174, 16eqtrid 2810 1 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ( I ↾ {𝐴, 𝐵}) = {⟨𝐴, 𝐴⟩, ⟨𝐵, 𝐵⟩})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146   ∪ cun 4151  {csn 4587  {cpr 4589  ⟨cop 4837   I cid 5548   × cxp 5652   ↾ cres 5656
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-pr 5394
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-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553
This theorem is used by:  psgnprfval1  19748
  Copyright terms: Public domain W3C validator