Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3 — reflexion in a closed bounded convex set terminates or ends in oscillation

Proved
RelaxationMethod.ConvexDomain.theorem3

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

convex-setsfinite-terminationp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1relaxation-method

Let A⊆EnA \subseteq E_nA⊆En​ be a nonempty closed bounded convex set of dimension rrr, and let LrL_rLr​ be the rrr-flat containing AAA (its affine span). Let p0∉Ap_0 \notin Ap0​∈/A and let {pν}\{p_\nu\}{pν​} be a sequence obtained by the reflexion process

pν+1=F(pν)=pν+2(qν−pν),qν the point of A nearest to pν(pν∉A).p_{\nu+1} = F(p_\nu) = p_\nu + 2(q_\nu - p_\nu), \qquad q_\nu \text{ the point of } A \text{ nearest to } p_\nu \quad (p_\nu \notin A).pν+1​=F(pν​)=pν​+2(qν​−pν​),qν​ the point of A nearest to pν​(pν​∈/A).
  1. Case 1. If r=nr = nr=n, the process always terminates: pN∈Ap_N \in ApN​∈A for some NNN.
  2. Case 2. Let r<nr < nr<n. If p0∈Lrp_0 \in L_rp0​∈Lr​, the process terminates. If p0∉Lrp_0 \notin L_rp0​∈/Lr​, the process produces an infinite sequence (pν∉Ap_\nu \notin Apν​∈/A for all ν\nuν), and there are a number ν0\nu_0ν0​ and two distinct points u≠vu \ne vu=v, symmetric with respect to LrL_rLr​, such that for all ν>ν0\nu > \nu_0ν>ν0​ the points pνp_\nupν​ oscillate between them:
{pν,pν+1}={u,v} with pν≠pν+1(ν>ν0).\{p_\nu, p_{\nu+1}\} = \{u, v\} \text{ with } p_\nu \ne p_{\nu+1} \qquad (\nu > \nu_0).{pν​,pν+1​}={u,v} with pν​=pν+1​(ν>ν0​).

This extends the finite termination of the reflexion method for full-dimensional polytopes (Theorem 1, Case 2) to the infinite family of all supporting half-spaces of a convex body.

Formalization Note r=nr = nr=n is affineSpan ℝ A = ⊤ and r<nr < nr<n is affineSpan ℝ A ≠ ⊤. The statement holds for every run from every p0∉Ap_0 \notin Ap0​∈/A. "Symmetric with respect to LrL_rLr​" means the midpoint of u,vu, vu,v lies in LrL_rLr​ and u−vu - vu−v is orthogonal to LrL_rLr​. Nonemptiness of AAA is implicit in the paper ("of dimension rrr", "the point of AAA nearest to ppp").

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

/-- Theorem 3, p. 402. Let `A ⊆ E_n` be a nonempty closed bounded convex set with affine span
`L_r = affineSpan ℝ A`, and let `p₀ ∉ A` start a run of the reflexion process (3.1), (3.2).
Case 1: if `L_r` is the whole space (`r = n`), the process terminates.
Case 2: if `L_r ≠ ⊤` (`r < n`): if `p₀ ∈ L_r` the process terminates; if `p₀ ∉ L_r` the process
never enters `A` and, for all `ν > ν₀`, `p_ν` alternates between two distinct points `u`, `v`
symmetric with respect to `L_r`. -/
theorem theorem3 {n : ℕ} (A : Set (EuclideanSpace ℝ (Fin n)))
    (hne : A.Nonempty) (hclosed : IsClosed A) (hconv : Convex ℝ A)
    (hbdd : Bornology.IsBounded A)
    (p : ℕ → EuclideanSpace ℝ (Fin n)) (h0 : p 0 ∉ A) (hrun : IsImageRun A p) :
    (affineSpan ℝ A = ⊤ → ∃ N : ℕ, p N ∈ A) ∧
    (affineSpan ℝ A ≠ ⊤ →
      (p 0 ∈ affineSpan ℝ A → ∃ N : ℕ, p N ∈ A) ∧
      (p 0 ∉ affineSpan ℝ A →
        (∀ ν : ℕ, p ν ∉ A) ∧
        ∃ ν₀ : ℕ, ∃ u v : EuclideanSpace ℝ (Fin n), u ≠ v ∧
          IsSymmetricWrt (affineSpan ℝ A) u v ∧
          ∀ ν : ℕ, ν > ν₀ →
            (p ν = u ∧ p (ν + 1) = v) ∨ (p ν = v ∧ p (ν + 1) = u))) := by sorry

end RelaxationMethod.ConvexDomain
Source
Motzkin and Schoenberg, The relaxation method for linear inequalities, Canad. J. Math. 6 (1954), p. 402, Theorem 3, Cases 1 and 2
Read-back

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

The statement concerns a sequence of points p0,p1,p2,…p_0, p_1, p_2, \dotsp0​,p1​,p2​,… in real Euclidean space and a set AAA in that space.

