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

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

Proof of Theorem dfsb2
StepHypRef Expression
1 sp 2178 . . . 4 (∀𝑥 𝑥 = 𝑦𝑥 = 𝑦)
2 sbequ2 2244 . . . . 5 (𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑𝜑))
32sps 2180 . . . 4 (∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑𝜑))
4 orc 863 . . . 4 ((𝑥 = 𝑦𝜑) → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))
51, 3, 4syl6an 680 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑))))
6 sb4b 2475 . . . 4 (¬ ∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑦𝜑)))
7 olc 864 . . . 4 (∀𝑥(𝑥 = 𝑦𝜑) → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))
86, 7syl6bi 252 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑))))
95, 8pm2.61i 182 . 2 ([𝑦 / 𝑥]𝜑 → ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))
10 sbequ1 2243 . . . 4 (𝑥 = 𝑦 → (𝜑 → [𝑦 / 𝑥]𝜑))
1110imp 406 . . 3 ((𝑥 = 𝑦𝜑) → [𝑦 / 𝑥]𝜑)
12 sb2 2480 . . 3 (∀𝑥(𝑥 = 𝑦𝜑) → [𝑦 / 𝑥]𝜑)
1311, 12jaoi 853 . 2 (((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)) → [𝑦 / 𝑥]𝜑)
149, 13impbii 208 1 ([𝑦 / 𝑥]𝜑 ↔ ((𝑥 = 𝑦𝜑) ∨ ∀𝑥(𝑥 = 𝑦𝜑)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  wal 1537  [wsb 2068
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-10 2139  ax-12 2173  ax-13 2372
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-ex 1784  df-nf 1788  df-sb 2069
This theorem is referenced by:  dfsb3  2498
  Copyright terms: Public domain W3C validator