Commutative squares #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
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 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.