MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cbvmpox Structured version   Visualization version   GIF version

Theorem cbvmpox 7505
Description: Rule to change the bound variable in a maps-to function, using implicit substitution. This version of cbvmpo 7506 allows 𝐵 to be a function of 𝑥. (Contributed by NM, 29-Dec-2014.)
Hypotheses
Ref Expression
cbvmpox.1 Ⅎ𝑧𝐵
cbvmpox.2 Ⅎ𝑥𝐷
cbvmpox.3 Ⅎ𝑧𝐶
cbvmpox.4 Ⅎ𝑤𝐶
cbvmpox.5 Ⅎ𝑥𝐸
cbvmpox.6 Ⅎ𝑦𝐸
cbvmpox.7 (𝑥 = 𝑧 → 𝐵 = 𝐷)
cbvmpox.8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝐶 = 𝐸)
Assertion
Ref Expression
cbvmpox (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ 𝐴, 𝑤 ∈ 𝐷 ↦ 𝐸)
Distinct variable groups:   𝑥,𝑤,𝑦,𝑧,𝐴   𝑤,𝐵   𝑦,𝐷
Allowed substitution hints:   𝐵(𝑥, 𝑦, 𝑧)   𝐶(𝑥, 𝑦, 𝑧, 𝑤)   𝐷(𝑥, 𝑧, 𝑤)   𝐸(𝑥, 𝑦, 𝑧, 𝑤)

Proof of Theorem cbvmpox
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 nfv 1947 . . . . 5 Ⅎ𝑧 𝑥 ∈ 𝐴
2 cbvmpox.1 . . . . . 6 Ⅎ𝑧𝐵
32nfcri 2915 . . . . 5 Ⅎ𝑧 𝑦 ∈ 𝐵
41, 3nfan 1932 . . . 4 Ⅎ𝑧(𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)
5 cbvmpox.3 . . . . 5 Ⅎ𝑧𝐶
65nfeq2 2940 . . . 4 Ⅎ𝑧 𝑢 = 𝐶
74, 6nfan 1932 . . 3 Ⅎ𝑧((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)
8 nfv 1947 . . . . 5 Ⅎ𝑤 𝑥 ∈ 𝐴
9 nfcv 2923 . . . . . 6 Ⅎ𝑤𝐵
109nfcri 2915 . . . . 5 Ⅎ𝑤 𝑦 ∈ 𝐵
118, 10nfan 1932 . . . 4 Ⅎ𝑤(𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)
12 cbvmpox.4 . . . . 5 Ⅎ𝑤𝐶
1312nfeq2 2940 . . . 4 Ⅎ𝑤 𝑢 = 𝐶
1411, 13nfan 1932 . . 3 Ⅎ𝑤((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)
15 nfv 1947 . . . . 5 Ⅎ𝑥 𝑧 ∈ 𝐴
16 cbvmpox.2 . . . . . 6 Ⅎ𝑥𝐷
1716nfcri 2915 . . . . 5 Ⅎ𝑥 𝑤 ∈ 𝐷
1815, 17nfan 1932 . . . 4 Ⅎ𝑥(𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷)
19 cbvmpox.5 . . . . 5 Ⅎ𝑥𝐸
2019nfeq2 2940 . . . 4 Ⅎ𝑥 𝑢 = 𝐸
2118, 20nfan 1932 . . 3 Ⅎ𝑥((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)
22 nfv 1947 . . . 4 Ⅎ𝑦(𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷)
23 cbvmpox.6 . . . . 5 Ⅎ𝑦𝐸
2423nfeq2 2940 . . . 4 Ⅎ𝑦 𝑢 = 𝐸
2522, 24nfan 1932 . . 3 Ⅎ𝑦((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)
26 eleq1w 2844 . . . . . 6 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
2726adantr 486 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
28 cbvmpox.7 . . . . . . 7 (𝑥 = 𝑧 → 𝐵 = 𝐷)
2928eleq2d 2847 . . . . . 6 (𝑥 = 𝑧 → (𝑦 ∈ 𝐵 ↔ 𝑦 ∈ 𝐷))
30 eleq1w 2844 . . . . . 6 (𝑦 = 𝑤 → (𝑦 ∈ 𝐷 ↔ 𝑤 ∈ 𝐷))
3129, 30sylan9bb 519 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ 𝐷))
3227, 31anbi12d 644 . . . 4 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷)))
33 cbvmpox.8 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝐶 = 𝐸)
3433eqeq2d 2772 . . . 4 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑢 = 𝐶 ↔ 𝑢 = 𝐸))
3532, 34anbi12d 644 . . 3 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶) ↔ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)))
367, 14, 21, 25, 35cbvoprab12 7501 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)} = {⟨⟨𝑧, 𝑤⟩, 𝑢⟩ ∣ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)}
37 df-mpo 7417 . 2 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)}
38 df-mpo 7417 . 2 (𝑧 ∈ 𝐴, 𝑤 ∈ 𝐷 ↦ 𝐸) = {⟨⟨𝑧, 𝑤⟩, 𝑢⟩ ∣ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)}
3936, 37, 383eqtr4i 2794 1 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ 𝐴, 𝑤 ∈ 𝐷 ↦ 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Ⅎwnfc 2908  {coprab 7413   ∈ cmpo 7414
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-opab 5168  df-oprab 7416  df-mpo 7417
This theorem is used by:  cbvmpo  7506  mpomptsx  8064  dmmpossx  8066  gsumcom2  20169  ptcmpg  24356
  Copyright terms: Public domain W3C validator