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

Theorem sbcbr123 5178
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 3780 . 2 ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 ∈ V)
2 br0 5173 . . . 4 ¬ 𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶
3 csbprc 4389 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝑅 = ∅)
43breqd 5135 . . . 4 𝐴 ∈ V → (𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶))
52, 4mtbiri 327 . . 3 𝐴 ∈ V → ¬ 𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶)
65con4i 114 . 2 (𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶𝐴 ∈ V)
7 dfsbcq2 3773 . . 3 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝐵𝑅𝐶[𝐴 / 𝑥]𝐵𝑅𝐶))
8 csbeq1 3882 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝐵 = 𝐴 / 𝑥𝐵)
9 csbeq1 3882 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝑅 = 𝐴 / 𝑥𝑅)
10 csbeq1 3882 . . . 4 (𝑦 = 𝐴𝑦 / 𝑥𝐶 = 𝐴 / 𝑥𝐶)
118, 9, 10breq123d 5138 . . 3 (𝑦 = 𝐴 → (𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶))
12 nfcsb1v 3903 . . . . 5 𝑥𝑦 / 𝑥𝐵
13 nfcsb1v 3903 . . . . 5 𝑥𝑦 / 𝑥𝑅
14 nfcsb1v 3903 . . . . 5 𝑥𝑦 / 𝑥𝐶
1512, 13, 14nfbr 5171 . . . 4 𝑥𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶
16 csbeq1a 3893 . . . . 5 (𝑥 = 𝑦𝐵 = 𝑦 / 𝑥𝐵)
17 csbeq1a 3893 . . . . 5 (𝑥 = 𝑦𝑅 = 𝑦 / 𝑥𝑅)
18 csbeq1a 3893 . . . . 5 (𝑥 = 𝑦𝐶 = 𝑦 / 𝑥𝐶)
1916, 17, 18breq123d 5138 . . . 4 (𝑥 = 𝑦 → (𝐵𝑅𝐶𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶))
2015, 19sbiev 2315 . . 3 ([𝑦 / 𝑥]𝐵𝑅𝐶𝑦 / 𝑥𝐵𝑦 / 𝑥𝑅𝑦 / 𝑥𝐶)
217, 11, 20vtoclbg 3541 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶))
221, 6, 21pm5.21nii 378 1 ([𝐴 / 𝑥]𝐵𝑅𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝑅𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 206   = wceq 1540  [wsb 2065  wcel 2109  Vcvv 3464  [wsbc 3770  csb 3879  c0 4313   class class class wbr 5124
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2708
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-clab 2715  df-cleq 2728  df-clel 2810  df-nfc 2886  df-rab 3421  df-v 3466  df-sbc 3771  df-csb 3880  df-dif 3934  df-un 3936  df-ss 3948  df-nul 4314  df-if 4506  df-sn 4607  df-pr 4609  df-op 4613  df-br 5125
This theorem is referenced by:  sbcbr  5179  sbcbr12g  5180  csbcnvgALT  5869  sbcfung  6565  csbfv12  6929  relowlpssretop  37387
  Copyright terms: Public domain W3C validator