Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MndToCat and other related theorems #4242

Merged
merged 29 commits into from
Sep 28, 2024
Merged

Conversation

zwang123
Copy link
Contributor

Added

  • dtrucor3 as a learning process of how I understand ax-5.
  • idmon and idepi showing identity morphisms are both monomorphisms and epimorphisms.
  • Relevant theorems regarding monoids as categories
  • The existence of non-thin categories where all morphisms are simultaneously monomorphisms and epimorphisms.

set.mm Outdated Show resolved Hide resolved
Copy link
Contributor

@tirix tirix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@langgerard
Copy link

Maybe it would be necessary to add a theorem stating explicitly that given any category C, every diagonal Hom-set in C equipped with the restriction of the binary operation of composition has a structure of monoid ?

@zwang123
Copy link
Contributor Author

Maybe it would be necessary to add a theorem stating explicitly that given any category C, every diagonal Hom-set in C equipped with the restriction of the binary operation of composition has a structure of monoid ?

Something like this... Will do it in the next PR.

|- ( ph -> C e. Cat )
|- B = ( Base ` C )
|- ( ph -> X e. B )
|- H = ( Hom ` C )
|- ( X H X ) = ( Base ` M )
|- .x. = ( comp ` C )
|- ( <. X , X >. .x. X ) = ( +g ` M )

|- ( ph -> M e. Mnd )

@langgerard
Copy link

Yes, exactly. So that every category whose base set is a singleton will have a structure of Monoid

@langgerard
Copy link

Moreover, in the case that CAT 1 is true, so that the Hom-sets are distinct, for the structure <Hom(C), comp(C)> to be a monoid, the base B of the category C must be the singleton of a set. This is because :
-if B is empty, then H is empty and cannot be the base set of a monoid ;
-if two distinct objects a and b are in b, then the diagonal hom-sets H(a,a) and H(b,b) are non-empty and distinct, but if f is in H(a,a) and g is in H(b,b), with a and b distinct, there is no way to have a composite morphism for f and g in H(b,a) or g and f in H(a,b), so that comp(C) cannot be a binary internal operation on H because the composition of f and g does not exist.

@benjub
Copy link
Contributor

benjub commented Sep 25, 2024

Maybe it would be necessary to add a theorem stating explicitly that given any category C, every diagonal Hom-set in C equipped with the restriction of the binary operation of composition has a structure of monoid ?

Something like this... Will do it in the next PR.

|- ( ph -> C e. Cat )
|- B = ( Base ` C )
|- ( ph -> X e. B )
|- H = ( Hom ` C )
|- ( X H X ) = ( Base ` M )
|- .x. = ( comp ` C )
|- ( <. X , X >. .x. X ) = ( +g ` M )

|- ( ph -> M e. Mnd )

This is https://us.metamath.org/mpeuni/bj-endmnd.html

@tirix
Copy link
Contributor

tirix commented Sep 25, 2024

This is https://us.metamath.org/mpeuni/bj-endmnd.html

The whole section "Monoid of endomorphisms" in your mathbox should be moved to main, IMO.

@langgerard
Copy link

I had not seen bj-endmnd, and I am happy that we have it.
And I agree with Tirix that the whole section "Monoid of endomorphism" should be moved to main.

@zwang123
Copy link
Contributor Author

Maybe it would be necessary to add a theorem stating explicitly that given any category C, every diagonal Hom-set in C equipped with the restriction of the binary operation of composition has a structure of monoid ?

Something like this... Will do it in the next PR.

|- ( ph -> C e. Cat )
|- B = ( Base ` C )
|- ( ph -> X e. B )
|- H = ( Hom ` C )
|- ( X H X ) = ( Base ` M )
|- .x. = ( comp ` C )
|- ( <. X , X >. .x. X ) = ( +g ` M )

|- ( ph -> M e. Mnd )

This is https://us.metamath.org/mpeuni/bj-endmnd.html

Oof... I already proved the theorem. This could be a lemma for your proof to shorten it significantly. Maybe I should rename it to endmndlem.

    catmnd.b $e |- B = ( Base ` C ) $.
    catmnd.h $e |- H = ( Hom ` C ) $.
    catmnd.o $e |- .x. = ( comp ` C ) $.
    catmnd.c $e |- ( ph -> C e. Cat ) $.
    catmnd.x $e |- ( ph -> X e. B ) $.
    catmnd.m $e |- ( ph -> ( X H X ) = ( Base ` M ) ) $.
    catmnd.p $e |- ( ph -> ( <. X , X >. .x. X ) = ( +g ` M ) ) $.

    catmnd $p |- ( ph -> M e. Mnd ) $=

@benjub
Copy link
Contributor

benjub commented Sep 26, 2024

This is https://us.metamath.org/mpeuni/bj-endmnd.html

The whole section "Monoid of endomorphisms" in your mathbox should be moved to main, IMO.

Done in #4249.

This [catmnd] could be a lemma for your proof to shorten it significantly. Maybe I should rename it to endmndlem.

I don't see catmnd, but if you can shorten a proof, then you are encouraged to do it of course !

@benjub benjub merged commit eb846b3 into metamath:develop Sep 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants