MindFormal v1.0.0One Mind

MindFormal.Tools.A630EncounterLaws.ComponentModes

@[reducible, inline]
abbrev MindFormal.A630EncounterLaws.ComponentModes.Index {I : Type u_1} (H : I → Type u_4) (C : I → Type u_5) :
Type (max u_1 u_5 u_4)
Equations
Instances For
    @[simp]
    theorem MindFormal.A630EncounterLaws.ComponentModes.projection_apply {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} (i : I) (h : H i) (x : EuclideanSpace ℝ (Index H C)) (a : C i) :
    ((projection i h) x).ofLp a = x.ofLp ⟨i, (h, a)⟩
    noncomputable def MindFormal.A630EncounterLaws.ComponentModes.target {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (C i)] (P : (i : I) → H i → ScalarReference) (b : (i : I) → H i → OrthonormalBasis (C i) ℝ (EuclideanSpace ℝ (C i))) (U : (i : I) → H i → C i → ℝ) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.A630EncounterLaws.ComponentModes.projection_target {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (C i)] (P : (i : I) → H i → ScalarReference) (b : (i : I) → H i → OrthonormalBasis (C i) ℝ (EuclideanSpace ℝ (C i))) (U : (i : I) → H i → C i → ℝ) (i : I) (h : H i) :
      (projection i h) (target P b U) = (b i h).repr ((P i h).target (U i h))
      noncomputable def MindFormal.A630EncounterLaws.ComponentModes.retention {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (C i)] (P : (i : I) → H i → ScalarReference) (c₀ : (i : I) → C i) :
      Index H C → ℝ
      Equations
      Instances For
        theorem MindFormal.A630EncounterLaws.ComponentModes.retention_nonnegative {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (C i)] [∀ (i : I), Nonempty (C i)] (P : (i : I) → H i → ScalarReference) (c₀ : (i : I) → C i) (l : Index H C) :
        0 ≤ retention P c₀ l
        theorem MindFormal.A630EncounterLaws.ComponentModes.retention_lt_one {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (C i)] [∀ (i : I), Nonempty (C i)] (P : (i : I) → H i → ScalarReference) (c₀ : (i : I) → C i) (l : Index H C) :
        retention P c₀ l < 1
        noncomputable def MindFormal.A630EncounterLaws.ComponentModes.read {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (H i)] [(i : I) → Fintype (C i)] (b : (i : I) → H i → OrthonormalBasis (C i) ℝ (EuclideanSpace ℝ (C i))) (w : (i : I) → H i → ℝ) (i : I) (a : C i) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.A630EncounterLaws.ComponentModes.read_apply {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (H i)] [(i : I) → Fintype (C i)] (b : (i : I) → H i → OrthonormalBasis (C i) ℝ (EuclideanSpace ℝ (C i))) (w : (i : I) → H i → ℝ) (i : I) (a : C i) (x : EuclideanSpace ℝ (Index H C)) :
          (read b w i a) x = ∑ h : H i, w i h * ((b i h).repr.symm ((projection i h) x)).ofLp a
          noncomputable def MindFormal.A630EncounterLaws.ComponentModes.mean {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (H i)] (P : (i : I) → H i → ScalarReference) (w : (i : I) → H i → ℝ) (U : (i : I) → H i → C i → ℝ) (i : I) (a : C i) :
          Equations
          Instances For
            noncomputable def MindFormal.A630EncounterLaws.ComponentModes.offset {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (H i)] [(i : I) → Fintype (C i)] (P : (i : I) → H i → ScalarReference) (w : (i : I) → H i → ℝ) (U : (i : I) → H i → C i → ℝ) (i : I) :
            Equations
            Instances For
              theorem MindFormal.A630EncounterLaws.ComponentModes.read_target {I : Type u_1} {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (H i)] [(i : I) → Fintype (C i)] (P : (i : I) → H i → ScalarReference) (b : (i : I) → H i → OrthonormalBasis (C i) ℝ (EuclideanSpace ℝ (C i))) (w : (i : I) → H i → ℝ) (U : (i : I) → H i → C i → ℝ) (i : I) (a : C i) :
              (read b w i a) (target P b U) = mean P w U i a + offset P w U i
              theorem MindFormal.A630EncounterLaws.ComponentModes.read_mean {I : Type u_1} [Fintype I] {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (H i)] [(i : I) → Fintype (C i)] (P : (i : I) → H i → ScalarReference) (b : (i : I) → H i → OrthonormalBasis (C i) ℝ (EuclideanSpace ℝ (C i))) (w : (i : I) → H i → ℝ) (U : (i : I) → H i → C i → ℝ) (S : Matrix (Index H C) (Index H C) ℝ) (i : I) (a : C i) :
              ∫ (x : EuclideanSpace ℝ (Index H C)), (read b w i a) x ∂ProbabilityTheory.multivariateGaussian (target P b U) S = mean P w U i a + offset P w U i
              theorem MindFormal.A630EncounterLaws.ComponentModes.joint_gaussian {I : Type u_1} [Fintype I] {H : I → Type u_2} {C : I → Type u_3} [(i : I) → Fintype (H i)] [(i : I) → Fintype (C i)] (P : (i : I) → H i → ScalarReference) (b : (i : I) → H i → OrthonormalBasis (C i) ℝ (EuclideanSpace ℝ (C i))) (w : (i : I) → H i → ℝ) (U : (i : I) → H i → C i → ℝ) (S : Matrix (Index H C) (Index H C) ℝ) :
              ProbabilityTheory.HasGaussianLaw (fun (x : EuclideanSpace ℝ (Index H C)) (a : (i : I) × C i) => (read b w a.fst a.snd) x) (ProbabilityTheory.multivariateGaussian (target P b U) S)

              The joint score read is linear, including negative cost coefficients. It preserves joint Gaussianity across players with different menus.