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

Theorem sbel2x 2491
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 1906 . . 3 𝑦𝜑
2 nfv 1906 . . 3 𝑥𝜑
31, 22sb5rf 2488 . 2 (𝜑 ↔ ∃𝑦𝑥((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
4 ancom 461 . . . 4 ((𝑦 = 𝑤𝑥 = 𝑧) ↔ (𝑥 = 𝑧𝑦 = 𝑤))
54anbi1i 623 . . 3 (((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
652exbii 1840 . 2 (∃𝑦𝑥((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ∃𝑦𝑥((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
7 excom 2159 . 2 (∃𝑦𝑥((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
83, 6, 73bitri 298 1 (𝜑 ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 207  wa 396  wex 1771  [wsb 2060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-10 2136  ax-11 2151  ax-12 2167  ax-13 2381
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator