Commutative squares #
This file provide an API for commutative squares in categories.
If top, left, right and bottom are four morphisms which are the edges
of a square, comm_sq top left right bottom is the predicate that this
square is commutative.
The structure comm_sq is extended in category_theory/shapes/limits/comm_sq.lean
as is_pullback and is_pushout in order to define pullback and pushout squares.
Future work #
Refactor lift_struct from arrow.lean and lifting properties using comm_sq.lean.
The proposition that a square
W ---f---> X
| |
g h
| |
v v
Y ---i---> Z
is a commuting square.
The commutative square in the opposite category associated to a commutative square.
The commutative square associated to a commutative square in the opposite category.
Alias of category_theory.functor.map_comm_sq.
The datum of a lift in a commutative square, i.e. a up-right-diagonal morphism which makes both triangles commute.
Instances for category_theory.comm_sq.lift_struct
- category_theory.comm_sq.lift_struct.has_sizeof_inst
- category_theory.comm_sq.subsingleton_lift_struct_of_epi
- category_theory.comm_sq.subsingleton_lift_struct_of_mono
A lift_struct for a commutative square gives a lift_struct for the
corresponding square in the opposite category.
A lift_struct for a commutative square in the opposite category
gives a lift_struct for the corresponding square in the original category.
Equivalences of lift_struct for a square and the corresponding square
in the opposite category.
Equations
Equivalences of lift_struct for a square in the oppositive category and
the corresponding square in the original category.
Equations
- exists_lift : nonempty sq.lift_struct
The assertion that a square has a lift_struct.
A choice of a diagonal morphism that is part of a lift_struct when
the square has a lift.