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

Theorem sbievg 2362
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 1922 . . . . . 6 𝑦 𝑥 = 𝑤
2 sbievg.1 . . . . . 6 𝑦𝜑
31, 2nfim 1904 . . . . 5 𝑦(𝑥 = 𝑤𝜑)
4 nfv 1922 . . . . . 6 𝑥 𝑦 = 𝑤
5 sbievg.2 . . . . . 6 𝑥𝜓
64, 5nfim 1904 . . . . 5 𝑥(𝑦 = 𝑤𝜓)
7 equequ1 2033 . . . . . 6 (𝑥 = 𝑦 → (𝑥 = 𝑤𝑦 = 𝑤))
8 sbievg.3 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
97, 8imbi12d 348 . . . . 5 (𝑥 = 𝑦 → ((𝑥 = 𝑤𝜑) ↔ (𝑦 = 𝑤𝜓)))
103, 6, 9cbvalv1 2341 . . . 4 (∀𝑥(𝑥 = 𝑤𝜑) ↔ ∀𝑦(𝑦 = 𝑤𝜓))
1110imbi2i 339 . . 3 ((𝑤 = 𝑧 → ∀𝑥(𝑥 = 𝑤𝜑)) ↔ (𝑤 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)))
1211albii 1827 . 2 (∀𝑤(𝑤 = 𝑧 → ∀𝑥(𝑥 = 𝑤𝜑)) ↔ ∀𝑤(𝑤 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)))
13 df-sb 2071 . 2 ([𝑧 / 𝑥]𝜑 ↔ ∀𝑤(𝑤 = 𝑧 → ∀𝑥(𝑥 = 𝑤𝜑)))
14 df-sb 2071 . 2 ([𝑧 / 𝑦]𝜓 ↔ ∀𝑤(𝑤 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)))
1512, 13, 143bitr4i 306 1 ([𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wal 1541  wnf 1791  [wsb 2070
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-11 2158  ax-12 2175
This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1788  df-nf 1792  df-sb 2071
This theorem is referenced by:  cbvabw  2812
  Copyright terms: Public domain W3C validator