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

Theorem resco 6264
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 6007 . 2 Rel ((𝐴 ∘ 𝐵) ↾ 𝐶)
2 relco 6116 . 2 Rel (𝐴 ∘ (𝐵 ↾ 𝐶))
3 vex 3458 . . . . . 6 𝑥 ∈ V
4 vex 3458 . . . . . 6 𝑦 ∈ V
53, 4brco 5855 . . . . 5 (𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
65anbi2i 635 . . . 4 ((𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦) ↔ (𝑥 ∈ 𝐶 ∧ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
7 19.42v 1988 . . . 4 (∃𝑧(𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ (𝑥 ∈ 𝐶 ∧ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
8 vex 3458 . . . . . . . 8 𝑧 ∈ V
98brresi 5990 . . . . . . 7 (𝑥(𝐵 ↾ 𝐶)𝑧 ↔ (𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧))
109anbi1i 636 . . . . . 6 ((𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦) ↔ ((𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧) ∧ 𝑧𝐴𝑦))
11 anass 474 . . . . . 6 (((𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧) ∧ 𝑧𝐴𝑦) ↔ (𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
1210, 11bitr2i 279 . . . . 5 ((𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ (𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
1312exbii 1881 . . . 4 (∃𝑧(𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
146, 7, 133bitr2i 302 . . 3 ((𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦) ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
154brresi 5990 . . 3 (𝑥((𝐴 ∘ 𝐵) ↾ 𝐶)𝑦 ↔ (𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦))
163, 4brco 5855 . . 3 (𝑥(𝐴 ∘ (𝐵 ↾ 𝐶))𝑦 ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
1714, 15, 163bitr4i 306 . 2 (𝑥((𝐴 ∘ 𝐵) ↾ 𝐶)𝑦 ↔ 𝑥(𝐴 ∘ (𝐵 ↾ 𝐶))𝑦)
181, 2, 17eqbrriv 5772 1 ((𝐴 ∘ 𝐵) ↾ 𝐶) = (𝐴 ∘ (𝐵 ↾ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147   class class class wbr 5106   ↾ cres 5657   ∘ ccom 5659
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662  df-co 5664  df-res 5667
This theorem is used by:  cocnvcnv2  6273  coires1  6282  dftpos2  8288  ttrclco  9746  canthp1lem2  10765  o1res  15756  gsumzaddlem  20165  tsmsf1o  24494  tsmsmhm  24495  mbfres  25995  hhssims  31906  symgcom  33714  cycpmconjslem1  33785  cycpmconjslem2  33786  erdsze2lem2  36136  cvmlift2lem9a  36235  mbfresfi  38776  cocnv  38851  xrnres  39549  xrnres2  39550  xrnres3  39551  diophrw  43963  eldioph2  43966  mbfres2cn  47173  funcoressn  48317  upgrimpthslem1  49210  tposrescnv  50197
  Copyright terms: Public domain W3C validator