Documentation

CslibFrontier.Foundations.LinearAlgebra.Tensor.Party.Classes

Tensors up to equivalence #

The classes of tensors over the parties I under equivalence, Antisymmetrization (PartyTensor K I) (· ≤ ·), form a commutative monoid (module CslibFrontier.Foundations.LinearAlgebra.Tensor.Party.Equivalent). Covers of representatives make it a monoid with a covering relation (Cslib.PartyTensor.tensorCovering). An upper functional on tensors is the same as an upper functional on classes for this covering relation (Cslib.PartyTensor.UpperFunctional.isUpperFunctional_lift, Cslib.PartyTensor.UpperFunctional.ofIsUpperFunctional), so the abstract results of Cslib.Covering apply to tensors.

Main definitions #

Main results #

References #

theorem Cslib.PartyTensor.antisymmRel_ofAntisymmetrization_mul {K : Type} [CommSemiring K] {I : Type} [Fintype I] [DecidableEq I] (x y : Antisymmetrization (PartyTensor K I) fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) :
AntisymmRel (fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) (ofAntisymmetrization (fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) (x * y)) (ofAntisymmetrization (fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) x * ofAntisymmetrization (fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) y)

A representative of a product of classes is equivalent to the product of representatives.

noncomputable def Cslib.PartyTensor.tensorCovering (K : Type) [CommSemiring K] (I : Type) [Fintype I] [DecidableEq I] :
Covering (Antisymmetrization (PartyTensor K I) fun (x1 x2 : PartyTensor K I) => x1 ≤ x2)

The covering relation on classes of tensors: covers of representatives.

theorem Cslib.PartyTensor.tensorCovering_coveredBy {K : Type} [CommSemiring K] {I : Type} [Fintype I] [DecidableEq I] {κ : Type} [Fintype κ] {t : PartyTensor K I} {b : κ → PartyTensor K I} :
((tensorCovering K I).CoveredBy (toAntisymmetrization (fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) t) fun (k : κ) => toAntisymmetrization (fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) (b k)) ↔ t.CoveredBy b

Covers of classes are covers of tensors.

An upper functional on tensors is an upper functional on classes.

The upper functional on tensors given by an upper functional on classes.

@[simp]
theorem Cslib.PartyTensor.UpperFunctional.respects_lift {K : Type} [CommSemiring K] {I : Type} [Fintype I] [DecidableEq I] {P : UpperFunctional K I} {x y : PartyTensor K I} {c : ℝ} (h : ∀ (t : PartyTensor K I), P.toFun (t * x) ≤ c * P.toFun (t * y)) :
Covering.Respects P.lift (toAntisymmetrization (fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) x) (toAntisymmetrization (fun (x1 x2 : PartyTensor K I) => x1 ≤ x2) y) c

An inequality P (t * x) ≤ c * P (t * y) for all tensors t holds for all classes.