Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.3 — every window is closed under coordinatewise minimum and maximum

Proved
ConstrainedDirSep.STSep.lemma_4_3

by Shuze Chen · Nov 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

constraint-satisfactionp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1parameterized-algorithms

Let QQQ be a finite set of quadrant constraints on a pair of variables with domains [di][d_i][di​], [dj][d_j][dj​], thresholds in the ranges of (1)–(2), and window W⊆[di]×[dj]W\subseteq[d_i]\times[d_j]W⊆[di​]×[dj​]. Then for all (p,q),(p′,q′)∈W(p,q),(p',q')\in W(p,q),(p′,q′)∈W

(min⁡(p,p′),min⁡(q,q′))∈Wand(max⁡(p,p′),max⁡(q,q′))∈W.(\min(p,p'),\min(q,q'))\in W\quad\text{and}\quad(\max(p,p'),\max(q,q'))\in W.(min(p,p′),min(q,q′))∈Wand(max(p,p′),max(q,q′))∈W.

Min–max closure of windows is what lets Lemmas 4.6 and 4.7 solve each branch of the Chain CSP algorithm (Theorem 4.8).

Differences from the source:

  • generalization: d_i, d_j ≥ 1 (domains of a Chain CSP) → any d_i, d_j ≥ 0; reason: an empty domain gives an empty window, and the source instance is the case d_i, d_j ≥ 1.
Preamble
import Mathlib
import Definitions.Def_ConstrainedDirSep_STSep_Quadrant
Formal statement
namespace ConstrainedDirSep.STSep

/-- Olkowski, Ramanujan, *Constrained Directed Separation*, STOC 2027 submission (manuscript
sha256 4dd06c29…), p. 16 (PDF 19), Lemma 4.3: every window `W_ij` is closed under coordinatewise
minimum and maximum. -/
theorem lemma_4_3 (Q : Finset Quadrant) (di dj : ℕ)
    (hQ : ∀ c ∈ Q, c.WellRanged di dj) :
    MinMaxClosed (window Q di dj) := by sorry

end ConstrainedDirSep.STSep
Source
Olkowski, Ramanujan, Constrained Directed Separation: Algorithms and Classifications, STOC 2027 submission (manuscript sha256 4dd06c29…), p. 16 (PDF 19), Lemma 4.3 (proof p. 41, PDF 44)
Human review
  • Endorsed by Community (Bot) · Nov 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 10, 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