| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > comfeqd | Structured version Visualization version GIF version | ||
| Description: Condition for two categories with the same hom-sets to have the same composition. (Contributed by Mario Carneiro, 4-Jan-2017.) |
| Ref | Expression |
|---|---|
| comfeqd.1 | ⊢ (𝜑 → (comp‘𝐶) = (comp‘𝐷)) |
| comfeqd.2 | ⊢ (𝜑 → (Homf ‘𝐶) = (Homf ‘𝐷)) |
| Ref | Expression |
|---|---|
| comfeqd | ⊢ (𝜑 → (compf‘𝐶) = (compf‘𝐷)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | comfeqd.1 | . . . . . . . . 9 ⊢ (𝜑 → (comp‘𝐶) = (comp‘𝐷)) | |
| 2 | 1 | oveqd 7373 | . . . . . . . 8 ⊢ (𝜑 → (〈𝑥, 𝑦〉(comp‘𝐶)𝑧) = (〈𝑥, 𝑦〉(comp‘𝐷)𝑧)) |
| 3 | 2 | oveqd 7373 | . . . . . . 7 ⊢ (𝜑 → (𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 4 | 3 | ralrimivw 3131 | . . . . . 6 ⊢ (𝜑 → ∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 5 | 4 | ralrimivw 3131 | . . . . 5 ⊢ (𝜑 → ∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 6 | 5 | ralrimivw 3131 | . . . 4 ⊢ (𝜑 → ∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 7 | 6 | ralrimivw 3131 | . . 3 ⊢ (𝜑 → ∀𝑦 ∈ (Base‘𝐶)∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 8 | 7 | ralrimivw 3131 | . 2 ⊢ (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 9 | eqid 2735 | . . 3 ⊢ (comp‘𝐶) = (comp‘𝐶) | |
| 10 | eqid 2735 | . . 3 ⊢ (comp‘𝐷) = (comp‘𝐷) | |
| 11 | eqid 2735 | . . 3 ⊢ (Hom ‘𝐶) = (Hom ‘𝐶) | |
| 12 | eqidd 2736 | . . 3 ⊢ (𝜑 → (Base‘𝐶) = (Base‘𝐶)) | |
| 13 | comfeqd.2 | . . . 4 ⊢ (𝜑 → (Homf ‘𝐶) = (Homf ‘𝐷)) | |
| 14 | 13 | homfeqbas 17651 | . . 3 ⊢ (𝜑 → (Base‘𝐶) = (Base‘𝐷)) |
| 15 | 9, 10, 11, 12, 14, 13 | comfeq 17661 | . 2 ⊢ (𝜑 → ((compf‘𝐶) = (compf‘𝐷) ↔ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓))) |
| 16 | 8, 15 | mpbird 257 | 1 ⊢ (𝜑 → (compf‘𝐶) = (compf‘𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 = wceq 1542 ∀wral 3049 〈cop 4563 ‘cfv 6487 (class class class)co 7356 Basecbs 17168 Hom chom 17220 compcco 17221 Homf chomf 17621 compfccomf 17622 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-10 2147 ax-11 2163 ax-12 2184 ax-ext 2707 ax-rep 5201 ax-sep 5220 ax-nul 5230 ax-pow 5296 ax-pr 5364 ax-un 7678 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-nf 1786 df-sb 2069 df-mo 2538 df-eu 2568 df-clab 2714 df-cleq 2727 df-clel 2810 df-nfc 2884 df-ne 2931 df-ral 3050 df-rex 3060 df-reu 3341 df-rab 3388 df-v 3429 df-sbc 3726 df-csb 3834 df-dif 3888 df-un 3890 df-in 3892 df-ss 3902 df-nul 4264 df-if 4457 df-pw 4533 df-sn 4558 df-pr 4560 df-op 4564 df-uni 4841 df-iun 4925 df-br 5075 df-opab 5137 df-mpt 5156 df-id 5515 df-xp 5626 df-rel 5627 df-cnv 5628 df-co 5629 df-dm 5630 df-rn 5631 df-res 5632 df-ima 5633 df-iota 6443 df-fun 6489 df-fn 6490 df-f 6491 df-f1 6492 df-fo 6493 df-f1o 6494 df-fv 6495 df-ov 7359 df-oprab 7360 df-mpo 7361 df-1st 7931 df-2nd 7932 df-homf 17625 df-comf 17626 |
| This theorem is referenced by: fullresc 17807 |
| Copyright terms: Public domain | W3C validator |