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 45037
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 2895 . . . . 5 𝑤 𝑥𝐴
3 nfcv 2903 . . . . . 6 𝑤𝐵
43nfcri 2895 . . . . 5 𝑤 𝑦𝐵
52, 4nfan 1897 . . . 4 𝑤(𝑥𝐴𝑦𝐵)
6 cbvmpo2.3 . . . . 5 𝑤𝐶
76nfeq2 2921 . . . 4 𝑤 𝑢 = 𝐶
85, 7nfan 1897 . . 3 𝑤((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)
9 cbvmpo2.1 . . . . . 6 𝑦𝐴
109nfcri 2895 . . . . 5 𝑦 𝑥𝐴
11 nfv 1912 . . . . 5 𝑦 𝑤𝐵
1210, 11nfan 1897 . . . 4 𝑦(𝑥𝐴𝑤𝐵)
13 cbvmpo2.4 . . . . 5 𝑦𝐸
1413nfeq2 2921 . . . 4 𝑦 𝑢 = 𝐸
1512, 14nfan 1897 . . 3 𝑦((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)
16 eleq1w 2822 . . . . 5 (𝑦 = 𝑤 → (𝑦𝐵𝑤𝐵))
1716anbi2d 630 . . . 4 (𝑦 = 𝑤 → ((𝑥𝐴𝑦𝐵) ↔ (𝑥𝐴𝑤𝐵)))
18 cbvmpo2.5 . . . . 5 (𝑦 = 𝑤𝐶 = 𝐸)
1918eqeq2d 2746 . . . 4 (𝑦 = 𝑤 → (𝑢 = 𝐶𝑢 = 𝐸))
2017, 19anbi12d 632 . . 3 (𝑦 = 𝑤 → (((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶) ↔ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)))
218, 15, 20cbvoprab2 7521 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)} = {⟨⟨𝑥, 𝑤⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)}
22 df-mpo 7436 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)}
23 df-mpo 7436 . 2 (𝑥𝐴, 𝑤𝐵𝐸) = {⟨⟨𝑥, 𝑤⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)}
2421, 22, 233eqtr4i 2773 1 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑥𝐴, 𝑤𝐵𝐸)
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1537  wcel 2106  wnfc 2888  {coprab 7432  cmpo 7433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1908  ax-6 1965  ax-7 2005  ax-8 2108  ax-9 2116  ax-10 2139  ax-11 2155  ax-12 2175  ax-ext 2706
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1540  df-fal 1550  df-ex 1777  df-nf 1781  df-sb 2063  df-clab 2713  df-cleq 2727  df-clel 2814  df-nfc 2890  df-rab 3434  df-v 3480  df-dif 3966  df-un 3968  df-ss 3980  df-nul 4340  df-if 4532  df-sn 4632  df-pr 4634  df-op 4638  df-oprab 7435  df-mpo 7436
This theorem is referenced by:  smflimlem4  46730
  Copyright terms: Public domain W3C validator