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

Theorem sbel2x 2459
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 1843 . . 3 𝑦𝜑
2 nfv 1843 . . 3 𝑥𝜑
31, 22sb5rf 2451 . 2 (𝜑 ↔ ∃𝑦𝑥((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
4 ancom 466 . . . 4 ((𝑦 = 𝑤𝑥 = 𝑧) ↔ (𝑥 = 𝑧𝑦 = 𝑤))
54anbi1i 731 . . 3 (((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
652exbii 1775 . 2 (∃𝑦𝑥((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ∃𝑦𝑥((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
7 excom 2042 . 2 (∃𝑦𝑥((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
83, 6, 73bitri 286 1 (𝜑 ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384  wex 1704  [wsb 1880
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-10 2019  ax-11 2034  ax-12 2047  ax-13 2246
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
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator