Reference · Signed rationals
rainbow.math.rational.signed.lp-objective-negate
Generic finite-sum negation and formal LP minimization sense transport. Covers arbitrary carriers and finite lists, including empty/repeated indices. Does not identify a host mapv-negation with the formal mapping without evidence.
signed/map-sum-negate
signed/map-sum-negate.{u} :
(A : Type u) (m : A → ℚ) (xs : List A)
→ Σ i∈xs, signed/negate (m i) = signed/negate (Σ j∈xs, m j)= = signed/equivalent: equality of rational valuesList = data/ListΣ = signed/map-sum: sum over the listed indicesℚ = signed/SignedRational
signed/lp-objective-negate
signed/lp-objective-negate.{u} :
(A : Type u) (c x : A → ℚ) (xs : List A)
→ Σ i∈xs, (fun i₁ => signed/negate (c i₁)) i · x i = signed/negate (Σ i∈xs, c i · x i)= = signed/equivalent: equality of rational valuesList = data/List· = signed/multiplyΣ = signed/map-sum: sum over the listed indicesℚ = signed/SignedRational
signed/lp-negated-objective-bound-to-lower
signed/lp-negated-objective-bound-to-lower.{u} :
(A : Type u) (c x : A → ℚ) (xs : List A) (lower : ℚ)
(ordered : Σ i∈xs, (fun i₁ => signed/negate (c i₁)) i · x i ≤ signed/negate lower)
→ lower ≤ Σ i∈xs, c i · x iList = data/List· = signed/multiplyΣ = signed/map-sum: sum over the listed indicesℚ = signed/SignedRational≤ = signed/at-most