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

Theorem sbccom 3817
Description: Commutative law for double class substitution. (Contributed by NM, 15-Nov-2005.) (Proof shortened by Mario Carneiro, 18-Oct-2016.)
Assertion
Ref Expression
sbccom ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Distinct variable groups:   𝑦,𝐴   𝑥,𝐵   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem sbccom
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sbccomlem 3816 . . . 4 ([𝐴 / 𝑧][𝐵 / 𝑤][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑤][𝐴 / 𝑧][𝑤 / 𝑦][𝑧 / 𝑥]𝜑)
2 sbccomlem 3816 . . . . . . 7 ([𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
32sbcbii 3794 . . . . . 6 ([𝐵 / 𝑤][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
4 sbccomlem 3816 . . . . . 6 ([𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
53, 4bitri 278 . . . . 5 ([𝐵 / 𝑤][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
65sbcbii 3794 . . . 4 ([𝐴 / 𝑧][𝐵 / 𝑤][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
7 sbccomlem 3816 . . . . 5 ([𝐴 / 𝑧][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝑤 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
87sbcbii 3794 . . . 4 ([𝐵 / 𝑤][𝐴 / 𝑧][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
91, 6, 83bitr3i 304 . . 3 ([𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
10 sbccow 3761 . . 3 ([𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
11 sbccow 3761 . . 3 ([𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
129, 10, 113bitr3i 304 . 2 ([𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
13 sbccow 3761 . . 3 ([𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐵 / 𝑦]𝜑)
1413sbcbii 3794 . 2 ([𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)
15 sbccow 3761 . . 3 ([𝐴 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑)
1615sbcbii 3794 . 2 ([𝐵 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
1712, 14, 163bitr3i 304 1 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  [wsbc 3738
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-11 2193  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452  df-sbc 3739
This theorem is used by:  csbcom  4377  csbab  4397  mpoxopovel  8237  fi1uzind  14652  wrd2ind  14872  elmptrab  24146  rspc2daf  33063  sbccom2  39058  sbcrot3  43798  ichnreuop  48554  ichreuopeq  48555
  Copyright terms: Public domain W3C validator