| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > coass | Structured version Visualization version GIF version | ||
| Description: Associative law for class composition. Theorem 27 of [Suppes] p. 64. Also Exercise 21 of [Enderton] p. 53. Interestingly, this law holds for any classes whatsoever, not just functions or even relations. (Contributed by NM, 27-Jan-1997.) |
| Ref | Expression |
|---|---|
| coass | ⊢ ((𝐴 ∘ 𝐵) ∘ 𝐶) = (𝐴 ∘ (𝐵 ∘ 𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | relco 6082 | . 2 ⊢ Rel ((𝐴 ∘ 𝐵) ∘ 𝐶) | |
| 2 | relco 6082 | . 2 ⊢ Rel (𝐴 ∘ (𝐵 ∘ 𝐶)) | |
| 3 | excom 2163 | . . . 4 ⊢ (∃𝑧∃𝑤(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦)) ↔ ∃𝑤∃𝑧(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) | |
| 4 | anass 468 | . . . . 5 ⊢ (((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦) ↔ (𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) | |
| 5 | 4 | 2exbii 1849 | . . . 4 ⊢ (∃𝑤∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦) ↔ ∃𝑤∃𝑧(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) |
| 6 | 3, 5 | bitr4i 278 | . . 3 ⊢ (∃𝑧∃𝑤(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦)) ↔ ∃𝑤∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 7 | vex 3454 | . . . . . . 7 ⊢ 𝑧 ∈ V | |
| 8 | vex 3454 | . . . . . . 7 ⊢ 𝑦 ∈ V | |
| 9 | 7, 8 | brco 5837 | . . . . . 6 ⊢ (𝑧(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑤(𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦)) |
| 10 | 9 | anbi2i 623 | . . . . 5 ⊢ ((𝑥𝐶𝑧 ∧ 𝑧(𝐴 ∘ 𝐵)𝑦) ↔ (𝑥𝐶𝑧 ∧ ∃𝑤(𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) |
| 11 | 10 | exbii 1848 | . . . 4 ⊢ (∃𝑧(𝑥𝐶𝑧 ∧ 𝑧(𝐴 ∘ 𝐵)𝑦) ↔ ∃𝑧(𝑥𝐶𝑧 ∧ ∃𝑤(𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) |
| 12 | vex 3454 | . . . . 5 ⊢ 𝑥 ∈ V | |
| 13 | 12, 8 | opelco 5838 | . . . 4 ⊢ (〈𝑥, 𝑦〉 ∈ ((𝐴 ∘ 𝐵) ∘ 𝐶) ↔ ∃𝑧(𝑥𝐶𝑧 ∧ 𝑧(𝐴 ∘ 𝐵)𝑦)) |
| 14 | exdistr 1954 | . . . 4 ⊢ (∃𝑧∃𝑤(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦)) ↔ ∃𝑧(𝑥𝐶𝑧 ∧ ∃𝑤(𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) | |
| 15 | 11, 13, 14 | 3bitr4i 303 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ ((𝐴 ∘ 𝐵) ∘ 𝐶) ↔ ∃𝑧∃𝑤(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) |
| 16 | vex 3454 | . . . . . . 7 ⊢ 𝑤 ∈ V | |
| 17 | 12, 16 | brco 5837 | . . . . . 6 ⊢ (𝑥(𝐵 ∘ 𝐶)𝑤 ↔ ∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤)) |
| 18 | 17 | anbi1i 624 | . . . . 5 ⊢ ((𝑥(𝐵 ∘ 𝐶)𝑤 ∧ 𝑤𝐴𝑦) ↔ (∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 19 | 18 | exbii 1848 | . . . 4 ⊢ (∃𝑤(𝑥(𝐵 ∘ 𝐶)𝑤 ∧ 𝑤𝐴𝑦) ↔ ∃𝑤(∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 20 | 12, 8 | opelco 5838 | . . . 4 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ∘ (𝐵 ∘ 𝐶)) ↔ ∃𝑤(𝑥(𝐵 ∘ 𝐶)𝑤 ∧ 𝑤𝐴𝑦)) |
| 21 | 19.41v 1949 | . . . . 5 ⊢ (∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦) ↔ (∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) | |
| 22 | 21 | exbii 1848 | . . . 4 ⊢ (∃𝑤∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦) ↔ ∃𝑤(∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 23 | 19, 20, 22 | 3bitr4i 303 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ∘ (𝐵 ∘ 𝐶)) ↔ ∃𝑤∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 24 | 6, 15, 23 | 3bitr4i 303 | . 2 ⊢ (〈𝑥, 𝑦〉 ∈ ((𝐴 ∘ 𝐵) ∘ 𝐶) ↔ 〈𝑥, 𝑦〉 ∈ (𝐴 ∘ (𝐵 ∘ 𝐶))) |
| 25 | 1, 2, 24 | eqrelriiv 5756 | 1 ⊢ ((𝐴 ∘ 𝐵) ∘ 𝐶) = (𝐴 ∘ (𝐵 ∘ 𝐶)) |
| Colors of variables: wff setvar class |
| Syntax hints: ∧ wa 395 = wceq 1540 ∃wex 1779 ∈ wcel 2109 〈cop 4598 class class class wbr 5110 ∘ ccom 5645 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-11 2158 ax-ext 2702 ax-sep 5254 ax-nul 5264 ax-pr 5390 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-sb 2066 df-clab 2709 df-cleq 2722 df-clel 2804 df-rab 3409 df-v 3452 df-dif 3920 df-un 3922 df-ss 3934 df-nul 4300 df-if 4492 df-sn 4593 df-pr 4595 df-op 4599 df-br 5111 df-opab 5173 df-xp 5647 df-rel 5648 df-co 5650 |
| This theorem is referenced by: funcoeqres 6834 fcof1oinvd 7271 tposco 8239 mapen 9111 mapfien 9366 hashfacen 14426 relexpsucnnl 15003 relexpaddnn 15024 cofuass 17858 setccatid 18053 estrccatid 18100 frmdup3lem 18800 symggrplem 18818 f1omvdco2 19385 symggen 19407 psgnunilem1 19430 gsumval3 19844 gsumzf1o 19849 gsumzmhm 19874 prds1 20239 psrass1lem 21848 pf1mpf 22246 pf1ind 22249 qtophmeo 23711 uniioombllem2 25491 cncombf 25566 motgrp 28477 pjsdi2i 32093 pjadj2coi 32140 pj3lem1 32142 pj3i 32144 fcoinver 32540 fmptco1f1o 32564 fcobij 32652 fcobijfs 32653 symgfcoeu 33046 pmtrcnel2 33054 cycpmconjv 33106 cycpmconjslem1 33118 cycpmconjs 33120 cyc3conja 33121 1arithidomlem2 33514 reprpmtf1o 34624 derangenlem 35165 subfacp1lem5 35178 erdsze2lem2 35198 pprodcnveq 35878 cocnv 37726 ltrncoidN 40129 trlcoabs2N 40723 trlcoat 40724 trlcone 40729 cdlemg46 40736 cdlemg47 40737 ltrnco4 40740 tgrpgrplem 40750 tendoplass 40784 cdlemi2 40820 cdlemk2 40833 cdlemk4 40835 cdlemk8 40839 cdlemk45 40948 cdlemk54 40959 cdlemk55a 40960 erngdvlem3 40991 erngdvlem3-rN 40999 tendocnv 41022 dvhvaddass 41098 dvhlveclem 41109 cdlemn8 41205 dihopelvalcpre 41249 dih1dimatlem0 41329 aks6d1c6lem5 42172 diophrw 42754 eldioph2 42757 mendring 43184 cortrcltrcl 43736 corclrtrcl 43737 cortrclrcl 43739 cotrclrtrcl 43740 cortrclrtrcl 43741 frege131d 43760 brcofffn 44027 brco3f1o 44029 neicvgnvo 44111 volicoff 46000 voliooicof 46001 ovolval4lem2 46655 3f1oss1 47080 gricushgr 47921 rngccatidALTV 48264 ringccatidALTV 48298 fuco11idx 49328 |
| Copyright terms: Public domain | W3C validator |