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

Theorem sbccom 3822
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 3821 . . . 4 ([𝐴 / 𝑧][𝐵 / 𝑤][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑤][𝐴 / 𝑧][𝑤 / 𝑦][𝑧 / 𝑥]𝜑)
2 sbccomlem 3821 . . . . . . 7 ([𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
32sbcbii 3798 . . . . . 6 ([𝐵 / 𝑤][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
4 sbccomlem 3821 . . . . . 6 ([𝐵 / 𝑤][𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
53, 4bitri 278 . . . . 5 ([𝐵 / 𝑤][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
65sbcbii 3798 . . . 4 ([𝐴 / 𝑧][𝐵 / 𝑤][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
7 sbccomlem 3821 . . . . 5 ([𝐴 / 𝑧][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝑤 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
87sbcbii 3798 . . . 4 ([𝐵 / 𝑤][𝐴 / 𝑧][𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
91, 6, 83bitr3i 304 . . 3 ([𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
10 sbccow 3765 . . 3 ([𝐴 / 𝑧][𝑧 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑)
11 sbccow 3765 . . 3 ([𝐵 / 𝑤][𝑤 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
129, 10, 113bitr3i 304 . 2 ([𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑)
13 sbccow 3765 . . 3 ([𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐵 / 𝑦]𝜑)
1413sbcbii 3798 . 2 ([𝐴 / 𝑥][𝐵 / 𝑤][𝑤 / 𝑦]𝜑 ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)
15 sbccow 3765 . . 3 ([𝐴 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑)
1615sbcbii 3798 . 2 ([𝐵 / 𝑦][𝐴 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
1712, 14, 163bitr3i 304 1 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ [𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  [wsbc 3742
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-11 2197  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456  df-sbc 3743
This theorem is used by:  csbcom  4381  csbab  4401  mpoxopovel  8262  fi1uzind  14676  wrd2ind  14897  elmptrab  24173  rspc2daf  33132  sbccom2  39248  sbcrot3  43989  ichnreuop  48757  ichreuopeq  48758
  Copyright terms: Public domain W3C validator