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

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

Proof of Theorem cbvmpt21
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 nfv 1843 . . . . 5 𝑧 𝑥𝐴
2 cbvmpt21.2 . . . . . 6 𝑧𝐵
32nfcri 2758 . . . . 5 𝑧 𝑦𝐵
41, 3nfan 1828 . . . 4 𝑧(𝑥𝐴𝑦𝐵)
5 cbvmpt21.3 . . . . 5 𝑧𝐶
65nfeq2 2780 . . . 4 𝑧 𝑢 = 𝐶
74, 6nfan 1828 . . 3 𝑧((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)
8 nfv 1843 . . . . 5 𝑥 𝑧𝐴
9 nfcv 2764 . . . . . 6 𝑥𝑦
10 cbvmpt21.1 . . . . . 6 𝑥𝐵
119, 10nfel 2777 . . . . 5 𝑥 𝑦𝐵
128, 11nfan 1828 . . . 4 𝑥(𝑧𝐴𝑦𝐵)
13 cbvmpt21.4 . . . . 5 𝑥𝐸
1413nfeq2 2780 . . . 4 𝑥 𝑢 = 𝐸
1512, 14nfan 1828 . . 3 𝑥((𝑧𝐴𝑦𝐵) ∧ 𝑢 = 𝐸)
16 eleq1 2689 . . . . 5 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝐴))
1716anbi1d 741 . . . 4 (𝑥 = 𝑧 → ((𝑥𝐴𝑦𝐵) ↔ (𝑧𝐴𝑦𝐵)))
18 cbvmpt21.5 . . . . 5 (𝑥 = 𝑧𝐶 = 𝐸)
1918eqeq2d 2632 . . . 4 (𝑥 = 𝑧 → (𝑢 = 𝐶𝑢 = 𝐸))
2017, 19anbi12d 747 . . 3 (𝑥 = 𝑧 → (((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶) ↔ ((𝑧𝐴𝑦𝐵) ∧ 𝑢 = 𝐸)))
217, 15, 20cbvoprab1 6727 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)} = {⟨⟨𝑧, 𝑦⟩, 𝑢⟩ ∣ ((𝑧𝐴𝑦𝐵) ∧ 𝑢 = 𝐸)}
22 df-mpt2 6655 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑢 = 𝐶)}
23 df-mpt2 6655 . 2 (𝑧𝐴, 𝑦𝐵𝐸) = {⟨⟨𝑧, 𝑦⟩, 𝑢⟩ ∣ ((𝑧𝐴𝑦𝐵) ∧ 𝑢 = 𝐸)}
2421, 22, 233eqtr4i 2654 1 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧𝐴, 𝑦𝐵𝐸)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1483  wcel 1990  wnfc 2751  {coprab 6651  cmpt2 6652
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-opab 4713  df-oprab 6654  df-mpt2 6655
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator