| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > residpr | Structured version Visualization version GIF version | ||
| Description: Restriction of the identity to a pair. (Contributed by AV, 11-Dec-2018.) |
| Ref | Expression |
|---|---|
| residpr | ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ( I ↾ {𝐴, 𝐵}) = {〈𝐴, 𝐴〉, 〈𝐵, 𝐵〉}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-pr 4602 | . . . 4 ⊢ {𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) | |
| 2 | 1 | reseq2i 5961 | . . 3 ⊢ ( I ↾ {𝐴, 𝐵}) = ( I ↾ ({𝐴} ∪ {𝐵})) |
| 3 | resundi 5978 | . . 3 ⊢ ( I ↾ ({𝐴} ∪ {𝐵})) = (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵})) | |
| 4 | 2, 3 | eqtri 2757 | . 2 ⊢ ( I ↾ {𝐴, 𝐵}) = (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵})) |
| 5 | xpsng 7126 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐴 ∈ 𝑉) → ({𝐴} × {𝐴}) = {〈𝐴, 𝐴〉}) | |
| 6 | 5 | anidms 566 | . . . . 5 ⊢ (𝐴 ∈ 𝑉 → ({𝐴} × {𝐴}) = {〈𝐴, 𝐴〉}) |
| 7 | 6 | adantr 480 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ({𝐴} × {𝐴}) = {〈𝐴, 𝐴〉}) |
| 8 | xpsng 7126 | . . . . . 6 ⊢ ((𝐵 ∈ 𝑊 ∧ 𝐵 ∈ 𝑊) → ({𝐵} × {𝐵}) = {〈𝐵, 𝐵〉}) | |
| 9 | 8 | anidms 566 | . . . . 5 ⊢ (𝐵 ∈ 𝑊 → ({𝐵} × {𝐵}) = {〈𝐵, 𝐵〉}) |
| 10 | 9 | adantl 481 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ({𝐵} × {𝐵}) = {〈𝐵, 𝐵〉}) |
| 11 | 7, 10 | uneq12d 4142 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (({𝐴} × {𝐴}) ∪ ({𝐵} × {𝐵})) = ({〈𝐴, 𝐴〉} ∪ {〈𝐵, 𝐵〉})) |
| 12 | restidsing 6038 | . . . 4 ⊢ ( I ↾ {𝐴}) = ({𝐴} × {𝐴}) | |
| 13 | restidsing 6038 | . . . 4 ⊢ ( I ↾ {𝐵}) = ({𝐵} × {𝐵}) | |
| 14 | 12, 13 | uneq12i 4139 | . . 3 ⊢ (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵})) = (({𝐴} × {𝐴}) ∪ ({𝐵} × {𝐵})) |
| 15 | df-pr 4602 | . . 3 ⊢ {〈𝐴, 𝐴〉, 〈𝐵, 𝐵〉} = ({〈𝐴, 𝐴〉} ∪ {〈𝐵, 𝐵〉}) | |
| 16 | 11, 14, 15 | 3eqtr4g 2794 | . 2 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (( I ↾ {𝐴}) ∪ ( I ↾ {𝐵})) = {〈𝐴, 𝐴〉, 〈𝐵, 𝐵〉}) |
| 17 | 4, 16 | eqtrid 2781 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ( I ↾ {𝐴, 𝐵}) = {〈𝐴, 𝐴〉, 〈𝐵, 𝐵〉}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1539 ∈ wcel 2107 ∪ cun 3922 {csn 4599 {cpr 4601 〈cop 4605 I cid 5545 × cxp 5650 ↾ cres 5654 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1794 ax-4 1808 ax-5 1909 ax-6 1966 ax-7 2006 ax-8 2109 ax-9 2117 ax-10 2140 ax-11 2156 ax-12 2176 ax-ext 2706 ax-sep 5264 ax-nul 5274 ax-pr 5400 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1779 df-nf 1783 df-sb 2064 df-mo 2538 df-eu 2567 df-clab 2713 df-cleq 2726 df-clel 2808 df-nfc 2884 df-ne 2932 df-ral 3051 df-rex 3060 df-reu 3358 df-rab 3414 df-v 3459 df-dif 3927 df-un 3929 df-in 3931 df-ss 3941 df-nul 4307 df-if 4499 df-sn 4600 df-pr 4602 df-op 4606 df-br 5118 df-opab 5180 df-mpt 5200 df-id 5546 df-xp 5658 df-rel 5659 df-cnv 5660 df-co 5661 df-dm 5662 df-rn 5663 df-res 5664 df-fun 6530 df-fn 6531 df-f 6532 df-f1 6533 df-fo 6534 df-f1o 6535 |
| This theorem is referenced by: psgnprfval1 19490 |
| Copyright terms: Public domain | W3C validator |