News for hackers. Stuff that matters.
Re:A monad is a monoid in the category of endofunctors, what... by danharaj on Sunday February 10, 2019 @11:52AM (#19128529)
As a contrasting point of view, the excellent graduate level introduction to algebra, Algebra Chapter 0 by Paolo Aluffi introduces category theory right from the start and it's a very good book. It just uses the concepts of a diagram and a universal construction, which have a high power-to-weight ratio.

I agree that the danker category theory is more useful for research than for teaching. In particular when you want to try to import definitions and theorems from one context to another, or you want to decompose a proof into its abstract skeleton and concrete particularities.

As an example of how "A monad is a monoid... etc." can be useful for the abstraction (i.e. library) builder, if you import this definition of a monad into the bicategory of endoprofunctors, you get arrows [1].

[1] http://www.riec.tohoku.ac.jp/~asada/papers/arrStrMnd.pdf

Re:A monad is a monoid in the category of endofunctors, what... by joppy on Sunday February 10, 2019 @04:11PM (#19130059)
I think this is a good point. I find the language of category theory an invaluable tool in my own understanding of abstract algebra, and universal properties are a large part of that. I think that a lot of undergraduate mathematicians could benefit from seeing the universal properties of a product/coproduct, and reflecting on what this means in categories that they're comfortable working in. Universal properties are usually quite useful.

My specific gripe is with expecting that a statement like "a Lie group is a group object in the category of manifolds" is going to lead to any new theorems in the theory of Lie groups. It's just not, and you are not going to become any better at Lie groups by understanding that statement. It's good to understand at some point, because it unifies the definition of group / Lie group / algebraic group, etc, but it will really not give you anything new to work with.

Re:A monad is a monoid in the category of endofunctors, what... by danharaj on Sunday February 10, 2019 @04:43PM (#19130236)
> It's good to understand at some point, because it unifies the definition of group / Lie group / algebraic group, etc, but it will really not give you anything new to work with.

I think that's true at an elementary level, but on the other hand when one doesn't know what concepts they're looking for in a new area, category theory can be a machete cutting a swathe through the jungle. I think Grothendieck was right :)

Re:A monad is a monoid in the category of endofunctors, what... by zozbot123 on Sunday February 10, 2019 @05:11PM (#19130429)
> "a Lie group is a group object in the category of manifolds"

The point is of course to motivate the definition of a Lie group. Whether such strong motivation counts as "a better understanding of Lie groups" is largely a matter of semantics that there's some room to disagree over. Same goes for the categorical definition of a ring that's been mentioned at the start of this thread, or indeed the definition that OP talks about.

Re:A monad is a monoid in the category of endofunctors, what... by throwawaymath on Sunday February 10, 2019 @01:00PM (#19129005)
I love Aluffi's Chapter 0 and mentioned it in another comment. But I don't think it's appropriate as a first pass on abstract algebra, even for pure math majors. Maybe for an Honors Intro to Abstract Algebra course...otherwise, I think Aluffi is pretty clear in that while he thinks category theory should be covered early on, it's really a text for graduates and not undergrads. Abstract algebra should be covered before you get to grad school.
Re:A monad is a monoid in the category of endofunctors, what... by autocorrect23 on Sunday February 10, 2019 @01:10PM (#19129062)
What is a good textbook in abstract algebra for the beginner?
Re:A monad is a monoid in the category of endofunctors, what... by zozbot123 on Sunday February 10, 2019 @04:58PM (#19130338)
Somewhat less of a "textbook", but good at showing applications of category theory - Fong, Spivak: Seven Sketches in Compositionality https://arxiv.org/abs/1803.05316

(Notably, this includes application to a "graphical" treatment of fairly-elementary linear algebra, which a different HN user is mentioning even as I write this, as a part of math where CT cannot possibly be useful and will only ever confuse students!)

Re:A monad is a monoid in the category of endofunctors, what... by umanwizard on Sunday February 10, 2019 @01:26PM (#19129159)
It depends what "beginner" means -- what's your level of sophistication? Are you a budding mathematician or just an interested programmer?
Re:A monad is a monoid in the category of endofunctors, what... by autocorrect23 on Sunday February 10, 2019 @02:21PM (#19129478)
Assume I know 0 math and want to learn mathematics for mathematics sake. What is the most gentle intro to algebra book?
Re:A monad is a monoid in the category of endofunctors, what... by loparal on Sunday February 10, 2019 @11:03PM (#19131972)
True Beauty of Math Volumes I and II. These build up math from the ground up starting with sets and assume you have zero knowledge of math. What's cool is that you don't use any theorems, structures, or notation that you haven't proven or introduced previously in one of the books. I've found them to be very valuable in both understanding the topics that they cover and giving an intuitive understanding of math as process (which the all the classes I took in college tended to gloss over).

The first volume is roughly about set theory and the second volume is roughly about abstract algebra.

https://truebeautyofmath.com/

https://www.amazon.com/True-Beauty-Math-Foundations/dp/15120...

https://www.amazon.com/True-Beauty-Math-Giving-Life/dp/15448...

Re:A monad is a monoid in the category of endofunctors, what... by autocorrect23 on Monday February 11, 2019 @09:12AM (#19134558)
Bought the first book. Thanks for the recommendation!
Re:A monad is a monoid in the category of endofunctors, what... by umanwizard on Sunday February 10, 2019 @10:56PM (#19131946)
If you know 0 math I would start with basic arithmetic (+, -, *, /) before doing anything else.
Re:A monad is a monoid in the category of endofunctors, what... by smadge on Sunday February 10, 2019 @06:06PM (#19130716)
My undergraduate Abstract Algebra course used Gallian’s “Contemporary Abstract Algebra.” Unfortunately if you are truly looking for an introduction assuming no mathematics, you will need to learn high school algebra and a bit about sets and proofs first.
Re:A monad is a monoid in the category of endofunctors, what... by Koshkin on Sunday February 10, 2019 @07:43PM (#19131214)
Pinter's A Book of Abstract Algebra.
Re:A monad is a monoid in the category of endofunctors, what... by pdpi on Sunday February 10, 2019 @01:45PM (#19129282)
A good recent release is Bartosz Milewski's Category Theory for Programmers.

https://bartoszmilewski.com/2014/10/28/category-theory-for-p...

Re:A monad is a monoid in the category of endofunctors, what... by Koshkin on Sunday February 10, 2019 @07:41PM (#19131201)
In the order of increasing complexity and/or volume: Pinter, Fraleigh, Rotman, Dummit & Foote.
Re:A monad is a monoid in the category of endofunctors, what... by danharaj on Sunday February 10, 2019 @02:09PM (#19129411)
I like Algebra by Mac Lane and Birkhoff, if by beginner you mean undergraduate.