Users' Mathboxes Mathbox for Giovanni Mascellani < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sbccom2f Structured version   Visualization version   GIF version

Theorem sbccom2f 39026
Description: Commutative law for double class substitution, with nonfree variable condition. (Contributed by Giovanni Mascellani, 31-May-2019.)
Hypotheses
Ref Expression
sbccom2f.1 𝐴 ∈ V
sbccom2f.2 Ⅎ𝑦𝐴
Assertion
Ref Expression
sbccom2f ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐴(𝑥, 𝑦)   𝐵(𝑥, 𝑦)

Proof of Theorem sbccom2f
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 sbccow 3762 . . . 4 ([𝐵 / 𝑧][𝑧 / 𝑦]𝜑 ↔ [𝐵 / 𝑦]𝜑)
21bicomi 227 . . 3 ([𝐵 / 𝑦]𝜑 ↔ [𝐵 / 𝑧][𝑧 / 𝑦]𝜑)
32sbcbii 3795 . 2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝐵 / 𝑧][𝑧 / 𝑦]𝜑)
4 sbccom2f.1 . . 3 𝐴 ∈ V
54sbccom2 39025 . 2 ([𝐴 / 𝑥][𝐵 / 𝑧][𝑧 / 𝑦]𝜑 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑧][𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
6 vex 3455 . . . . . . 7 𝑧 ∈ V
76sbccom2 39025 . . . . . 6 ([𝑧 / 𝑦][𝐴 / 𝑥]𝜑 ↔ [⦋𝑧 / 𝑦⦌𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
8 sbccom2f.2 . . . . . . . 8 Ⅎ𝑦𝐴
96, 8csbgfi 3867 . . . . . . 7 ⦋𝑧 / 𝑦⦌𝐴 = 𝐴
10 dfsbcq 3741 . . . . . . 7 (⦋𝑧 / 𝑦⦌𝐴 = 𝐴 → ([⦋𝑧 / 𝑦⦌𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝑧 / 𝑦]𝜑))
119, 10ax-mp 5 . . . . . 6 ([⦋𝑧 / 𝑦⦌𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
127, 11bitri 278 . . . . 5 ([𝑧 / 𝑦][𝐴 / 𝑥]𝜑 ↔ [𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
1312bicomi 227 . . . 4 ([𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [𝑧 / 𝑦][𝐴 / 𝑥]𝜑)
1413sbcbii 3795 . . 3 ([⦋𝐴 / 𝑥⦌𝐵 / 𝑧][𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑧][𝑧 / 𝑦][𝐴 / 𝑥]𝜑)
15 sbccow 3762 . . 3 ([⦋𝐴 / 𝑥⦌𝐵 / 𝑧][𝑧 / 𝑦][𝐴 / 𝑥]𝜑 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
1614, 15bitri 278 . 2 ([⦋𝐴 / 𝑥⦌𝐵 / 𝑧][𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
173, 5, 163bitri 300 1 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   = wceq 1570   ∈ wcel 2145  Ⅎwnfc 2908  Vcvv 3451  [wsbc 3739  ⦋csb 3847
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-v 3453  df-sbc 3740  df-csb 3848
This theorem is used by:  sbccom2fi  39027
  Copyright terms: Public domain W3C validator