MindFormal v1.0.0One Mind

MindFormal.Tools.A640Standards.SemanticBattery

theorem MindFormal.A640Standards.finite_counterexample_gap {Q : Type u_1} [Finite Q] (p : Q → ℝ) (entails : Q → Prop) (bounded : ∀ (q : Q), p q ≤ 1) (certain : ∀ (q : Q), p q = 1 ↔ entails q) (nonempty : ∃ (q : Q), ¬entails q) :
∃ (qNo : Q), ¬entails qNo ∧ 0 < 1 - p qNo ∧ ∀ (q : Q), ¬entails q → 1 - p qNo ≤ 1 - p q

The least counterexample probability is constructed from the finite battery. Only its tested nonconclusions, not an ambient uniform law, matter.

theorem MindFormal.A640Standards.finite_conditional_bounds {W : Type u_1} [Fintype W] (weight : W → ℝ) (nonnegative : ∀ (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) :
(0 ≤ (∑ w : W, if evidence w ∧ conclusion w then weight w else 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

Positive finite evidence gives the conditional frequency, including its bounds. The semantic support is not an externally fitted activity unit.

theorem MindFormal.A640Standards.tested_counterexample_certain_iff {W : Type u_1} [Fintype W] (weight : W → ℝ) (evidence conclusion : W → Prop) [DecidablePred evidence] [DecidablePred conclusion] (mass : 0 < ∑ w : W, if evidence w then weight w else 0) (counter : (¬∀ (w : W), evidence w → conclusion w) → 0 < ∑ w : W, if evidence w ∧ ¬conclusion 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

Full semantic support is unnecessary: exactly the tested semantic counterexamples must have positive conditional mass.

theorem MindFormal.A640Standards.contrast_maximizing_support {C : Type u_1} (learned payoff p : C → ℝ) (contrasts : ∀ (a b : C), learned a - learned b = payoff a - payoff b) (support : ∀ (a : C), 0 < p a → ∀ (b : C), learned b ≤ learned a) (a : C) :
0 < p a → ∀ (b : C), payoff b ≤ payoff a

Matching all payoff contrasts transfers complete maximizing support to the actual payoff. The product-law test is deliberately separate.

theorem MindFormal.A640Standards.bestReply_of_contrasts {C : Type u_1} [Fintype C] (learned payoff p : C → ℝ) (hp : FiniteDecision.Probability p) (contrasts : ∀ (a b : C), learned a - learned b = payoff a - payoff b) (support : ∀ (a : C), 0 < p a → ∀ (b : C), learned b ≤ learned a) :

The source's native maximum-selection premise and contrast calibration therefore imply every mixed best-reply inequality, with no fitted opponent mixture. This theorem is also usable for an explicitly enlarged game.

theorem MindFormal.A640Standards.bestReply_support_iff {C : Type u_1} [Fintype C] (payoff p : C → ℝ) (hp : FiniteDecision.Probability p) :
FiniteDecision.BestReply p payoff ↔ ∀ (a : C), 0 < p a → ∀ (b : C), payoff b ≤ payoff a

The weaker exact condition is maximizing support, rather than calibration of every learned contrast. Positive mass on a strict loser strictly lowers the average payoff.