Users' Mathboxes Mathbox for Giovanni Mascellani < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sbcalf Structured version   Visualization version   GIF version

Theorem sbcalf 39338
Description: Move universal quantifier in and out of class substitution, with an explicit nonfree variable condition. (Contributed by Giovanni Mascellani, 29-May-2019.)
Hypothesis
Ref Expression
sbcalf.1 Ⅎ𝑦𝐴
Assertion
Ref Expression
sbcalf ([𝐴 / 𝑥]∀𝑦𝜑 ↔ ∀𝑦[𝐴 / 𝑥]𝜑)
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐴(𝑥, 𝑦)

Proof of Theorem sbcalf
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 sb8v 2389 . . 3 (∀𝑦𝜑 ↔ ∀𝑧[𝑧 / 𝑦]𝜑)
21sbcbii 3800 . 2 ([𝐴 / 𝑥]∀𝑦𝜑 ↔ [𝐴 / 𝑥]∀𝑧[𝑧 / 𝑦]𝜑)
3 sbcal 3803 . 2 ([𝐴 / 𝑥]∀𝑧[𝑧 / 𝑦]𝜑 ↔ ∀𝑧[𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
4 sbcalf.1 . . . 4 Ⅎ𝑦𝐴
5 nfs1v 2200 . . . 4 Ⅎ𝑦[𝑧 / 𝑦]𝜑
64, 5nfsbcw 3766 . . 3 Ⅎ𝑦[𝐴 / 𝑥][𝑧 / 𝑦]𝜑
7 nfv 1951 . . 3 Ⅎ𝑧[𝐴 / 𝑥]𝜑
8 sbequ12r 2295 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑦]𝜑 ↔ 𝜑))
98sbcbidv 3799 . . 3 (𝑧 = 𝑦 → ([𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [𝐴 / 𝑥]𝜑))
106, 7, 9cbvalv1 2378 . 2 (∀𝑧[𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ ∀𝑦[𝐴 / 𝑥]𝜑)
112, 3, 103bitri 300 1 ([𝐴 / 𝑥]∀𝑦𝜑 ↔ ∀𝑦[𝐴 / 𝑥]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  ∀wal 1570  [wsb 2104  Ⅎwnfc 2917  [wsbc 3744
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-v 3458  df-sbc 3745
This theorem is used by:  sbcalfi  39340
  Copyright terms: Public domain W3C validator