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

Theorem cbvmpox 7514
Description: Rule to change the bound variable in a maps-to function, using implicit substitution. This version of cbvmpo 7515 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 1946 . . . . 5 Ⅎ𝑧 𝑥 ∈ 𝐴
2 cbvmpox.1 . . . . . 6 Ⅎ𝑧𝐵
32nfcri 2914 . . . . 5 Ⅎ𝑧 𝑦 ∈ 𝐵
41, 3nfan 1931 . . . 4 Ⅎ𝑧(𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)
5 cbvmpox.3 . . . . 5 Ⅎ𝑧𝐶
65nfeq2 2939 . . . 4 Ⅎ𝑧 𝑢 = 𝐶
74, 6nfan 1931 . . 3 Ⅎ𝑧((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)
8 nfv 1946 . . . . 5 Ⅎ𝑤 𝑥 ∈ 𝐴
9 nfcv 2922 . . . . . 6 Ⅎ𝑤𝐵
109nfcri 2914 . . . . 5 Ⅎ𝑤 𝑦 ∈ 𝐵
118, 10nfan 1931 . . . 4 Ⅎ𝑤(𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)
12 cbvmpox.4 . . . . 5 Ⅎ𝑤𝐶
1312nfeq2 2939 . . . 4 Ⅎ𝑤 𝑢 = 𝐶
1411, 13nfan 1931 . . 3 Ⅎ𝑤((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)
15 nfv 1946 . . . . 5 Ⅎ𝑥 𝑧 ∈ 𝐴
16 cbvmpox.2 . . . . . 6 Ⅎ𝑥𝐷
1716nfcri 2914 . . . . 5 Ⅎ𝑥 𝑤 ∈ 𝐷
1815, 17nfan 1931 . . . 4 Ⅎ𝑥(𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷)
19 cbvmpox.5 . . . . 5 Ⅎ𝑥𝐸
2019nfeq2 2939 . . . 4 Ⅎ𝑥 𝑢 = 𝐸
2118, 20nfan 1931 . . 3 Ⅎ𝑥((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)
22 nfv 1946 . . . 4 Ⅎ𝑦(𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷)
23 cbvmpox.6 . . . . 5 Ⅎ𝑦𝐸
2423nfeq2 2939 . . . 4 Ⅎ𝑦 𝑢 = 𝐸
2522, 24nfan 1931 . . 3 Ⅎ𝑦((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)
26 eleq1w 2843 . . . . . 6 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
2726adantr 486 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
28 cbvmpox.7 . . . . . . 7 (𝑥 = 𝑧 → 𝐵 = 𝐷)
2928eleq2d 2846 . . . . . 6 (𝑥 = 𝑧 → (𝑦 ∈ 𝐵 ↔ 𝑦 ∈ 𝐷))
30 eleq1w 2843 . . . . . 6 (𝑦 = 𝑤 → (𝑦 ∈ 𝐷 ↔ 𝑤 ∈ 𝐷))
3129, 30sylan9bb 519 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ 𝐷))
3227, 31anbi12d 644 . . . 4 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷)))
33 cbvmpox.8 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝐶 = 𝐸)
3433eqeq2d 2771 . . . 4 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑢 = 𝐶 ↔ 𝑢 = 𝐸))
3532, 34anbi12d 644 . . 3 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶) ↔ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)))
367, 14, 21, 25, 35cbvoprab12 7510 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)} = {⟨⟨𝑧, 𝑤⟩, 𝑢⟩ ∣ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)}
37 df-mpo 7426 . 2 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)}
38 df-mpo 7426 . 2 (𝑧 ∈ 𝐴, 𝑤 ∈ 𝐷 ↦ 𝐸) = {⟨⟨𝑧, 𝑤⟩, 𝑢⟩ ∣ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐷) ∧ 𝑢 = 𝐸)}
3936, 37, 383eqtr4i 2793 1 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ 𝐴, 𝑤 ∈ 𝐷 ↦ 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Ⅎwnfc 2907  {coprab 7422   ∈ cmpo 7423
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-opab 5167  df-oprab 7425  df-mpo 7426
This theorem is used by:  cbvmpo  7515  mpomptsx  8076  dmmpossx  8078  gsumcom2  20195  ptcmpg  24382
  Copyright terms: Public domain W3C validator