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

Theorem sbcbr123 5158
Description: Move substitution in and out of a binary relation. (Contributed by NM, 13-Dec-2005.) (Revised by NM, 22-Aug-2018.)
Assertion
Ref Expression
sbcbr123 ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶)

Proof of Theorem sbcbr123
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 sbcex 3757 . 2 ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 ∈ V)
2 br0 5153 . . . 4 ¬ 𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶
3 csbprc 4366 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝑅 = ∅)
43breqd 5115 . . . 4 𝐴 ∈ V → (𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶))
52, 4mtbiri 330 . . 3 𝐴 ∈ V → ¬ 𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶)
65con4i 115 . 2 (𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶𝐴 ∈ V)
7 dfsbcq2 3750 . . 3 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝐵𝑅𝐶[𝐴 / 𝑥]𝐵𝑅𝐶))
8 csbeq1 3858 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝐵 = 𝐴 / 𝑥𝐵)
9 csbeq1 3858 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝑅 = 𝐴 / 𝑥𝑅)
10 csbeq1 3858 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝐶 = 𝐴 / 𝑥𝐶)
118, 9, 10breq123d 5118 . . 3 (𝑦 = 𝐴 → (𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶))
12 nfcsb1v 3879 . . . . 5 𝑥𝑦 / 𝑥𝐵
13 nfcsb1v 3879 . . . . 5 𝑥𝑦 / 𝑥𝑅
14 nfcsb1v 3879 . . . . 5 𝑥𝑦 / 𝑥𝐶
1512, 13, 14nfbr 5151 . . . 4 𝑥𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶
16 csbeq1a 3869 . . . . 5 (𝑥 = 𝑦𝐵 = 𝑦 / 𝑥𝐵)
17 csbeq1a 3869 . . . . 5 (𝑥 = 𝑦𝑅 = 𝑦 / 𝑥𝑅)
18 csbeq1a 3869 . . . . 5 (𝑥 = 𝑦𝐶 = 𝑦 / 𝑥𝐶)
1916, 17, 18breq123d 5118 . . . 4 (𝑥 = 𝑦 → (𝐵𝑅𝐶𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶))
2015, 19sbiev 2349 . . 3 ([𝑦 / 𝑥]𝐵𝑅𝐶𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶)
217, 11, 20vtoclbg 3527 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶))
221, 6, 21pm5.21nii 381 1 ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209   = wceq 1563  [wsb 2093  wcel 2145  Vcvv 3457  [wsbc 3747  csb 3855  c0 4288   class class class wbr 5104
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2737
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1566  df-fal 1576  df-ex 1803  df-nf 1807  df-sb 2094  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-rab 3418  df-v 3459  df-sbc 3748  df-csb 3856  df-dif 3910  df-un 3912  df-ss 3924  df-nul 4289  df-if 4484  df-sn 4586  df-pr 4588  df-op 4592  df-br 5105
This theorem is referenced by:  sbcbr  5159  sbcbr12g  5160  csbcnvgALTOLD  5864  sbcfung  6549  csbfv12  6916  relowlpssretop  37865
  Copyright terms: Public domain W3C validator