The coaugmented tensor coalgebra #
For an R-module M, the tensor words ⨁_{n ≥ 0} M^{⊗n} carry the deconcatenation coproduct
Δ (x₁ ⋯ x_n) = ∑_{c = 0}^{n} (x₁ ⋯ x_c) ⊗ (x_{c+1} ⋯ x_n), whose outer two summands use the
empty word. Together with the counit that reads off the length-zero coefficient this makes the
tensor words a genuine Coalgebra in Mathlib's sense, coaugmented by r ↦ r · 1, where the empty
word 1 is group-like.
This is the counital (coaugmented) extension of the reduced tensor coalgebra
TauCeti.ReducedTensorWords, which only admits the nontrivial cuts and is therefore not
counital. The comparison is
TauCeti.TensorWords.deconcatenation_comp_reducedInclusion: the coproduct of a word x of
positive length is 1 ⊗ x + x ⊗ 1 together with the reduced coproduct of x, and the reduced
words map onto exactly the kernel ker ε of the counit. Both facts are what makes the two
presentations interchangeable downstream: an A∞ structure is a square-zero coderivation of the
reduced coalgebra, while an A∞ morphism is a morphism of the coaugmented ones.
The combinatorics is the same as in the reduced case and is again organised through blocks of
consecutive letters, TauCeti.TensorWords.subword. In both cases the two iterated coproducts are
indexed by the triangle 0 ≤ d ≤ c ≤ n of nested cuts and are compared after extending them to
the full square. The one difference is that an empty block is now the empty word rather than
zero, so the degenerate summands outside the triangle no longer vanish: the extension is not free
as it is in the reduced case, and it is carried out by Finset.sum_filter, which keeps the
constraint d ≤ c as an explicit if. Coassociativity is then Finset.sum_comm all the same.
Main definitions #
TauCeti.TensorWords: the direct sum of all tensor powers, the empty one included.TauCeti.TensorWords.deconcatenation: the sum over every cut of a tensor word.TauCeti.TensorWords.counit: the length-zero coefficient.TauCeti.TensorWords.coaugmentation: the algebra map, bundled as a coalgebra morphism.TauCeti.TensorWords.reducedInclusionandTauCeti.TensorWords.reducedProjection: the positive-length words as a direct summand.TauCeti.TensorWords.map: apply a linear map to every letter of a tensor word.
Main results #
TauCeti.TensorWords.instCoalgebra: tensor words are a coalgebra.TauCeti.TensorWords.isGroupLikeElem_one: the empty word is group-like.TauCeti.TensorWords.deconcatenation_comp_reducedInclusion: on a word of positive length the coproduct is the reduced coproduct together with its two degenerate cuts.TauCeti.TensorWords.ker_counit: the kernel of the counit is the image of the positive-length words underTauCeti.TensorWords.reducedInclusion.TauCeti.TensorWords.map_id,TauCeti.TensorWords.map_comp,TauCeti.TensorWords.deconcatenation_naturalandTauCeti.TensorWords.counit_comp_map: the letterwise maps are homomorphisms, and deconcatenation and the counit are natural with respect to them.TauCeti.TensorWords.map_comp_reducedInclusion: on the words of positive length a letterwise map is the inclusion of the corresponding reduced one.
References #
- E. Getzler and J. D. S. Jones, A-infinity algebras and the cyclic bar complex, Sections 1--2.
- B. Keller, Introduction to A-infinity algebras and modules, Sections 3.1 and 3.6.
The module of tensor words, the empty word included.
Equations
- TauCeti.TensorWords R M = DirectSum ℕ fun (n : ℕ) => TensorPower R n M
Instances For
Include a tensor power into tensor words.
Equations
- TauCeti.TensorWords.of R M n = DirectSum.lof R ℕ (fun (n : ℕ) => TensorPower R n M) n
Instances For
Inclusion into tensor words is the direct-sum inclusion.
Pure tensor words with pointwise equal letters are equal.
The words of a fixed length generate all tensor words.
Two linear maps out of tensor words agree if they agree on pure tensor words.
Project tensor words to a fixed tensor length.
Equations
- TauCeti.TensorWords.component R M n = DirectSum.component R ℕ (fun (n : ℕ) => TensorPower R n M) n
Instances For
Applying the length projection reads the corresponding coordinate.
The specialized projection rules for included words take precedence.
The component of an included tensor power at its own length is that tensor power.
Projecting an included tensor power vanishes when the two lengths differ.
A linear map assembled from its length components is that component on a tensor word of that length.
The counit #
The counit of the tensor coalgebra reads off the coefficient of the empty word.
Equations
Instances For
The counit evaluates the length-zero component using the scalar identification.
On the empty length the counit is the canonical identification with the ground ring.
The counit annihilates every word of positive length.
The algebra map is inclusion into tensor length zero.
The algebra unit is the empty pure tensor in tensor length zero.
The counit is a retraction of the coaugmentation given by the algebra map.
The counit retracts the coaugmentation on every scalar.
The empty word has counit one.
Deconcatenation #
Deconcatenation on words of one fixed length, summed over all cuts, the two outer ones included.
Equations
- One or more equations did not get rendered due to their size.
Instances For
On a pure tensor, deconcatenation is the sum of its prefix--suffix cuts.
Deconcatenation cuts a tensor word at every position, the two outer positions included.
Equations
Instances For
Deconcatenation is computed length by length.
Each bidegree of deconcatenation splits the component of the total length.
The tensor word x a ⊗ ⋯ ⊗ x (a + b - 1), of length b and starting at position a.
It is zero when the requested block runs past the end of x, and is 1 when the block is empty
and starts inside the tuple (a ≤ n); the intended range of the definition is a + b ≤ n.
Equations
- TauCeti.TensorWords.subword R x a b = if h : a + b ≤ n then (TauCeti.TensorWords.of R M b) ((PiTensorProduct.tprod R) fun (j : Fin b) => x ⟨a + ↑j, ⋯⟩) else 0
Instances For
On its intended range, a subword is the pure tensor of the selected block of letters.
A block running past the end of the tuple is zero.
An empty block inside a tuple is the empty word.
A whole tuple is the subword of full length starting at its beginning.
A nonempty block is annihilated by the counit.
Deconcatenating a block cuts it at each of its positions, the two outer ones included.
Coassociativity and counitality #
Deconcatenation is coassociative: cutting a tensor word twice gives the same sum of triples of blocks whether the second cut is taken in the left or in the right factor of the first.
counit is a left counit for deconcatenation; only the cut with an empty left block
survives.
counit is a right counit for deconcatenation; only the cut with an empty right block
survives.
Deconcatenation and the length-zero coefficient are the coalgebra data of tensor words.
Equations
- TauCeti.TensorWords.instCoalgebraStruct R M = { comul := TauCeti.TensorWords.deconcatenation R M, counit := TauCeti.TensorWords.counit R M }
The comultiplication of the coalgebra structure is deconcatenation.
The counit of the coalgebra structure is the length-zero coefficient.
Tensor words form a coalgebra over the ground ring.
Equations
- TauCeti.TensorWords.instCoalgebra R M = { toCoalgebraStruct := TauCeti.TensorWords.instCoalgebraStruct R M, coassoc := ⋯, rTensor_counit_comp_comul := ⋯, lTensor_counit_comp_comul := ⋯ }
The empty word is group-like #
Deconcatenating the empty word cuts it in the only way available.
The empty word is a group-like element of the tensor coalgebra.
The canonical coaugmentation, bundling the algebra map as a coalgebra morphism.
Equations
- TauCeti.TensorWords.coaugmentation R M = { toLinearMap := Algebra.linearMap R (TauCeti.TensorWords R M), counit_comp := ⋯, map_comp_comul := ⋯ }
Instances For
The linear map underlying the canonical coaugmentation is the algebra map.
The canonical coaugmentation sends a scalar through the algebra map.
Comparison with the reduced tensor coalgebra #
The words of positive length inside all tensor words.
Equations
- TauCeti.TensorWords.reducedInclusion R M = DirectSum.toModule R { n : ℕ // 0 < n } (TauCeti.TensorWords R M) fun (n : { n : ℕ // 0 < n }) => TauCeti.TensorWords.of R M ↑n
Instances For
The inclusion of the reduced tensor words keeps each length component.
The included reduced word has precisely its positive-length components.
The retraction of TauCeti.TensorWords.reducedInclusion that deletes the empty word.
Equations
- TauCeti.TensorWords.reducedProjection R M = DirectSum.toModule R ℕ (TauCeti.ReducedTensorWords R M) fun (n : ℕ) => if h : 0 < n then TauCeti.ReducedTensorWords.of R M ⟨n, h⟩ else 0
Instances For
The projection keeps every component of positive length.
The projection deletes the length-zero component.
The projection deletes the empty word.
Deleting the empty word preserves each positive-length component.
The projection is a retraction of the inclusion.
Projecting an included positive-length word returns that word.
The reduced tensor words inject into all tensor words.
Every word of positive length lies in the augmentation coideal.
The counit vanishes on every positive-length word.
Tensor words are the empty word together with the words of positive length.
Every tensor word is the sum of its positive-length part and its length-zero part.
The kernel of the counit is exactly the image of the positive-length words under
TauCeti.TensorWords.reducedInclusion.
A nonempty block is the same word read in either presentation.
On a word of positive length the coproduct is the reduced coproduct together with the two degenerate cuts.
The coproduct of an included positive-length word is its two degenerate cuts together with the included reduced coproduct.
Projecting both factors of the coproduct of a positive-length word recovers reduced deconcatenation.
Projecting both factors after deconcatenating an included positive-length word is reduced deconcatenation.
The letters of a tensor word are primitive.
This fires ahead of TauCeti.TensorWords.deconcatenation_of, whose right-hand side
deconcatenationComponent has no computation rule for an abstract tensor power.
Letterwise maps #
Apply a linear map to every letter of a tensor word, the empty word included.
Equations
- TauCeti.TensorWords.map f = DirectSum.lmap fun (x : ℕ) => PiTensorProduct.map fun (x : Fin x) => f
Instances For
Mapping a word of a fixed length applies the tensor power of the map in that length.
Mapping a pure tensor applies the map to each of its letters.
Mapping the empty word leaves the empty word unchanged.
Mapping the identity map over the letters is the identity.
Mapping a composite over the letters composes the two letterwise maps.
Deconcatenation is natural with respect to linear maps of the letters.
The counit is natural with respect to the letterwise maps.
On the words of positive length the letterwise map of the coaugmented coalgebra is the inclusion of the letterwise map of the reduced one, because the two apply the same map to the same letters.