| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > txswaphmeolem | GIF version | ||
| Description: Show inverse for the "swap components" operation on a Cartesian product. (Contributed by Mario Carneiro, 21-Mar-2015.) |
| Ref | Expression |
|---|---|
| txswaphmeolem | ⊢ ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = ( I ↾ (𝑋 × 𝑌)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | id 19 | . . 3 ⊢ (𝑧 = 〈𝑥, 𝑦〉 → 𝑧 = 〈𝑥, 𝑦〉) | |
| 2 | 1 | mpompt 6060 | . 2 ⊢ (𝑧 ∈ (𝑋 × 𝑌) ↦ 𝑧) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉) |
| 3 | mptresid 5032 | . 2 ⊢ ( I ↾ (𝑋 × 𝑌)) = (𝑧 ∈ (𝑋 × 𝑌) ↦ 𝑧) | |
| 4 | opelxpi 4725 | . . . . . 6 ⊢ ((𝑦 ∈ 𝑌 ∧ 𝑥 ∈ 𝑋) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) | |
| 5 | 4 | ancoms 268 | . . . . 5 ⊢ ((𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑌) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) |
| 6 | 5 | adantl 277 | . . . 4 ⊢ ((⊤ ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑌)) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) |
| 7 | eqidd 2208 | . . . 4 ⊢ (⊤ → (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) | |
| 8 | sneq 3654 | . . . . . . . . . 10 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → {𝑧} = {〈𝑦, 𝑥〉}) | |
| 9 | 8 | cnveqd 4872 | . . . . . . . . 9 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ◡{𝑧} = ◡{〈𝑦, 𝑥〉}) |
| 10 | 9 | unieqd 3875 | . . . . . . . 8 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ∪ ◡{𝑧} = ∪ ◡{〈𝑦, 𝑥〉}) |
| 11 | vex 2779 | . . . . . . . . 9 ⊢ 𝑦 ∈ V | |
| 12 | vex 2779 | . . . . . . . . 9 ⊢ 𝑥 ∈ V | |
| 13 | opswapg 5188 | . . . . . . . . 9 ⊢ ((𝑦 ∈ V ∧ 𝑥 ∈ V) → ∪ ◡{〈𝑦, 𝑥〉} = 〈𝑥, 𝑦〉) | |
| 14 | 11, 12, 13 | mp2an 426 | . . . . . . . 8 ⊢ ∪ ◡{〈𝑦, 𝑥〉} = 〈𝑥, 𝑦〉 |
| 15 | 10, 14 | eqtrdi 2256 | . . . . . . 7 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ∪ ◡{𝑧} = 〈𝑥, 𝑦〉) |
| 16 | 15 | mpompt 6060 | . . . . . 6 ⊢ (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧}) = (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) |
| 17 | 16 | eqcomi 2211 | . . . . 5 ⊢ (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) = (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧}) |
| 18 | 17 | a1i 9 | . . . 4 ⊢ (⊤ → (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) = (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧})) |
| 19 | 6, 7, 18, 15 | fmpoco 6325 | . . 3 ⊢ (⊤ → ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉)) |
| 20 | 19 | mptru 1382 | . 2 ⊢ ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉) |
| 21 | 2, 3, 20 | 3eqtr4ri 2239 | 1 ⊢ ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = ( I ↾ (𝑋 × 𝑌)) |
| Colors of variables: wff set class |
| Syntax hints: ∧ wa 104 = wceq 1373 ⊤wtru 1374 ∈ wcel 2178 Vcvv 2776 {csn 3643 〈cop 3646 ∪ cuni 3864 ↦ cmpt 4121 I cid 4353 × cxp 4691 ◡ccnv 4692 ↾ cres 4695 ∘ ccom 4697 ∈ cmpo 5969 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-io 711 ax-5 1471 ax-7 1472 ax-gen 1473 ax-ie1 1517 ax-ie2 1518 ax-8 1528 ax-10 1529 ax-11 1530 ax-i12 1531 ax-bndl 1533 ax-4 1534 ax-17 1550 ax-i9 1554 ax-ial 1558 ax-i5r 1559 ax-13 2180 ax-14 2181 ax-ext 2189 ax-sep 4178 ax-pow 4234 ax-pr 4269 ax-un 4498 |
| This theorem depends on definitions: df-bi 117 df-3an 983 df-tru 1376 df-nf 1485 df-sb 1787 df-eu 2058 df-mo 2059 df-clab 2194 df-cleq 2200 df-clel 2203 df-nfc 2339 df-ral 2491 df-rex 2492 df-rab 2495 df-v 2778 df-sbc 3006 df-csb 3102 df-un 3178 df-in 3180 df-ss 3187 df-pw 3628 df-sn 3649 df-pr 3650 df-op 3652 df-uni 3865 df-iun 3943 df-br 4060 df-opab 4122 df-mpt 4123 df-id 4358 df-xp 4699 df-rel 4700 df-cnv 4701 df-co 4702 df-dm 4703 df-rn 4704 df-res 4705 df-ima 4706 df-iota 5251 df-fun 5292 df-fn 5293 df-f 5294 df-fv 5298 df-oprab 5971 df-mpo 5972 df-1st 6249 df-2nd 6250 |
| This theorem is referenced by: txswaphmeo 14908 |
| Copyright terms: Public domain | W3C validator |