| 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 7431 | . . . . . . . 8 ⊢ (𝜑 → (〈𝑥, 𝑦〉(comp‘𝐶)𝑧) = (〈𝑥, 𝑦〉(comp‘𝐷)𝑧)) |
| 3 | 2 | oveqd 7431 | . . . . . . 7 ⊢ (𝜑 → (𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 4 | 3 | ralrimivw 3168 | . . . . . 6 ⊢ (𝜑 → ∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 5 | 4 | ralrimivw 3168 | . . . . 5 ⊢ (𝜑 → ∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 6 | 5 | ralrimivw 3168 | . . . 4 ⊢ (𝜑 → ∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 7 | 6 | ralrimivw 3168 | . . 3 ⊢ (𝜑 → ∀𝑦 ∈ (Base‘𝐶)∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 8 | 7 | ralrimivw 3168 | . 2 ⊢ (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓)) |
| 9 | eqid 2770 | . . 3 ⊢ (comp‘𝐶) = (comp‘𝐶) | |
| 10 | eqid 2770 | . . 3 ⊢ (comp‘𝐷) = (comp‘𝐷) | |
| 11 | eqid 2770 | . . 3 ⊢ (Hom ‘𝐶) = (Hom ‘𝐶) | |
| 12 | eqidd 2771 | . . 3 ⊢ (𝜑 → (Base‘𝐶) = (Base‘𝐶)) | |
| 13 | comfeqd.2 | . . . 4 ⊢ (𝜑 → (Homf ‘𝐶) = (Homf ‘𝐷)) | |
| 14 | 13 | homfeqbas 17755 | . . 3 ⊢ (𝜑 → (Base‘𝐶) = (Base‘𝐷)) |
| 15 | 9, 10, 11, 12, 14, 13 | comfeq 17765 | . 2 ⊢ (𝜑 → ((compf‘𝐶) = (compf‘𝐷) ↔ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧)(𝑔(〈𝑥, 𝑦〉(comp‘𝐶)𝑧)𝑓) = (𝑔(〈𝑥, 𝑦〉(comp‘𝐷)𝑧)𝑓))) |
| 16 | 8, 15 | mpbird 260 | 1 ⊢ (𝜑 → (compf‘𝐶) = (compf‘𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 = wceq 1568 ∀wral 3086 〈cop 4600 ‘cfv 6540 (class class class)co 7414 Basecbs 17272 Hom chom 17324 compcco 17325 Homf chomf 17725 compfccomf 17726 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1823 ax-4 1837 ax-5 1938 ax-6 1995 ax-7 2036 ax-8 2152 ax-9 2160 ax-10 2183 ax-11 2199 ax-12 2220 ax-ext 2742 ax-rep 5243 ax-sep 5262 ax-nul 5274 ax-pow 5340 ax-pr 5408 ax-un 7736 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1103 df-tru 1571 df-fal 1581 df-ex 1808 df-nf 1812 df-sb 2099 df-mo 2574 df-eu 2604 df-clab 2749 df-cleq 2762 df-clel 2845 df-nfc 2919 df-ne 2966 df-ral 3087 df-rex 3097 df-reu 3377 df-rab 3424 df-v 3464 df-sbc 3753 df-csb 3862 df-dif 3916 df-un 3918 df-in 3920 df-ss 3930 df-nul 4295 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-iun 4963 df-br 5115 df-opab 5179 df-mpt 5198 df-id 5560 df-xp 5671 df-rel 5672 df-cnv 5673 df-co 5674 df-dm 5675 df-rn 5676 df-res 5677 df-ima 5678 df-iota 6496 df-fun 6542 df-fn 6543 df-f 6544 df-f1 6545 df-fo 6546 df-f1o 6547 df-fv 6548 df-ov 7417 df-oprab 7418 df-mpo 7419 df-1st 7989 df-2nd 7990 df-homf 17729 df-comf 17730 |
| This theorem is referenced by: fullresc 17911 |
| Copyright terms: Public domain | W3C validator |