Processing math: 100%
Library CT.Retract
Require
Import
CT.Category
.
Retracts
A "retract" of an object
b
in a category
C
is an object
a
∈
O
b
(
C
)
such that there exists morphisms
f
:
a
→
b
and
r
:
b
→
a
where
r
∘
f
=
i
d
a
. The morphism
r
is a "retraction" of
b
onto
a
.
Record
Retract
{
C
:
Category
} {
a
b
:
ob
C
} (
f
:
mor
a
b
) :=
{
retraction
:
mor
b
a
;
retraction_law
:
comp
f
retraction
=
id
a
}.