MindFormal v1.0.0One Mind

MindFormal.Example.ChoicePreparations.PoolCrossing

theorem MindFormal.ChoicePreparations.Pool.full_gap {N : ℕ} (σ g : ℝ) (load needs : Fin N → ℝ) (M H : Fin N) (hP : 0 < pool σ load) (hM : 0 ≤ load M / pool σ load - g) (hH : 0 ≤ load H / pool σ load - g) :
needs H * normalizedTarget σ g load M - needs M * normalizedTarget σ g load H = difference (needs M) (needs H) (load M) (load H) g (pool σ load) / pool σ load

The full-pool cross-product gap, with one common support and requirement per retained content. Equality and zero targets are retained.

theorem MindFormal.ChoicePreparations.Pool.full_pairs {N : ℕ} (σ g : ℝ) (load : Bool → Fin N → ℝ) (needs : Fin N → ℝ) (M H : Fin N) (e : Bool → ℝ) (hP : ∀ (m : Bool), 0 < pool σ (load m)) (hwinner : ∀ (m : Bool), 0 < normalizedTarget σ g (load m) (if m = true then H else M)) (left : 0 < normalizedTarget σ g (load false) H → e false * (normalizedTarget σ g (load false) M + normalizedTarget σ g (load false) H) < difference (needs M) (needs H) (load false M) (load false H) g (pool σ (load false)) / pool σ (load false)) (right : 0 < normalizedTarget σ g (load true) M → e true * (normalizedTarget σ g (load true) M + normalizedTarget σ g (load true) H) < -(difference (needs M) (needs H) (load true M) (load true H) g (pool σ (load true)) / pool σ (load true))) (mask : Fin N → Bool) (other : ∀ (m : Bool) (j : Fin N), j ≠ M → j ≠ H → mask j = true → 0 < normalizedTarget σ g (load m) j → (needs (if m = true then H else M) + e m) * normalizedTarget σ g (load m) j < (needs j - e m) * normalizedTarget σ g (load m) (if m = true then H else M)) (m : Bool) (j : Fin N) :
(j ≠ if m = true then H else M) → mask j = true → 0 < normalizedTarget σ g (load m) j → (needs (if m = true then H else M) + e m) * normalizedTarget σ g (load m) j < (needs j - e m) * normalizedTarget σ g (load m) (if m = true then H else M)

Every nonretained rival keeps its own finite comparison test. The retained pair's two strict inequalities are derived from PI6.1 and the complete error margins, so a pool crossing alone is never called a win.