The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V33. Data structures and computation

Mathlib.Data.QPF.Multivariate.Constructions.Const

11 declarations. Mathlib docs · Source

def MvQPF.Const E1 #

(n : ℕ) → Type u_1 → TypeVec.{u} n → Type u_1

Constant multivariate functor

instance MvQPF.Const.inhabited E0 #

(n : ℕ) → {A : Type u_1} → {α : TypeVec.{u_2} n} → [Inhabited A] → Inhabited (MvQPF.Const n A α)

def MvQPF.Const.mk E1 #

{n : ℕ} → {A : Type u} → {α : TypeVec.{u} n} → A → MvQPF.Const n A α

Constructor for constant functor

def MvQPF.Const.get E1 #

{n : ℕ} → {A : Type u} → {α : TypeVec.{u} n} → MvQPF.Const n A α → A

Destructor for constant functor

theorem MvQPF.Const.mk_get E0 #

∀ {n : ℕ} {A : Type u} {α : TypeVec.{u} n} (x : MvQPF.Const n A α), MvQPF.Const.mk x.get = x

theorem MvQPF.Const.get_mk E0 #

∀ {n : ℕ} {A : Type u} {α : TypeVec.{u} n} (x : A), (MvQPF.Const.mk x).get = x

def MvQPF.Const.map E1 #

{n : ℕ} → {A : Type u} → {α β : TypeVec.{u} n} → MvQPF.Const n A α → MvQPF.Const n A β

map for constant functor

instance MvQPF.Const.MvFunctor E0 #

{n : ℕ} → {A : Type u} → MvFunctor (MvQPF.Const n A)

theorem MvQPF.Const.map_mk E0 #

∀ {n : ℕ} {A : Type u} {α β : TypeVec.{u} n} (f : α.Arrow β) (x : A),
  MvFunctor.map f (MvQPF.Const.mk x) = MvQPF.Const.mk x

theorem MvQPF.Const.get_map E1 #

∀ {n : ℕ} {A : Type u} {α β : TypeVec.{u} n} (f : α.Arrow β) (x : MvQPF.Const n A α), (MvFunctor.map f x).get = x.get

instance MvQPF.Const.mvqpf E0 #

{n : ℕ} → {A : Type u} → MvQPF (MvQPF.Const n A)