I'm studying category theory as a hobby. I'm at a beginner level. I have a simple question: Suppose we have a commutative diagram. In it there are two objects A,B and exist 2 morphisms from A to B and from B to A. Is it true that the two objects are isomorphic? (And the reason is that in a commutative diagram the only endomorphisms are the identity morphisms)
Many thanks in advance!
If the following diagram is said to be a commutative diagram \begin{array}{ccc} A & \leftrightarrows & B\end{array}
then the two pictured arrows are indeed isomorphisms.
In this diagram there are at most $4$ arrows involved: the two pictured arrows and next to that also the non-pictured identities. Essential for commutative diagram: parallel arrows are equal.
If $f:A\to B$ and $g:B\to A$ then $\text{id}_A$ and $g\circ f$ are parallel so that the conclusion $\text{id}_A=g\circ f$ is justified. Likewise $\text{id}_B=f\circ g$.
For a broader treatment of commutative diagrams have a look at Grothendiecks Tohoku paper on the pages 10 and 11.