ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mpoeq123 GIF version

Theorem mpoeq123 5838
Description: An equality theorem for the maps-to notation. (Contributed by Mario Carneiro, 16-Dec-2013.) (Revised by Mario Carneiro, 19-Mar-2015.)
Assertion
Ref Expression
mpoeq123 ((𝐴 = 𝐷 ∧ ∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)) → (𝑥𝐴, 𝑦𝐵𝐶) = (𝑥𝐷, 𝑦𝐸𝐹))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑦,𝐵   𝑥,𝐷,𝑦   𝑦,𝐸
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥,𝑦)   𝐸(𝑥)   𝐹(𝑥,𝑦)

Proof of Theorem mpoeq123
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfv 1509 . . . 4 𝑥 𝐴 = 𝐷
2 nfra1 2469 . . . 4 𝑥𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)
31, 2nfan 1545 . . 3 𝑥(𝐴 = 𝐷 ∧ ∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹))
4 nfv 1509 . . . 4 𝑦 𝐴 = 𝐷
5 nfcv 2282 . . . . 5 𝑦𝐴
6 nfv 1509 . . . . . 6 𝑦 𝐵 = 𝐸
7 nfra1 2469 . . . . . 6 𝑦𝑦𝐵 𝐶 = 𝐹
86, 7nfan 1545 . . . . 5 𝑦(𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)
95, 8nfralxy 2474 . . . 4 𝑦𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)
104, 9nfan 1545 . . 3 𝑦(𝐴 = 𝐷 ∧ ∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹))
11 nfv 1509 . . 3 𝑧(𝐴 = 𝐷 ∧ ∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹))
12 rsp 2483 . . . . . . 7 (∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹) → (𝑥𝐴 → (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)))
13 rsp 2483 . . . . . . . . . 10 (∀𝑦𝐵 𝐶 = 𝐹 → (𝑦𝐵𝐶 = 𝐹))
14 eqeq2 2150 . . . . . . . . . 10 (𝐶 = 𝐹 → (𝑧 = 𝐶𝑧 = 𝐹))
1513, 14syl6 33 . . . . . . . . 9 (∀𝑦𝐵 𝐶 = 𝐹 → (𝑦𝐵 → (𝑧 = 𝐶𝑧 = 𝐹)))
1615pm5.32d 446 . . . . . . . 8 (∀𝑦𝐵 𝐶 = 𝐹 → ((𝑦𝐵𝑧 = 𝐶) ↔ (𝑦𝐵𝑧 = 𝐹)))
17 eleq2 2204 . . . . . . . . 9 (𝐵 = 𝐸 → (𝑦𝐵𝑦𝐸))
1817anbi1d 461 . . . . . . . 8 (𝐵 = 𝐸 → ((𝑦𝐵𝑧 = 𝐹) ↔ (𝑦𝐸𝑧 = 𝐹)))
1916, 18sylan9bbr 459 . . . . . . 7 ((𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹) → ((𝑦𝐵𝑧 = 𝐶) ↔ (𝑦𝐸𝑧 = 𝐹)))
2012, 19syl6 33 . . . . . 6 (∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹) → (𝑥𝐴 → ((𝑦𝐵𝑧 = 𝐶) ↔ (𝑦𝐸𝑧 = 𝐹))))
2120pm5.32d 446 . . . . 5 (∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹) → ((𝑥𝐴 ∧ (𝑦𝐵𝑧 = 𝐶)) ↔ (𝑥𝐴 ∧ (𝑦𝐸𝑧 = 𝐹))))
22 eleq2 2204 . . . . . 6 (𝐴 = 𝐷 → (𝑥𝐴𝑥𝐷))
2322anbi1d 461 . . . . 5 (𝐴 = 𝐷 → ((𝑥𝐴 ∧ (𝑦𝐸𝑧 = 𝐹)) ↔ (𝑥𝐷 ∧ (𝑦𝐸𝑧 = 𝐹))))
2421, 23sylan9bbr 459 . . . 4 ((𝐴 = 𝐷 ∧ ∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)) → ((𝑥𝐴 ∧ (𝑦𝐵𝑧 = 𝐶)) ↔ (𝑥𝐷 ∧ (𝑦𝐸𝑧 = 𝐹))))
25 anass 399 . . . 4 (((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ↔ (𝑥𝐴 ∧ (𝑦𝐵𝑧 = 𝐶)))
26 anass 399 . . . 4 (((𝑥𝐷𝑦𝐸) ∧ 𝑧 = 𝐹) ↔ (𝑥𝐷 ∧ (𝑦𝐸𝑧 = 𝐹)))
2724, 25, 263bitr4g 222 . . 3 ((𝐴 = 𝐷 ∧ ∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)) → (((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥𝐷𝑦𝐸) ∧ 𝑧 = 𝐹)))
283, 10, 11, 27oprabbid 5832 . 2 ((𝐴 = 𝐷 ∧ ∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)) → {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐷𝑦𝐸) ∧ 𝑧 = 𝐹)})
29 df-mpo 5787 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)}
30 df-mpo 5787 . 2 (𝑥𝐷, 𝑦𝐸𝐹) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐷𝑦𝐸) ∧ 𝑧 = 𝐹)}
3128, 29, 303eqtr4g 2198 1 ((𝐴 = 𝐷 ∧ ∀𝑥𝐴 (𝐵 = 𝐸 ∧ ∀𝑦𝐵 𝐶 = 𝐹)) → (𝑥𝐴, 𝑦𝐵𝐶) = (𝑥𝐷, 𝑦𝐸𝐹))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1332  wcel 1481  wral 2417  {coprab 5783  cmpo 5784
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-11 1485  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-tru 1335  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-oprab 5786  df-mpo 5787
This theorem is referenced by:  mpoeq12  5839  mapxpen  6750
  Copyright terms: Public domain W3C validator