MindFormal v1.0.0One Mind

MindFormal.Example.LeadConfidence.Mixture

theorem MindFormal.LeadConfidence.cue_mixture (K d w : ℝ) {L : ℝ} (hL : 0 < L) :

Conditional label exchange and total probability give OC1.12's two equivalent mixture expressions, retaining the cue/key fraction.

theorem MindFormal.LeadConfidence.misleading_selection {K d L w₁ w₂ : ℝ} (hK : 0 < K) (hd : 0 < d) (hL : 0 < L) (hw : w₁ < w₂) (q : ℝ) :
have p := ScalarExit.accuracy K d L; 1 - p + w₁ * (2 * p - 1) < 1 - p + w₂ * (2 * p - 1) ∧ q - (1 - p + w₂ * (2 * p - 1)) < q - (1 - p + w₁ * (2 * p - 1)) ∧ (2 * w₁ - 1) * d < (2 * w₂ - 1) * d

With the same unsigned target pair, selecting more misleading items strictly lowers accuracy and enlarges the gap while leaving confidence fixed.

theorem MindFormal.LeadConfidence.mixture_calibration {p : ℝ} (hp : 1 / 2 < p) (q : ℝ) :
(∃ w ∈ Set.Icc 0 1, q = 1 - p + w * (2 * p - 1)) ↔ (q - (1 - p)) / (2 * p - 1) ∈ Set.Icc 0 1

Calibration by selection is possible precisely when the computed fraction is a permitted probability; it is not supplied by representativeness.

theorem MindFormal.LeadConfidence.selection_gap (p q w : ℝ) (hp : 2 * p - 1 ≠ 0) :
q - (1 - p + w * (2 * p - 1)) = ((q - (1 - p)) / (2 * p - 1) - w) * (2 * p - 1)
theorem MindFormal.LeadConfidence.chance_mixture (K w q : ℝ) {L : ℝ} (hL : 0 < L) :
q - (w * ScalarExit.accuracy K 0 L + (1 - w) * ScalarExit.accuracy K 0 L) = q - 1 / 2

The zero-advantage mixture is always chance, regardless of selection.