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

Theorem csbnestgfw 4379
Description: Nest the composition of two substitutions. Version of csbnestgf 4384 with a disjoint variable condition, which does not require ax-13 2401. (Contributed by NM, 23-Nov-2005.) Avoid ax-13 2401. (Revised by GG, 26-Jan-2024.)
Assertion
Ref Expression
csbnestgfw ((𝐴 ∈ 𝑉 ∧ ∀𝑦Ⅎ𝑥𝐶) → ⦋𝐴 / 𝑥⦌⦋𝐵 / 𝑦⦌𝐶 = ⦋⦋𝐴 / 𝑥⦌𝐵 / 𝑦⦌𝐶)
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥, 𝑦)   𝐵(𝑥, 𝑦)   𝐶(𝑥, 𝑦)   𝑉(𝑥, 𝑦)

Proof of Theorem csbnestgfw
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 elex 3471 . . 3 (𝐴 ∈ 𝑉 → 𝐴 ∈ V)
2 df-csb 3847 . . . . . . 7 ⦋𝐵 / 𝑦⦌𝐶 = {𝑧 ∣ [𝐵 / 𝑦]𝑧 ∈ 𝐶}
32eqabri 2902 . . . . . 6 (𝑧 ∈ ⦋𝐵 / 𝑦⦌𝐶 ↔ [𝐵 / 𝑦]𝑧 ∈ 𝐶)
43sbcbii 3794 . . . . 5 ([𝐴 / 𝑥]𝑧 ∈ ⦋𝐵 / 𝑦⦌𝐶 ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝑧 ∈ 𝐶)
5 nfcr 2912 . . . . . . 7 (Ⅎ𝑥𝐶 → Ⅎ𝑥 𝑧 ∈ 𝐶)
65alimi 1843 . . . . . 6 (∀𝑦Ⅎ𝑥𝐶 → ∀𝑦Ⅎ𝑥 𝑧 ∈ 𝐶)
7 sbcnestgfw 4378 . . . . . 6 ((𝐴 ∈ V ∧ ∀𝑦Ⅎ𝑥 𝑧 ∈ 𝐶) → ([𝐴 / 𝑥][𝐵 / 𝑦]𝑧 ∈ 𝐶 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦]𝑧 ∈ 𝐶))
86, 7sylan2 605 . . . . 5 ((𝐴 ∈ V ∧ ∀𝑦Ⅎ𝑥𝐶) → ([𝐴 / 𝑥][𝐵 / 𝑦]𝑧 ∈ 𝐶 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦]𝑧 ∈ 𝐶))
94, 8bitrid 286 . . . 4 ((𝐴 ∈ V ∧ ∀𝑦Ⅎ𝑥𝐶) → ([𝐴 / 𝑥]𝑧 ∈ ⦋𝐵 / 𝑦⦌𝐶 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦]𝑧 ∈ 𝐶))
109abbidv 2826 . . 3 ((𝐴 ∈ V ∧ ∀𝑦Ⅎ𝑥𝐶) → {𝑧 ∣ [𝐴 / 𝑥]𝑧 ∈ ⦋𝐵 / 𝑦⦌𝐶} = {𝑧 ∣ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦]𝑧 ∈ 𝐶})
111, 10sylan 592 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑦Ⅎ𝑥𝐶) → {𝑧 ∣ [𝐴 / 𝑥]𝑧 ∈ ⦋𝐵 / 𝑦⦌𝐶} = {𝑧 ∣ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦]𝑧 ∈ 𝐶})
12 df-csb 3847 . 2 ⦋𝐴 / 𝑥⦌⦋𝐵 / 𝑦⦌𝐶 = {𝑧 ∣ [𝐴 / 𝑥]𝑧 ∈ ⦋𝐵 / 𝑦⦌𝐶}
13 df-csb 3847 . 2 ⦋⦋𝐴 / 𝑥⦌𝐵 / 𝑦⦌𝐶 = {𝑧 ∣ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦]𝑧 ∈ 𝐶}
1411, 12, 133eqtr4g 2820 1 ((𝐴 ∈ 𝑉 ∧ ∀𝑦Ⅎ𝑥𝐶) → ⦋𝐴 / 𝑥⦌⦋𝐵 / 𝑦⦌𝐶 = ⦋⦋𝐴 / 𝑥⦌𝐵 / 𝑦⦌𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569  Ⅎwnf 1815   ∈ wcel 2144  {cab 2738  Ⅎwnfc 2907  Vcvv 3450  [wsbc 3738  ⦋csb 3846
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-v 3452  df-sbc 3739  df-csb 3847
This theorem is used by:  csbnestgw  4381  csbnest1g  4389
  Copyright terms: Public domain W3C validator