MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07Concepts.PerceptualConsequences

ABX and head-turn scoring are separate finite response instruments. Independence belongs to the prepared reference corner, not native trials.

A matching response with a fixed A tie route.

Equations
Instances For
    theorem MindFormal.Concepts.matchA_distinct (a b source : Bool) (hab : a ≠ b) :
    matchA a b (if source = true then a else b) = source
    theorem MindFormal.Concepts.prepared_head_turn_pass {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (p : ↑unitInterval) (prepared : Ω → Set (Fin 10)) (law : ProbabilityTheory.IsSetBernoulli prepared Set.univ p μ) :
    μ.real {z : Ω | 8 ≤ (prepared z).ncard} = headTurnPass ↑p

    The eight-of-ten calculation is derived from the prepared product law. It is not a supplied native pass probability or a binomial-law premise.

    theorem MindFormal.Concepts.native_abx {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {K : ℕ} (C : Fin 2 → StateLearning Ω N n T Λ J) (contained : ∀ (i : Fin 2), (C i).Contained) (input : ∀ (i : Fin 2), (C i).control.εu = 0) (label : Fin 2 → Ω → Fin K → Fin N) (lo hi : Fin 2 → Ω → Fin K → ℝ) (w : (i : Fin 2) → (z : Ω) → z ∈ (C i).run.good → (q : Fin K) → LearningWindowMargins (C i).run z (label i z q) (lo i z q) (hi i z q)) (initial : ∀ (i : Fin 2) (z : Ω) (hz : z ∈ (C i).run.good) (h : 0 < K), (w i z hz ⟨0, h⟩).phase ≤ 0) (next : ∀ (i : Fin 2) (z : Ω) (hz : z ∈ (C i).run.good) (q : Fin K) (h : ↑q + 1 < K), (w i z hz ⟨↑q + 1, h⟩).phase ≤ lo i z q + (C i).run.data.pause false ∧ hi i z q + (C i).run.data.pause false ≤ hi i z ⟨↑q + 1, h⟩) (query : Fin K) (answerA answerB : Fin N) (different : answerA ≠ answerB) (source : Ω → Bool) (record : Fin 2 → Ω → Fin 2 → Bool) (across : ∀ (z : Ω), record 0 z 0 ≠ record 0 z 1) (within : ∀ (z : Ω), record 1 z 0 = record 1 z 1) (matching : ∀ (i : Fin 2) (z : Ω), label i z query = if matchA (record i z 0) (record i z 1) (if source z = true then record i z 0 else record i z 1) = true then answerA else answerB) (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (sameMeasure : ∀ (i : Fin 2), (C i).run.data.μ = μ) (pA : ℝ) (frequency : μ.real {z : Ω | source z = true} = pA) (margin : (C 0).control.failure + (C 1).control.failure < 1 - pA) :
    have accuracy := fun (i : Fin 2) => μ.real {z : Ω | (consecutivePlan (C i).run K (label i) (lo i) (hi i)).observed z query = Sum.inl (if source z = true then answerA else answerB)}; (∀ (i : Fin 2), ∀ᵐ (z : Ω) ∂μ, z ∈ (C i).run.good → (C i).experiment.OnOwnNoise z (C i).horizon) ∧ |accuracy 0 - 1| ≤ (C 0).control.failure ∧ |accuracy 1 - pA| ≤ (C 1).control.failure ∧ 1 - pA - (C 0).control.failure - (C 1).control.failure ≤ accuracy 0 - accuracy 1 ∧ accuracy 1 < accuracy 0

    Across records distinguish A and B; within records coincide. The same acquired matching rule, with its strict A tie bias in the source windows, yields the measured ABX gap after the entire sequential trial.

    theorem MindFormal.Concepts.native_head_turn {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {K : ℕ} (C : Fin 2 → StateLearning Ω N n T Λ J) (contained : ∀ (i : Fin 2), (C i).Contained) (input : ∀ (i : Fin 2), (C i).control.εu = 0) (label : Fin 2 → Ω → Fin K → Fin N) (lo hi : Fin 2 → Ω → Fin K → ℝ) (w : (i : Fin 2) → (z : Ω) → z ∈ (C i).run.good → (q : Fin K) → LearningWindowMargins (C i).run z (label i z q) (lo i z q) (hi i z q)) (initial : ∀ (i : Fin 2) (z : Ω) (hz : z ∈ (C i).run.good) (h : 0 < K), (w i z hz ⟨0, h⟩).phase ≤ 0) (next : ∀ (i : Fin 2) (z : Ω) (hz : z ∈ (C i).run.good) (q : Fin K) (h : ↑q + 1 < K), (w i z hz ⟨↑q + 1, h⟩).phase ≤ lo i z q + (C i).run.data.pause false ∧ hi i z q + (C i).run.data.pause false ≤ hi i z ⟨↑q + 1, h⟩) (opportunity : Fin 10 → Fin K) (answer : Ω → Fin 10 → Fin N) (p : Fin 2 → ↑unitInterval) (prepared : Fin 2 → Ω → Set (Fin 10)) (law : ∀ (i : Fin 2), ProbabilityTheory.IsSetBernoulli (prepared i) Set.univ (p i) (C i).run.data.μ) (pattern : ∀ (i : Fin 2) (z : Ω) (j : Fin 10), label i z (opportunity j) = answer z j ↔ j ∈ prepared i z) (separated : (C 0).control.failure + (C 1).control.failure < headTurnPass ↑(p 0) - headTurnPass ↑(p 1)) :
    have pass := fun (i : Fin 2) => (C i).run.data.μ.real {z : Ω | 8 ≤ {j : Fin 10 | (consecutivePlan (C i).run K (label i) (lo i) (hi i)).observed z (opportunity j) = Sum.inl (answer z j)}.card}; (∀ (i : Fin 2), ∀ᵐ (z : Ω) ∂(C i).run.data.μ, z ∈ (C i).run.good → (C i).experiment.OnOwnNoise z (C i).horizon) ∧ (∀ (i : Fin 2), |pass i - headTurnPass ↑(p i)| ≤ (C i).control.failure) ∧ headTurnPass ↑(p 0) - headTurnPass ↑(p 1) - (C 0).control.failure - (C 1).control.failure ≤ pass 0 - pass 1 ∧ pass 1 < pass 0

    The younger fine-route and older common-route preparations have separate full ten-opportunity response certificates. The product law is only a reference-preparation condition; the actual trials remain coupled.