The areas / V24. Category theory
Mathlib.CategoryTheory.ConcreteCategory.Bundled
11 declarations. Mathlib docs · Source
def CategoryTheory.Bundled.ctorIdx E1 #
{c : Type u → Type v} → CategoryTheory.Bundled c → ℕ
theorem CategoryTheory.Bundled.mk.inj E1 #
∀ {c : Type u → Type v} {α : Type u} {str : autoParam (c α) CategoryTheory.Bundled.str._autoParam} {α_1 : Type u}
{str_1 : autoParam (c α_1) CategoryTheory.Bundled.str._autoParam},
{ α := α, str := str } = { α := α_1, str := str_1 } → α = α_1 ∧ str ≍ str_1
theorem CategoryTheory.Bundled.mk.injEq E0 #
∀ {c : Type u → Type v} (α : Type u) (str : autoParam (c α) CategoryTheory.Bundled.str._autoParam) (α_1 : Type u)
(str_1 : autoParam (c α_1) CategoryTheory.Bundled.str._autoParam),
({ α := α, str := str } = { α := α_1, str := str_1 }) = (α = α_1 ∧ str ≍ str_1)
structure CategoryTheory.Bundled E1 #
(Type u → Type v) → Type (max (u + 1) v)
Bundled is a type bundled with a type class instance for that type. Only
the type class is exposed as a parameter.
ctor CategoryTheory.Bundled.mk E0 #
{c : Type u → Type v} → (α : Type u) → autoParam (c α) CategoryTheory.Bundled.str._autoParam → CategoryTheory.Bundled c
abbrev CategoryTheory.Bundled.α E1 #
{c : Type u → Type v} → CategoryTheory.Bundled c → Type u
The underlying type of the bundled type
abbrev CategoryTheory.Bundled.str E1 #
{c : Type u → Type v} → (self : CategoryTheory.Bundled c) → c ↑self
The corresponding instance of the bundled type class
def CategoryTheory.Bundled.of E1 #
{c : Type u → Type v} → (α : Type u) → [str : c α] → CategoryTheory.Bundled c
A generic function for lifting a type equipped with an instance to a bundled object.
instance CategoryTheory.Bundled.coeSort E0 #
{c : Type u → Type v} → CoeSort (CategoryTheory.Bundled c) (Type u)
theorem CategoryTheory.Bundled.coe_mk E0 #
∀ {c : Type u → Type v} (α : Type u) (str : c α), ↑{ α := α, str := str } = α
abbrev CategoryTheory.Bundled.map E1 #
{c d : Type u → Type v} → ({α : Type u} → c α → d α) → CategoryTheory.Bundled c → CategoryTheory.Bundled d
Map over the bundled structure