My question is very simple. I have come accross some literature regarding bicategories (Benabou, etc) and I am a little confused on the terminology:
Could you please tell me if bicategories and 2-categories are exact synonyms? If not, I would appreciate some clarification regarding the differences.
I guess the kind of answer will also be suitable for 3-categories.....
Thanks in advance.
A $2$-category is just a category enriched over the category $\mathsf{Cat}$ of small categories and functors between them. The typical example is the $2$-category $\underline{\mathsf{Cat}}$ whose objects are small categories and the category $\underline{\mathsf{Cat}}(A,B)$ between two such objects is the category of functors $A \to B$ and natural transformations between them. Incidentally, the underlying ordinary category of $\underline{\mathsf{Cat}}$ is $\mathsf{Cat}$.
Because of the way enriched categories are defined, a $2$-category $\mathcal K$ comes with composition functors $$ c_{A,B,C} : \mathcal K(A,B) \times \mathcal K(B,C) \to \mathcal K(A,C) $$ such that the following commutes in $\mathsf{Cat}$:
Look long enough at it and you'll see it says that associativity of composition in $\mathcal K$ holds on the nose. In particular, given $1$-cells $f:A\to B$, $g:B\to C$ and $h:C\to D$, we have an equality : $$h\circ(g\circ f) = (h \circ g)\circ f$$ where $\circ$ stands for the correct composition.
Now, recall that equality between functors is not very handy and is better replaced by natural isomorphisms: that is why we prefer to work with equivalences of categories instead of isomorphisms of categories. So why don't we do the same conceptual leap here and ask the big diagram to commute only up to natural isomorphism ? This is what bicategories do ! Of course, if you do that for the associativity diagram, you want to do that also for the identity laws. And what to do with all those natural isomorphisms ? How do they interact with each other ? By fiddling around enough, you will eventually get back to Mac Lane's triangles and pentagone that appears in the definition of a bicategory. Archetypal examples of bicategories depend on what are your mathematical preferences but I like the following one:
But behold : every bicategory is $2$-equivalent to a $2$-category. What it means is more or less that you have to be aware that in a bicategory you don't have associativity and identities on the nose, but it does not matter too much to manipulate a bicategory as if it were a $2$-category for most of the things that you can tell in the language of bicategories.
(If you are familiar with monoidal category, the same happens there : you have to recall the isomorphisms for associativity and unital laws but when dealing with monoidal properties, you can more or less work as if you were in a strict monoidal category. Actually, strictification of monoidal categories is a special case of the strictification of bicategories.)