Coalgebras as a displayed category

Fix an endofunctor ๐น:๐’ž๏ธ€โ†’๐’ž๏ธ€. Coalgebras require no new construction: a coalgebra is an algebra in the opposite category. Define

CoalgStr(๐น)=AlgStr(๐นop),

a displayed category over ๐’ž๏ธ€op, where ๐นop:๐’ž๏ธ€opโ†’๐’ž๏ธ€op is ๐น acting on the opposite category.

Concretely, over an object ๐‘ฅ a displayed object is a structure map

๐›พโˆˆ๐’ž๏ธ€(๐‘ฅ,๐น๐‘ฅ).

The category of coalgebras is the opposite of the total category:

Coalg(๐น)=(โˆซCoalgStr(๐น))op.

The outer opposite returns morphisms to the direction of ๐’ž๏ธ€: a morphism (๐‘ฅ,๐›พ)โ†’(๐‘ฆ,๐›ฟ) is a map ๐‘“:๐‘ฅโ†’๐‘ฆ with

๐‘“โ‹†๐›ฟ=๐›พโ‹†๐น๐‘“.
coalgebras-displayed note entries/displayed-category/coalgebras-displayed.hel