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

Theorem resco 6240
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 5992 . 2 Rel ((𝐴 ∘ 𝐵) ↾ 𝐶)
2 relco 6098 . 2 Rel (𝐴 ∘ (𝐵 ↾ 𝐶))
3 vex 3454 . . . . . 6 𝑥 ∈ V
4 vex 3454 . . . . . 6 𝑦 ∈ V
53, 4brco 5844 . . . . 5 (𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
65anbi2i 635 . . . 4 ((𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦) ↔ (𝑥 ∈ 𝐶 ∧ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
7 19.42v 1986 . . . 4 (∃𝑧(𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ (𝑥 ∈ 𝐶 ∧ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
8 vex 3454 . . . . . . . 8 𝑧 ∈ V
98brresi 5975 . . . . . . 7 (𝑥(𝐵 ↾ 𝐶)𝑧 ↔ (𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧))
109anbi1i 636 . . . . . 6 ((𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦) ↔ ((𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧) ∧ 𝑧𝐴𝑦))
11 anass 474 . . . . . 6 (((𝑥 ∈ 𝐶 ∧ 𝑥𝐵𝑧) ∧ 𝑧𝐴𝑦) ↔ (𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)))
1210, 11bitr2i 279 . . . . 5 ((𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ (𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
1312exbii 1881 . . . 4 (∃𝑧(𝑥 ∈ 𝐶 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
146, 7, 133bitr2i 302 . . 3 ((𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦) ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
154brresi 5975 . . 3 (𝑥((𝐴 ∘ 𝐵) ↾ 𝐶)𝑦 ↔ (𝑥 ∈ 𝐶 ∧ 𝑥(𝐴 ∘ 𝐵)𝑦))
163, 4brco 5844 . . 3 (𝑥(𝐴 ∘ (𝐵 ↾ 𝐶))𝑦 ↔ ∃𝑧(𝑥(𝐵 ↾ 𝐶)𝑧 ∧ 𝑧𝐴𝑦))
1714, 15, 163bitr4i 306 . 2 (𝑥((𝐴 ∘ 𝐵) ↾ 𝐶)𝑦 ↔ 𝑥(𝐴 ∘ (𝐵 ↾ 𝐶))𝑦)
181, 2, 17eqbrriv 5763 1 ((𝐴 ∘ 𝐵) ↾ 𝐶) = (𝐴 ∘ (𝐵 ↾ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145   class class class wbr 5102   ↾ cres 5649   ∘ ccom 5651
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  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 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-br 5103  df-opab 5167  df-xp 5653  df-rel 5654  df-co 5656  df-res 5659
This theorem is used by:  cocnvcnv2  6249  coires1  6255  dftpos2  8238  ttrclco  9697  canthp1lem2  10709  o1res  15694  gsumzaddlem  20096  tsmsf1o  24425  tsmsmhm  24426  mbfres  25926  hhssims  31809  symgcom  33577  cycpmconjslem1  33648  cycpmconjslem2  33649  erdsze2lem2  35890  cvmlift2lem9a  35989  mbfresfi  38504  cocnv  38579  xrnres  39277  xrnres2  39278  xrnres3  39279  diophrw  43708  eldioph2  43711  mbfres2cn  46890  funcoressn  48034  upgrimpthslem1  48927  tposrescnv  49909
  Copyright terms: Public domain W3C validator