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 39152
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 3761 . . . 4 ([𝐵 / 𝑧][𝑧 / 𝑦]𝜑 ↔ [𝐵 / 𝑦]𝜑)
21bicomi 227 . . 3 ([𝐵 / 𝑦]𝜑 ↔ [𝐵 / 𝑧][𝑧 / 𝑦]𝜑)
32sbcbii 3794 . 2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝐵 / 𝑧][𝑧 / 𝑦]𝜑)
4 sbccom2f.1 . . 3 𝐴 ∈ V
54sbccom2 39151 . 2 ([𝐴 / 𝑥][𝐵 / 𝑧][𝑧 / 𝑦]𝜑 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑧][𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
6 vex 3454 . . . . . . 7 𝑧 ∈ V
76sbccom2 39151 . . . . . 6 ([𝑧 / 𝑦][𝐴 / 𝑥]𝜑 ↔ [⦋𝑧 / 𝑦⦌𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
8 sbccom2f.2 . . . . . . . 8 Ⅎ𝑦𝐴
96, 8csbgfi 3866 . . . . . . 7 ⦋𝑧 / 𝑦⦌𝐴 = 𝐴
10 dfsbcq 3740 . . . . . . 7 (⦋𝑧 / 𝑦⦌𝐴 = 𝐴 → ([⦋𝑧 / 𝑦⦌𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝑧 / 𝑦]𝜑))
119, 10ax-mp 5 . . . . . 6 ([⦋𝑧 / 𝑦⦌𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
127, 11bitri 278 . . . . 5 ([𝑧 / 𝑦][𝐴 / 𝑥]𝜑 ↔ [𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
1312bicomi 227 . . . 4 ([𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [𝑧 / 𝑦][𝐴 / 𝑥]𝜑)
1413sbcbii 3794 . . 3 ([⦋𝐴 / 𝑥⦌𝐵 / 𝑧][𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [⦋𝐴 / 𝑥⦌𝐵 / 𝑧][𝑧 / 𝑦][𝐴 / 𝑥]𝜑)
15 sbccow 3761 . . 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 1569   ∈ wcel 2144  Ⅎ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-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:  sbccom2fi  39153
  Copyright terms: Public domain W3C validator