MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch13.DescribedPopulation

def MindFormal.DescribedChoice.nativeProbability {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (i : Fin N) :

The probability of a label in the original first native output slot.

Equations
Instances For
    theorem MindFormal.DescribedChoice.nativeProbability_nonneg {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (i : Fin N) :
    theorem MindFormal.DescribedChoice.nativeProbability_le_one {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (i : Fin N) :
    theorem MindFormal.DescribedChoice.nativeProbability_exclusion {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (i j : Fin N) (hij : i ≠ j) :
    theorem MindFormal.DescribedChoice.nativeProbability_of_window {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (i : Fin N) (q : ℝ) (h : 1 - q ≤ E.ground.μ.real {ω : Ω | ∃ t ∈ Set.Icc 0 ↑H, E.supportRecord H false 0 ω = (t, Sum.inl i)}) :
    theorem MindFormal.DescribedChoice.preparation_gap {P : Type u_5} [MeasurableSpace P] (μ : MeasureTheory.Measure P) [MeasureTheory.IsProbabilityMeasure μ] (certified : Set P) (hcertified : MeasurableSet certified) (saved deaths error : P → ℝ) (hsaved : MeasureTheory.Integrable saved μ) (hdeaths : MeasureTheory.Integrable deaths μ) (herror : MeasureTheory.IntegrableOn error certified μ) (hrange : ∀ (s : P), 0 ≤ deaths s ∧ saved s ≤ 1) (hgap : ∀ s ∈ certified, 1 - error s ≤ deaths s - saved s) :
    2 * μ.real certified - 1 - ∫ (s : P) in certified, error s ∂μ ≤ ∫ (s : P), deaths s ∂μ - ∫ (s : P), saved s ∂μ

    FR1.4's integration includes the worst possible contribution of every uncertified preparation. This is a calculation used after the native bounds, not an assumption of a conditional choice probability in a tagged theorem.

    theorem MindFormal.DescribedChoice.framing_population {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {P : Type u_5} [MeasurableSpace P] (μ : MeasureTheory.Measure P) [MeasureTheory.IsProbabilityMeasure μ] (certified : Set P) (hcertified : MeasurableSet certified) (E : P → Bool → StateExperiment Ω N n T Λ J) (H : P → Bool → NNReal) (B : (s : P) → (frame : Bool) → OwnBox (E s frame) (H s frame)) (C : (s : P) → (frame : Bool) → LoadComparison (B s frame)) (R : (s : P) → (frame : Bool) → OutputComparison (C s frame)) (port : P → Fin 2 ↪o Fin N) (ex0 dT ev0 L bridge : P → Bool → ℝ) (G Lcurve : P → ℝ → ℝ) (wg wl : P → ℝ) (population : ℝ) (description score : P → Bool → Fin 2 → ℝ) (offset χ : P → Bool → ℝ) (hH : ∀ s ∈ certified, ∀ (frame : Bool), H s frame ≤ (E s frame).horizon) (hcell : ∀ s ∈ certified, ∀ (frame : Bool), (C s frame).cells = 1) (hstart : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2), (C s frame).start ((port s) i) = 0) (hex : ∀ s ∈ certified, ∀ (frame : Bool), 0 ≤ ex0 s frame) (hdT : ∀ s ∈ certified, ∀ (frame : Bool), 0 ≤ dT s frame) (hev : ∀ s ∈ certified, ∀ (frame : Bool), 0 ≤ ev0 s frame) (hL : ∀ s ∈ certified, ∀ (frame : Bool), 0 ≤ L s frame) (hbridge : ∀ s ∈ certified, ∀ (frame : Bool), 0 ≤ bridge s frame) (hbx : ∀ s ∈ certified, ∀ (frame : Bool), 0 ≤ (B s frame).ϖx) (hbv : ∀ s ∈ certified, ∀ (frame : Bool), 0 ≤ (B s frame).ϖv) (h_enter : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2), (C s frame).startError ((port s) i) ≤ ex0 s frame) (h_errors : ∀ s ∈ certified, ∀ (frame : Bool) (j : Fin N), 0 ≤ (C s frame).error 0 j) (h_support : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2), ((C s frame).error 0 ((port s) i) + ∑ j : Fin N, (C s frame).error 0 j) / (E s frame).mind.activity.σ ≤ dT s frame) (h_value : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2) (b : Fin n) (a : T), (R s frame).initialError ((port s) i) b a ≤ ev0 s frame) (h_activity_read : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2), (R s frame).activityModulus ((port s) i) ≤ 1) (h_value_read : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2), ∑ b : Fin n, ∑ a : T, (R s frame).valueModulus ((port s) i) b a ≤ L s frame) (h_scores : ∀ s ∈ certified, ∀ (frame : Bool), score s frame = framingScore (G s) (Lcurve s) (wg s) (wl s) population (description s) frame) (h_encoding : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2), ∀ t ∈ Set.Icc 0 ↑(H s frame), |physicalReadReal (E s frame).mind.reads.output ((C s frame).reference ((port s) i) t) ((R s frame).value ((port s) i)) - ((C s frame).reference ((port s) i) t + offset s frame + χ s frame * score s frame i)| ≤ bridge s frame) (h_outside : ∀ s ∈ certified, ∀ (frame : Bool), ∀ s0 ∈ (B s frame).starts, ∀ (state : PhysicalState N n T Λ), InCorridorBox (↑s0) (B s frame).X (B s frame).Xr (B s frame).ρW (B s frame).ρv ↑state → ∀ (j : Fin N), (E s frame).mind.reads.outputs j = true → j ≠ (port s) 0 → j ≠ (port s) 1 → ((E s frame).mind.reads.scores false) state j < (E s frame).mind.reads.actionBar) (h_outputs : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2), (E s frame).mind.reads.outputs ((port s) i) = true) (h_margin : ∀ s ∈ certified, ∀ (frame : Bool) (i : Fin 2), ex0 s frame + dT s frame + 4 * (B s frame).ϖx + L s frame * (ev0 s frame + (B s frame).Kv * ↑(H s frame) + (B s frame).ϖv) + bridge s frame < (E s frame).mind.reads.actionBar - (offset s frame + χ s frame * score s frame i)) (h_race : ∀ s ∈ certified, ∀ (frame : Bool), (∃ (target : ℝ), 0 < target ∧ (∀ (i : Fin 2), normalizedTarget (E s frame).mind.activity.σ (E s frame).mind.activity.g ((C s frame).load 0) ((port s) i) = target) ∧ 2 * (ex0 s frame + dT s frame + 4 * (B s frame).ϖx + L s frame * (ev0 s frame + (B s frame).Kv * ↑(H s frame) + (B s frame).ϖv) + bridge s frame) < χ s frame * framingGap (G s) (Lcurve s) (wg s) (wl s) population (description s) frame ∧ (E s frame).mind.reads.actionBar - (offset s frame + χ s frame * score s frame (if frame = true then 1 else 0)) + (ex0 s frame + dT s frame + 4 * (B s frame).ϖx + L s frame * (ev0 s frame + (B s frame).Kv * ↑(H s frame) + (B s frame).ϖv) + bridge s frame) ≤ referenceActivity (E s frame).mind.activity.ν target 0 ↑(H s frame)) ∨ (∀ (j : Fin 2), (j ≠ if frame = true then 1 else 0) → 0 < normalizedTarget (E s frame).mind.activity.σ (E s frame).mind.activity.g ((C s frame).load 0) ((port s) j) → ((E s frame).mind.reads.actionBar - (offset s frame + χ s frame * score s frame (if frame = true then 1 else 0)) + (ex0 s frame + dT s frame + 4 * (B s frame).ϖx + L s frame * (ev0 s frame + (B s frame).Kv * ↑(H s frame) + (B s frame).ϖv) + bridge s frame)) * normalizedTarget (E s frame).mind.activity.σ (E s frame).mind.activity.g ((C s frame).load 0) ((port s) j) < ((E s frame).mind.reads.actionBar - (offset s frame + χ s frame * score s frame j) - (ex0 s frame + dT s frame + 4 * (B s frame).ϖx + L s frame * (ev0 s frame + (B s frame).Kv * ↑(H s frame) + (B s frame).ϖv) + bridge s frame)) * normalizedTarget (E s frame).mind.activity.σ (E s frame).mind.activity.g ((C s frame).load 0) ((port s) (if frame = true then 1 else 0))) ∧ (E s frame).mind.reads.actionBar - (offset s frame + χ s frame * score s frame (if frame = true then 1 else 0)) + (ex0 s frame + dT s frame + 4 * (B s frame).ϖx + L s frame * (ev0 s frame + (B s frame).Kv * ↑(H s frame) + (B s frame).ϖv) + bridge s frame) ≤ referenceActivity (E s frame).mind.activity.ν (normalizedTarget (E s frame).mind.activity.σ (E s frame).mind.activity.g ((C s frame).load 0) ((port s) (if frame = true then 1 else 0))) 0 ↑(H s frame)) (hprob : ∀ (frame : Bool), MeasureTheory.Integrable (fun (s : P) => nativeProbability (E s frame) (H s frame) ((port s) 1)) μ) (herror : MeasureTheory.IntegrableOn (fun (s : P) => (B s false).errorProbability + (B s true).errorProbability) certified μ) :
    2 * μ.real certified - 1 - ∫ (s : P) in certified, (B s false).errorProbability + (B s true).errorProbability ∂μ ≤ ∫ (s : P), nativeProbability (E s true) (H s true) ((port s) 1) ∂μ - ∫ (s : P), nativeProbability (E s false) (H s false) ((port s) 1) ∂μ ∧ (0 < 2 * μ.real certified - 1 - ∫ (s : P) in certified, (B s false).errorProbability + (B s true).errorProbability ∂μ → ∫ (s : P), nativeProbability (E s false) (H s false) ((port s) 1) ∂μ < ∫ (s : P), nativeProbability (E s true) (H s true) ((port s) 1) ∂μ)

    FR1.4 for a common independent preparation distribution, including partial coverage. Each individual bound is proved from the primitive own-noise box, complete load/read controls and FR1.3, before the probabilities are integrated.