ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  sbcralt GIF version

Theorem sbcralt 2834
Description: Interchange class substitution and restricted quantifier. (Contributed by NM, 1-Mar-2008.) (Revised by David Abernethy, 22-Feb-2010.)
Assertion
Ref Expression
sbcralt ((𝐴𝑉𝑦𝐴) → ([𝐴 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
Distinct variable groups:   𝑥,𝑦   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥,𝑦)   𝐵(𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem sbcralt
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 sbcco 2785 . 2 ([𝐴 / 𝑧][𝑧 / 𝑥]𝑦𝐵 𝜑[𝐴 / 𝑥]𝑦𝐵 𝜑)
2 simpl 102 . . 3 ((𝐴𝑉𝑦𝐴) → 𝐴𝑉)
3 sbsbc 2768 . . . . 5 ([𝑧 / 𝑥]∀𝑦𝐵 𝜑[𝑧 / 𝑥]𝑦𝐵 𝜑)
4 nfcv 2178 . . . . . . 7 𝑥𝐵
5 nfs1v 1815 . . . . . . 7 𝑥[𝑧 / 𝑥]𝜑
64, 5nfralxy 2360 . . . . . 6 𝑥𝑦𝐵 [𝑧 / 𝑥]𝜑
7 sbequ12 1654 . . . . . . 7 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
87ralbidv 2326 . . . . . 6 (𝑥 = 𝑧 → (∀𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝑧 / 𝑥]𝜑))
96, 8sbie 1674 . . . . 5 ([𝑧 / 𝑥]∀𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝑧 / 𝑥]𝜑)
103, 9bitr3i 175 . . . 4 ([𝑧 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝑧 / 𝑥]𝜑)
11 nfnfc1 2181 . . . . . . 7 𝑦𝑦𝐴
12 nfcvd 2179 . . . . . . . 8 (𝑦𝐴𝑦𝑧)
13 id 19 . . . . . . . 8 (𝑦𝐴𝑦𝐴)
1412, 13nfeqd 2192 . . . . . . 7 (𝑦𝐴 → Ⅎ𝑦 𝑧 = 𝐴)
1511, 14nfan1 1456 . . . . . 6 𝑦(𝑦𝐴𝑧 = 𝐴)
16 dfsbcq2 2767 . . . . . . 7 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
1716adantl 262 . . . . . 6 ((𝑦𝐴𝑧 = 𝐴) → ([𝑧 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
1815, 17ralbid 2324 . . . . 5 ((𝑦𝐴𝑧 = 𝐴) → (∀𝑦𝐵 [𝑧 / 𝑥]𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
1918adantll 445 . . . 4 (((𝐴𝑉𝑦𝐴) ∧ 𝑧 = 𝐴) → (∀𝑦𝐵 [𝑧 / 𝑥]𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
2010, 19syl5bb 181 . . 3 (((𝐴𝑉𝑦𝐴) ∧ 𝑧 = 𝐴) → ([𝑧 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
212, 20sbcied 2799 . 2 ((𝐴𝑉𝑦𝐴) → ([𝐴 / 𝑧][𝑧 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
221, 21syl5bbr 183 1 ((𝐴𝑉𝑦𝐴) → ([𝐴 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wb 98   = wceq 1243  wcel 1393  [wsb 1645  wnfc 2165  wral 2306  [wsbc 2764
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-v 2559  df-sbc 2765
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator