Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (3.7) — closed form, symmetry and invariance of the transformed (ckl)(c_{kl})(ckl​)

Proved
BealeConvexMin.QuadSimplex.pivotC_formula_37

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1pivotingquadratic-programmingsimplex-method

Let (ckl)k,l=0N(c_{kl})_{k,l=0}^{N}(ckl​)k,l=0N​ be the coefficient matrix of C=∑k,lcklzkzlC=\sum_{k,l}c_{kl}z_kz_lC=∑k,l​ckl​zk​zl​ (z0=1z_0=1z0​=1), let the new nonbasic variable zq=d0+∑l≥1dlzlz_q=d_0+\sum_{l\ge1}d_lz_lzq​=d0​+∑l≥1​dl​zl​ replace zpz_pzp​ and be stored in slot ppp, and let eee be given by (3.4) and (ckl′′)(c''_{kl})(ckl′′​) by (3.5)–(3.6). Then, writing qqq for the new variable's slot,

cqq′′=cppeq2,cql′′=cpleq+cppeqel,ckq′′=ckpeq+cppekeq,ckl′′=ckl+ckpel+cplek+cppekel,k,l≠q.(3.7)\begin{aligned} c''_{qq}&=c_{pp}e_q^2,\\ c''_{ql}&=c_{pl}e_q+c_{pp}e_qe_l,\\ c''_{kq}&=c_{kp}e_q+c_{pp}e_ke_q,\\ c''_{kl}&=c_{kl}+c_{kp}e_l+c_{pl}e_k+c_{pp}e_ke_l, \end{aligned}\qquad k,l\neq q. \tag{3.7}cqq′′​cql′′​ckq′′​ckl′′​​=cpp​eq2​,=cpl​eq​+cpp​eq​el​,=ckp​eq​+cpp​ek​eq​,=ckl​+ckp​el​+cpl​ek​+cpp​ek​el​,​k,l=q.(3.7)

Moreover:

  1. if (ckl)(c_{kl})(ckl​) is symmetric, so is (ckl′′)(c''_{kl})(ckl′′​);
  2. (ckl′′)(c''_{kl})(ckl′′​) is the transformed matrix: substituting zp=∑lelzl′z_p=\sum_l e_lz'_lzp​=∑l​el​zl′​ (with zl′=zlz'_l=z_lzl′​=zl​ for l≠pl\neq pl=p and zp′z'_pzp′​ the new variable) into ∑k,lcklzkzl\sum_{k,l}c_{kl}z_kz_l∑k,l​ckl​zk​zl​ gives ∑k,lckl′′zk′zl′\sum_{k,l}c''_{kl}z'_kz'_l∑k,l​ckl′′​zk′​zl′​.

This closed form is what the two lemmas on free variables are read from, and symmetry is what keeps "ck0c_{k0}ck0​" meaning half the linear coefficient of zkz_kzk​ throughout the iteration.

Formalization Note The new variable's slot is ppp, so "k,l≠qk,l\neq qk,l=q" reads "k,l≠pk,l\neq pk,l=p" and includes the index 000. The identities are algebraic and hold for every ddd; the invariance is stated for every z′z'z′, the homogeneous form of the paper's identity with z0=1z_0=1z0​=1.

Preamble
import Mathlib
import Definitions.Def_BealeConvexMin_QuadSimplex_pivotC
Formal statement
namespace BealeConvexMin.QuadSimplex

/-- Beale (1955), §3, p. 176, eq. (3.7) and the sentence after it. With `e = pivotE d p` (eq. (3.4))
and the new variable `z_q` stored in slot `p` (so the paper's `q` is `p` here and "`k, l ≠ q`"
reads "`k, l ≠ p`", index `0` included), the matrix `(c''_kl) = pivotC c p d` computed from (3.5)
and (3.6) satisfies (3.7); it is symmetric when `(c_kl)` is; and it is the transformed `(c_kl)`:
substituting `z_p = Σ_l e_l z'_l` into `C = Σ c_kl z_k z_l` gives `Σ c''_kl z'_k z'_l`. -/
theorem pivotC_formula_37 {N : ℕ} (c : Matrix (Fin (N + 1)) (Fin (N + 1)) ℝ) (p : Fin (N + 1))
    (d : Fin (N + 1) → ℝ) :
    let e := pivotE d p
    pivotC c p d p p = c p p * e p ^ 2 ∧
    (∀ l, l ≠ p → pivotC c p d p l = c p l * e p + c p p * e p * e l) ∧
    (∀ k, k ≠ p → pivotC c p d k p = c k p * e p + c p p * e k * e p) ∧
    (∀ k l, k ≠ p → l ≠ p →
      pivotC c p d k l = c k l + c k p * e l + c p l * e k + c p p * e k * e l) ∧
    (c.IsSymm → (pivotC c p d).IsSymm) ∧
    ∀ z' : Fin (N + 1) → ℝ,
      quadValue c (Function.update z' p (∑ l, e l * z' l)) = quadValue (pivotC c p d) z' := by sorry

end BealeConvexMin.QuadSimplex
Source
Beale, On Minimizing a Convex Function Subject to Linear Inequalities, J. R. Statist. Soc. B 17(2), 1955, https://doi.org/10.1111/j.2517-6161.1955.tb00191.x, p. 176 (PDF p. 4), eq. (3.7) and the sentence after it
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me