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 45639
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 2915 . . . . 5 𝑤 𝑥𝐴
3 nfcv 2923 . . . . . 6 𝑤𝐵
43nfcri 2915 . . . . 5 𝑤 𝑦𝐵
52, 4nfan 1918 . . . 4 𝑤(𝑥𝐴𝑦𝐵)
6 cbvmpo2.3 . . . . 5 𝑤𝐶
76nfeq2 2940 . . . 4 𝑤 𝑢 = 𝐶
85, 7nfan 1918 . . 3 𝑤((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)
9 cbvmpo2.1 . . . . . 6 𝑦𝐴
109nfcri 2915 . . . . 5 𝑦 𝑥𝐴
11 nfv 1933 . . . . 5 𝑦 𝑤𝐵
1210, 11nfan 1918 . . . 4 𝑦(𝑥𝐴𝑤𝐵)
13 cbvmpo2.4 . . . . 5 𝑦𝐸
1413nfeq2 2940 . . . 4 𝑦 𝑢 = 𝐸
1512, 14nfan 1918 . . 3 𝑦((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)
16 eleq1w 2844 . . . . 5 (𝑦 = 𝑤 → (𝑦𝐵𝑤𝐵))
1716anbi2d 639 . . . 4 (𝑦 = 𝑤 → ((𝑥𝐴𝑦𝐵) ↔ (𝑥𝐴𝑤𝐵)))
18 cbvmpo2.5 . . . . 5 (𝑦 = 𝑤𝐶 = 𝐸)
1918eqeq2d 2772 . . . 4 (𝑦 = 𝑤 → (𝑢 = 𝐶𝑢 = 𝐸))
2017, 19anbi12d 641 . . 3 (𝑦 = 𝑤 → (((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶) ↔ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)))
218, 15, 20cbvoprab2 7480 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)} = {⟨⟨𝑥, 𝑤⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)}
22 df-mpo 7397 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)}
23 df-mpo 7397 . 2 (𝑥𝐴, 𝑤𝐵𝐸) = {⟨⟨𝑥, 𝑤⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑤𝐵) ∧ 𝑢 = 𝐸)}
2421, 22, 233eqtr4i 2794 1 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑥𝐴, 𝑤𝐵𝐸)
Colors of variables: wff setvar class
Syntax hints:  wa 399   = wceq 1559  wcel 2141  wnfc 2908  {coprab 7393  cmpo 7394
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-rab 3414  df-v 3455  df-dif 3907  df-un 3909  df-ss 3921  df-nul 4286  df-if 4480  df-sn 4582  df-pr 4584  df-op 4588  df-oprab 7396  df-mpo 7397
This theorem is referenced by:  smflimlem4  47312
  Copyright terms: Public domain W3C validator