Metamath Proof Explorer


Theorem termcfunc1eq

Description: Functors with terminal source are equal when they agree on its object. (Contributed by Zhi Wang, 14-Sep-2026)

Ref Expression
Hypotheses termcfunc1eq.c No typesetting found for |- ( ph -> C e. TermCat ) with typecode |-
termcfunc1eq.f ⊢ φ → F ∈ C Func D
termcfunc1eq.b ⊢ B = Base C
termcfunc1eq.g ⊢ φ → G ∈ C Func D
termcfunc1eq.y ⊢ φ → Y ∈ B
termcfunc1eq.e ⊢ φ → 1 st ⁡ F ⁡ Y = 1 st ⁡ G ⁡ Y
Assertion termcfunc1eq ⊢ φ → F = G

Proof

Step Hyp Ref Expression
1 termcfunc1eq.c Could not format ( ph -> C e. TermCat ) : No typesetting found for |- ( ph -> C e. TermCat ) with typecode |-
2 termcfunc1eq.f ⊢ φ → F ∈ C Func D
3 termcfunc1eq.b ⊢ B = Base C
4 termcfunc1eq.g ⊢ φ → G ∈ C Func D
5 termcfunc1eq.y ⊢ φ → Y ∈ B
6 termcfunc1eq.e ⊢ φ → 1 st ⁡ F ⁡ Y = 1 st ⁡ G ⁡ Y
7 6 opeq2d ⊢ φ → Y 1 st ⁡ F ⁡ Y = Y 1 st ⁡ G ⁡ Y
8 7 sneqd ⊢ φ → Y 1 st ⁡ F ⁡ Y = Y 1 st ⁡ G ⁡ Y
9 6 fveq2d ⊢ φ → Id ⁡ D ⁡ 1 st ⁡ F ⁡ Y = Id ⁡ D ⁡ 1 st ⁡ G ⁡ Y
10 9 opeq2d ⊢ φ → Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ F ⁡ Y = Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ G ⁡ Y
11 10 sneqd ⊢ φ → Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ F ⁡ Y = Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ G ⁡ Y
12 11 opeq2d ⊢ φ → Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ F ⁡ Y = Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ G ⁡ Y
13 12 sneqd ⊢ φ → Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ F ⁡ Y = Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ G ⁡ Y
14 8 13 opeq12d ⊢ φ → Y 1 st ⁡ F ⁡ Y Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ F ⁡ Y = Y 1 st ⁡ G ⁡ Y Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ G ⁡ Y
15 eqid ⊢ Base D = Base D
16 eqid ⊢ 1 st ⁡ F ⁡ Y = 1 st ⁡ F ⁡ Y
17 eqid ⊢ Id ⁡ D = Id ⁡ D
18 eqid ⊢ Id ⁡ C = Id ⁡ C
19 15 1 2 3 5 16 17 18 termcfuncval ⊢ φ → 1 st ⁡ F ⁡ Y ∈ Base D ∧ F = Y 1 st ⁡ F ⁡ Y Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ F ⁡ Y
20 19 simprd ⊢ φ → F = Y 1 st ⁡ F ⁡ Y Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ F ⁡ Y
21 eqid ⊢ 1 st ⁡ G ⁡ Y = 1 st ⁡ G ⁡ Y
22 15 1 4 3 5 21 17 18 termcfuncval ⊢ φ → 1 st ⁡ G ⁡ Y ∈ Base D ∧ G = Y 1 st ⁡ G ⁡ Y Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ G ⁡ Y
23 22 simprd ⊢ φ → G = Y 1 st ⁡ G ⁡ Y Y Y Id ⁡ C ⁡ Y Id ⁡ D ⁡ 1 st ⁡ G ⁡ Y
24 14 20 23 3eqtr4d ⊢ φ → F = G