Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(9) — if all A_i·A_j > 0, then |x − x₀| ≦ (a/v)|(Ax − b)⁺| in the max norm

Proved
HoffmanBound.ErrorBound.eq9

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

error-boundslinear-inequalitiesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let the system Ax≤bAx\le bAx≤b be consistent and suppose Ai⋅Aj>0A_i\cdot A_j>0Ai​⋅Aj​>0 for all rows i,ji,ji,j (including i=ji=ji=j). Let

v=min⁡i,jAi⋅Aj,a=max⁡i,j∣aij∣,v=\min_{i,j}A_i\cdot A_j,\qquad a=\max_{i,j}|a_{ij}|,v=i,jmin​Ai​⋅Aj​,a=i,jmax​∣aij​∣,

and let ∣⋅∣|\cdot|∣⋅∣ be the max norm (largest absolute value of a coordinate). Then for every x∈Rnx\in\mathbb R^nx∈Rn there is a solution x0x_0x0​ of Ax≤bAx\le bAx≤b with

∣x−x0∣≤av ∣(Ax−b)+∣.|x-x_0|\le\frac{a}{v}\,\bigl|(Ax-b)^+\bigr|.∣x−x0​∣≤va​​(Ax−b)+​.

This is the special case of Case II (Fn=Fm=∣⋅∣F_n=F_m=|\cdot|Fn​=Fm​=∣⋅∣) in which the constant of the main theorem is given by the entries and Gram matrix of AAA alone.

Formalization Note The statement is in "the language of the theorem": for every xxx some solution x0x_0x0​ satisfies the bound. vvv and aaa are ⨅/⨆ over the rows and columns (see the definition file); for m≥1m\ge 1m≥1 they are the attained min and max.

Preamble
import Mathlib
import Definitions.Def_HoffmanBound_ErrorBound_Model
import Definitions.Def_HoffmanBound_ErrorBound_NormConstants
Formal statement
namespace HoffmanBound.ErrorBound

open Matrix

/-- Hoffman 1952, p. 265, (9). If `Ax ≤ b` is consistent and all `A_i · A_j > 0`, then with
`v = min_{i,j} A_i · A_j` and `a = max_{i,j} |a_ij|`, every `x` has a solution `x₀` with
`|x - x₀| ≤ (a / v) |(Ax - b)⁺|` (max norms). -/
theorem eq9 {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ) (b : Fin m → ℝ)
    (hcons : (solutionSet A b).Nonempty) (hpos : ∀ i j, 0 < A i ⬝ᵥ A j) :
    ∀ x : Fin n → ℝ, ∃ x₀ ∈ solutionSet A b,
      maxNorm (x - x₀) ≤ aMax A / vMin A * maxNorm (posPartVec (A *ᵥ x - b)) := by sorry

end HoffmanBound.ErrorBound
Source
Hoffman, On Approximate Solutions of Systems of Linear Inequalities, J. Res. Nat. Bur. Standards 49 (1952), p. 265 (PDF p. 3), §4, (9)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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