Reference · Finite sums
rainbow.math.sums.indicator-zero
A zero sum of strict-violation indicators means every weak inequality holds.
signed/zero-strict-indicator-implies-order
signed/zero-strict-indicator-implies-order : (x y : ℚ) (zero : data/Bool.rec (fun x₄ => ℚ) 1 0 (signed/decide-at-most x y) = 0) → x ≤ y
0 = signed/zero1 = signed/one= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational≤ = signed/at-most
signed/order-implies-zero-strict-indicator
signed/order-implies-zero-strict-indicator : (x y : ℚ) (order : x ≤ y) → data/Bool.rec (fun x₄ => ℚ) 1 0 (signed/decide-at-most x y) = 0
0 = signed/zero1 = signed/one= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational≤ = signed/at-most
signed/zero-strict-indicator-sum-implies-orders
signed/zero-strict-indicator-sum-implies-orders : (F G : ℕ → ℚ) (n : ℕ) (sum : signed/expr-sum-value (fun index16571 => data/Bool.rec (fun x₆ => ℚ) 1 0 (signed/decide-at-most (F index16571) (G index16571))) n ≤ 0) (idx : ℕ) (bound : nat/strict-below idx n) → F idx ≤ G idx
0 = signed/zero1 = signed/oneℕ = data/Natℚ = signed/SignedRational≤ = signed/at-most
signed/orders-imply-zero-strict-indicator-sum
signed/orders-imply-zero-strict-indicator-sum : (F G : ℕ → ℚ) (n : ℕ) (orders : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx n), F idx ≤ G idx) → signed/expr-sum-value (fun index16579 => data/Bool.rec (fun x₆ => ℚ) 1 0 (signed/decide-at-most (F index16579) (G index16579))) n ≤ 0
0 = signed/zero1 = signed/oneℕ = data/Natℚ = signed/SignedRational≤ = signed/at-most