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

Theorem resco 5752
 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 5536 . 2 Rel ((𝐴𝐵) ↾ 𝐶)
2 relco 5746 . 2 Rel (𝐴 ∘ (𝐵𝐶))
3 vex 3307 . . . . . 6 𝑥 ∈ V
4 vex 3307 . . . . . 6 𝑦 ∈ V
53, 4brco 5400 . . . . 5 (𝑥(𝐴𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦))
65anbi1i 733 . . . 4 ((𝑥(𝐴𝐵)𝑦𝑥𝐶) ↔ (∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶))
7 19.41v 1990 . . . 4 (∃𝑧((𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶) ↔ (∃𝑧(𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶))
8 an32 874 . . . . . 6 (((𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶) ↔ ((𝑥𝐵𝑧𝑥𝐶) ∧ 𝑧𝐴𝑦))
9 vex 3307 . . . . . . . 8 𝑧 ∈ V
109brres 5512 . . . . . . 7 (𝑥(𝐵𝐶)𝑧 ↔ (𝑥𝐵𝑧𝑥𝐶))
1110anbi1i 733 . . . . . 6 ((𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦) ↔ ((𝑥𝐵𝑧𝑥𝐶) ∧ 𝑧𝐴𝑦))
128, 11bitr4i 267 . . . . 5 (((𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶) ↔ (𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
1312exbii 1887 . . . 4 (∃𝑧((𝑥𝐵𝑧𝑧𝐴𝑦) ∧ 𝑥𝐶) ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
146, 7, 133bitr2i 288 . . 3 ((𝑥(𝐴𝐵)𝑦𝑥𝐶) ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
154brres 5512 . . 3 (𝑥((𝐴𝐵) ↾ 𝐶)𝑦 ↔ (𝑥(𝐴𝐵)𝑦𝑥𝐶))
163, 4brco 5400 . . 3 (𝑥(𝐴 ∘ (𝐵𝐶))𝑦 ↔ ∃𝑧(𝑥(𝐵𝐶)𝑧𝑧𝐴𝑦))
1714, 15, 163bitr4i 292 . 2 (𝑥((𝐴𝐵) ↾ 𝐶)𝑦𝑥(𝐴 ∘ (𝐵𝐶))𝑦)
181, 2, 17eqbrriv 5324 1 ((𝐴𝐵) ↾ 𝐶) = (𝐴 ∘ (𝐵𝐶))
 Colors of variables: wff setvar class Syntax hints:   ∧ wa 383   = wceq 1596  ∃wex 1817   ∈ wcel 2103   class class class wbr 4760   ↾ cres 5220   ∘ ccom 5222 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1835  ax-4 1850  ax-5 1952  ax-6 2018  ax-7 2054  ax-9 2112  ax-10 2132  ax-11 2147  ax-12 2160  ax-13 2355  ax-ext 2704  ax-sep 4889  ax-nul 4897  ax-pr 5011 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1599  df-ex 1818  df-nf 1823  df-sb 2011  df-eu 2575  df-mo 2576  df-clab 2711  df-cleq 2717  df-clel 2720  df-nfc 2855  df-ral 3019  df-rex 3020  df-rab 3023  df-v 3306  df-dif 3683  df-un 3685  df-in 3687  df-ss 3694  df-nul 4024  df-if 4195  df-sn 4286  df-pr 4288  df-op 4292  df-br 4761  df-opab 4821  df-xp 5224  df-rel 5225  df-co 5227  df-res 5230 This theorem is referenced by:  cocnvcnv2  5760  coires1  5766  dftpos2  7489  canthp1lem2  9588  o1res  14411  gsumzaddlem  18442  tsmsf1o  22070  tsmsmhm  22071  mbfres  23531  hhssims  28362  erdsze2lem2  31414  cvmlift2lem9a  31513  mbfresfi  33688  cocnv  33752  xrnres  34402  xrnres2  34403  xrnres3  34404  diophrw  37741  eldioph2  37744  mbfres2cn  40594  funcoressn  41630
 Copyright terms: Public domain W3C validator