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 35450
Description: Version of 2sb6 2092 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 515 . 2 (𝜑 → (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))
6 sb4b 2474 . . 3 (¬ ∀𝑥 𝑥 = 𝑧 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓)))
7 nfnae 2433 . . . . 5 𝑥 ¬ ∀𝑦 𝑦 = 𝑤
8 wl-nfnae1 35424 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑥
9 nfnae 2433 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
108, 9nfan 1907 . . . . 5 𝑥(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
117, 10nfan 1907 . . . 4 𝑥(¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))
12 sb4b 2474 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑤 → ([𝑤 / 𝑦]𝜓 ↔ ∀𝑦(𝑦 = 𝑤𝜓)))
1312imbi2d 344 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑤 → ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
14 impexp 454 . . . . . . 7 (((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓) ↔ (𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)))
1514albii 1827 . . . . . 6 (∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓) ↔ ∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)))
16 nfeqf 2380 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥 = 𝑧)
17 19.21t 2204 . . . . . . 7 (Ⅎ𝑦 𝑥 = 𝑧 → (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
1816, 17syl 17 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
1915, 18bitr2id 287 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ((𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)) ↔ ∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
2013, 19sylan9bb 513 . . . 4 ((¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)) → ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ ∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
2111, 20albid 2220 . . 3 ((¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)) → (∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
226, 21sylan9bb 513 . 2 ((¬ ∀𝑥 𝑥 = 𝑧 ∧ (¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))) → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
231, 2, 5, 22syl12anc 837 1 (𝜑 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wal 1541  wnf 1791  [wsb 2070
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-10 2141  ax-11 2158  ax-12 2175  ax-13 2371
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-ex 1788  df-nf 1792  df-sb 2071
This theorem is referenced by:  wl-sbcom2d-lem2  35452
  Copyright terms: Public domain W3C validator