Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6.13 — with probability one, exactly one of (6.5) and (6.11) is empty and the other has an interior feasible point

Proved
YeIPA.Random.theorem_6_13

by Shuze Chen · Oct 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

average-case-analysisinterior-pointlinear-programmingprobabilityrandom-matrices

Let 1≤n1\le n1≤n and 0≤m≤n0\le m\le n0≤m≤n, and let A∈Rm×nA\in\mathbb R^{m\times n}A∈Rm×n be standard Gaussian: its mnmnmn entries are independent N(0,1)N(0,1)N(0,1) random variables. Consider the homogeneous system (6.5) and its alternative (6.11),

(6.5)Ax=0, x≥0, x≠0;(6.11)s=ATy≥0, s≠0.\text{(6.5)}\quad Ax=0,\ x\ge0,\ x\ne0;\qquad\qquad \text{(6.11)}\quad s=A^Ty\ge0,\ s\ne0.(6.5)Ax=0, x≥0, x=0;(6.11)s=ATy≥0, s=0.

With probability one, exactly one of the two systems is empty and the other has an interior feasible point: either (6.5) has no solution and some yyy gives ATy>0A^Ty>0ATy>0, or (6.11) has no solution and some x>0x>0x>0 satisfies Ax=0Ax=0Ax=0.

For an arbitrary matrix both systems can be feasible at once, and a feasible system need not have an interior point. The theorem says that these degenerate configurations have probability zero for a Gaussian matrix, so a random homogeneous feasibility problem is strictly feasible on whichever side is feasible. This is the starting point of the chapter's average-case bound of O(nlog⁡n)O(\sqrt n\log n)O(n​logn) iterations for random feasibility and LP problems.

Formalization Note "With probability one" is stated as: the set of matrices for which the conclusion fails is a null set of the product of standard Gaussians on the mnmnmn entries (an almost-everywhere statement for that specific measure). The conclusion is the disjunction of the two cases; each case already implies that exactly one system is empty. The standing full-row-rank assumption of §6.2 (p. 187) is carried as m≤nm\le nm≤n, under which a Gaussian AAA has rank mmm with probability one, and n≥1n\ge1n≥1 excludes the empty system, where both (6.5) and (6.11) are empty.

Preamble
import Mathlib
import Definitions.Def_YeIPA_Random_Setting

open Matrix MeasureTheory ProbabilityTheory
Formal statement
namespace YeIPA.Random

/-- Theorem 6.13 (Ye 1997, p. 194). Let every entry of `A ∈ ℝ^{m×n}` be an independent
standard Gaussian variable. With probability one, exactly one of systems (6.5)
`Ax = 0, x ≥ 0, x ≠ 0` and (6.11) `s = Aᵀy ≥ 0, s ≠ 0` is empty and the other has an interior
feasible point: the set of `A` for which this fails has probability zero.
Standing hypotheses of §6.2 made explicit: `n ≥ 1`, and `m ≤ n` (so that `A` has full row rank
`m` with probability one, p. 187). -/
theorem theorem_6_13 {m n : ℕ} (hn : 1 ≤ n) (hmn : m ≤ n) :
    ∀ᵐ A ∂gaussianMatrix m n,
      ((¬ ∃ x, IsFeasible65 (Matrix.of A) x) ∧ ∃ y, IsInterior611 (Matrix.of A) y) ∨
      ((¬ ∃ y, IsFeasible611 (Matrix.of A) y) ∧ ∃ x, IsInterior65 (Matrix.of A) x) := by sorry

end YeIPA.Random
Source
Ye, Interior Point Algorithms: Theory and Analysis, Wiley 1997, p. 194, Theorem 6.13
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

For natural numbers mmm and nnn with

1≤nandm≤n,1 \le n \qquad\text{and}\qquad m \le n,1≤nandm≤n,

the statement concerns a measure called gaussianMatrix(m,n)\mathrm{gaussianMatrix}(m,n)gaussianMatrix(m,n), which is defined in the imported file Definitions.Def_YeIPA_Random_Setting. That file's contents are not part of the code under review, so this read-back cannot unfold the definition. The statement does not say whether this measure is a probability measure, what its entries' distribution is, or whether the entries are independent. Those facts depend entirely on that definition. The points AAA of the measure's underlying space are two-index real arrays, and MA:=Matrix.of(A)M_A := \mathrm{Matrix.of}(A)MA​:=Matrix.of(A) is the same array viewed as a matrix. Its dimensions, presumably m×nm \times nm×n, are fixed by the imported definition and are not written in the statement.

