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

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

Proof of Theorem 2sb6
StepHypRef Expression
1 sb6 2128 . 2 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜑))
2 19.21v 1976 . . . 4 (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤 → 𝜑)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤 → 𝜑)))
3 impexp 456 . . . . 5 (((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝜑) ↔ (𝑥 = 𝑧 → (𝑦 = 𝑤 → 𝜑)))
43albii 1854 . . . 4 (∀𝑦((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝜑) ↔ ∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤 → 𝜑)))
5 sb6 2128 . . . . 5 ([𝑤 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑤 → 𝜑))
65imbi2i 339 . . . 4 ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜑) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤 → 𝜑)))
72, 4, 63bitr4ri 307 . . 3 ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜑) ↔ ∀𝑦((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝜑))
87albii 1854 . 2 (∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜑) ↔ ∀𝑥∀𝑦((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝜑))
91, 8bitri 278 1 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ ∀𝑥∀𝑦((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570  [wsb 2104
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1815  df-sb 2105
This theorem is used by:  sbcom2  2216  2exsb  2396  2eu6  2690
  Copyright terms: Public domain W3C validator