MindFormal v1.0.0One Mind

MindFormal.Tools.A640SharedReports.WordChannel

A word is the set of positive report positions. Its full conditional likelihood is the independent product, before collecting equal counts.

Equations
Instances For
    Equations
    Instances For
      noncomputable def MindFormal.A640SharedReports.wordPosterior (ρ : ℝ) {m : ℕ} (S : Finset (Fin m)) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.A640SharedReports.sum_words_by_count (m : ℕ) (f : ℕ → ℝ) :
        ∑ S : Finset (Fin m), f S.card = ∑ j ∈ Finset.range (m + 1), ↑(m.choose j) * f j
        theorem MindFormal.A640SharedReports.word_likelihood_product (ρ : ℝ) (m : ℕ) (S : Finset (Fin m)) :
        (wordPlus ρ S = ∏ i : Fin m, if i ∈ S then 1 - ρ else ρ) ∧ wordMinus ρ S = ∏ i : Fin m, if i ∈ S then ρ else 1 - ρ
        theorem MindFormal.A640SharedReports.word_channel_variance {ρ : ℝ} (hρ : ρ ∈ Set.Icc 0 1) (m : ℕ) :
        ∑ S : Finset (Fin m), (wordPlus ρ S * (1 - wordPosterior ρ S) ^ 2 + wordMinus ρ S * (-1 - wordPosterior ρ S) ^ 2) / 2 = binomialVariance ρ m
        theorem MindFormal.A640SharedReports.word_channel_normalized (ρ : ℝ) (m : ℕ) :
        ∑ S : Finset (Fin m), wordPlus ρ S = 1 ∧ ∑ S : Finset (Fin m), wordMinus ρ S = 1
        theorem MindFormal.A640SharedReports.word_channel_projection {ρ : ℝ} (hρ : ρ ∈ Set.Icc 0 1) (m : ℕ) (f : Finset (Fin m) → ℝ) :
        ∑ S : Finset (Fin m), (wordPlus ρ S * (1 - f S) ^ 2 + wordMinus ρ S * (-1 - f S) ^ 2) / 2 = binomialVariance ρ m + ∑ S : Finset (Fin m), (wordPlus ρ S + wordMinus ρ S) / 2 * (f S - wordPosterior ρ S) ^ 2

        Projection for EVERY read of the complete report word. Counting loses no information; execution discrepancy remains an actual nonnegative sum.