Setting and variables.

  • n∈Nn \in \mathbb{N}n∈N is an implicit dimension, and En=RnE_n = \mathbb{R}^nEn​=Rn has the standard Euclidean structure. n=0n = 0n=0 is allowed.
  • A⊆RnA \subseteq \mathbb{R}^nA⊆Rn is a set.
  • p:N→Rnp : \mathbb{N} \to \mathbb{R}^np:N→Rn is a sequence, written ν↦pν\nu \mapsto p_\nuν↦pν​.
  • L=aff⁡(A)L = \operatorname{aff}(A)L=aff(A) is the affine span of AAA: the smallest affine subspace of Rn\mathbb{R}^nRn that contains AAA. "LLL is the whole space" means L=RnL = \mathbb{R}^nL=Rn.

Hypotheses. All of the following are assumed:

  1. AAA is nonempty.
  2. AAA is closed.
  3. AAA is convex.
  4. AAA is bounded, so AAA is compact.
  5. p0∉Ap_0 \notin Ap0​∈/A.
  6. IsImageRun(A,p)\mathrm{IsImageRun}(A, p)IsImageRun(A,p) holds. This predicate is defined in an imported file whose text is not part of the code given here, so its content cannot be restated. It is an unspecified condition on the pair (A,p)(A, p)(A,p), and the statement says nothing about how ppp is built beyond what that predicate encodes.

Conclusion. The conclusion is a conjunction of two implications.

  • (Case 1) If L=RnL = \mathbb{R}^nL=Rn, then some index N∈NN \in \mathbb{N}N∈N has pN∈Ap_N \in ApN​∈A.
  • (Case 2) If L≠RnL \neq \mathbb{R}^nL=Rn, then both of the following hold:
    • (2a) If p0∈Lp_0 \in Lp0​∈L, then some index N∈NN \in \mathbb{N}N∈N has pN∈Ap_N \in ApN​∈A.
    • (2b) If p0∉Lp_0 \notin Lp0​∈/L, then:
      • pν∉Ap_\nu \notin Apν​∈/A for every ν∈N\nu \in \mathbb{N}ν∈N, including ν=0\nu = 0ν=0; and
      • there exist ν0∈N\nu_0 \in \mathbb{N}ν0​∈N and points u,v∈Rnu, v \in \mathbb{R}^nu,v∈Rn with u≠vu \neq vu=v and IsSymmetricWrt(L,u,v)\mathrm{IsSymmetricWrt}(L, u, v)IsSymmetricWrt(L,u,v), such that for every ν>ν0\nu > \nu_0ν>ν0​,
(pν=u and pν+1=v)or(pν=v and pν+1=u).(p_\nu = u \ \text{and}\ p_{\nu+1} = v) \quad\text{or}\quad (p_\nu = v \ \text{and}\ p_{\nu+1} = u).(pν​=u and pν+1​=v)or(pν​=v and pν+1​=u).
  $\mathrm{IsSymmetricWrt}$ is also defined in an imported file that is not shown. It is an unspecified relation between the affine subspace $L$ and the points $u$ and $v$.

What "terminates" means here. Whenever the conclusion says the process "terminates" (Case 1 and Case 2a), it only asserts that at least one term pNp_NpN​ lies in AAA. It says nothing about the sequence stopping, staying in AAA afterwards, or what happens after index NNN. It also gives no bound on NNN. Case 1 and Case 2a have exactly the same conclusion.

Case 2b in detail. The alternation condition is required only for indices strictly greater than ν0\nu_0ν0​. Nothing is asserted about p0,…,pν0p_0, \dots, p_{\nu_0}p0​,…,pν0​​ except that they lie outside AAA. The points uuu and vvv are not explicitly required to lie outside AAA or outside LLL. However, uuu and vvv must lie outside AAA, because both occur as terms pνp_\nupν​ and every term is outside AAA.

Degenerate cases.

  • n=0n = 0n=0. R0\mathbb{R}^0R0 has exactly one point. A nonempty AAA must equal that single point, so p0∉Ap_0 \notin Ap0​∈/A cannot hold. The hypotheses are then unsatisfiable, and the statement is vacuously true.
  • n≥1n \geq 1n≥1. L=RnL = \mathbb{R}^nL=Rn holds exactly when AAA has nonempty interior. For example, a one-point AAA has L=A≠RnL = A \neq \mathbb{R}^nL=A=Rn, so it falls under Case 2. For such an AAA, Case 2a applies when p0=p_0 = p0​= that point, but that contradicts p0∉Ap_0 \notin Ap0​∈/A. So only Case 2b is ever active for a one-point AAA.
  • Hidden definitions. This statement does not show whether IsImageRun(A,p)\mathrm{IsImageRun}(A, p)IsImageRun(A,p) can be satisfied, or satisfied only by special sequences. If the predicate is unsatisfiable, or unsatisfiable for some class of sets AAA, the whole statement is vacuous there. Likewise, the strength of the symmetry claim in Case 2b depends entirely on the unseen definition of IsSymmetricWrt\mathrm{IsSymmetricWrt}IsSymmetricWrt.
  • Junk values. No division, natural-number subtraction, integral, supremum or extended-real arithmetic appears in the displayed code, so no default-value cases arise from it directly.
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