MindFormal v1.0.0One Mind

MindFormal.Tools.A640Standards.Threshold

theorem MindFormal.A640Standards.threshold_interval {Q : Type u_1} (p : Q → ℝ) (entails : Q → Prop) (certain : ∀ (q : Q), entails q → p q = 1) (qYes qNo : Q) (yes : entails qYes) (no : ¬entails qNo) (largest : ∀ (q : Q), ¬entails q → p q ≤ p qNo) (θ : ℝ) :
(∀ (q : Q), θ ≤ p q ↔ entails q) ↔ p qNo < θ ∧ θ ≤ 1

The endpoints are different because awareness includes equality. The largest tested nonconclusion is attained in the finite battery.

theorem MindFormal.A640Standards.robust_threshold_interval {Q : Type u_1} (p : Q → ℝ) (entails : Q → Prop) (certain : ∀ (q : Q), entails q → p q = 1) (qYes qNo : Q) (yes : entails qYes) (no : ¬entails qNo) (largest : ∀ (q : Q), ¬entails q → p q ≤ p qNo) {ε θ : ℝ} (hε : 0 ≤ ε) :
(∀ (q : Q) (x : ℝ), |x - p q| ≤ ε → (θ ≤ x ↔ entails q)) ↔ p qNo + ε < θ ∧ θ ≤ 1 - ε

Sharp uniform error interval. Necessity uses the two admissible extreme errors at an attained worst nonconclusion and a certain conclusion.

theorem MindFormal.A640Standards.robust_interval_nonempty (Δ ε : ℝ) :
(∃ (θ : ℝ), 1 - Δ + ε < θ ∧ θ ≤ 1 - ε) ↔ 2 * ε < Δ
theorem MindFormal.A640Standards.positive_evidence_certain_iff {W : Type u_1} [Fintype W] (weight : W → ℝ) (positive : ∀ (w : W), 0 < weight w) (evidence conclusion : W → Prop) [DecidablePred evidence] [DecidablePred conclusion] (mass : 0 < ∑ w : W, if evidence w then weight w else 0) :
((∑ w : W, if evidence w ∧ conclusion w then weight w else 0) / ∑ w : W, if evidence w then weight w else 0) = 1 ↔ ∀ (w : W), evidence w → conclusion w

The finite positive-evidence support lemma. Every positive summand must vanish, so probability one is precisely semantic implication.