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

Theorem sbccom2 34243
Description: Commutative law for double class substitution. (Contributed by Giovanni Mascellani, 31-May-2019.)
Hypothesis
Ref Expression
sbccom2.1 𝐴 ∈ V
Assertion
Ref Expression
sbccom2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Distinct variable groups:   𝑥,𝑦   𝑦,𝐴
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥)   𝐵(𝑥,𝑦)

Proof of Theorem sbccom2
Dummy variables 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sbcco 3599 . . . . . . 7 ([𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝐵 / 𝑦]𝜑)
21bicomi 214 . . . . . 6 ([𝐵 / 𝑦]𝜑[𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
32sbcbii 3632 . . . . 5 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
4 sbcco 3599 . . . . . 6 ([𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
54bicomi 214 . . . . 5 ([𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
6 vex 3343 . . . . . . 7 𝑧 ∈ V
76sbccom2lem 34242 . . . . . 6 ([𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝑧 / 𝑥𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
87sbcbii 3632 . . . . 5 ([𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝐴 / 𝑧][𝑧 / 𝑥𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
93, 5, 83bitri 286 . . . 4 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑧][𝑧 / 𝑥𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
10 sbccom2.1 . . . . 5 𝐴 ∈ V
1110sbccom2lem 34242 . . . 4 ([𝐴 / 𝑧][𝑧 / 𝑥𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑧][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
12 sbcco 3599 . . . . 5 ([𝐴 / 𝑧][𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
1312sbcbii 3632 . . . 4 ([𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑧][𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
149, 11, 133bitri 286 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
15 csbco 3684 . . . 4 𝐴 / 𝑧𝑧 / 𝑥𝐵 = 𝐴 / 𝑥𝐵
16 dfsbcq 3578 . . . 4 (𝐴 / 𝑧𝑧 / 𝑥𝐵 = 𝐴 / 𝑥𝐵 → ([𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑))
1715, 16ax-mp 5 . . 3 ([𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
1814, 17bitri 264 . 2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
19 sbccom 3650 . . 3 ([𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝑤 / 𝑦][𝐴 / 𝑥]𝜑)
2019sbcbii 3632 . 2 ([𝐴 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑥]𝜑)
21 sbcco 3599 . 2 ([𝐴 / 𝑥𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑥]𝜑[𝐴 / 𝑥𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
2218, 20, 213bitri 286 1 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wb 196   = wceq 1632  wcel 2139  Vcvv 3340  [wsbc 3576  csb 3674
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-v 3342  df-sbc 3577  df-csb 3675
This theorem is referenced by:  sbccom2f  34244
  Copyright terms: Public domain W3C validator