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

Theorem sbievg 2361
Description: Substitution applied to expressions linked by implicit substitution. The proof was part of a former cbvabw 2812 version. (Contributed by GG and WL, 26-Oct-2024.)
Hypotheses
Ref Expression
sbievg.1 𝑦𝜑
sbievg.2 𝑥𝜓
sbievg.3 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
sbievg ([𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝜓(𝑥,𝑦,𝑧)

Proof of Theorem sbievg
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 nfv 1917 . . . . . 6 𝑦 𝑥 = 𝑤
2 sbievg.1 . . . . . 6 𝑦𝜑
31, 2nfim 1899 . . . . 5 𝑦(𝑥 = 𝑤𝜑)
4 nfv 1917 . . . . . 6 𝑥 𝑦 = 𝑤
5 sbievg.2 . . . . . 6 𝑥𝜓
64, 5nfim 1899 . . . . 5 𝑥(𝑦 = 𝑤𝜓)
7 equequ1 2028 . . . . . 6 (𝑥 = 𝑦 → (𝑥 = 𝑤𝑦 = 𝑤))
8 sbievg.3 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
97, 8imbi12d 345 . . . . 5 (𝑥 = 𝑦 → ((𝑥 = 𝑤𝜑) ↔ (𝑦 = 𝑤𝜓)))
103, 6, 9cbvalv1 2338 . . . 4 (∀𝑥(𝑥 = 𝑤𝜑) ↔ ∀𝑦(𝑦 = 𝑤𝜓))
1110imbi2i 336 . . 3 ((𝑤 = 𝑧 → ∀𝑥(𝑥 = 𝑤𝜑)) ↔ (𝑤 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)))
1211albii 1822 . 2 (∀𝑤(𝑤 = 𝑧 → ∀𝑥(𝑥 = 𝑤𝜑)) ↔ ∀𝑤(𝑤 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)))
13 df-sb 2068 . 2 ([𝑧 / 𝑥]𝜑 ↔ ∀𝑤(𝑤 = 𝑧 → ∀𝑥(𝑥 = 𝑤𝜑)))
14 df-sb 2068 . 2 ([𝑧 / 𝑦]𝜓 ↔ ∀𝑤(𝑤 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)))
1512, 13, 143bitr4i 303 1 ([𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wal 1537  wnf 1786  [wsb 2067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-11 2154  ax-12 2171
This theorem depends on definitions:  df-bi 206  df-an 397  df-ex 1783  df-nf 1787  df-sb 2068
This theorem is referenced by:  cbvabw  2812
  Copyright terms: Public domain W3C validator