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

Theorem sbcralt 2980
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 2925 . 2 ([𝐴 / 𝑧][𝑧 / 𝑥]𝑦𝐵 𝜑[𝐴 / 𝑥]𝑦𝐵 𝜑)
2 simpl 108 . . 3 ((𝐴𝑉𝑦𝐴) → 𝐴𝑉)
3 sbsbc 2908 . . . . 5 ([𝑧 / 𝑥]∀𝑦𝐵 𝜑[𝑧 / 𝑥]𝑦𝐵 𝜑)
4 nfcv 2279 . . . . . . 7 𝑥𝐵
5 nfs1v 1910 . . . . . . 7 𝑥[𝑧 / 𝑥]𝜑
64, 5nfralxy 2469 . . . . . 6 𝑥𝑦𝐵 [𝑧 / 𝑥]𝜑
7 sbequ12 1744 . . . . . . 7 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
87ralbidv 2435 . . . . . 6 (𝑥 = 𝑧 → (∀𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝑧 / 𝑥]𝜑))
96, 8sbie 1764 . . . . 5 ([𝑧 / 𝑥]∀𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝑧 / 𝑥]𝜑)
103, 9bitr3i 185 . . . 4 ([𝑧 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝑧 / 𝑥]𝜑)
11 nfnfc1 2282 . . . . . . 7 𝑦𝑦𝐴
12 nfcvd 2280 . . . . . . . 8 (𝑦𝐴𝑦𝑧)
13 id 19 . . . . . . . 8 (𝑦𝐴𝑦𝐴)
1412, 13nfeqd 2294 . . . . . . 7 (𝑦𝐴 → Ⅎ𝑦 𝑧 = 𝐴)
1511, 14nfan1 1543 . . . . . 6 𝑦(𝑦𝐴𝑧 = 𝐴)
16 dfsbcq2 2907 . . . . . . 7 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
1716adantl 275 . . . . . 6 ((𝑦𝐴𝑧 = 𝐴) → ([𝑧 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
1815, 17ralbid 2433 . . . . 5 ((𝑦𝐴𝑧 = 𝐴) → (∀𝑦𝐵 [𝑧 / 𝑥]𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
1918adantll 467 . . . 4 (((𝐴𝑉𝑦𝐴) ∧ 𝑧 = 𝐴) → (∀𝑦𝐵 [𝑧 / 𝑥]𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
2010, 19syl5bb 191 . . 3 (((𝐴𝑉𝑦𝐴) ∧ 𝑧 = 𝐴) → ([𝑧 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
212, 20sbcied 2940 . 2 ((𝐴𝑉𝑦𝐴) → ([𝐴 / 𝑧][𝑧 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
221, 21syl5bbr 193 1 ((𝐴𝑉𝑦𝐴) → ([𝐴 / 𝑥]𝑦𝐵 𝜑 ↔ ∀𝑦𝐵 [𝐴 / 𝑥]𝜑))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1331  wcel 1480  [wsb 1735  wnfc 2266  wral 2414  [wsbc 2904
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-v 2683  df-sbc 2905
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator