MindFormal v1.0.0One Mind

MindFormal.Tools.A617Judgment.EpisodeCovariance

The symmetric part of the complete trace/activity moment is positive semidefinite because it is the computed average of trace squares.

theorem MindFormal.A617Judgment.Episodes.Quadratic.eval_traceSquare {I : Type u} [Fintype I] [DecidableEq I] (a : I → ℝ) (s : I) (x r : I → ℝ) :
(traceSquare a).eval s x r = (∑ i : I, a i * r i) ^ 2
theorem MindFormal.A617Judgment.Episodes.Quadratic.average_traceSquare {I : Type u} [Fintype I] [DecidableEq I] (G : Generator I) (d : I → ℝ) (hd : Matrix.vecMul d G.Q = 0) {ν rate A : ℝ} (hν : 0 < ν) (hrate : 0 < rate) (a : I → ℝ) :
average G d ν rate A (traceSquare a) = ∑ i : I, ∑ j : I, a i * ((traceMoment G d ν rate A i j + traceMoment G d ν rate A j i) / 2) * a j
noncomputable def MindFormal.A617Judgment.Episodes.symmetricTraceMoment {I : Type u} [Fintype I] [DecidableEq I] (G : Generator I) (d : I → ℝ) (ν rate A : ℝ) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.A617Judgment.Episodes.symmetricTraceMoment_matrix {I : Type u} [Fintype I] [DecidableEq I] (G : Generator I) (d : I → ℝ) (ν rate A : ℝ) :
    symmetricTraceMoment G d ν rate A = (1 / 2) • (traceMoment G d ν rate A + (traceMoment G d ν rate A).transpose)
    theorem MindFormal.A617Judgment.Episodes.symmetricTraceMoment_posSemidef {I : Type u} [Fintype I] [DecidableEq I] [MeasurableSpace I] [MeasurableSingletonClass I] [TopologicalSpace I] [DiscreteTopology I] [Nonempty I] (G : Generator I) (hir : G.Irreducible) (d : I → ℝ) (hd : Matrix.vecMul d G.Q = 0) (hds : ∑ i : I, d i = 1) {ν rate A : ℝ} (hν : 0 < ν) (hrate : 0 < rate) (hA : 0 ≤ A) (q : NNReal) (hq : 0 < ↑q) (hcap : ∀ (i : I), -↑q ≤ G.Q i i) :