MindFormal v1.0.0One Mind

MindFormal.Tools.A630EncounterLaws.ScalarGaussian

theorem MindFormal.A630EncounterLaws.basis_frame {C : Type u_1} [Fintype C] (b : OrthonormalBasis C ℝ (EuclideanSpace ℝ C)) (a d : C) :
∑ i : C, (b i).ofLp a * (b i).ofLp d = if a = d then 1 else 0
theorem MindFormal.A630EncounterLaws.readCov_diagonal {C : Type u_1} [Fintype C] (r s v : C → ℝ) :
∑ i : C, ∑ j : C, r i * s j * Matrix.diagonal v i j = ∑ i : C, r i * s i * v i
theorem MindFormal.A630EncounterLaws.scalar_read_covariance {C : Type u_1} [Fintype C] [Nonempty C] (b : OrthonormalBasis C ℝ (EuclideanSpace ℝ C)) (c₀ : C) (hb : b c₀ = uniformVector) (α β : ℝ) (a d : C) :
∑ i : C, ∑ j : C, (b i).ofLp a * (b j).ofLp d * Matrix.diagonal (scalarRetention c₀ α β) i j = (β * if a = d then 1 else 0) + (α - β) / ↑(Fintype.card C)
theorem MindFormal.A630EncounterLaws.scalar_retainedCov {C : Type u_1} (c₀ : C) (plus minus blank : ℝ) :
retainedCov (scalarRetention c₀ plus minus) (Matrix.diagonal fun (x : C) => blank) = Matrix.diagonal (scalarRetention c₀ (blank / (1 - plus ^ 2)) (blank / (1 - minus ^ 2)))
theorem MindFormal.A630EncounterLaws.scalar_stationary_covariance {C : Type u_1} [Fintype C] [Nonempty C] (b : OrthonormalBasis C ℝ (EuclideanSpace ℝ C)) (c₀ : C) (hb : b c₀ = uniformVector) {plus minus blank : ℝ} (hp : 0 ≤ plus) (hp1 : plus < 1) (hm : 0 ≤ minus) (hm1 : minus < 1) (hblank : 0 ≤ blank) (m : EuclideanSpace ℝ C) (a d : C) :
ProbabilityTheory.covariance (⇑(modeRead fun (i : C) => (b i).ofLp a)) (⇑(modeRead fun (i : C) => (b i).ofLp d)) (ProbabilityTheory.multivariateGaussian m (retainedCov (scalarRetention c₀ plus minus) (Matrix.diagonal fun (x : C) => blank))) = (blank / (1 - minus ^ 2) * if a = d then 1 else 0) + (blank / (1 - plus ^ 2) - blank / (1 - minus ^ 2)) / ↑(Fintype.card C)
theorem MindFormal.A630EncounterLaws.basis_read {C : Type u_1} [Fintype C] (b : OrthonormalBasis C ℝ (EuclideanSpace ℝ C)) (x : EuclideanSpace ℝ C) (a : C) :
(modeRead fun (i : C) => (b i).ofLp a) x = (b.repr.symm x).ofLp a