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

Theorem 2sb5 2276
Description: Equivalence for double substitution. (Contributed by NM, 3-Feb-2005.)
Assertion
Ref Expression
2sb5 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ 𝜑))
Distinct variable groups:   𝑥,𝑦,𝑧   𝑦,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem 2sb5
StepHypRef Expression
1 sb5 2272 . 2 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ ∃𝑥(𝑥 = 𝑧 ∧ [𝑤 / 𝑦]𝜑))
2 19.42v 1961 . . . 4 (∃𝑦(𝑥 = 𝑧 ∧ (𝑦 = 𝑤𝜑)) ↔ (𝑥 = 𝑧 ∧ ∃𝑦(𝑦 = 𝑤𝜑)))
3 anass 469 . . . . 5 (((𝑥 = 𝑧𝑦 = 𝑤) ∧ 𝜑) ↔ (𝑥 = 𝑧 ∧ (𝑦 = 𝑤𝜑)))
43exbii 1854 . . . 4 (∃𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ 𝜑) ↔ ∃𝑦(𝑥 = 𝑧 ∧ (𝑦 = 𝑤𝜑)))
5 sb5 2272 . . . . 5 ([𝑤 / 𝑦]𝜑 ↔ ∃𝑦(𝑦 = 𝑤𝜑))
65anbi2i 623 . . . 4 ((𝑥 = 𝑧 ∧ [𝑤 / 𝑦]𝜑) ↔ (𝑥 = 𝑧 ∧ ∃𝑦(𝑦 = 𝑤𝜑)))
72, 4, 63bitr4ri 304 . . 3 ((𝑥 = 𝑧 ∧ [𝑤 / 𝑦]𝜑) ↔ ∃𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ 𝜑))
87exbii 1854 . 2 (∃𝑥(𝑥 = 𝑧 ∧ [𝑤 / 𝑦]𝜑) ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ 𝜑))
91, 8bitri 274 1 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ ∃𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) ∧ 𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396  wex 1786  [wsb 2071
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-10 2141  ax-12 2175
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-ex 1787  df-nf 1791  df-sb 2072
This theorem is referenced by:  vopelopabsb  5445
  Copyright terms: Public domain W3C validator