Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§9 — the half-space through the nearest point is the farthest supporting half-space

Proved
RelaxationMethod.ConvexDomain.extremal_support_halfspace

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

convex-setsp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1relaxation-methodsupporting-hyperplane

Let A⊆EnA \subseteq E_nA⊆En​ be a nonempty closed bounded convex set, let p∉Ap \notin Ap∈/A and let qqq be the point of AAA nearest to ppp. Let H0H_0H0​ be the closed half-space bounded by the hyperplane π0\pi_0π0​ through qqq normal to the segment pqpqpq, on the side not containing ppp:

H0={x:⟨q−p,x⟩≥⟨q−p,q⟩}.H_0 = \{x : \langle q - p, x\rangle \ge \langle q - p, q\rangle\}.H0​={x:⟨q−p,x⟩≥⟨q−p,q⟩}.

Then

  1. H0H_0H0​ belongs to the family FFF of supporting half-spaces of AAA;
  2. p∉H0p \notin H_0p∈/H0​ and dist⁡(p,H0)=∣p−q∣\operatorname{dist}(p, H_0) = |p - q|dist(p,H0​)=∣p−q∣;
  3. dist⁡(p,H0)=max⁡H∈Fdist⁡(p,H)\displaystyle \operatorname{dist}(p, H_0) = \max_{H \in F} \operatorname{dist}(p, H)dist(p,H0​)=H∈Fmax​dist(p,H);
  4. for every H∈FH \in FH∈F attaining this maximum and every point q′q'q′ of HHH nearest to ppp, p+2(q′−p)=p+2(q−p)p + 2(q' - p) = p + 2(q - p)p+2(q′−p)=p+2(q−p).

Thus the reflexion process with respect to the infinite family FFF (the relaxation step with λ=2\lambda = 2λ=2 applied to a farthest half-space) amounts to the construction p1=p+2(q−p)p_1 = p + 2(q - p)p1​=p+2(q−p) of (3.1).

Formalization Note Item 4 is how we state the paper's "this shows that the reflexion process with respect to the family FFF amounts to the construction of the point (3.1)": whichever farthest half-space is chosen, the reflexion step gives the same point. Distances to sets are Metric.infDist.

Preamble
import Mathlib
import Definitions.Def_RelaxationMethod_ConvexDomain_ImageProcess
import Definitions.Def_RelaxationMethod_ConvexDomain_SupportHalfSpace
Formal statement
namespace RelaxationMethod.ConvexDomain

/-- §9, p. 402: for `p ∉ A` with nearest point `q`, the half-space `H₀` bounded by the hyperplane
through `q` normal to `pq` and not containing `p` belongs to `F`, has distance `|p - q|` from `p`,
maximizes the distance from `p` over `F`, and the reflexion step with respect to any maximizing
`H ∈ F` produces `p + 2(q - p)`. -/
theorem extremal_support_halfspace {n : ℕ} (A : Set (EuclideanSpace ℝ (Fin n)))
    (hne : A.Nonempty) (hclosed : IsClosed A) (hconv : Convex ℝ A)
    (hbdd : Bornology.IsBounded A)
    (p q : EuclideanSpace ℝ (Fin n)) (hp : p ∉ A) (hq : IsNearestPoint A p q)
    (H₀ : Set (EuclideanSpace ℝ (Fin n)))
    (hH₀ : H₀ = {x | inner ℝ (q - p) q ≤ inner ℝ (q - p) x}) :
    IsSupportHalfSpace A H₀ ∧ p ∉ H₀ ∧ Metric.infDist p H₀ = dist p q ∧
      (∀ H, IsSupportHalfSpace A H → Metric.infDist p H ≤ Metric.infDist p H₀) ∧
      (∀ H, IsSupportHalfSpace A H → Metric.infDist p H = Metric.infDist p H₀ →
        ∀ q' ∈ H, dist p q' = Metric.infDist p H →
          p + (2 : ℝ) • (q' - p) = p + (2 : ℝ) • (q - p)) := by sorry

end RelaxationMethod.ConvexDomain
Source
Motzkin and Schoenberg, The relaxation method for linear inequalities, Canad. J. Math. 6 (1954), p. 402, §9
Read-back

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

Setting. Let n∈Nn \in \mathbb{N}n∈N and En=RnE_n = \mathbb{R}^nEn​=Rn with the Euclidean inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and distance ∣x−y∣|x-y|∣x−y∣. For a point ppp and a set SSS, write d(p,S)=inf⁡s∈S∣p−s∣d(p,S) = \inf_{s \in S} |p - s|d(p,S)=infs∈S​∣p−s∣; by convention this is 000 when S=∅S = \emptysetS=∅.

Hypotheses.

  • A⊆EnA \subseteq E_nA⊆En​ is nonempty, closed, convex and bounded.
  • p,q∈Enp, q \in E_np,q∈En​ with p∉Ap \notin Ap∈/A.
  • qqq is a nearest point of AAA to ppp: q∈Aq \in Aq∈A and ∣p−q∣≤∣p−a∣|p-q| \le |p-a|∣p−q∣≤∣p−a∣ for all a∈Aa \in Aa∈A.
  • H0H_0H0​ is the set
H0={x∈En:⟨q−p,q⟩≤⟨q−p,x⟩}.H_0 = \{x \in E_n : \langle q - p, q\rangle \le \langle q - p, x\rangle\}.H0​={x∈En​:⟨q−p,q⟩≤⟨q−p,x⟩}.

A "support half-space of AAA" is a set H={x:c≤⟨u,x⟩}H = \{x : c \le \langle u,x\rangle\}H={x:c≤⟨u,x⟩} with u≠0u \ne 0u=0, A⊆HA \subseteq HA⊆H, and ⟨u,a⟩=c\langle u,a\rangle = c⟨u,a⟩=c for some a∈Aa \in Aa∈A.

Conclusion. All of the following hold:

  1. H0H_0H0​ is a support half-space of AAA.
  2. p∉H0p \notin H_0p∈/H0​.
  3. d(p,H0)=∣p−q∣d(p, H_0) = |p - q|d(p,H0​)=∣p−q∣.
  4. For every support half-space HHH of AAA: d(p,H)≤d(p,H0)d(p, H) \le d(p, H_0)d(p,H)≤d(p,H0​).
  5. For every support half-space HHH of AAA with d(p,H)=d(p,H0)d(p,H) = d(p,H_0)d(p,H)=d(p,H0​), and every point q′∈Hq' \in Hq′∈H with ∣p−q′∣=d(p,H)|p - q'| = d(p,H)∣p−q′∣=d(p,H), we have
p+2(q′−p)=p+2(q−p),p + 2(q' - p) = p + 2(q - p),p+2(q′−p)=p+2(q−p),

that is, q′=qq' = qq′=q.

Degenerate cases. If n=0n = 0n=0, the only nonempty set is the whole one-point space. Then p∉Ap \notin Ap∈/A cannot hold, and the statement is vacuous. For n≥1n \ge 1n≥1, the hypotheses p∉Ap \notin Ap∈/A and q∈Aq \in Aq∈A give q−p≠0q - p \ne 0q−p=0, so H0H_0H0​ is a genuine half-space. Every support half-space is nonempty, so the empty-set convention for ddd never applies here. In item 4, a support half-space HHH that contains ppp has d(p,H)=0d(p,H) = 0d(p,H)=0. In item 5, the claim concerns only points q′q'q′ of HHH that attain the distance; the statement does not claim that such a q′q'q′ exists.

Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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