The areas / V33. Data structures and computation
Mathlib.Data.QPF.Multivariate.Constructions.Sigma
17 declarations. Mathlib docs · Source
theorem MvQPF.Sigma.instMvFunctor.match_1.congr_eq_1 E1 #
∀ {n : ℕ} {A : Type u_1} (F : A → TypeVec.{u_1} n → Type u_1) {α : TypeVec.{u_1} n}
(motive : MvQPF.Sigma F α → Sort u_2) (x : MvQPF.Sigma F α) (h_1 : (a : A) → (x : F a α) → motive ⟨a, x⟩) (a : A)
(x_1 : F a α),
x = ⟨a, x_1⟩ →
(match x with
| ⟨a, x⟩ => h_1 a x) ≍
h_1 a x_1
theorem MvQPF.Pi.abs.match_1.congr_eq_1 E1 #
∀ {n : ℕ} {A : Type u_1} (F : A → TypeVec.{u_1} n → Type u_1) [inst : (α : A) → MvQPF (F α)] ⦃α : TypeVec.{u_1} n⦄
(motive : ↑(MvQPF.Pi.P F) α → Sort u_2) (x : ↑(MvQPF.Pi.P F) α)
(h_1 : (a : (MvQPF.Pi.P F).A) → (f : ((MvQPF.Pi.P F).B a).Arrow α) → motive ⟨a, f⟩) (a : (MvQPF.Pi.P F).A)
(f : ((MvQPF.Pi.P F).B a).Arrow α),
x = ⟨a, f⟩ →
(match x with
| ⟨a, f⟩ => h_1 a f) ≍
h_1 a f
theorem MvQPF.Sigma.abs.match_1.congr_eq_1 E1 #
∀ {n : ℕ} {A : Type u_1} (F : A → TypeVec.{u_1} n → Type u_1) [inst : (α : A) → MvQPF (F α)] ⦃α : TypeVec.{u_1} n⦄
(motive : ↑(MvQPF.Sigma.P F) α → Sort u_2) (x : ↑(MvQPF.Sigma.P F) α)
(h_1 : (a : (MvQPF.Sigma.P F).A) → (f : ((MvQPF.Sigma.P F).B a).Arrow α) → motive ⟨a, f⟩) (a : (MvQPF.Sigma.P F).A)
(f : ((MvQPF.Sigma.P F).B a).Arrow α),
x = ⟨a, f⟩ →
(match x with
| ⟨a, f⟩ => h_1 a f) ≍
h_1 a f
def MvQPF.Sigma E1 #
{n : ℕ} → {A : Type u} → (A → TypeVec.{u} n → Type u) → TypeVec.{u} n → Type u
Dependent sum of an n-ary functor. The sum can range over
data types like ℕ or over Type.{u-1}
def MvQPF.Pi E1 #
{n : ℕ} → {A : Type u} → (A → TypeVec.{u} n → Type u) → TypeVec.{u} n → Type u
Dependent product of an n-ary functor. The sum can range over
data types like ℕ or over Type.{u-1}
instance MvQPF.Sigma.inhabited E0 #
{n : ℕ} →
{A : Type u} →
(F : A → TypeVec.{u} n → Type u) →
{α : TypeVec.{u} n} → [inst : Inhabited A] → [Inhabited (F default α)] → Inhabited (MvQPF.Sigma F α)
instance MvQPF.Pi.inhabited E0 #
{n : ℕ} →
{A : Type u} →
(F : A → TypeVec.{u} n → Type u) → {α : TypeVec.{u} n} → [(a : A) → Inhabited (F a α)] → Inhabited (MvQPF.Pi F α)
instance MvQPF.Sigma.instMvFunctor E0 #
{n : ℕ} → {A : Type u} → (F : A → TypeVec.{u} n → Type u) → [(α : A) → MvFunctor (F α)] → MvFunctor (MvQPF.Sigma F)
def MvQPF.Sigma.P E1 #
{n : ℕ} → {A : Type u} → (F : A → TypeVec.{u} n → Type u) → [(α : A) → MvQPF (F α)] → MvPFunctor.{u} n
polynomial functor representation of a dependent sum
def MvQPF.Sigma.abs E1 #
{n : ℕ} →
{A : Type u} →
(F : A → TypeVec.{u} n → Type u) →
[inst : (α : A) → MvQPF (F α)] → ⦃α : TypeVec.{u} n⦄ → ↑(MvQPF.Sigma.P F) α → MvQPF.Sigma F α
abstraction function for dependent sums
def MvQPF.Sigma.repr E1 #
{n : ℕ} →
{A : Type u} →
(F : A → TypeVec.{u} n → Type u) →
[inst : (α : A) → MvQPF (F α)] → ⦃α : TypeVec.{u} n⦄ → MvQPF.Sigma F α → ↑(MvQPF.Sigma.P F) α
representation function for dependent sums
instance MvQPF.Sigma.inst E0 #
{n : ℕ} → {A : Type u} → (F : A → TypeVec.{u} n → Type u) → [(α : A) → MvQPF (F α)] → MvQPF (MvQPF.Sigma F)
instance MvQPF.Pi.instMvFunctor E0 #
{n : ℕ} → {A : Type u} → (F : A → TypeVec.{u} n → Type u) → [(α : A) → MvFunctor (F α)] → MvFunctor (MvQPF.Pi F)
def MvQPF.Pi.P E1 #
{n : ℕ} → {A : Type u} → (F : A → TypeVec.{u} n → Type u) → [(α : A) → MvQPF (F α)] → MvPFunctor.{u} n
polynomial functor representation of a dependent product
def MvQPF.Pi.abs E1 #
{n : ℕ} →
{A : Type u} →
(F : A → TypeVec.{u} n → Type u) →
[inst : (α : A) → MvQPF (F α)] → ⦃α : TypeVec.{u} n⦄ → ↑(MvQPF.Pi.P F) α → MvQPF.Pi F α
abstraction function for dependent products
def MvQPF.Pi.repr E1 #
{n : ℕ} →
{A : Type u} →
(F : A → TypeVec.{u} n → Type u) →
[inst : (α : A) → MvQPF (F α)] → ⦃α : TypeVec.{u} n⦄ → MvQPF.Pi F α → ↑(MvQPF.Pi.P F) α
representation function for dependent products
instance MvQPF.Pi.inst E0 #
{n : ℕ} → {A : Type u} → (F : A → TypeVec.{u} n → Type u) → [(α : A) → MvQPF (F α)] → MvQPF (MvQPF.Pi F)