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

Theorem resco 5639
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 5426 . 2 Rel ((𝐴𝐵) ↾ 𝐶)
2 relco 5633 . 2 Rel (𝐴 ∘ (𝐵𝐶))
3 vex 3203 . . . . . 6 𝑥 ∈ V
4 vex 3203 . . . . . 6 𝑦 ∈ V
53, 4brco 5292 . . . . 5 (𝑥(𝐴𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦))
65anbi1i 731 . . . 4 ((𝑥(𝐴𝐵)𝑦𝑥𝐶) ↔ (∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶))
7 19.41v 1914 . . . 4 (∃𝑧((𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶) ↔ (∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶))
8 an32 839 . . . . . 6 (((𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶) ↔ ((𝑥𝐵𝑧𝑥𝐶) ∧ 𝑧𝐴𝑦))
9 vex 3203 . . . . . . . 8 𝑧 ∈ V
109brres 5402 . . . . . . 7 (𝑥(𝐵𝐶)𝑧 ↔ (𝑥𝐵𝑧𝑥𝐶))
1110anbi1i 731 . . . . . 6 ((𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦) ↔ ((𝑥𝐵𝑧𝑥𝐶) ∧ 𝑧𝐴𝑦))
128, 11bitr4i 267 . . . . 5 (((𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶) ↔ (𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
1312exbii 1774 . . . 4 (∃𝑧((𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶) ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
146, 7, 133bitr2i 288 . . 3 ((𝑥(𝐴𝐵)𝑦𝑥𝐶) ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
154brres 5402 . . 3 (𝑥((𝐴𝐵) ↾ 𝐶)𝑦 ↔ (𝑥(𝐴𝐵)𝑦𝑥𝐶))
163, 4brco 5292 . . 3 (𝑥(𝐴 ∘ (𝐵𝐶))𝑦 ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
1714, 15, 163bitr4i 292 . 2 (𝑥((𝐴𝐵) ↾ 𝐶)𝑦𝑥(𝐴 ∘ (𝐵𝐶))𝑦)
181, 2, 17eqbrriv 5215 1 ((𝐴𝐵) ↾ 𝐶) = (𝐴 ∘ (𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1483  wex 1704  wcel 1990   class class class wbr 4653  cres 5116  ccom 5118
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-xp 5120  df-rel 5121  df-co 5123  df-res 5126
This theorem is referenced by:  cocnvcnv2  5647  coires1  5653  dftpos2  7369  canthp1lem2  9475  o1res  14291  gsumzaddlem  18321  tsmsf1o  21948  tsmsmhm  21949  mbfres  23411  hhssims  28132  erdsze2lem2  31186  cvmlift2lem9a  31285  mbfresfi  33456  cocnv  33520  diophrw  37322  eldioph2  37325  mbfres2cn  40174  funcoressn  41207
  Copyright terms: Public domain W3C validator