| 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 6123 | . 2 ⊢ (𝑧 ∈ (𝑋 × 𝑌) ↦ 𝑧) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉) |
| 3 | mptresid 5073 | . 2 ⊢ ( I ↾ (𝑋 × 𝑌)) = (𝑧 ∈ (𝑋 × 𝑌) ↦ 𝑧) | |
| 4 | opelxpi 4763 | . . . . . 6 ⊢ ((𝑦 ∈ 𝑌 ∧ 𝑥 ∈ 𝑋) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) | |
| 5 | 4 | ancoms 268 | . . . . 5 ⊢ ((𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑌) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) |
| 6 | 5 | adantl 277 | . . . 4 ⊢ ((⊤ ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑌)) → 〈𝑦, 𝑥〉 ∈ (𝑌 × 𝑋)) |
| 7 | eqidd 2232 | . . . 4 ⊢ (⊤ → (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) | |
| 8 | sneq 3684 | . . . . . . . . . 10 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → {𝑧} = {〈𝑦, 𝑥〉}) | |
| 9 | 8 | cnveqd 4912 | . . . . . . . . 9 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ◡{𝑧} = ◡{〈𝑦, 𝑥〉}) |
| 10 | 9 | unieqd 3909 | . . . . . . . 8 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ∪ ◡{𝑧} = ∪ ◡{〈𝑦, 𝑥〉}) |
| 11 | vex 2806 | . . . . . . . . 9 ⊢ 𝑦 ∈ V | |
| 12 | vex 2806 | . . . . . . . . 9 ⊢ 𝑥 ∈ V | |
| 13 | opswapg 5230 | . . . . . . . . 9 ⊢ ((𝑦 ∈ V ∧ 𝑥 ∈ V) → ∪ ◡{〈𝑦, 𝑥〉} = 〈𝑥, 𝑦〉) | |
| 14 | 11, 12, 13 | mp2an 426 | . . . . . . . 8 ⊢ ∪ ◡{〈𝑦, 𝑥〉} = 〈𝑥, 𝑦〉 |
| 15 | 10, 14 | eqtrdi 2280 | . . . . . . 7 ⊢ (𝑧 = 〈𝑦, 𝑥〉 → ∪ ◡{𝑧} = 〈𝑥, 𝑦〉) |
| 16 | 15 | mpompt 6123 | . . . . . 6 ⊢ (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧}) = (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) |
| 17 | 16 | eqcomi 2235 | . . . . 5 ⊢ (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) = (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧}) |
| 18 | 17 | a1i 9 | . . . 4 ⊢ (⊤ → (𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) = (𝑧 ∈ (𝑌 × 𝑋) ↦ ∪ ◡{𝑧})) |
| 19 | 6, 7, 18, 15 | fmpoco 6390 | . . 3 ⊢ (⊤ → ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉)) |
| 20 | 19 | mptru 1407 | . 2 ⊢ ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑥, 𝑦〉) |
| 21 | 2, 3, 20 | 3eqtr4ri 2263 | 1 ⊢ ((𝑦 ∈ 𝑌, 𝑥 ∈ 𝑋 ↦ 〈𝑥, 𝑦〉) ∘ (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 〈𝑦, 𝑥〉)) = ( I ↾ (𝑋 × 𝑌)) |
| Colors of variables: wff set class |
| Syntax hints: ∧ wa 104 = wceq 1398 ⊤wtru 1399 ∈ wcel 2202 Vcvv 2803 {csn 3673 〈cop 3676 ∪ cuni 3898 ↦ cmpt 4155 I cid 4391 × cxp 4729 ◡ccnv 4730 ↾ cres 4733 ∘ ccom 4735 ∈ cmpo 6030 |
| 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 2204 ax-14 2205 ax-ext 2213 ax-sep 4212 ax-pow 4270 ax-pr 4305 ax-un 4536 |
| This theorem depends on definitions: df-bi 117 df-3an 1007 df-tru 1401 df-nf 1510 df-sb 1811 df-eu 2082 df-mo 2083 df-clab 2218 df-cleq 2224 df-clel 2227 df-nfc 2364 df-ral 2516 df-rex 2517 df-rab 2520 df-v 2805 df-sbc 3033 df-csb 3129 df-un 3205 df-in 3207 df-ss 3214 df-pw 3658 df-sn 3679 df-pr 3680 df-op 3682 df-uni 3899 df-iun 3977 df-br 4094 df-opab 4156 df-mpt 4157 df-id 4396 df-xp 4737 df-rel 4738 df-cnv 4739 df-co 4740 df-dm 4741 df-rn 4742 df-res 4743 df-ima 4744 df-iota 5293 df-fun 5335 df-fn 5336 df-f 5337 df-fv 5341 df-oprab 6032 df-mpo 6033 df-1st 6312 df-2nd 6313 |
| This theorem is referenced by: txswaphmeo 15132 |
| Copyright terms: Public domain | W3C validator |