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 2150 | . . . 4 ⊢ Ⅎ𝑥∀𝑥 𝐴 = 𝐶 | |
2 | nfra1 3142 | . . . 4 ⊢ Ⅎ𝑥∀𝑥 ∈ 𝐴 𝐵 = 𝐷 | |
3 | 1, 2 | nfan 1903 | . . 3 ⊢ Ⅎ𝑥(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) |
4 | nfv 1918 | . . 3 ⊢ Ⅎ𝑦(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) | |
5 | rspa 3130 | . . . . . 6 ⊢ ((∀𝑥 ∈ 𝐴 𝐵 = 𝐷 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐷) | |
6 | 5 | eqeq2d 2749 | . . . . 5 ⊢ ((∀𝑥 ∈ 𝐴 𝐵 = 𝐷 ∧ 𝑥 ∈ 𝐴) → (𝑦 = 𝐵 ↔ 𝑦 = 𝐷)) |
7 | 6 | pm5.32da 578 | . . . 4 ⊢ (∀𝑥 ∈ 𝐴 𝐵 = 𝐷 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷))) |
8 | sp 2178 | . . . . . 6 ⊢ (∀𝑥 𝐴 = 𝐶 → 𝐴 = 𝐶) | |
9 | 8 | eleq2d 2824 | . . . . 5 ⊢ (∀𝑥 𝐴 = 𝐶 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐶)) |
10 | 9 | anbi1d 629 | . . . 4 ⊢ (∀𝑥 𝐴 = 𝐶 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷))) |
11 | 7, 10 | sylan9bbr 510 | . . 3 ⊢ ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷))) |
12 | 3, 4, 11 | opabbid 5135 | . 2 ⊢ ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) → {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)}) |
13 | df-mpt 5154 | . 2 ⊢ (𝑥 ∈ 𝐴 ↦ 𝐵) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} | |
14 | df-mpt 5154 | . 2 ⊢ (𝑥 ∈ 𝐶 ↦ 𝐷) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)} | |
15 | 12, 13, 14 | 3eqtr4g 2804 | 1 ⊢ ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐷) → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 395 ∀wal 1537 = wceq 1539 ∈ wcel 2108 ∀wral 3063 {copab 5132 ↦ cmpt 5153 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1799 ax-4 1813 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2110 ax-9 2118 ax-10 2139 ax-12 2173 ax-ext 2709 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-tru 1542 df-ex 1784 df-nf 1788 df-sb 2069 df-clab 2716 df-cleq 2730 df-clel 2817 df-ral 3068 df-opab 5133 df-mpt 5154 |
This theorem is referenced by: mpteq12dvaOLD 5160 mpteq12 5162 mpteq2daOLD 5169 mpteq2iaOLD 5174 esumeq12dvaf 31899 refsum2cnlem1 42469 mpteq1dfOLD 42669 mpteq12daOLD 42676 smfinflem 44237 smfinfmpt 44239 |
Copyright terms: Public domain | W3C validator |