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

Theorem sbel2x 2447
Description: Elimination of double substitution. (Contributed by NM, 5-Aug-1993.) (Proof shortened by Wolf Lammen, 29-Sep-2018.)
Assertion
Ref Expression
sbel2x (𝜑 ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
Distinct variable group:   𝑥,𝑦,𝜑
Allowed substitution hints:   𝜑(𝑧,𝑤)

Proof of Theorem sbel2x
StepHypRef Expression
1 nfv 1830 . . 3 𝑦𝜑
2 nfv 1830 . . 3 𝑥𝜑
31, 22sb5rf 2439 . 2 (𝜑 ↔ ∃𝑦𝑥((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
4 ancom 465 . . . 4 ((𝑦 = 𝑤𝑥 = 𝑧) ↔ (𝑥 = 𝑧𝑦 = 𝑤))
54anbi1i 727 . . 3 (((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
652exbii 1765 . 2 (∃𝑦𝑥((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ∃𝑦𝑥((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
7 excom 2029 . 2 (∃𝑦𝑥((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
83, 6, 73bitri 285 1 (𝜑 ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 195  wa 383  wex 1695  [wsb 1867
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator