NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  sbcnestgf GIF version

Theorem sbcnestgf 3184
Description: Nest the composition of two substitutions. (Contributed by Mario Carneiro, 11-Nov-2016.)
Assertion
Ref Expression
sbcnestgf ((A V yxφ) → ([̣A / x]̣[̣B / yφ ↔ [̣[A / x]B / yφ))

Proof of Theorem sbcnestgf
Dummy variable z is distinct from all other variables.
StepHypRef Expression
1 dfsbcq 3049 . . . . 5 (z = A → ([̣z / x]̣[̣B / yφ ↔ [̣A / x]̣[̣B / yφ))
2 csbeq1 3140 . . . . . 6 (z = A[z / x]B = [A / x]B)
3 dfsbcq 3049 . . . . . 6 ([z / x]B = [A / x]B → ([̣[z / x]B / yφ ↔ [̣[A / x]B / yφ))
42, 3syl 15 . . . . 5 (z = A → ([̣[z / x]B / yφ ↔ [̣[A / x]B / yφ))
51, 4bibi12d 312 . . . 4 (z = A → (([̣z / x]̣[̣B / yφ ↔ [̣[z / x]B / yφ) ↔ ([̣A / x]̣[̣B / yφ ↔ [̣[A / x]B / yφ)))
65imbi2d 307 . . 3 (z = A → ((yxφ → ([̣z / x]̣[̣B / yφ ↔ [̣[z / x]B / yφ)) ↔ (yxφ → ([̣A / x]̣[̣B / yφ ↔ [̣[A / x]B / yφ))))
7 vex 2863 . . . . 5 z V
87a1i 10 . . . 4 (yxφz V)
9 csbeq1a 3145 . . . . . 6 (x = zB = [z / x]B)
10 dfsbcq 3049 . . . . . 6 (B = [z / x]B → ([̣B / yφ ↔ [̣[z / x]B / yφ))
119, 10syl 15 . . . . 5 (x = z → ([̣B / yφ ↔ [̣[z / x]B / yφ))
1211adantl 452 . . . 4 ((yxφ x = z) → ([̣B / yφ ↔ [̣[z / x]B / yφ))
13 nfnf1 1790 . . . . 5 xxφ
1413nfal 1842 . . . 4 xyxφ
15 nfa1 1788 . . . . 5 yyxφ
16 nfcsb1v 3169 . . . . . 6 x[z / x]B
1716a1i 10 . . . . 5 (yxφx[z / x]B)
18 sp 1747 . . . . 5 (yxφ → Ⅎxφ)
1915, 17, 18nfsbcd 3067 . . . 4 (yxφ → Ⅎx[z / x]B / yφ)
208, 12, 14, 19sbciedf 3082 . . 3 (yxφ → ([̣z / x]̣[̣B / yφ ↔ [̣[z / x]B / yφ))
216, 20vtoclg 2915 . 2 (A V → (yxφ → ([̣A / x]̣[̣B / yφ ↔ [̣[A / x]B / yφ)))
2221imp 418 1 ((A V yxφ) → ([̣A / x]̣[̣B / yφ ↔ [̣[A / x]B / yφ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 176   wa 358  wal 1540  wnf 1544   = wceq 1642   wcel 1710  wnfc 2477  Vcvv 2860  wsbc 3047  [csb 3137
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1925  ax-ext 2334
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-clab 2340  df-cleq 2346  df-clel 2349  df-nfc 2479  df-v 2862  df-sbc 3048  df-csb 3138
This theorem is referenced by:  csbnestgf  3185  sbcnestg  3186
  Copyright terms: Public domain W3C validator