Reference · Lemmas behind operations-research checks
rainbow.math.lemmas.cea-rule
General lemmas: cea rule. The mathematical facts the corresponding checks rest on, each checked by the kernel.
signed/decided-min-at-most-left
signed/decided-min-at-most-left : (c l : ℚ) → data/Bool.rec (fun x₄ => ℚ) l c (signed/decide-at-most c l) ≤ c
ℚ = signed/SignedRational≤ = signed/at-most
signed/decided-min-monotone-level
signed/decided-min-monotone-level : (c l k : ℚ) (h : l ≤ k) → data/Bool.rec (fun x₄ => ℚ) l c (signed/decide-at-most c l) ≤ data/Bool.rec (fun x₈ => ℚ) k c (signed/decide-at-most c k)
ℚ = signed/SignedRational≤ = signed/at-most
signed/decided-min-monotone-claim
signed/decided-min-monotone-claim : (c d l : ℚ) (h : c ≤ d) → data/Bool.rec (fun x₄ => ℚ) l c (signed/decide-at-most c l) ≤ data/Bool.rec (fun x₈ => ℚ) l d (signed/decide-at-most d l)
ℚ = signed/SignedRational≤ = signed/at-most
signed/termwise-equal-of-equal-sums
signed/termwise-equal-of-equal-sums : (F G : ℕ → ℚ) (n : ℕ) (hle : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx n), F idx ≤ G idx) (hsum : signed/expr-sum-value F n = signed/expr-sum-value G n) (idx : ℕ) (bound : nat/strict-below idx n) → F idx = G idx
= = signed/equivalent: equality of rational valuesℕ = data/Natℚ = signed/SignedRational≤ = signed/at-most
signed/cea-award-unique
signed/cea-award-unique : (c d x y : ℕ → ℚ) (l k E Ey : ℚ) (n : ℕ) (hx : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx n), x idx = data/Bool.rec (fun x₂ => ℚ) l (c idx) (signed/decide-at-most (c idx) l)) (hy : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx n), y idx = data/Bool.rec (fun x₄ => ℚ) k (d idx) (signed/decide-at-most (d idx) k)) (hEx : signed/expr-sum-value (fun sx => x sx) n = E) (hEy : signed/expr-sum-value (fun sy => y sy) n = Ey) (hc : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx n), c idx = d idx) (hE : E = Ey) (idx : ℕ) (bound : nat/strict-below idx n) → x idx = y idx
= = signed/equivalent: equality of rational valuesℕ = data/Natℚ = signed/SignedRational