HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem sbcnestg 2034
Description: Nest the composition of two substitutions.
Assertion
Ref Expression
sbcnestg ((AR ⋀ ∀x BS) → ([A / x][B / y]φ ↔ [[A / x]B / y]φ))
Distinct variable groups:   φ,x   x,y

Proof of Theorem sbcnestg
StepHypRef Expression
1 hba1 1001 . . . . 5 (∀x BV → ∀xx BV)
2 sbccsb2g 2019 . . . . . 6 (BV → ([B / y]φB[B / y]{yφ}))
32a4s 982 . . . . 5 (∀x BV → ([B / y]φB[B / y]{yφ}))
41, 3sbcbid 1972 . . . 4 ((∀x BVAR) → ([A / x][B / y]φ ↔ [A / x]B[B / y]{yφ}))
54ancoms 436 . . 3 ((AR ⋀ ∀x BV) → ([A / x][B / y]φ ↔ [A / x]B[B / y]{yφ}))
6 sbcel12g 2007 . . . 4 (AR → ([A / x]B[B / y]{yφ} ↔ [A / x]B[A / x][B / y]{yφ}))
76adantr 389 . . 3 ((AR ⋀ ∀x BV) → ([A / x]B[B / y]{yφ} ↔ [A / x]B[A / x][B / y]{yφ}))
8 csbnestg 2032 . . . . 5 ((AR ⋀ ∀x BV) → [A / x][B / y]{yφ} = [[A / x]B / y]{yφ})
98eleq2d 1538 . . . 4 ((AR ⋀ ∀x BV) → ([A / x]B[A / x][B / y]{yφ} ↔ [A / x]B[[A / x]B / y]{yφ}))
10 csbexg 2004 . . . . 5 ((AR ⋀ ∀x BV) → [A / x]BV)
11 sbccsb2g 2019 . . . . 5 ([A / x]BV → ([[A / x]B / y]φ[A / x]B[[A / x]B / y]{yφ}))
1210, 11syl 10 . . . 4 ((AR ⋀ ∀x BV) → ([[A / x]B / y]φ[A / x]B[[A / x]B / y]{yφ}))
139, 12bitr4d 530 . . 3 ((AR ⋀ ∀x BV) → ([A / x]B[A / x][B / y]{yφ} ↔ [[A / x]B / y]φ))
145, 7, 133bitrd 543 . 2 ((AR ⋀ ∀x BV) → ([A / x][B / y]φ ↔ [[A / x]B / y]φ))
15 elisset 1813 . . 3 (BSBV)
161519.20i 990 . 2 (∀x BS → ∀x BV)
1714, 16sylan2 451 1 ((AR ⋀ ∀x BS) → ([A / x][B / y]φ ↔ [[A / x]B / y]φ))
Colors of variables: wff set class
Syntax hints:   → wi 3   ↔ wb 146   ⋀ wa 223  ∀wal 952   ∈ wcel 956  [wsbc 1168  {cab 1461  Vcvv 1807  [csb 1997
This theorem is referenced by:  sbcco3g 2037
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 960  ax-gen 961  ax-8 962  ax-9 963  ax-10 964  ax-11 965  ax-12 966  ax-17 969  ax-4 971  ax-5o 973  ax-6o 976  ax-9o 1121  ax-10o 1138  ax-16 1208  ax-11o 1216  ax-ext 1457
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-3an 776  df-ex 979  df-sb 1170  df-clab 1462  df-cleq 1467  df-clel 1470  df-v 1808  df-sbc 1938  df-csb 1998
Copyright terms: Public domain