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 32903
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 3424 . . . . . . 7 ([𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝐵 / 𝑦]𝜑)
21bicomi 212 . . . . . 6 ([𝐵 / 𝑦]𝜑[𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
32sbcbii 3457 . . . . 5 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
4 sbcco 3424 . . . . . 6 ([𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
54bicomi 212 . . . . 5 ([𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
6 vex 3175 . . . . . . 7 𝑧 ∈ V
76sbccom2lem 32902 . . . . . 6 ([𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝑧 / 𝑥𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
87sbcbii 3457 . . . . 5 ([𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑[𝐴 / 𝑧][𝑧 / 𝑥𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
93, 5, 83bitri 284 . . . 4 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑧][𝑧 / 𝑥𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
10 sbccom2.1 . . . . 5 𝐴 ∈ V
1110sbccom2lem 32902 . . . 4 ([𝐴 / 𝑧][𝑧 / 𝑥𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑧][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
12 sbcco 3424 . . . . 5 ([𝐴 / 𝑧][𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
1312sbcbii 3457 . . . 4 ([𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑧][𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
149, 11, 133bitri 284 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
15 csbco 3508 . . . 4 𝐴 / 𝑧𝑧 / 𝑥𝐵 = 𝐴 / 𝑥𝐵
16 dfsbcq 3403 . . . 4 (𝐴 / 𝑧𝑧 / 𝑥𝐵 = 𝐴 / 𝑥𝐵 → ([𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑))
1715, 16ax-mp 5 . . 3 ([𝐴 / 𝑧𝑧 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
1814, 17bitri 262 . 2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑)
19 sbccom 3475 . . 3 ([𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝑤 / 𝑦][𝐴 / 𝑥]𝜑)
2019sbcbii 3457 . 2 ([𝐴 / 𝑥𝐵 / 𝑤][𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑥]𝜑)
21 sbcco 3424 . 2 ([𝐴 / 𝑥𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑥]𝜑[𝐴 / 𝑥𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
2218, 20, 213bitri 284 1 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wb 194   = wceq 1474  wcel 1976  Vcvv 3172  [wsbc 3401  csb 3498
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2232  ax-ext 2589
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-v 3174  df-sbc 3402  df-csb 3499
This theorem is referenced by:  sbccom2f  32904
  Copyright terms: Public domain W3C validator