Finite dimensions and cells #
The top dimension is Fin.last n; every smaller dimension belongs to Fin n.
Cells in the top dimension are unrestricted. Lower cells are fixed by source.
@[simp]
theorem
CategorialAlgebras.Presentations.lowerDimension_castSucc
{n : ℕ}
{j k : Fin (n + 1)}
(h : j < k)
:
Reinserting the lower endpoint does not change its value.
@[simp]
The lower endpoint of the pair from a composition dimension to the top is itself.
def
CategorialAlgebras.Presentations.IsFiniteCell
{n : ℕ}
{A : Type w}
(C : Homogeneous.Structure (Fin n) A)
(k : Fin (n + 1))
(x : A)
:
A finite-dimensional cell, including all elements at the top dimension.
Instances For
@[simp]
theorem
CategorialAlgebras.Presentations.isFiniteCell_last
{n : ℕ}
{A : Type w}
(C : Homogeneous.Structure (Fin n) A)
(x : A)
:
IsFiniteCell C (Fin.last n) x
At the top dimension every element is a cell.
@[simp]
theorem
CategorialAlgebras.Presentations.isFiniteCell_castSucc
{n : ℕ}
{A : Type w}
(C : Homogeneous.Structure (Fin n) A)
(k : Fin n)
(x : A)
:
At a lower dimension the condition is the usual fixed-source condition.
theorem
CategorialAlgebras.Presentations.isFiniteCell_mono
{n : ℕ}
{A : Type w}
(C : Homogeneous.Structure (Fin n) A)
{j k : Fin (n + 1)}
(h : j ≤ k)
{x : A}
(hx : IsFiniteCell C j x)
:
IsFiniteCell C k x
Finite cells remain cells in every larger dimension.
theorem
CategorialAlgebras.Presentations.source_isCell
{n : ℕ}
{A : Type w}
(C : Homogeneous.Structure (Fin n) A)
(k : Fin n)
(x : A)
:
Sources are cells in their own dimension.
theorem
CategorialAlgebras.Presentations.target_isCell
{n : ℕ}
{A : Type w}
(C : Homogeneous.Structure (Fin n) A)
(k : Fin n)
(x : A)
:
Targets are cells in their own dimension.
theorem
CategorialAlgebras.Presentations.operation_isCell
{n : ℕ}
{S : Type u}
{sig : Signature S}
(A : Homogeneous.NCategorialAlgebra n sig)
{a : List S}
{s : S}
(σ : sig a s)
(k : Fin n)
(x : Word.Family (Homogeneous.CategorialAlgebra.carrier A) a)
(hx : ∀ (j : Fin a.length), (A.sort (a.get j)).str.IsCell k (x j))
:
Original operations preserve the dimension of cells, including nullary operations.
theorem
CategorialAlgebras.Presentations.identity_injective
{I : Type u_1}
[Preorder I]
{A : I → Type w}
(C : Heterogeneous.Structure I A)
{j k : I}
(h : j < k)
:
Function.Injective (C.dim j k h).identity
Identities between distinct dimensions are injective.