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

Theorem resco 6204
Description: Associative law for the restriction of a composition. (Contributed by NM, 12-Dec-2006.)
Assertion
Ref Expression
resco ((𝐴𝐵) ↾ 𝐶) = (𝐴 ∘ (𝐵𝐶))

Proof of Theorem resco
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relres 5960 . 2 Rel ((𝐴𝐵) ↾ 𝐶)
2 relco 6063 . 2 Rel (𝐴 ∘ (𝐵𝐶))
3 vex 3432 . . . . . 6 𝑥 ∈ V
4 vex 3432 . . . . . 6 𝑦 ∈ V
53, 4brco 5815 . . . . 5 (𝑥(𝐴𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦))
65anbi2i 625 . . . 4 ((𝑥𝐶𝑥(𝐴𝐵)𝑦) ↔ (𝑥𝐶 ∧ ∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦)))
7 19.42v 1956 . . . 4 (∃𝑧(𝑥𝐶 ∧ (𝑥𝐵𝑧𝑧𝐴𝑦)) ↔ (𝑥𝐶 ∧ ∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦)))
8 vex 3432 . . . . . . . 8 𝑧 ∈ V
98brresi 5943 . . . . . . 7 (𝑥(𝐵𝐶)𝑧 ↔ (𝑥𝐶𝑥𝐵𝑧))
109anbi1i 626 . . . . . 6 ((𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦) ↔ ((𝑥𝐶𝑥𝐵𝑧) ∧ 𝑧𝐴𝑦))
11 anass 469 . . . . . 6 (((𝑥𝐶𝑥𝐵𝑧) ∧ 𝑧𝐴𝑦) ↔ (𝑥𝐶 ∧ (𝑥𝐵𝑧𝑧𝐴𝑦)))
1210, 11bitr2i 277 . . . . 5 ((𝑥𝐶 ∧ (𝑥𝐵𝑧𝑧𝐴𝑦)) ↔ (𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
1312exbii 1851 . . . 4 (∃𝑧(𝑥𝐶 ∧ (𝑥𝐵𝑧𝑧𝐴𝑦)) ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
146, 7, 133bitr2i 300 . . 3 ((𝑥𝐶𝑥(𝐴𝐵)𝑦) ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
154brresi 5943 . . 3 (𝑥((𝐴𝐵) ↾ 𝐶)𝑦 ↔ (𝑥𝐶𝑥(𝐴𝐵)𝑦))
163, 4brco 5815 . . 3 (𝑥(𝐴 ∘ (𝐵𝐶))𝑦 ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
1714, 15, 163bitr4i 304 . 2 (𝑥((𝐴𝐵) ↾ 𝐶)𝑦𝑥(𝐴 ∘ (𝐵𝐶))𝑦)
181, 2, 17eqbrriv 5737 1 ((𝐴𝐵) ↾ 𝐶) = (𝐴 ∘ (𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1543  wex 1782  wcel 2115   class class class wbr 5075  cres 5623  ccom 5625
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1970  ax-7 2011  ax-8 2117  ax-9 2125  ax-ext 2708  ax-sep 5221  ax-pr 5365
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 850  df-3an 1090  df-tru 1546  df-fal 1556  df-ex 1783  df-sb 2070  df-clab 2715  df-cleq 2728  df-clel 2811  df-ral 3051  df-rex 3061  df-rab 3389  df-v 3430  df-dif 3889  df-un 3891  df-in 3893  df-ss 3903  df-nul 4265  df-if 4458  df-sn 4559  df-pr 4561  df-op 4565  df-br 5076  df-opab 5138  df-xp 5627  df-rel 5628  df-co 5630  df-res 5633
This theorem is referenced by:  cocnvcnv2  6213  coires1  6219  dftpos2  8186  ttrclco  9633  canthp1lem2  10570  o1res  15516  gsumzaddlem  19890  tsmsf1o  24131  tsmsmhm  24132  mbfres  25632  hhssims  31366  symgcom  33167  cycpmconjslem1  33238  cycpmconjslem2  33239  erdsze2lem2  35429  cvmlift2lem9a  35528  mbfresfi  38030  cocnv  38089  xrnres  38789  xrnres2  38790  xrnres3  38791  diophrw  43205  eldioph2  43208  mbfres2cn  46398  funcoressn  47502  upgrimpthslem1  48395  tposrescnv  49366
  Copyright terms: Public domain W3C validator