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 35640
Description: Version of 2sb6 2090 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 511 . 2 (𝜑 → (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))
6 sb4b 2475 . . 3 (¬ ∀𝑥 𝑥 = 𝑧 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓)))
7 nfnae 2434 . . . . 5 𝑥 ¬ ∀𝑦 𝑦 = 𝑤
8 wl-nfnae1 35614 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑥
9 nfnae 2434 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
108, 9nfan 1903 . . . . 5 𝑥(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
117, 10nfan 1903 . . . 4 𝑥(¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))
12 sb4b 2475 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑤 → ([𝑤 / 𝑦]𝜓 ↔ ∀𝑦(𝑦 = 𝑤𝜓)))
1312imbi2d 340 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑤 → ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
14 impexp 450 . . . . . . 7 (((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓) ↔ (𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)))
1514albii 1823 . . . . . 6 (∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓) ↔ ∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)))
16 nfeqf 2381 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥 = 𝑧)
17 19.21t 2202 . . . . . . 7 (Ⅎ𝑦 𝑥 = 𝑧 → (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
1816, 17syl 17 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑦(𝑥 = 𝑧 → (𝑦 = 𝑤𝜓)) ↔ (𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓))))
1915, 18bitr2id 283 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ((𝑥 = 𝑧 → ∀𝑦(𝑦 = 𝑤𝜓)) ↔ ∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
2013, 19sylan9bb 509 . . . 4 ((¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)) → ((𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ ∀𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
2111, 20albid 2218 . . 3 ((¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)) → (∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜓) ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
226, 21sylan9bb 509 . 2 ((¬ ∀𝑥 𝑥 = 𝑧 ∧ (¬ ∀𝑦 𝑦 = 𝑤 ∧ (¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧))) → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
231, 2, 5, 22syl12anc 833 1 (𝜑 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜓 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜓)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1537  wnf 1787  [wsb 2068
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-10 2139  ax-11 2156  ax-12 2173  ax-13 2372
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069
This theorem is referenced by:  wl-sbcom2d-lem2  35642
  Copyright terms: Public domain W3C validator