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 43753
Description: Lemma for ichnfim 43754: A substitution of a non-free variable has no effect. (Contributed by Wolf Lammen, 6-Aug-2023.) Avoid ax-13 2390. (Revised by Gino Giotto, 1-May-2024.)
Assertion
Ref Expression
ichnfimlem (∀𝑦𝑥𝜑 → ([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
Distinct variable group:   𝑥,𝑏,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑎,𝑏)

Proof of Theorem ichnfimlem
StepHypRef Expression
1 nfa1 2155 . . . . . . 7 𝑦𝑦𝑥𝜑
2 sb6 2093 . . . . . . . . . 10 ([𝑏 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑏𝜑))
32a1i 11 . . . . . . . . 9 (∀𝑦𝑥𝜑 → ([𝑏 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑏𝜑)))
42biimpri 230 . . . . . . . . . 10 (∀𝑦(𝑦 = 𝑏𝜑) → [𝑏 / 𝑦]𝜑)
54axc4i 2341 . . . . . . . . 9 (∀𝑦(𝑦 = 𝑏𝜑) → ∀𝑦[𝑏 / 𝑦]𝜑)
63, 5syl6bi 255 . . . . . . . 8 (∀𝑦𝑥𝜑 → ([𝑏 / 𝑦]𝜑 → ∀𝑦[𝑏 / 𝑦]𝜑))
71, 6nf5d 2292 . . . . . . 7 (∀𝑦𝑥𝜑 → Ⅎ𝑦[𝑏 / 𝑦]𝜑)
81, 7nfim1 2199 . . . . . 6 𝑦(∀𝑦𝑥𝜑 → [𝑏 / 𝑦]𝜑)
9 sbequ12 2253 . . . . . . 7 (𝑦 = 𝑏 → (𝜑 ↔ [𝑏 / 𝑦]𝜑))
109imbi2d 343 . . . . . 6 (𝑦 = 𝑏 → ((∀𝑦𝑥𝜑𝜑) ↔ (∀𝑦𝑥𝜑 → [𝑏 / 𝑦]𝜑)))
118, 10equsalv 2268 . . . . 5 (∀𝑦(𝑦 = 𝑏 → (∀𝑦𝑥𝜑𝜑)) ↔ (∀𝑦𝑥𝜑 → [𝑏 / 𝑦]𝜑))
1211bicomi 226 . . . 4 ((∀𝑦𝑥𝜑 → [𝑏 / 𝑦]𝜑) ↔ ∀𝑦(𝑦 = 𝑏 → (∀𝑦𝑥𝜑𝜑)))
13 nfv 1915 . . . . . 6 𝑥 𝑦 = 𝑏
14 nfnf1 2158 . . . . . . . 8 𝑥𝑥𝜑
1514nfal 2342 . . . . . . 7 𝑥𝑦𝑥𝜑
16 sp 2182 . . . . . . 7 (∀𝑦𝑥𝜑 → Ⅎ𝑥𝜑)
1715, 16nfim1 2199 . . . . . 6 𝑥(∀𝑦𝑥𝜑𝜑)
1813, 17nfim 1897 . . . . 5 𝑥(𝑦 = 𝑏 → (∀𝑦𝑥𝜑𝜑))
1918nfal 2342 . . . 4 𝑥𝑦(𝑦 = 𝑏 → (∀𝑦𝑥𝜑𝜑))
2012, 19nfxfr 1853 . . 3 𝑥(∀𝑦𝑥𝜑 → [𝑏 / 𝑦]𝜑)
21 pm5.5 364 . . . 4 (∀𝑦𝑥𝜑 → ((∀𝑦𝑥𝜑 → [𝑏 / 𝑦]𝜑) ↔ [𝑏 / 𝑦]𝜑))
2215, 21nfbidf 2226 . . 3 (∀𝑦𝑥𝜑 → (Ⅎ𝑥(∀𝑦𝑥𝜑 → [𝑏 / 𝑦]𝜑) ↔ Ⅎ𝑥[𝑏 / 𝑦]𝜑))
2320, 22mpbii 235 . 2 (∀𝑦𝑥𝜑 → Ⅎ𝑥[𝑏 / 𝑦]𝜑)
24 sbft 2270 . 2 (Ⅎ𝑥[𝑏 / 𝑦]𝜑 → ([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
2523, 24syl 17 1 (∀𝑦𝑥𝜑 → ([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  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
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ex 1781  df-nf 1785  df-sb 2070
This theorem is referenced by:  ichnfim  43754
  Copyright terms: Public domain W3C validator