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

Theorem wl-2sb6d 35713
Description: Version of 2sb6 2089 with a context, and distinct variable conditions replaced with distinctors. (Contributed by Wolf Lammen, 4-Aug-2019.)
Hypotheses
Ref Expression
wl-2sb6d.1 (𝜑 → ¬ ∀𝑦 𝑦 = 𝑥)
wl-2sb6d.2 (𝜑 → ¬ ∀𝑦 𝑦 = 𝑤)
wl-2sb6d.3 (𝜑 → ¬ ∀𝑦 𝑦 = 𝑧)
wl-2sb6d.4 (𝜑 → ¬ ∀𝑥 𝑥 = 𝑧)
Assertion
Ref Expression
wl-2sb6d (𝜑 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))

Proof of Theorem wl-2sb6d
StepHypRef Expression
1 wl-2sb6d.4 . 2 (𝜑 → ¬ ∀𝑥 𝑥 = 𝑧)
2 wl-2sb6d.2 . 2 (𝜑 → ¬ ∀𝑦 𝑦 = 𝑤)
3 wl-2sb6d.1 . . 3 (𝜑 → ¬ ∀𝑦 𝑦 = 𝑥)
4 wl-2sb6d.3 . . 3 (𝜑 → ¬ ∀𝑦 𝑦 = 𝑧)
53, 4jca 512 . 2 (𝜑 → (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))
6 sb4b 2475 . . 3 (¬ ∀𝑥 𝑥 = 𝑧 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓)))
7 nfnae 2434 . . . . 5 𝑥 ¬ ∀𝑦 𝑦 = 𝑤
8 wl-nfnae1 35687 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑥
9 nfnae 2434 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
108, 9nfan 1902 . . . . 5 𝑥(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
117, 10nfan 1902 . . . 4 𝑥(¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))
12 sb4b 2475 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑤 → ([𝑤 / 𝑦]𝜓 ↔ ∀𝑦(𝑦 = 𝑤𝜓)))
1312imbi2d 341 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑤 → ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
14 impexp 451 . . . . . . 7 (((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓) ↔ (𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)))
1514albii 1822 . . . . . 6 (∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓) ↔ ∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)))
16 nfeqf 2381 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥 = 𝑧)
17 19.21t 2199 . . . . . . 7 (Ⅎ𝑦 𝑥 = 𝑧 → (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
1816, 17syl 17 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
1915, 18bitr2id 284 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ((𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)) ↔ ∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
2013, 19sylan9bb 510 . . . 4 ((¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)) → ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ ∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
2111, 20albid 2215 . . 3 ((¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)) → (∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
226, 21sylan9bb 510 . 2 ((¬ ∀𝑥 𝑥 = 𝑧 ∧ (¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))) → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
231, 2, 5, 22syl12anc 834 1 (𝜑 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wal 1537  wnf 1786  [wsb 2067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-10 2137  ax-11 2154  ax-12 2171  ax-13 2372
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2068
This theorem is referenced by:  wl-sbcom2d-lem2  35715
  Copyright terms: Public domain W3C validator