MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  csbnestgf Structured version   Visualization version   GIF version

Theorem csbnestgf 4140
Description: Nest the composition of two substitutions. (Contributed by NM, 23-Nov-2005.) (Proof shortened by Mario Carneiro, 10-Nov-2016.)
Assertion
Ref Expression
csbnestgf ((𝐴𝑉 ∧ ∀𝑦𝑥𝐶) → 𝐴 / 𝑥𝐵 / 𝑦𝐶 = 𝐴 / 𝑥𝐵 / 𝑦𝐶)

Proof of Theorem csbnestgf
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 elex 3353 . . 3 (𝐴𝑉𝐴 ∈ V)
2 df-csb 3676 . . . . . . 7 𝐵 / 𝑦𝐶 = {𝑧[𝐵 / 𝑦]𝑧𝐶}
32abeq2i 2874 . . . . . 6 (𝑧𝐵 / 𝑦𝐶[𝐵 / 𝑦]𝑧𝐶)
43sbcbii 3633 . . . . 5 ([𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶[𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶)
5 nfcr 2895 . . . . . . 7 (𝑥𝐶 → Ⅎ𝑥 𝑧𝐶)
65alimi 1888 . . . . . 6 (∀𝑦𝑥𝐶 → ∀𝑦𝑥 𝑧𝐶)
7 sbcnestgf 4139 . . . . . 6 ((𝐴 ∈ V ∧ ∀𝑦𝑥 𝑧𝐶) → ([𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
86, 7sylan2 492 . . . . 5 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → ([𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
94, 8syl5bb 272 . . . 4 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → ([𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
109abbidv 2880 . . 3 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶} = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶})
111, 10sylan 489 . 2 ((𝐴𝑉 ∧ ∀𝑦𝑥𝐶) → {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶} = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶})
12 df-csb 3676 . 2 𝐴 / 𝑥𝐵 / 𝑦𝐶 = {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶}
13 df-csb 3676 . 2 𝐴 / 𝑥𝐵 / 𝑦𝐶 = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶}
1411, 12, 133eqtr4g 2820 1 ((𝐴𝑉 ∧ ∀𝑦𝑥𝐶) → 𝐴 / 𝑥𝐵 / 𝑦𝐶 = 𝐴 / 𝑥𝐵 / 𝑦𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  wal 1630   = wceq 1632  wnf 1857  wcel 2140  {cab 2747  wnfc 2890  Vcvv 3341  [wsbc 3577  csb 3675
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1989  ax-6 2055  ax-7 2091  ax-9 2149  ax-10 2169  ax-11 2184  ax-12 2197  ax-13 2392  ax-ext 2741
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2048  df-clab 2748  df-cleq 2754  df-clel 2757  df-nfc 2892  df-v 3343  df-sbc 3578  df-csb 3676
This theorem is referenced by:  csbnestg  4142  csbnest1g  4145
  Copyright terms: Public domain W3C validator