The theorem asserts that the following holds for almost every AAA with respect to gaussianMatrix(m,n)\mathrm{gaussianMatrix}(m,n)gaussianMatrix(m,n). Equivalently, the set of AAA where it fails has measure zero:

(¬ ∃x: IsFeasible65(MA,x)) ∧ (∃y: IsInterior611(MA,y))or(¬ ∃y: IsFeasible611(MA,y)) ∧ (∃x: IsInterior65(MA,x)).\Big(\neg\,\exists x:\ \mathrm{IsFeasible65}(M_A, x)\Big)\ \wedge\ \Big(\exists y:\ \mathrm{IsInterior611}(M_A, y)\Big) \quad\text{or}\quad \Big(\neg\,\exists y:\ \mathrm{IsFeasible611}(M_A, y)\Big)\ \wedge\ \Big(\exists x:\ \mathrm{IsInterior65}(M_A, x)\Big).(¬∃x: IsFeasible65(MA​,x)) ∧ (∃y: IsInterior611(MA​,y))or(¬∃y: IsFeasible611(MA​,y)) ∧ (∃x: IsInterior65(MA​,x)).

The four predicates IsFeasible65\mathrm{IsFeasible65}IsFeasible65, IsInterior65\mathrm{IsInterior65}IsInterior65, IsFeasible611\mathrm{IsFeasible611}IsFeasible611 and IsInterior611\mathrm{IsInterior611}IsInterior611 are also defined in the imported file and cannot be unfolded here. The statement does not specify the types of xxx and yyy; the predicates' signatures determine them.

The docstring describes these predicates as follows:

  • System (6.5): Ax=0Ax = 0Ax=0, x≥0x \ge 0x≥0, x≠0x \ne 0x=0.
  • System (6.11): s=ATy≥0s = A^{\mathsf T} y \ge 0s=ATy≥0, s≠0s \ne 0s=0.
  • The "interior" variants are interior feasible points.

That description is commentary and is not checked by the code. What the statement fixes is only this: in each disjunct, one named predicate has no witness and the other named predicate has a witness.

The connective is a plain "or", not "exactly one". The statement by itself does not exclude both disjuncts holding at once. Whether they can both hold depends on the imported definitions, for example on whether IsInterior65(M,x)\mathrm{IsInterior65}(M,x)IsInterior65(M,x) implies IsFeasible65(M,x)\mathrm{IsFeasible65}(M,x)IsFeasible65(M,x), and likewise for 6.11. The hypotheses 1≤n1 \le n1≤n and m≤nm \le nm≤n appear only as assumptions; they are not referred to inside the asserted property.

Degenerate cases. The hypotheses allow m=0m = 0m=0, with any n≥1n \ge 1n≥1, and they allow n=1n = 1n=1 with m∈{0,1}m \in \{0, 1\}m∈{0,1}.

  • m=0m = 0m=0: the arrays have no rows, so the underlying space has a single point (the empty matrix). The claim then says that this one empty matrix satisfies the disjunction, unless gaussianMatrix(0,n)\mathrm{gaussianMatrix}(0,n)gaussianMatrix(0,n) gives that point measure zero, in which case the claim is vacuous. Whether the disjunction actually holds for the empty matrix depends on how the predicates treat zero rows. Under the docstring reading:

    • Ax=0Ax = 0Ax=0 is automatic, so any nonzero x≥0x \ge 0x≥0 satisfies (6.5).
    • ATyA^{\mathsf T} yATy is the zero vector, so (6.11)'s condition s≠0s \ne 0s=0 would fail.

    This is only an observation about the docstring, not something the code establishes.

  • Zero or non-probability measure: if the imported definition makes gaussianMatrix(m,n)\mathrm{gaussianMatrix}(m,n)gaussianMatrix(m,n) the zero measure for some (m,n)(m,n)(m,n), the "almost every" claim is vacuously true there. If it is not a probability measure, "almost every" still means only "outside a null set of that measure".

  • No other total-function defaults appear: the statement contains no division, no natural-number subtraction, no integral and no supremum, so none of Lean's default values enter.

Human review
  • Endorsed by Community (Bot) · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 20, 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