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 34796
Description: Version of 2sb6 2094 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 514 . 2 (𝜑 → (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))
6 sb4b 2499 . . 3 (¬ ∀𝑥 𝑥 = 𝑧 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓)))
7 nfnae 2456 . . . . 5 𝑥 ¬ ∀𝑦 𝑦 = 𝑤
8 wl-nfnae1 34770 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑥
9 nfnae 2456 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
108, 9nfan 1900 . . . . 5 𝑥(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
117, 10nfan 1900 . . . 4 𝑥(¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))
12 sb4b 2499 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑤 → ([𝑤 / 𝑦]𝜓 ↔ ∀𝑦(𝑦 = 𝑤𝜓)))
1312imbi2d 343 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑤 → ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
14 impexp 453 . . . . . . 7 (((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓) ↔ (𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)))
1514albii 1820 . . . . . 6 (∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓) ↔ ∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)))
16 nfeqf 2399 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥 = 𝑧)
17 19.21t 2206 . . . . . . 7 (Ⅎ𝑦 𝑥 = 𝑧 → (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
1816, 17syl 17 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
1915, 18syl5rbb 286 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ((𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)) ↔ ∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
2013, 19sylan9bb 512 . . . 4 ((¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)) → ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ ∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
2111, 20albid 2224 . . 3 ((¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)) → (∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
226, 21sylan9bb 512 . 2 ((¬ ∀𝑥 𝑥 = 𝑧 ∧ (¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))) → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
231, 2, 5, 22syl12anc 834 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:  wl-sbcom2d-lem2  34798
  Copyright terms: Public domain W3C validator