Reference · Lemmas behind operations-research checks
rainbow.math.lemmas.abc-class
General lemmas: abc class. The mathematical facts the corresponding checks rest on, each checked by the kernel.
signed/strict-indicator-nonnegative
signed/strict-indicator-nonnegative : (sn-x sn-y : ℚ) → 0 ≤ data/Bool.rec (fun x₄ => ℚ) 1 0 (signed/decide-at-most sn-y sn-x)
0 = signed/zero1 = signed/oneℚ = signed/SignedRational≤ = signed/at-most
signed/strict-indicator-zero-order
signed/strict-indicator-zero-order : (sz-x sz-y : ℚ) (sz-h0 : data/Bool.rec (fun x₄ => ℚ) 1 0 (signed/decide-at-most sz-y sz-x) = 0) → sz-y ≤ sz-x
0 = signed/zero1 = signed/one= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational≤ = signed/at-most
signed/abc-selected-dominates
signed/abc-selected-dominates : (dm-v dm-z : ℕ → ℚ) (dm-n : ℕ) (dm-01 : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx dm-n), dm-z idx · (1 + signed/negate (dm-z idx)) = 0) (dm-top : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx dm-n), dm-z idx · signed/expr-sum-value (fun rw-j => (1 + signed/negate (dm-z rw-j)) · data/Bool.rec (fun x₃ => ℚ) 1 0 (signed/decide-at-most (dm-v rw-j) (dm-v idx))) dm-n = 0) (dm-i : ℕ) (dm-hi : nat/strict-below dm-i dm-n) (dm-j : ℕ) (dm-hj : nat/strict-below dm-j dm-n) (dm-zi : dm-z dm-i = 1) (dm-zj : dm-z dm-j = 0) → dm-v dm-j ≤ dm-v dm-i
+ = signed/add0 = signed/zero1 = signed/one= = signed/equivalent: equality of rational values· = signed/multiplyℕ = data/Natℚ = signed/SignedRational≤ = signed/at-most