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

Theorem dfsb2 2532
Description: An alternate definition of proper substitution that, like dfsb1 2510, mixes free and bound variables to avoid distinct variable requirements. Usage of this theorem is discouraged because it depends on ax-13 2390. (Contributed by NM, 17-Feb-2005.) (New usage is discouraged.)
Assertion
Ref Expression
dfsb2 ([𝑦 / 𝑥]𝜑 ↔ ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))

Proof of Theorem dfsb2
StepHypRef Expression
1 sp 2182 . . . 4 (∀𝑥 𝑥 = 𝑦𝑥 = 𝑦)
2 sbequ2 2250 . . . . 5 (𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑𝜑))
32sps 2184 . . . 4 (∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑𝜑))
4 orc 863 . . . 4 ((𝑥 = 𝑦𝜑) → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))
51, 3, 4syl6an 682 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑))))
6 sb4b 2499 . . . 4 (¬ ∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑦𝜑)))
7 olc 864 . . . 4 (∀𝑥(𝑥 = 𝑦𝜑) → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))
86, 7syl6bi 255 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑))))
95, 8pm2.61i 184 . 2 ([𝑦 / 𝑥]𝜑 → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))
10 sbequ1 2249 . . . 4 (𝑥 = 𝑦 → (𝜑 → [𝑦 / 𝑥]𝜑))
1110imp 409 . . 3 ((𝑥 = 𝑦𝜑) → [𝑦 / 𝑥]𝜑)
12 sb2 2504 . . 3 (∀𝑥(𝑥 = 𝑦𝜑) → [𝑦 / 𝑥]𝜑)
1311, 12jaoi 853 . 2 (((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)) → [𝑦 / 𝑥]𝜑)
149, 13impbii 211 1 ([𝑦 / 𝑥]𝜑 ↔ ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843  wal 1535  [wsb 2069
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-10 2145  ax-12 2177  ax-13 2390
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ex 1781  df-nf 1785  df-sb 2070
This theorem is referenced by:  dfsb3  2533
  Copyright terms: Public domain W3C validator