Documentation

Mathlib.CategoryTheory.Monad.Equalizer

Special equalizers associated to a comonad #

Associated to a comonad T : C ⥤ C we have important equalizer constructions: Any coalgebra is an equalizer (in the category of coalgebras) of cofree coalgebras. Furthermore, this equalizer is coreflexive. In C, this fork diagram is a split equalizer (in particular, it is still an equalizer). This split equalizer is known as the Beck equalizer (as it features heavily in Beck's comonadicity theorem).

This file is adapted from Mathlib/CategoryTheory/Monad/Coequalizer.lean. Please try to keep them in sync.

Show that any coalgebra is an equalizer of cofree coalgebras.

The top map in the equalizer diagram we will construct.

Equations
    Instances For

      The bottom map in the equalizer diagram we will construct.

      Equations
        Instances For

          The fork map in the equalizer diagram we will construct.

          Equations
            Instances For

              Construct the Beck fork in the category of coalgebras. This fork is coreflexive as well as an equalizer.

              Equations
                Instances For

                  The fork constructed is a limit. This shows that any coalgebra is a (coreflexive) equalizer of cofree coalgebras.

                  Equations
                    Instances For

                      The Beck fork is a split equalizer.

                      Equations
                        Instances For

                          This is the Beck fork. It is a split equalizer, in particular a equalizer.

                          Equations
                            Instances For
                              @[simp]
                              @[simp]

                              The Beck fork is a equalizer.

                              Equations
                                Instances For