Reference · Lemmas behind operations-research checks
rainbow.math.lemmas.dc-power-flow
General lemmas: dc power flow. The mathematical facts the corresponding checks rest on, each checked by the kernel.
signed/incidence-balance-conserved
signed/incidence-balance-conserved : (A : ℕ → ℕ → ℚ) (f p : ℕ → ℚ) (n m : ℕ) (hrow : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx m), signed/expr-sum-value (fun ri => A idx ri) n = 0) (hbal : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx n), p idx = signed/expr-sum-value (fun bl => A bl idx · f bl) m) → signed/expr-sum-value (fun cp => p cp) n = 0
0 = signed/zero= = signed/equivalent: equality of rational values· = signed/multiplyℕ = data/Natℚ = signed/SignedRational
signed/incidence-balance-susceptance
signed/incidence-balance-susceptance : (A : ℕ → ℕ → ℚ) (B f p theta : ℕ → ℚ) (n m : ℕ) (hflow : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx m), f idx = B idx · signed/expr-sum-value (fun aj => A idx aj · theta aj) n) (hbal : ∀ (idx : ℕ), ∀ (bound : nat/strict-below idx n), p idx = signed/expr-sum-value (fun bl => A bl idx · f bl) m) (i : ℕ) (i-lt : nat/strict-below i n) → p i = signed/expr-sum-value (fun nj => signed/expr-sum-value (fun yl => A yl i · B yl · A yl nj) m · theta nj) n
= = signed/equivalent: equality of rational values· = signed/multiplyℕ = data/Natℚ = signed/SignedRational