| 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 6147 | . 2 ⊢ (𝑧 ∈ (𝑋 × 𝑌) ↦ 𝑧) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉) |
| 3 | mptresid 5094 | . 2 ⊢ ( I ↾ (𝑋 × 𝑌)) = (𝑧 ∈ (𝑋 × 𝑌) ↦ 𝑧) | |
| 4 | opelxpi 4783 | . . . . . 6 ⊢ ((𝑦 ∈ 𝑌 ∧ 𝑥 ∈ 𝑋) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) | |
| 5 | 4 | ancoms 268 | . . . . 5 ⊢ ((𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑌) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) |
| 6 | 5 | adantl 277 | . . . 4 ⊢ ((⊤ ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑌)) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) |
| 7 | eqidd 2235 | . . . 4 ⊢ (⊤ → (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) | |
| 8 | sneq 3702 | . . . . . . . . . 10 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → {𝑧} = {〈𝑦, 𝑥〉}) | |
| 9 | 8 | cnveqd 4933 | . . . . . . . . 9 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ◡{𝑧} = ◡{〈𝑦, 𝑥〉}) |
| 10 | 9 | unieqd 3927 | . . . . . . . 8 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ∪ ◡{𝑧} = ∪ ◡{〈𝑦, 𝑥〉}) |
| 11 | vex 2818 | . . . . . . . . 9 ⊢ 𝑦 ∈ V | |
| 12 | vex 2818 | . . . . . . . . 9 ⊢ 𝑥 ∈ V | |
| 13 | opswapg 5251 | . . . . . . . . 9 ⊢ ((𝑦 ∈ V ∧ 𝑥 ∈ V) → ∪ ◡{〈𝑦, 𝑥〉} = 〈𝑥, 𝑦〉) | |
| 14 | 11, 12, 13 | mp2an 426 | . . . . . . . 8 ⊢ ∪ ◡{〈𝑦, 𝑥〉} = 〈𝑥, 𝑦〉 |
| 15 | 10, 14 | eqtrdi 2283 | . . . . . . 7 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ∪ ◡{𝑧} = 〈𝑥, 𝑦〉) |
| 16 | 15 | mpompt 6147 | . . . . . 6 ⊢ (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧}) = (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) |
| 17 | 16 | eqcomi 2238 | . . . . 5 ⊢ (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) = (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧}) |
| 18 | 17 | a1i 9 | . . . 4 ⊢ (⊤ → (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) = (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧})) |
| 19 | 6, 7, 18, 15 | fmpoco 6414 | . . 3 ⊢ (⊤ → ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉)) |
| 20 | 19 | mptru 1407 | . 2 ⊢ ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉) |
| 21 | 2, 3, 20 | 3eqtr4ri 2266 | 1 ⊢ ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = ( I ↾ (𝑋 × 𝑌)) |
| Colors of variables: wff set class |
| Syntax hints: ∧ wa 104 = wceq 1398 ⊤wtru 1399 ∈ wcel 2205 Vcvv 2815 {csn 3691 〈cop 3694 ∪ cuni 3916 ↦ cmpt 4173 I cid 4411 × cxp 4749 ◡ccnv 4750 ↾ cres 4753 ∘ ccom 4755 ∈ cmpo 6054 |
| 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 717 ax-5 1496 ax-7 1497 ax-gen 1498 ax-ie1 1542 ax-ie2 1543 ax-8 1553 ax-10 1554 ax-11 1555 ax-i12 1556 ax-bndl 1558 ax-4 1559 ax-17 1575 ax-i9 1579 ax-ial 1583 ax-i5r 1584 ax-13 2207 ax-14 2208 ax-ext 2216 ax-sep 4230 ax-pow 4289 ax-pr 4324 ax-un 4556 |
| This theorem depends on definitions: df-bi 117 df-3an 1007 df-tru 1401 df-nf 1510 df-sb 1812 df-eu 2085 df-mo 2086 df-clab 2221 df-cleq 2227 df-clel 2230 df-nfc 2375 df-ral 2527 df-rex 2528 df-rab 2531 df-v 2817 df-sbc 3045 df-csb 3141 df-un 3217 df-in 3219 df-ss 3226 df-pw 3673 df-sn 3697 df-pr 3698 df-op 3700 df-uni 3917 df-iun 3995 df-br 4112 df-opab 4174 df-mpt 4175 df-id 4416 df-xp 4757 df-rel 4758 df-cnv 4759 df-co 4760 df-dm 4761 df-rn 4762 df-res 4763 df-ima 4764 df-iota 5314 df-fun 5356 df-fn 5357 df-f 5358 df-fv 5362 df-oprab 6056 df-mpo 6057 df-1st 6336 df-2nd 6337 |
| This theorem is referenced by: txswaphmeo 15203 |
| Copyright terms: Public domain | W3C validator |