MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cbvab Structured version   Visualization version   GIF version

Theorem cbvab 2746
Description: Rule used to change bound variables, using implicit substitution. (Contributed by Andrew Salmon, 11-Jul-2011.) (Proof shortened by Wolf Lammen, 16-Nov-2019.)
Hypotheses
Ref Expression
cbvab.1 𝑦𝜑
cbvab.2 𝑥𝜓
cbvab.3 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
cbvab {𝑥𝜑} = {𝑦𝜓}

Proof of Theorem cbvab
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 cbvab.1 . . . . 5 𝑦𝜑
21sbco2 2415 . . . 4 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑)
3 cbvab.2 . . . . . 6 𝑥𝜓
4 cbvab.3 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
53, 4sbie 2408 . . . . 5 ([𝑦 / 𝑥]𝜑𝜓)
65sbbii 1887 . . . 4 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
72, 6bitr3i 266 . . 3 ([𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
8 df-clab 2609 . . 3 (𝑧 ∈ {𝑥𝜑} ↔ [𝑧 / 𝑥]𝜑)
9 df-clab 2609 . . 3 (𝑧 ∈ {𝑦𝜓} ↔ [𝑧 / 𝑦]𝜓)
107, 8, 93bitr4i 292 . 2 (𝑧 ∈ {𝑥𝜑} ↔ 𝑧 ∈ {𝑦𝜓})
1110eqriv 2619 1 {𝑥𝜑} = {𝑦𝜓}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196   = wceq 1483  wnf 1708  [wsb 1880  wcel 1990  {cab 2608
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
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615
This theorem is referenced by:  cbvabv  2747  cbvrab  3198  cbvsbc  3464  cbvrabcsf  3568  rabsnifsb  4257  dfdmf  5317  dfrnf  5364  funfv2f  6267  abrexex2g  7144  abrexex2OLD  7150  bnj873  30994  ptrest  33408  poimirlem26  33435  poimirlem27  33436
  Copyright terms: Public domain W3C validator