Reference · Finite sums
rainbow.math.sums.binary-capacity
For binary entries, x+y<=1 means selecting x excludes y.
signed/boolean-cases-at-most-one
signed/boolean-cases-at-most-one : (x : ℚ) (binary : proposition/disjunction (x = 0) (x = 1)) → x ≤ 1
0 = signed/zero1 = signed/one= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational≤ = signed/at-most
signed/binary-capacity-implies-exclusion
signed/binary-capacity-implies-exclusion : (x y : ℚ) (yb : proposition/disjunction (y = 0) (y = 1)) (capacity : x + y + signed/negate 1 ≤ 0) (selected : x = 1) → y = 0
+ = signed/add0 = signed/zero1 = signed/one= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational≤ = signed/at-most
signed/binary-exclusion-implies-capacity
signed/binary-exclusion-implies-capacity : (x y : ℚ) (xb : proposition/disjunction (x = 0) (x = 1)) (yb : proposition/disjunction (y = 0) (y = 1)) (exclusion : x = 1 → y = 0) → x + y + signed/negate 1 ≤ 0
+ = signed/add0 = signed/zero1 = signed/one= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational≤ = signed/at-most