Conditional recall probabilities and the strict category gap for the whole literal native list record, from the physical phase contracts. The full acquired-preparation-to-contract adapter is still untagged.
def
MindFormal.A897RecallCompletion.assignmentFibre
{Ω : Type u_1}
(assigned : Ω → Equiv.Perm (Fin 12))
(j p : Fin 12)
:
Set Ω
Equations
Instances For
def
MindFormal.A897RecallCompletion.literalCategoryProbability
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ}
{hB : BrownianFiltration μ ℱ B}
(E : GroupsWorld.CompleteExperiment hB)
(a : A)
(word : Fin 12 → Fin (N a))
(assigned : Ω → Equiv.Perm (Fin 12))
(p : Fin 12)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
MindFormal.A897RecallCompletion.literalCategoryScore
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ}
{hB : BrownianFiltration μ ℱ B}
(E : GroupsWorld.CompleteExperiment hB)
(a : A)
(word : Fin 12 → Fin (N a))
(assigned : Ω → Equiv.Perm (Fin 12))
(p : Fin 12)
(m : ℕ)
(ω : Ω)
:
A category's score is the number of DISTINCT correct spoken labels in the actual complete prefix. An intrusion contributes nothing.
Equations
- MindFormal.A897RecallCompletion.literalCategoryScore E a word assigned p m ω = ↑(Finset.image word ({j ∈ MindFormal.A897RecallCompletion.literalWords E a word 32 m ω | (assigned ω) j = p})).card
Instances For
theorem
MindFormal.A897RecallCompletion.literalCategoryScore_distinct
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ}
{hB : BrownianFiltration μ ℱ B}
(E : GroupsWorld.CompleteExperiment hB)
(a : A)
(word : Fin 12 → Fin (N a))
(hw : Function.Injective word)
(assigned : Ω → Equiv.Perm (Fin 12))
(p : Fin 12)
(m : ℕ)
(hm : ⌊32 / (E.observed.member a).pause false⌋₊ + 1 ≤ m)
(ω : Ω)
:
literalCategoryScore E a word assigned p m ω = distinctScore (fun (j : Fin 12) => literalRecall E a word j ∩ assignmentFibre assigned j p) ω
theorem
MindFormal.A897RecallCompletion.expected_literalCategoryScore
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ}
{hB : BrownianFiltration μ ℱ B}
(E : GroupsWorld.CompleteExperiment hB)
(a : A)
(word : Fin 12 → Fin (N a))
(hw : Function.Injective word)
(assigned : Ω → Equiv.Perm (Fin 12))
(hmeas : ∀ (j : Fin 12), Measurable fun (ω : Ω) => (assigned ω) j)
(p : Fin 12)
(m : ℕ)
(hm : ⌊32 / (E.observed.member a).pause false⌋₊ + 1 ≤ m)
:
∫ (ω : Ω), literalCategoryScore E a word assigned p m ω ∂μ = literalCategoryProbability E a word assigned p
theorem
MindFormal.A897RecallCompletion.native_assigned_sandwich
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ}
{hB : BrownianFiltration μ ℱ B}
(E : GroupsWorld.CompleteExperiment hB)
(floor : A674GeneralNoise.FloorOnly E)
(a : A)
(word : Fin 12 → Fin (N a))
(D : Fin 12 → ListPhaseModel)
(remaining : Fin 12 → Ω → ℝ)
(K : ℝ)
(start : Fin 12 → Ω → ℝ)
(finish : Fin 12 → Ω → NNReal)
(assigned : Ω → Equiv.Perm (Fin 12))
(hmeas : ∀ (j : Fin 12), Measurable fun (ω : Ω) => (assigned ω) j)
(hind :
∀ (j : Fin 12), ProbabilityTheory.IndepFun (fun (ω : Ω) => (D j).Z (remaining j ω)) (fun (ω : Ω) => (assigned ω) j) μ)
(F : Fin 12 → ℝ → ℝ)
(cdf : ∀ (j : Fin 12) (x : ℝ), μ.real {ω : Ω | (D j).Z (remaining j ω) ≤ x} = F j x)
(G : Set Ω)
(hG : MeasurableSet G)
(ε : ℝ)
(hpositive : ∀ (j p : Fin 12), 0 < μ.real (assignmentFibre assigned j p))
(good : ∀ (j p : Fin 12), 1 - ε ≤ μ.real (G ∩ assignmentFibre assigned j p) / μ.real (assignmentFibre assigned j p))
(budget :
∀ᵐ (ω : Ω) ∂μ, ω ∈ G →
∀ (j : Fin 12),
ListPhaseBudget E a (word j) (D j) (remaining j ω) K (↑↑((assigned ω) j) + 1) (start j ω) (finish j ω) ω)
(j p : Fin 12)
:
F j (K * (↑↑p + 1) - (D j).Δ) - ε ≤ μ.real (literalRecall E a word j ∩ assignmentFibre assigned j p) / μ.real (assignmentFibre assigned j p) ∧ μ.real (literalRecall E a word j ∩ assignmentFibre assigned j p) / μ.real (assignmentFibre assigned j p) ≤ F j (K * (↑↑p + 1) + (D j).Δ) + ε
The complete conditional bound for every serial position and point category. The two recall implications are DERIVED by native_literal_cutoffs; they are not caller-supplied hypotheses of this consumer.
theorem
MindFormal.A897RecallCompletion.native_twelve_category_error
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ}
{hB : BrownianFiltration μ ℱ B}
(E : GroupsWorld.CompleteExperiment hB)
(a : A)
(word : Fin 12 → Fin (N a))
(assigned : Ω → Equiv.Perm (Fin 12))
(D : Fin 12 → ListPhaseModel)
(K ε : ℝ)
(L : Fin 12 → ℝ)
(F : Fin 12 → ℝ → ℝ)
(balanced : ∀ (j p : Fin 12), μ.real (assignmentFibre assigned j p) = 1 / 12)
(sandwich :
∀ (j p : Fin 12),
F j (K * (↑↑p + 1) - (D j).Δ) - ε ≤ μ.real (literalRecall E a word j ∩ assignmentFibre assigned j p) / μ.real (assignmentFibre assigned j p) ∧ μ.real (literalRecall E a word j ∩ assignmentFibre assigned j p) / μ.real (assignmentFibre assigned j p) ≤ F j (K * (↑↑p + 1) + (D j).Δ) + ε)
(density : ∀ (j : Fin 12) (u v : ℝ), |F j u - F j v| ≤ L j * |u - v|)
:
(∀ (p : Fin 12),
|literalCategoryProbability E a word assigned p - twelveMean fun (j : Fin 12) => F j (K * (↑↑p + 1))| ≤ ε + (∑ j : Fin 12, L j * (D j).Δ) / 12) ∧ ∀ (p q : Fin 12),
(2 * (ε + (∑ j : Fin 12, L j * (D j).Δ) / 12) < (twelveMean fun (j : Fin 12) => F j (K * (↑↑q + 1))) - twelveMean fun (j : Fin 12) => F j (K * (↑↑p + 1))) →
literalCategoryProbability E a word assigned p < literalCategoryProbability E a word assigned q
Balanced assignment converts the conditional bounds to the actual expected DISTINCT category score. Both final error and strictness use the previously checked twelve-position arithmetic.