MindFormal v1.0.0One Mind

MindFormal.Example.InspectionTiming.CreditValues

Finite signed and magnitude credit budgets. Every prediction and presence derivative remains in III; the integrated changes pay for noise.

theorem MindFormal.InspectionTiming.Credit.remainder_bound {success candidate : Bool} {s : MindState (Fin 4) 2 Unit Unit} (hs : InCorridorBox (↑(start success candidate)) 1 1 1 1 s) (hv : ∀ (i : Fin 4) (b : Fin 2), |mindValue s i b ()| ≤ valueBudget) (b : Fin 2) :
theorem MindFormal.InspectionTiming.Credit.value_drift_formula (u q : Fin 4 → ℝ) (s : MindState (Fin 4) 2 Unit Unit) (hr : ∀ (i : Fin 4), 0 ≤ mindTrace s i ()) (i : Fin 4) (b : Fin 2) :
assembledDrift mind.drift u q s (Sum.inr (Sum.inr (Sum.inl (i, b, ())))) = (mindTrace s i () * if b = 0 then 1 / 100 else 2 / 100) * ((if b = 0 then 1 else 1 / 4) * u 3 + predictionRemainder s b)
theorem MindFormal.InspectionTiming.Credit.trace_credit {Ω : Type u_1} [MeasurableSpace Ω] (B : EquationGround Ω Coord) (hB : CompletedEquationGround B) (success candidate : Bool) (ω : Ω) (hω : (experiment B hB success candidate).own.data.toPhysicalNoiseData.Good ω) (hnoise : ∀ t ≤ 1 / 100, ∀ (c : CoordinateIndex (Fin 4) 2 Unit Unit), |((experiment B hB success candidate).supportHistory ω).driver t c| < allowance) {t : ℝ} (ht : t ∈ Set.Icc 0 (1 / 100)) :
99 / 100 ≤ mindTrace (((experiment B hB success candidate).supportHistory ω).state t) (credited candidate) () ∧ ∀ (i : Fin 4), i ≠ credited candidate → mindTrace (((experiment B hB success candidate).supportHistory ω).state t) i () ≤ 1 / 100
theorem MindFormal.InspectionTiming.Credit.uncredited_drift {Ω : Type u_1} [MeasurableSpace Ω] (B : EquationGround Ω Coord) (hB : CompletedEquationGround B) (success candidate : Bool) (ω : Ω) (hω : (experiment B hB success candidate).own.data.toPhysicalNoiseData.Good ω) (hnoise : ∀ t ≤ 1 / 100, ∀ (c : CoordinateIndex (Fin 4) 2 Unit Unit), |((experiment B hB success candidate).supportHistory ω).driver t c| < allowance) {t : ℝ} (ht : t ∈ Set.Icc 0 (1 / 100)) (i : Fin 4) (hi : i ≠ credited candidate) (b : Fin 2) :
|assembledDrift ((experiment B hB success candidate).supportHistory ω).data (((experiment B hB success candidate).supportHistory ω).input t) (((experiment B hB success candidate).supportHistory ω).pulse t) (((experiment B hB success candidate).supportHistory ω).state t) (Sum.inr (Sum.inr (Sum.inl (i, b, ()))))| ≤ 12 / 10000
theorem MindFormal.InspectionTiming.Credit.uncredited_value {Ω : Type u_1} [MeasurableSpace Ω] (B : EquationGround Ω Coord) (hB : CompletedEquationGround B) (success candidate : Bool) (ω : Ω) (hω : (experiment B hB success candidate).own.data.toPhysicalNoiseData.Good ω) (hnoise : ∀ t ≤ 1 / 100, ∀ (c : CoordinateIndex (Fin 4) 2 Unit Unit), |((experiment B hB success candidate).supportHistory ω).driver t c| < allowance) (i : Fin 4) (hi : i ≠ credited candidate) (b : Fin 2) :
|mindValue (((experiment B hB success candidate).supportHistory ω).state (1 / 100)) i b ()| ≤ 1 / 80000
theorem MindFormal.InspectionTiming.Credit.credited_drift {Ω : Type u_1} [MeasurableSpace Ω] (B : EquationGround Ω Coord) (hB : CompletedEquationGround B) (success candidate : Bool) (ω : Ω) (hω : (experiment B hB success candidate).own.data.toPhysicalNoiseData.Good ω) (hnoise : ∀ t ≤ 1 / 100, ∀ (c : CoordinateIndex (Fin 4) 2 Unit Unit), |((experiment B hB success candidate).supportHistory ω).driver t c| < allowance) {t : ℝ} (ht : t ∈ Set.Icc 0 (1 / 100)) :
19 / 2000 ≤ assembledDrift ((experiment B hB success candidate).supportHistory ω).data (((experiment B hB success candidate).supportHistory ω).input t) (((experiment B hB success candidate).supportHistory ω).pulse t) (((experiment B hB success candidate).supportHistory ω).state t) (Sum.inr (Sum.inr (Sum.inl (credited candidate, 0, ())))) ∧ 3 / 1000 ≤ assembledDrift ((experiment B hB success candidate).supportHistory ω).data (((experiment B hB success candidate).supportHistory ω).input t) (((experiment B hB success candidate).supportHistory ω).pulse t) (((experiment B hB success candidate).supportHistory ω).state t) (Sum.inr (Sum.inr (Sum.inl (credited candidate, 0, ())))) - assembledDrift ((experiment B hB success candidate).supportHistory ω).data (((experiment B hB success candidate).supportHistory ω).input t) (((experiment B hB success candidate).supportHistory ω).pulse t) (((experiment B hB success candidate).supportHistory ω).state t) (Sum.inr (Sum.inr (Sum.inl (credited candidate, 1, ()))))
theorem MindFormal.InspectionTiming.Credit.credited_value {Ω : Type u_1} [MeasurableSpace Ω] (B : EquationGround Ω Coord) (hB : CompletedEquationGround B) (success candidate : Bool) (ω : Ω) (hω : (experiment B hB success candidate).own.data.toPhysicalNoiseData.Good ω) (hnoise : ∀ t ≤ 1 / 100, ∀ (c : CoordinateIndex (Fin 4) 2 Unit Unit), |((experiment B hB success candidate).supportHistory ω).driver t c| < allowance) :
9 / 100000 ≤ mindValue (((experiment B hB success candidate).supportHistory ω).state (1 / 100)) (credited candidate) 0 () ∧ 1 / 100000 < mindValue (((experiment B hB success candidate).supportHistory ω).state (1 / 100)) (credited candidate) 0 () - mindValue (((experiment B hB success candidate).supportHistory ω).state (1 / 100)) (credited candidate) 1 ()
theorem MindFormal.InspectionTiming.Credit.magnitude_credit {Ω : Type u_1} [MeasurableSpace Ω] (B : EquationGround Ω Coord) (hB : CompletedEquationGround B) (success candidate : Bool) (ω : Ω) (hω : (experiment B hB success candidate).own.data.toPhysicalNoiseData.Good ω) (hnoise : ∀ t ≤ 1 / 100, ∀ (c : CoordinateIndex (Fin 4) 2 Unit Unit), |((experiment B hB success candidate).supportHistory ω).driver t c| < allowance) :
8 / 100000 ≤ magnitudeSum (((experiment B hB success candidate).supportHistory ω).state (1 / 100)) (credited candidate) ∧ ∀ (i : Fin 4), i ≠ credited candidate → magnitudeSum (((experiment B hB success candidate).supportHistory ω).state (1 / 100)) i ≤ 1 / 40000