Documentation

LeanPool.RegtsSevenster.RS.Novel.Envelope.MatEmbMonoidal

Monoidal, braided, additive, and linear structure on Mat_.embedding C #

When C is a monoidal preadditive category, the embedding functor Mat_.embedding C : C ⥤ Mat_ C is strong monoidal, braided (when C is braided), additive, and ℂ-linear (when C is linear).

The key observation is that the embedding sends X to the one-by-one matrix ⟨PUnit, fun _ => X⟩, so all index types in sight are products of PUnit (hence subsingletons). Every structural morphism is therefore a single-entry diagonal matrix carrying the identity of the appropriate tensor product, and all coherence proofs collapse immediately.

We use Functor.CoreMonoidal to avoid manually proving the oplax coherence conditions: from εIso, μIso, and the lax axioms, mathlib automatically derives the full Functor.Monoidal structure including the OplaxMonoidal fields.

The embedding is additive #

Mathlib already provides (Mat_.embedding C).Additive.

The embedding is ℂ-linear #

Naturality and coherence lemmas #

Associativity #

Unitality #

The CoreMonoidal structure and Monoidal instance #

The CoreMonoidal structure on Mat_.embedding C, providing isomorphisms εIso : 𝟙_ (Mat_ C) ≅ (Mat_.embedding C).obj (𝟙_ C), the identity since these coincide, and μIso X Y : emb X ⊗ emb Y ≅ emb (X ⊗ Y) from matEmbTensorIso.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[instance_reducible]

    The embedding Mat_.embedding C is strong monoidal. The full Monoidal structure, OplaxMonoidal coherence included, comes from CoreMonoidal.

    Equations

    The braided structure on Mat_.embedding C #