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

Theorem resco 6251
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 5995 . 2 Rel ((𝐴 ∘ 𝐵) ↾ 𝐶)
2 relco 6103 . 2 Rel (𝐴 ∘ (𝐵 ↾ 𝐶))
3 vex 3454 . . . . . 6 𝑥 ∈ V
4 vex 3454 . . . . . 6 𝑦 ∈ V
53, 4brco 5847 . . . . 5 (𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
65anbi2i 635 . . . 4 ((𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦) ↔ (𝑥 ∈ 𝐶 ∧ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
7 19.42v 1985 . . . 4 (∃𝑧(𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ (𝑥 ∈ 𝐶 ∧ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
8 vex 3454 . . . . . . . 8 𝑧 ∈ V
98brresi 5978 . . . . . . 7 (𝑥(𝐵 ↾ 𝐶)𝑧 ↔ (𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧))
109anbi1i 636 . . . . . 6 ((𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦) ↔ ((𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧) ∧ 𝑧𝐴𝑦))
11 anass 474 . . . . . 6 (((𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧) ∧ 𝑧𝐴𝑦) ↔ (𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
1210, 11bitr2i 279 . . . . 5 ((𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ (𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
1312exbii 1880 . . . 4 (∃𝑧(𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
146, 7, 133bitr2i 302 . . 3 ((𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦) ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
154brresi 5978 . . 3 (𝑥((𝐴 ∘ 𝐵) ↾ 𝐶)𝑦 ↔ (𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦))
163, 4brco 5847 . . 3 (𝑥(𝐴 ∘ (𝐵 ↾ 𝐶))𝑦 ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
1714, 15, 163bitr4i 306 . 2 (𝑥((𝐴 ∘ 𝐵) ↾ 𝐶)𝑦 ↔ 𝑥(𝐴 ∘ (𝐵 ↾ 𝐶))𝑦)
181, 2, 17eqbrriv 5766 1 ((𝐴 ∘ 𝐵) ↾ 𝐶) = (𝐴 ∘ (𝐵 ↾ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144   class class class wbr 5102   ↾ cres 5652   ∘ ccom 5654
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-co 5659  df-res 5662
This theorem is used by:  cocnvcnv2  6260  coires1  6266  dftpos2  8260  ttrclco  9719  canthp1lem2  10738  o1res  15727  gsumzaddlem  20135  tsmsf1o  24464  tsmsmhm  24465  mbfres  25965  hhssims  31876  symgcom  33686  cycpmconjslem1  33757  cycpmconjslem2  33758  erdsze2lem2  36011  cvmlift2lem9a  36110  mbfresfi  38627  cocnv  38702  xrnres  39400  xrnres2  39401  xrnres3  39402  diophrw  43813  eldioph2  43816  mbfres2cn  47011  funcoressn  48155  upgrimpthslem1  49048  tposrescnv  50030
  Copyright terms: Public domain W3C validator