Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cbvmpo2 Structured version   Visualization version   GIF version

Theorem cbvmpo2 41733
Description: Rule to change the second bound variable in a maps-to function, using implicit substitution. (Contributed by Glauco Siliprandi, 26-Jun-2021.)
Hypotheses
Ref Expression
cbvmpo2.1 𝑦𝐴
cbvmpo2.2 𝑤𝐴
cbvmpo2.3 𝑤𝐶
cbvmpo2.4 𝑦𝐸
cbvmpo2.5 (𝑦 = 𝑤𝐶 = 𝐸)
Assertion
Ref Expression
cbvmpo2 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑥𝐴, 𝑤𝐵𝐸)
Distinct variable groups:   𝑤,𝐵,𝑦   𝑥,𝑤,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑤)   𝐵(𝑥)   𝐶(𝑥,𝑦,𝑤)   𝐸(𝑥,𝑦,𝑤)

Proof of Theorem cbvmpo2
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 cbvmpo2.2 . . . . . 6 𝑤𝐴
21nfcri 2943 . . . . 5 𝑤 𝑥𝐴
3 nfcv 2955 . . . . . 6 𝑤𝐵
43nfcri 2943 . . . . 5 𝑤 𝑦𝐵
52, 4nfan 1900 . . . 4 𝑤(𝑥𝐴𝑦𝐵)
6 cbvmpo2.3 . . . . 5 𝑤𝐶
76nfeq2 2972 . . . 4 𝑤 𝑢 = 𝐶
85, 7nfan 1900 . . 3 𝑤((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)
9 cbvmpo2.1 . . . . . 6 𝑦𝐴
109nfcri 2943 . . . . 5 𝑦 𝑥𝐴
11 nfv 1915 . . . . 5 𝑦 𝑤𝐵
1210, 11nfan 1900 . . . 4 𝑦(𝑥𝐴𝑤𝐵)
13 cbvmpo2.4 . . . . 5 𝑦𝐸
1413nfeq2 2972 . . . 4 𝑦 𝑢 = 𝐸
1512, 14nfan 1900 . . 3 𝑦((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)
16 eleq1w 2872 . . . . 5 (𝑦 = 𝑤 → (𝑦𝐵𝑤𝐵))
1716anbi2d 631 . . . 4 (𝑦 = 𝑤 → ((𝑥𝐴𝑦𝐵) ↔ (𝑥𝐴𝑤𝐵)))
18 cbvmpo2.5 . . . . 5 (𝑦 = 𝑤𝐶 = 𝐸)
1918eqeq2d 2809 . . . 4 (𝑦 = 𝑤 → (𝑢 = 𝐶𝑢 = 𝐸))
2017, 19anbi12d 633 . . 3 (𝑦 = 𝑤 → (((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶) ↔ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)))
218, 15, 20cbvoprab2 7221 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)} = {⟨⟨𝑥, 𝑤⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)}
22 df-mpo 7140 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)}
23 df-mpo 7140 . 2 (𝑥𝐴, 𝑤𝐵𝐸) = {⟨⟨𝑥, 𝑤⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)}
2421, 22, 233eqtr4i 2831 1 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑥𝐴, 𝑤𝐵𝐸)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  wnfc 2936  {coprab 7136  cmpo 7137
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-v 3443  df-un 3886  df-sn 4526  df-pr 4528  df-op 4532  df-oprab 7139  df-mpo 7140
This theorem is referenced by:  smflimlem4  43407
  Copyright terms: Public domain W3C validator