| 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 6103 | . 2 ⊢ Rel ((𝐴 ∘ 𝐵) ∘ 𝐶) | |
| 2 | relco 6103 | . 2 ⊢ Rel (𝐴 ∘ (𝐵 ∘ 𝐶)) | |
| 3 | excom 2198 | . . . 4 ⊢ (∃𝑧∃𝑤(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦)) ↔ ∃𝑤∃𝑧(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) | |
| 4 | anass 474 | . . . . 5 ⊢ (((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦) ↔ (𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) | |
| 5 | 4 | 2exbii 1881 | . . . 4 ⊢ (∃𝑤∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦) ↔ ∃𝑤∃𝑧(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) |
| 6 | 3, 5 | bitr4i 281 | . . 3 ⊢ (∃𝑧∃𝑤(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦)) ↔ ∃𝑤∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 7 | vex 3454 | . . . . . . 7 ⊢ 𝑧 ∈ V | |
| 8 | vex 3454 | . . . . . . 7 ⊢ 𝑦 ∈ V | |
| 9 | 7, 8 | brco 5847 | . . . . . 6 ⊢ (𝑧(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑤(𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦)) |
| 10 | 9 | anbi2i 635 | . . . . 5 ⊢ ((𝑥𝐶𝑧 ∧ 𝑧(𝐴 ∘ 𝐵)𝑦) ↔ (𝑥𝐶𝑧 ∧ ∃𝑤(𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) |
| 11 | 10 | exbii 1880 | . . . 4 ⊢ (∃𝑧(𝑥𝐶𝑧 ∧ 𝑧(𝐴 ∘ 𝐵)𝑦) ↔ ∃𝑧(𝑥𝐶𝑧 ∧ ∃𝑤(𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) |
| 12 | vex 3454 | . . . . 5 ⊢ 𝑥 ∈ V | |
| 13 | 12, 8 | opelco 5848 | . . . 4 ⊢ (〈𝑥, 𝑦〉 ∈ ((𝐴 ∘ 𝐵) ∘ 𝐶) ↔ ∃𝑧(𝑥𝐶𝑧 ∧ 𝑧(𝐴 ∘ 𝐵)𝑦)) |
| 14 | exdistr 1986 | . . . 4 ⊢ (∃𝑧∃𝑤(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦)) ↔ ∃𝑧(𝑥𝐶𝑧 ∧ ∃𝑤(𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) | |
| 15 | 11, 13, 14 | 3bitr4i 306 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ ((𝐴 ∘ 𝐵) ∘ 𝐶) ↔ ∃𝑧∃𝑤(𝑥𝐶𝑧 ∧ (𝑧𝐵𝑤 ∧ 𝑤𝐴𝑦))) |
| 16 | vex 3454 | . . . . . . 7 ⊢ 𝑤 ∈ V | |
| 17 | 12, 16 | brco 5847 | . . . . . 6 ⊢ (𝑥(𝐵 ∘ 𝐶)𝑤 ↔ ∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤)) |
| 18 | 17 | anbi1i 636 | . . . . 5 ⊢ ((𝑥(𝐵 ∘ 𝐶)𝑤 ∧ 𝑤𝐴𝑦) ↔ (∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 19 | 18 | exbii 1880 | . . . 4 ⊢ (∃𝑤(𝑥(𝐵 ∘ 𝐶)𝑤 ∧ 𝑤𝐴𝑦) ↔ ∃𝑤(∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 20 | 12, 8 | opelco 5848 | . . . 4 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ∘ (𝐵 ∘ 𝐶)) ↔ ∃𝑤(𝑥(𝐵 ∘ 𝐶)𝑤 ∧ 𝑤𝐴𝑦)) |
| 21 | 19.41v 1981 | . . . . 5 ⊢ (∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦) ↔ (∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) | |
| 22 | 21 | exbii 1880 | . . . 4 ⊢ (∃𝑤∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦) ↔ ∃𝑤(∃𝑧(𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 23 | 19, 20, 22 | 3bitr4i 306 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ∘ (𝐵 ∘ 𝐶)) ↔ ∃𝑤∃𝑧((𝑥𝐶𝑧 ∧ 𝑧𝐵𝑤) ∧ 𝑤𝐴𝑦)) |
| 24 | 6, 15, 23 | 3bitr4i 306 | . 2 ⊢ (〈𝑥, 𝑦〉 ∈ ((𝐴 ∘ 𝐵) ∘ 𝐶) ↔ 〈𝑥, 𝑦〉 ∈ (𝐴 ∘ (𝐵 ∘ 𝐶))) |
| 25 | 1, 2, 24 | eqrelriiv 5765 | 1 ⊢ ((𝐴 ∘ 𝐵) ∘ 𝐶) = (𝐴 ∘ (𝐵 ∘ 𝐶)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ∧ wa 401 = wceq 1569 ∃wex 1811 ∈ wcel 2144 〈cop 4589 class class class wbr 5102 ∘ 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-11 2193 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-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 |
| This theorem is used by: funcoeqres 6856 fcof1oinvd 7301 tposco 8274 mapen 9160 mapfien 9400 hashfacen 14599 relexpsucnnl 15183 relexpaddnn 15204 cofuass 18064 setccatid 18259 estrccatid 18306 frmdup3lem 19062 symggrplem 19080 f1omvdco2 19662 symggen 19684 psgnunilem1 19707 gsumval3 20121 gsumzf1o 20126 gsumzmhm 20151 prds1 20552 psrass1lem 22241 pf1mpf 22670 pf1ind 22673 qtophmeo 24136 uniioombllem2 25904 cncombf 25979 motgrp 29006 pjsdi2i 32759 pjadj2coi 32806 pj3lem1 32808 pj3i 32810 fcoinver 33198 fmptco1f1o 33227 fcobij 33312 fcobijfs 33313 cocnvf1o 33321 symgfcoeu 33643 pmtrcnel2 33651 cycpmconjv 33703 cycpmconjslem1 33715 cycpmconjs 33717 cyc3conja 33718 1arithidomlem2 34068 selvascl 34149 mplvrpmga 34177 mplvrpmrhm 34179 reprpmtf1o 35255 derangenlem 35936 subfacp1lem5 35949 erdsze2lem2 35969 pprodcnveq 36645 cocnv 38660 ltrncoidN 41186 trlcoabs2N 41780 trlcoat 41781 trlcone 41786 cdlemg46 41793 cdlemg47 41794 ltrnco4 41797 tgrpgrplem 41807 tendoplass 41841 cdlemi2 41877 cdlemk2 41890 cdlemk4 41892 cdlemk8 41896 cdlemk45 42005 cdlemk54 42016 cdlemk55a 42017 erngdvlem3 42048 erngdvlem3-rN 42056 tendocnv 42079 dvhvaddass 42155 dvhlveclem 42166 cdlemn8 42262 dihopelvalcpre 42306 dih1dimatlem0 42386 aks6d1c6lem5 43228 diophrw 43770 eldioph2 43773 mendring 44190 cortrcltrcl 44740 corclrtrcl 44741 cortrclrcl 44743 cotrclrtrcl 44744 cortrclrtrcl 44745 frege131d 44764 brcofffn 45031 brco3f1o 45033 neicvgnvo 45115 volicoff 47005 voliooicof 47006 ovolval4lem2 47660 3f1oss1 48145 gricushgr 49015 rngccatidALTV 49369 ringccatidALTV 49403 fuco11idx 50443 |
| Copyright terms: Public domain | W3C validator |