Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > mpteq12f | Structured version Visualization version GIF version |
Description: An equality theorem for the maps-to notation. (Contributed by Mario Carneiro, 16-Dec-2013.) |
Ref | Expression |
---|---|
mpteq12f | ⊢ ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nfa1 2155 | . . . 4 ⊢ Ⅎ𝑥∀𝑥 𝐴 = 𝐶 | |
2 | nfra1 3221 | . . . 4 ⊢ Ⅎ𝑥∀𝑥 ∈ 𝐴 𝐵 = 𝐷 | |
3 | 1, 2 | nfan 1900 | . . 3 ⊢ Ⅎ𝑥(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) |
4 | nfv 1915 | . . 3 ⊢ Ⅎ𝑦(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) | |
5 | rspa 3208 | . . . . . 6 ⊢ ((∀𝑥 ∈ 𝐴 𝐵 = 𝐷 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐷) | |
6 | 5 | eqeq2d 2834 | . . . . 5 ⊢ ((∀𝑥 ∈ 𝐴 𝐵 = 𝐷 ∧ 𝑥 ∈ 𝐴) → (𝑦 = 𝐵 ↔ 𝑦 = 𝐷)) |
7 | 6 | pm5.32da 581 | . . . 4 ⊢ (∀𝑥 ∈ 𝐴 𝐵 = 𝐷 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷))) |
8 | sp 2182 | . . . . . 6 ⊢ (∀𝑥 𝐴 = 𝐶 → 𝐴 = 𝐶) | |
9 | 8 | eleq2d 2900 | . . . . 5 ⊢ (∀𝑥 𝐴 = 𝐶 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐶)) |
10 | 9 | anbi1d 631 | . . . 4 ⊢ (∀𝑥 𝐴 = 𝐶 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷))) |
11 | 7, 10 | sylan9bbr 513 | . . 3 ⊢ ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷))) |
12 | 3, 4, 11 | opabbid 5133 | . 2 ⊢ ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) → {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)}) |
13 | df-mpt 5149 | . 2 ⊢ (𝑥 ∈ 𝐴 ↦ 𝐵) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} | |
14 | df-mpt 5149 | . 2 ⊢ (𝑥 ∈ 𝐶 ↦ 𝐷) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)} | |
15 | 12, 13, 14 | 3eqtr4g 2883 | 1 ⊢ ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 398 ∀wal 1535 = wceq 1537 ∈ wcel 2114 ∀wral 3140 {copab 5130 ↦ cmpt 5148 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1970 ax-7 2015 ax-8 2116 ax-9 2124 ax-10 2145 ax-12 2177 ax-ext 2795 |
This theorem depends on definitions: df-bi 209 df-an 399 df-or 844 df-tru 1540 df-ex 1781 df-nf 1785 df-sb 2070 df-clab 2802 df-cleq 2816 df-clel 2895 df-ral 3145 df-opab 5131 df-mpt 5149 |
This theorem is referenced by: mpteq12dva 5152 mpteq12 5155 mpteq2ia 5159 mpteq2da 5162 esumeq12dvaf 31292 refsum2cnlem1 41301 mpteq1df 41513 mpteq12da 41520 smfsupmpt 43096 smfinflem 43098 smfinfmpt 43100 |
Copyright terms: Public domain | W3C validator |