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

Theorem sbel2x 2487
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 1883 . . 3 𝑦𝜑
2 nfv 1883 . . 3 𝑥𝜑
31, 22sb5rf 2479 . 2 (𝜑 ↔ ∃𝑦𝑥((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
4 ancom 465 . . . 4 ((𝑦 = 𝑤𝑥 = 𝑧) ↔ (𝑥 = 𝑧𝑦 = 𝑤))
54anbi1i 731 . . 3 (((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
652exbii 1815 . 2 (∃𝑦𝑥((𝑦 = 𝑤𝑥 = 𝑧) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ∃𝑦𝑥((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
7 excom 2082 . 2 (∃𝑦𝑥((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑) ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
83, 6, 73bitri 286 1 (𝜑 ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ [𝑦 / 𝑤][𝑥 / 𝑧]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 383  wex 1744  [wsb 1937
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator