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

Theorem csbnestgf 3996
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 3212 . . 3 (𝐴𝑉𝐴 ∈ V)
2 df-csb 3534 . . . . . . 7 𝐵 / 𝑦𝐶 = {𝑧[𝐵 / 𝑦]𝑧𝐶}
32abeq2i 2735 . . . . . 6 (𝑧𝐵 / 𝑦𝐶[𝐵 / 𝑦]𝑧𝐶)
43sbcbii 3491 . . . . 5 ([𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶[𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶)
5 nfcr 2756 . . . . . . 7 (𝑥𝐶 → Ⅎ𝑥 𝑧𝐶)
65alimi 1739 . . . . . 6 (∀𝑦𝑥𝐶 → ∀𝑦𝑥 𝑧𝐶)
7 sbcnestgf 3995 . . . . . 6 ((𝐴 ∈ V ∧ ∀𝑦𝑥 𝑧𝐶) → ([𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
86, 7sylan2 491 . . . . 5 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → ([𝐴 / 𝑥][𝐵 / 𝑦]𝑧𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
94, 8syl5bb 272 . . . 4 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → ([𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶))
109abbidv 2741 . . 3 ((𝐴 ∈ V ∧ ∀𝑦𝑥𝐶) → {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶} = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶})
111, 10sylan 488 . 2 ((𝐴𝑉 ∧ ∀𝑦𝑥𝐶) → {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶} = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶})
12 df-csb 3534 . 2 𝐴 / 𝑥𝐵 / 𝑦𝐶 = {𝑧[𝐴 / 𝑥]𝑧𝐵 / 𝑦𝐶}
13 df-csb 3534 . 2 𝐴 / 𝑥𝐵 / 𝑦𝐶 = {𝑧[𝐴 / 𝑥𝐵 / 𝑦]𝑧𝐶}
1411, 12, 133eqtr4g 2681 1 ((𝐴𝑉 ∧ ∀𝑦𝑥𝐶) → 𝐴 / 𝑥𝐵 / 𝑦𝐶 = 𝐴 / 𝑥𝐵 / 𝑦𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  wal 1481   = wceq 1483  wnf 1708  wcel 1990  {cab 2608  wnfc 2751  Vcvv 3200  [wsbc 3435  csb 3533
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-v 3202  df-sbc 3436  df-csb 3534
This theorem is referenced by:  csbnestg  3998  csbnest1g  4001
  Copyright terms: Public domain W3C validator