Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ichnfimlem Structured version   Visualization version   GIF version

Theorem ichnfimlem 48545
Description: Lemma for ichnfim 48546: A substitution for a nonfree variable has no effect. (Contributed by Wolf Lammen, 6-Aug-2023.) Avoid ax-13 2401. (Revised by GG, 1-May-2024.)
Assertion
Ref Expression
ichnfimlem (∀𝑦Ⅎ𝑥𝜑 → ([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
Distinct variable group:   𝑥,𝑏,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑎, 𝑏)

Proof of Theorem ichnfimlem
StepHypRef Expression
1 nfa1 2187 . . . . . . 7 Ⅎ𝑦∀𝑦Ⅎ𝑥𝜑
2 sb6 2121 . . . . . . . . . 10 ([𝑏 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑏 → 𝜑))
32a1i 11 . . . . . . . . 9 (∀𝑦Ⅎ𝑥𝜑 → ([𝑏 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑏 → 𝜑)))
42biimpri 231 . . . . . . . . . 10 (∀𝑦(𝑦 = 𝑏 → 𝜑) → [𝑏 / 𝑦]𝜑)
54axc4i 2352 . . . . . . . . 9 (∀𝑦(𝑦 = 𝑏 → 𝜑) → ∀𝑦[𝑏 / 𝑦]𝜑)
63, 5biimtrdi 256 . . . . . . . 8 (∀𝑦Ⅎ𝑥𝜑 → ([𝑏 / 𝑦]𝜑 → ∀𝑦[𝑏 / 𝑦]𝜑))
71, 6nf5d 2317 . . . . . . 7 (∀𝑦Ⅎ𝑥𝜑 → Ⅎ𝑦[𝑏 / 𝑦]𝜑)
81, 7nfim1 2235 . . . . . 6 Ⅎ𝑦(∀𝑦Ⅎ𝑥𝜑 → [𝑏 / 𝑦]𝜑)
9 sbequ12 2286 . . . . . . 7 (𝑦 = 𝑏 → (𝜑 ↔ [𝑏 / 𝑦]𝜑))
109imbi2d 343 . . . . . 6 (𝑦 = 𝑏 → ((∀𝑦Ⅎ𝑥𝜑 → 𝜑) ↔ (∀𝑦Ⅎ𝑥𝜑 → [𝑏 / 𝑦]𝜑)))
118, 10equsalv 2301 . . . . 5 (∀𝑦(𝑦 = 𝑏 → (∀𝑦Ⅎ𝑥𝜑 → 𝜑)) ↔ (∀𝑦Ⅎ𝑥𝜑 → [𝑏 / 𝑦]𝜑))
1211bicomi 227 . . . 4 ((∀𝑦Ⅎ𝑥𝜑 → [𝑏 / 𝑦]𝜑) ↔ ∀𝑦(𝑦 = 𝑏 → (∀𝑦Ⅎ𝑥𝜑 → 𝜑)))
13 nfv 1946 . . . . . 6 Ⅎ𝑥 𝑦 = 𝑏
14 nfnf1 2190 . . . . . . . 8 Ⅎ𝑥Ⅎ𝑥𝜑
1514nfal 2353 . . . . . . 7 Ⅎ𝑥∀𝑦Ⅎ𝑥𝜑
16 sp 2219 . . . . . . 7 (∀𝑦Ⅎ𝑥𝜑 → Ⅎ𝑥𝜑)
1715, 16nfim1 2235 . . . . . 6 Ⅎ𝑥(∀𝑦Ⅎ𝑥𝜑 → 𝜑)
1813, 17nfim 1928 . . . . 5 Ⅎ𝑥(𝑦 = 𝑏 → (∀𝑦Ⅎ𝑥𝜑 → 𝜑))
1918nfal 2353 . . . 4 Ⅎ𝑥∀𝑦(𝑦 = 𝑏 → (∀𝑦Ⅎ𝑥𝜑 → 𝜑))
2012, 19nfxfr 1885 . . 3 Ⅎ𝑥(∀𝑦Ⅎ𝑥𝜑 → [𝑏 / 𝑦]𝜑)
21 pm5.5 364 . . . 4 (∀𝑦Ⅎ𝑥𝜑 → ((∀𝑦Ⅎ𝑥𝜑 → [𝑏 / 𝑦]𝜑) ↔ [𝑏 / 𝑦]𝜑))
2215, 21nfbidf 2260 . . 3 (∀𝑦Ⅎ𝑥𝜑 → (Ⅎ𝑥(∀𝑦Ⅎ𝑥𝜑 → [𝑏 / 𝑦]𝜑) ↔ Ⅎ𝑥[𝑏 / 𝑦]𝜑))
2320, 22mpbii 236 . 2 (∀𝑦Ⅎ𝑥𝜑 → Ⅎ𝑥[𝑏 / 𝑦]𝜑)
24 sbft 2303 . 2 (Ⅎ𝑥[𝑏 / 𝑦]𝜑 → ([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
2523, 24syl 18 1 (∀𝑦Ⅎ𝑥𝜑 → ([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1567  Ⅎwnf 1815  [wsb 2098
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-10 2177  ax-11 2193  ax-12 2212
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1812  df-nf 1816  df-sb 2099
This theorem is used by:  ichnfim  48546
  Copyright terms: Public domain W3C validator