Reference · Lemmas behind operations-research checks
rainbow.math.lemmas.nmb-decision
General lemmas: nmb decision. The mathematical facts the corresponding checks rest on, each checked by the kernel.
signed/selection-attains
signed/selection-attains : (sa-s sa-v : ℕ → ℚ) (sa-n : ℕ) (sa-b : ℚ) (sa-nn : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx sa-n), 0 ≤ sa-s idx) (sa-sum : signed/expr-sum-value sa-s sa-n = 1) (sa-hb : sa-b = signed/expr-sum-value (fun wv-i => sa-s wv-i · sa-v wv-i) sa-n) (sa-le : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx sa-n), sa-v idx ≤ sa-b) (sa-i : ℕ) (sa-hi : nat/strict-below sa-i sa-n) (sa-nz : sa-s sa-i = 0 → proposition/falsity) → sa-v sa-i = sa-b
0 = signed/zero1 = signed/one= = signed/equivalent: equality of rational values· = signed/multiplyℕ = data/Natℚ = signed/SignedRational≤ = signed/at-most
signed/icer-rule
signed/icer-rule : (ic-l ic-ei ic-ej ic-ci ic-cj ic-ni ic-nj : ℚ) (ic-hi : ic-ni = ic-l · ic-ei + signed/negate ic-ci) (ic-hj : ic-nj = ic-l · ic-ej + signed/negate ic-cj) → proposition/conjunction (ic-nj ≤ ic-ni → ic-ci + signed/negate ic-cj ≤ ic-l · (ic-ei + signed/negate ic-ej)) (ic-ci + signed/negate ic-cj ≤ ic-l · (ic-ei + signed/negate ic-ej) → ic-nj ≤ ic-ni)
+ = signed/add= = signed/equivalent: equality of rational values· = signed/multiplyℚ = signed/SignedRational≤ = signed/at-most