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

Theorem sbal1 2572
Description: Obsolete version of sbal 2166 as of 13-Jul-2023. A theorem used in elimination of disjoint variable restriction on 𝑥 and 𝑦 by replacing it with a distinctor ¬ ∀𝑥𝑥 = 𝑧. (Contributed by NM, 15-May-1993.) (Proof shortened by Wolf Lammen, 3-Oct-2018.) (New usage is discouraged.) (Proof modification is discouraged.)
Assertion
Ref Expression
sbal1 (¬ ∀𝑥 𝑥 = 𝑧 → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem sbal1
StepHypRef Expression
1 sb4b 2499 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑦(𝑦 = 𝑧 → ∀𝑥𝜑)))
2 nfnae 2456 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑧
3 nfeqf2 2395 . . . . . . 7 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥 𝑦 = 𝑧)
4 19.21t 2206 . . . . . . . 8 (Ⅎ𝑥 𝑦 = 𝑧 → (∀𝑥(𝑦 = 𝑧𝜑) ↔ (𝑦 = 𝑧 → ∀𝑥𝜑)))
54bicomd 225 . . . . . . 7 (Ⅎ𝑥 𝑦 = 𝑧 → ((𝑦 = 𝑧 → ∀𝑥𝜑) ↔ ∀𝑥(𝑦 = 𝑧𝜑)))
63, 5syl 17 . . . . . 6 (¬ ∀𝑥 𝑥 = 𝑧 → ((𝑦 = 𝑧 → ∀𝑥𝜑) ↔ ∀𝑥(𝑦 = 𝑧𝜑)))
72, 6albid 2224 . . . . 5 (¬ ∀𝑥 𝑥 = 𝑧 → (∀𝑦(𝑦 = 𝑧 → ∀𝑥𝜑) ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑)))
81, 7sylan9bbr 513 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑧 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑)))
9 nfnae 2456 . . . . . . 7 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
10 sb4b 2499 . . . . . . 7 (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑧𝜑)))
119, 10albid 2224 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑥[𝑧 / 𝑦]𝜑 ↔ ∀𝑥𝑦(𝑦 = 𝑧𝜑)))
12 alcom 2163 . . . . . 6 (∀𝑥𝑦(𝑦 = 𝑧𝜑) ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑))
1311, 12syl6bb 289 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑥[𝑧 / 𝑦]𝜑 ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑)))
1413adantl 484 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑧 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑥[𝑧 / 𝑦]𝜑 ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑)))
158, 14bitr4d 284 . . 3 ((¬ ∀𝑥 𝑥 = 𝑧 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
1615ex 415 . 2 (¬ ∀𝑥 𝑥 = 𝑧 → (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑)))
17 sbequ12 2253 . . . 4 (𝑦 = 𝑧 → (∀𝑥𝜑 ↔ [𝑧 / 𝑦]∀𝑥𝜑))
1817sps 2184 . . 3 (∀𝑦 𝑦 = 𝑧 → (∀𝑥𝜑 ↔ [𝑧 / 𝑦]∀𝑥𝜑))
19 sbequ12 2253 . . . . 5 (𝑦 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑦]𝜑))
2019sps 2184 . . . 4 (∀𝑦 𝑦 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑦]𝜑))
2120dral2 2460 . . 3 (∀𝑦 𝑦 = 𝑧 → (∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
2218, 21bitr3d 283 . 2 (∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
2316, 22pm2.61d2 183 1 (¬ ∀𝑥 𝑥 = 𝑧 → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wal 1535  wnf 1784  [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-11 2161  ax-12 2177  ax-13 2390
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070
This theorem is referenced by:  sbalOLD  2575
  Copyright terms: Public domain W3C validator