MindFormal v1.0.0One Mind

MindFormal.Tools.A640SharedReports.GroupChannel

theorem MindFormal.A640SharedReports.cell_mean {A B : ℝ} (hA : 0 ≤ A) (hB : 0 ≤ B) :
(A + B) / 2 * ((A - B) / (A + B)) = (A - B) / 2
theorem MindFormal.A640SharedReports.posterior_centered {ρ : ℝ} (hρ : ρ ∈ Set.Icc 0 1) (m : ℕ) :
∑ j ∈ Finset.range (m + 1), countMass ρ m j * countPosterior ρ m j = 0
theorem MindFormal.A640SharedReports.posterior_variance {ρ : ℝ} (hρ : ρ ∈ Set.Icc 0 1) (m : ℕ) :
∑ j ∈ Finset.range (m + 1), countMass ρ m j * (1 - countPosterior ρ m j ^ 2) = binomialVariance ρ m
theorem MindFormal.A640SharedReports.group_channel_projection {ρA ρB : ℝ} (hA : ρA ∈ Set.Icc 0 1) (hB : ρB ∈ Set.Icc 0 1) (k l : ℕ) (z0 a b c : ℝ) (f : Fin (k + 1) → Fin (l + 1) → ℝ) :
finiteRisk (fun (i : Fin (k + 1)) => countMass ρA k ↑i) (fun (j : Fin (l + 1)) => countMass ρB l ↑j) (fun (i : Fin (k + 1)) => countPosterior ρA k ↑i) (fun (j : Fin (l + 1)) => countPosterior ρB l ↑j) z0 a b c f = missingRisk a b c (binomialVariance ρA k) (binomialVariance ρB l) + finiteExecution (fun (i : Fin (k + 1)) => countMass ρA k ↑i) (fun (j : Fin (l + 1)) => countMass ρB l ↑j) (fun (i : Fin (k + 1)) => countPosterior ρA k ↑i) (fun (j : Fin (l + 1)) => countPosterior ρB l ↑j) z0 a b c f

Each count is the retained sufficient statistic for one comparison channel; independent kinds use their product law. The execution map is the actual map of both records, not an assumed optimal forecast.