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

Theorem sbcbr123 5196
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 3797 . 2 ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 ∈ V)
2 br0 5191 . . . 4 ¬ 𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶
3 csbprc 4408 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝑅 = ∅)
43breqd 5153 . . . 4 𝐴 ∈ V → (𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶))
52, 4mtbiri 327 . . 3 𝐴 ∈ V → ¬ 𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶)
65con4i 114 . 2 (𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶𝐴 ∈ V)
7 dfsbcq2 3790 . . 3 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝐵𝑅𝐶[𝐴 / 𝑥]𝐵𝑅𝐶))
8 csbeq1 3901 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝐵 = 𝐴 / 𝑥𝐵)
9 csbeq1 3901 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝑅 = 𝐴 / 𝑥𝑅)
10 csbeq1 3901 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝐶 = 𝐴 / 𝑥𝐶)
118, 9, 10breq123d 5156 . . 3 (𝑦 = 𝐴 → (𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶))
12 nfcsb1v 3922 . . . . 5 𝑥𝑦 / 𝑥𝐵
13 nfcsb1v 3922 . . . . 5 𝑥𝑦 / 𝑥𝑅
14 nfcsb1v 3922 . . . . 5 𝑥𝑦 / 𝑥𝐶
1512, 13, 14nfbr 5189 . . . 4 𝑥𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶
16 csbeq1a 3912 . . . . 5 (𝑥 = 𝑦𝐵 = 𝑦 / 𝑥𝐵)
17 csbeq1a 3912 . . . . 5 (𝑥 = 𝑦𝑅 = 𝑦 / 𝑥𝑅)
18 csbeq1a 3912 . . . . 5 (𝑥 = 𝑦𝐶 = 𝑦 / 𝑥𝐶)
1916, 17, 18breq123d 5156 . . . 4 (𝑥 = 𝑦 → (𝐵𝑅𝐶𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶))
2015, 19sbiev 2313 . . 3 ([𝑦 / 𝑥]𝐵𝑅𝐶𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶)
217, 11, 20vtoclbg 3556 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶))
221, 6, 21pm5.21nii 378 1 ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 206   = wceq 1539  [wsb 2063  wcel 2107  Vcvv 3479  [wsbc 3787  csb 3898  c0 4332   class class class wbr 5142
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2707
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-clab 2714  df-cleq 2728  df-clel 2815  df-nfc 2891  df-rab 3436  df-v 3481  df-sbc 3788  df-csb 3899  df-dif 3953  df-un 3955  df-ss 3967  df-nul 4333  df-if 4525  df-sn 4626  df-pr 4628  df-op 4632  df-br 5143
This theorem is referenced by:  sbcbr  5197  sbcbr12g  5198  csbcnvgALT  5894  sbcfung  6589  csbfv12  6953  relowlpssretop  37366
  Copyright terms: Public domain W3C validator