| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > 2nd1st | Structured version Visualization version GIF version | ||
| Description: Swap the members of an ordered pair. (Contributed by NM, 31-Dec-2014.) |
| Ref | Expression |
|---|---|
| 2nd1st | ⊢ (𝐴 ∈ (𝐵 × 𝐶) → ∪ ◡{𝐴} = 〈(2nd ‘𝐴), (1st ‘𝐴)〉) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 1st2nd2 8034 | . . . . 5 ⊢ (𝐴 ∈ (𝐵 × 𝐶) → 𝐴 = 〈(1st ‘𝐴), (2nd ‘𝐴)〉) | |
| 2 | 1 | sneqd 4606 | . . . 4 ⊢ (𝐴 ∈ (𝐵 × 𝐶) → {𝐴} = {〈(1st ‘𝐴), (2nd ‘𝐴)〉}) |
| 3 | 2 | cnveqd 5866 | . . 3 ⊢ (𝐴 ∈ (𝐵 × 𝐶) → ◡{𝐴} = ◡{〈(1st ‘𝐴), (2nd ‘𝐴)〉}) |
| 4 | 3 | unieqd 4890 | . 2 ⊢ (𝐴 ∈ (𝐵 × 𝐶) → ∪ ◡{𝐴} = ∪ ◡{〈(1st ‘𝐴), (2nd ‘𝐴)〉}) |
| 5 | opswap 6235 | . 2 ⊢ ∪ ◡{〈(1st ‘𝐴), (2nd ‘𝐴)〉} = 〈(2nd ‘𝐴), (1st ‘𝐴)〉 | |
| 6 | 4, 5 | eqtrdi 2817 | 1 ⊢ (𝐴 ∈ (𝐵 × 𝐶) → ∪ ◡{𝐴} = 〈(2nd ‘𝐴), (1st ‘𝐴)〉) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 = wceq 1570 ∈ wcel 2146 {csn 4594 〈cop 4600 ∪ cuni 4877 × cxp 5664 ◡ccnv 5665 ‘cfv 6543 1st c1st 7993 2nd c2nd 7994 |
| 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 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-sep 5262 ax-nul 5274 ax-pr 5409 ax-un 7745 |
| 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-nf 1817 df-sb 2100 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ne 2962 df-ral 3083 df-rex 3093 df-rab 3420 df-v 3460 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-nul 4290 df-if 4493 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-br 5115 df-opab 5179 df-mpt 5198 df-id 5561 df-xp 5672 df-rel 5673 df-cnv 5674 df-co 5675 df-dm 5676 df-rn 5677 df-iota 6499 df-fun 6545 df-fv 6551 df-1st 7995 df-2nd 7996 |
| This theorem is used by: fcnvgreu 33054 gsumhashmul 33418 tposideq 49707 swapf1a 50088 swapf2a 50090 |
| Copyright terms: Public domain | W3C validator |