MindFormal v1.0.0One Mind

MindFormal.Tools.StationaryWriterRows.Moments

structure MindFormal.StationaryWriterRows.RowData (Ω : Type u_3) (I : Type u_4) :
Type (max u_3 u_4)

Random coefficients of the complete writer, with no independence or factorization assumptions. In the chapter application these are the actual gain, presences, activities, teaching drive and complete incoming row.

  • M : Ω → ℝ
  • C : Ω → I → ℝ
  • x : Ω → I → ℝ
  • W : Ω → I → ℝ
  • e : Ω → ℝ
Instances For
    noncomputable def MindFormal.StationaryWriterRows.RowData.mean {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] (R : RowData Ω I) (μ : MeasureTheory.Measure Ω) :
    I → ℝ
    Equations
    Instances For
      @[reducible, inline]
      noncomputable abbrev MindFormal.StationaryWriterRows.RowData.G {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] (R : RowData Ω I) (μ : MeasureTheory.Measure Ω) :
      Equations
      Instances For
        noncomputable def MindFormal.StationaryWriterRows.RowData.f {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] (R : RowData Ω I) (μ : MeasureTheory.Measure Ω) :
        I → ℝ
        Equations
        Instances For
          noncomputable def MindFormal.StationaryWriterRows.RowData.d {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] (R : RowData Ω I) (μ : MeasureTheory.Measure Ω) (i : I) :
          Equations
          Instances For
            noncomputable def MindFormal.StationaryWriterRows.RowData.h {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] (R : RowData Ω I) (μ : MeasureTheory.Measure Ω) (i : I) :
            I → ℝ
            Equations
            Instances For
              noncomputable def MindFormal.StationaryWriterRows.RowData.Kcor {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] [Fintype I] (R : RowData Ω I) (μ : MeasureTheory.Measure Ω) :
              I → ℝ
              Equations
              Instances For
                noncomputable def MindFormal.StationaryWriterRows.RowData.Kbind {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] (R : RowData Ω I) (μ : MeasureTheory.Measure Ω) (i : I) :
                I → ℝ
                Equations
                Instances For
                  def MindFormal.StationaryWriterRows.RowData.drift {Ω : Type u_1} {I : Type u_2} [Fintype I] (R : RowData Ω I) (β : ℝ) (i j : I) (ω : Ω) :
                  Equations
                  • R.drift β i j ω = R.M ω * (R.C ω j * ((1 - β) * R.e ω + β * R.x ω i) - ((1 - β) * R.C ω j * ∑ k : I, R.x ω k * R.W ω k + β * R.x ω i * R.W ω j))
                  Instances For
                    structure MindFormal.StationaryWriterRows.RowData.Moments {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] (R : RowData Ω I) (μ : MeasureTheory.Measure Ω) (i : I) :

                    Exactly the finite product moments used below; the gain stays inside every product, including each centered relation correlation.

                    Instances For
                      theorem MindFormal.StationaryWriterRows.RowData.correction_decomposition {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] [Fintype I] {R : RowData Ω I} {μ : MeasureTheory.Measure Ω} {i : I} (H : R.Moments μ i) (j : I) :
                      ∫ (ω : Ω), R.M ω * R.C ω j * ∑ k : I, R.x ω k * R.W ω k ∂μ = ∑ k : I, R.G μ j k * R.mean μ k + R.Kcor μ j
                      theorem MindFormal.StationaryWriterRows.RowData.binding_decomposition {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] {R : RowData Ω I} {μ : MeasureTheory.Measure Ω} {i : I} (H : R.Moments μ i) (j : I) :
                      ∫ (ω : Ω), R.M ω * R.x ω i * R.W ω j ∂μ = R.d μ i * R.mean μ j + R.Kbind μ i j
                      theorem MindFormal.StationaryWriterRows.RowData.mean_balance {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] [Fintype I] {R : RowData Ω I} {μ : MeasureTheory.Measure Ω} {i : I} (H : R.Moments μ i) (β : ℝ) (hz : ∀ (j : I), ∫ (ω : Ω), R.drift β i j ω ∂μ = 0) :
                      (rowMap (R.G μ).mulVecLin (R.d μ i) β) (R.mean μ) = rowRHS (R.f μ - R.Kcor μ) (R.h μ i - R.Kbind μ i) β