Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cbvmpox2 Structured version   Visualization version   GIF version

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

Proof of Theorem cbvmpox2
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 nfv 1948 . . . . 5 Ⅎ𝑤 𝑥 ∈ 𝐴
2 nfv 1948 . . . . 5 Ⅎ𝑤 𝑦 ∈ 𝐵
31, 2nfan 1933 . . . 4 Ⅎ𝑤(𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)
4 cbvmpox2.4 . . . . 5 Ⅎ𝑤𝐶
54nfeq2 2942 . . . 4 Ⅎ𝑤 𝑢 = 𝐶
63, 5nfan 1933 . . 3 Ⅎ𝑤((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)
7 cbvmpox2.1 . . . . . 6 Ⅎ𝑧𝐴
87nfcri 2917 . . . . 5 Ⅎ𝑧 𝑥 ∈ 𝐴
9 nfv 1948 . . . . 5 Ⅎ𝑧 𝑦 ∈ 𝐵
108, 9nfan 1933 . . . 4 Ⅎ𝑧(𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)
11 cbvmpox2.3 . . . . 5 Ⅎ𝑧𝐶
1211nfeq2 2942 . . . 4 Ⅎ𝑧 𝑢 = 𝐶
1310, 12nfan 1933 . . 3 Ⅎ𝑧((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)
14 nfv 1948 . . . . 5 Ⅎ𝑥 𝑤 ∈ 𝐷
15 nfv 1948 . . . . 5 Ⅎ𝑥 𝑧 ∈ 𝐵
1614, 15nfan 1933 . . . 4 Ⅎ𝑥(𝑤 ∈ 𝐷 ∧ 𝑧 ∈ 𝐵)
17 cbvmpox2.5 . . . . 5 Ⅎ𝑥𝐸
1817nfeq2 2942 . . . 4 Ⅎ𝑥 𝑢 = 𝐸
1916, 18nfan 1933 . . 3 Ⅎ𝑥((𝑤 ∈ 𝐷 ∧ 𝑧 ∈ 𝐵) ∧ 𝑢 = 𝐸)
20 cbvmpox2.2 . . . . . 6 Ⅎ𝑦𝐷
2120nfcri 2917 . . . . 5 Ⅎ𝑦 𝑤 ∈ 𝐷
22 nfv 1948 . . . . 5 Ⅎ𝑦 𝑧 ∈ 𝐵
2321, 22nfan 1933 . . . 4 Ⅎ𝑦(𝑤 ∈ 𝐷 ∧ 𝑧 ∈ 𝐵)
24 cbvmpox2.6 . . . . 5 Ⅎ𝑦𝐸
2524nfeq2 2942 . . . 4 Ⅎ𝑦 𝑢 = 𝐸
2623, 25nfan 1933 . . 3 Ⅎ𝑦((𝑤 ∈ 𝐷 ∧ 𝑧 ∈ 𝐵) ∧ 𝑢 = 𝐸)
27 eleq1w 2846 . . . . . 6 (𝑥 = 𝑤 → (𝑥 ∈ 𝐴 ↔ 𝑤 ∈ 𝐴))
28 cbvmpox2.7 . . . . . . 7 (𝑦 = 𝑧 → 𝐴 = 𝐷)
2928eleq2d 2849 . . . . . 6 (𝑦 = 𝑧 → (𝑤 ∈ 𝐴 ↔ 𝑤 ∈ 𝐷))
3027, 29sylan9bb 519 . . . . 5 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → (𝑥 ∈ 𝐴 ↔ 𝑤 ∈ 𝐷))
31 simpr 490 . . . . . 6 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → 𝑦 = 𝑧)
3231eleq1d 2848 . . . . 5 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → (𝑦 ∈ 𝐵 ↔ 𝑧 ∈ 𝐵))
3330, 32anbi12d 644 . . . 4 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝑤 ∈ 𝐷 ∧ 𝑧 ∈ 𝐵)))
34 cbvmpox2.8 . . . . . 6 ((𝑦 = 𝑧 ∧ 𝑥 = 𝑤) → 𝐶 = 𝐸)
3534ancoms 464 . . . . 5 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → 𝐶 = 𝐸)
3635eqeq2d 2774 . . . 4 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → (𝑢 = 𝐶 ↔ 𝑢 = 𝐸))
3733, 36anbi12d 644 . . 3 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶) ↔ ((𝑤 ∈ 𝐷 ∧ 𝑧 ∈ 𝐵) ∧ 𝑢 = 𝐸)))
386, 13, 19, 26, 37cbvoprab12 7516 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)} = {⟨⟨𝑤, 𝑧⟩, 𝑢⟩ ∣ ((𝑤 ∈ 𝐷 ∧ 𝑧 ∈ 𝐵) ∧ 𝑢 = 𝐸)}
39 df-mpo 7432 . 2 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑢 = 𝐶)}
40 df-mpo 7432 . 2 (𝑤 ∈ 𝐷, 𝑧 ∈ 𝐵 ↦ 𝐸) = {⟨⟨𝑤, 𝑧⟩, 𝑢⟩ ∣ ((𝑤 ∈ 𝐷 ∧ 𝑧 ∈ 𝐵) ∧ 𝑢 = 𝐸)}
4138, 39, 403eqtr4i 2796 1 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑤 ∈ 𝐷, 𝑧 ∈ 𝐵 ↦ 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146  Ⅎwnfc 2910  {coprab 7428   ∈ cmpo 7429
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-pr 5394
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 2101  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-opab 5170  df-oprab 7431  df-mpo 7432
This theorem is used by:  dmmpossx2  49588
  Copyright terms: Public domain W3C validator