Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-sbalnae Structured version   Visualization version   GIF version

Theorem wl-sbalnae 34792
Description: A theorem used in elimination of disjoint variable restrictions by replacing them with distinctors. (Contributed by Wolf Lammen, 25-Jul-2019.)
Assertion
Ref Expression
wl-sbalnae ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))

Proof of Theorem wl-sbalnae
StepHypRef Expression
1 sb4b 2495 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑦(𝑦 = 𝑧 → ∀𝑥𝜑)))
2 nfnae 2452 . . . . . . 7 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
3 nfnae 2452 . . . . . . 7 𝑦 ¬ ∀𝑥 𝑥 = 𝑧
42, 3nfan 1896 . . . . . 6 𝑦(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
5 nfeqf 2395 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑦 = 𝑧)
6 19.21t 2202 . . . . . . . 8 (Ⅎ𝑥 𝑦 = 𝑧 → (∀𝑥(𝑦 = 𝑧𝜑) ↔ (𝑦 = 𝑧 → ∀𝑥𝜑)))
76bicomd 225 . . . . . . 7 (Ⅎ𝑥 𝑦 = 𝑧 → ((𝑦 = 𝑧 → ∀𝑥𝜑) ↔ ∀𝑥(𝑦 = 𝑧𝜑)))
85, 7syl 17 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ((𝑦 = 𝑧 → ∀𝑥𝜑) ↔ ∀𝑥(𝑦 = 𝑧𝜑)))
94, 8albid 2220 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∀𝑦(𝑦 = 𝑧 → ∀𝑥𝜑) ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑)))
101, 9sylan9bbr 513 . . . 4 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑)))
11 nfnae 2452 . . . . . . 7 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
12 sb4b 2495 . . . . . . 7 (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑧𝜑)))
1311, 12albid 2220 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑥[𝑧 / 𝑦]𝜑 ↔ ∀𝑥𝑦(𝑦 = 𝑧𝜑)))
14 alcom 2159 . . . . . 6 (∀𝑥𝑦(𝑦 = 𝑧𝜑) ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑))
1513, 14syl6bb 289 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑥[𝑧 / 𝑦]𝜑 ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑)))
1615adantl 484 . . . 4 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑥[𝑧 / 𝑦]𝜑 ↔ ∀𝑦𝑥(𝑦 = 𝑧𝜑)))
1710, 16bitr4d 284 . . 3 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
1817ex 415 . 2 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑)))
19 sbequ12 2249 . . . 4 (𝑦 = 𝑧 → (∀𝑥𝜑 ↔ [𝑧 / 𝑦]∀𝑥𝜑))
2019sps 2180 . . 3 (∀𝑦 𝑦 = 𝑧 → (∀𝑥𝜑 ↔ [𝑧 / 𝑦]∀𝑥𝜑))
21 sbequ12 2249 . . . . 5 (𝑦 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑦]𝜑))
2221sps 2180 . . . 4 (∀𝑦 𝑦 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑦]𝜑))
2322dral2 2456 . . 3 (∀𝑦 𝑦 = 𝑧 → (∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
2420, 23bitr3d 283 . 2 (∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
2518, 24pm2.61d2 183 1 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wal 1531  wnf 1780  [wsb 2065
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-10 2141  ax-11 2157  ax-12 2173  ax-13 2386
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066
This theorem is referenced by:  wl-sbal1  34793  wl-sbal2  34794
  Copyright terms: Public domain W3C validator