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

Theorem csbnestgf 4373
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 3510 . . 3 (𝐴𝑉𝐴 ∈ V)
2 df-csb 3881 . . . . . . 7 𝐵 / 𝑦𝐶 = {𝑧[𝐵 / 𝑦]𝑧𝐶}
32abeq2i 2945 . . . . . 6 (𝑧𝐵 / 𝑦𝐶[𝐵 / 𝑦]𝑧𝐶)
43sbcbii 3826 . . . . 5 ([𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶[𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶)
5 nfcr 2963 . . . . . . 7 (𝑥𝐶 → Ⅎ𝑥 𝑧𝐶)
65alimi 1803 . . . . . 6 (∀𝑦𝑥𝐶 → ∀𝑦𝑥 𝑧𝐶)
7 sbcnestgf 4372 . . . . . 6 ((𝐴 ∈ V ∧ ∀𝑦𝑥 𝑧𝐶) → ([𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
86, 7sylan2 592 . . . . 5 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → ([𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
94, 8syl5bb 284 . . . 4 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → ([𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
109abbidv 2882 . . 3 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶} = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶})
111, 10sylan 580 . 2 ((𝐴𝑉 ∧ ∀𝑦𝑥𝐶) → {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶} = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶})
12 df-csb 3881 . 2 𝐴 / 𝑥𝐵 / 𝑦𝐶 = {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶}
13 df-csb 3881 . 2 𝐴 / 𝑥𝐵 / 𝑦𝐶 = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶}
1411, 12, 133eqtr4g 2878 1 ((𝐴𝑉 ∧ ∀𝑦𝑥𝐶) → 𝐴 / 𝑥𝐵 / 𝑦𝐶 = 𝐴 / 𝑥𝐵 / 𝑦𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wal 1526   = wceq 1528  wnf 1775  wcel 2105  {cab 2796  wnfc 2958  Vcvv 3492  [wsbc 3769  csb 3880
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-13 2381  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-v 3494  df-sbc 3770  df-csb 3881
This theorem is referenced by:  csbnestg  4375
  Copyright terms: Public domain W3C validator