Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4, proof, (i) — no TTT with w(T)=tw(T)=tw(T)=t iff α⊤x≤β\alpha^\top x\le\betaα⊤x≤β is valid

Proved
KnapsackFacets.statement_i

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

computational-complexityinteger-programmingknapsackp2o-gran-per-chapterp2o-plan-paperp2o-v1polyhedral-combinatorics

Let (w,t)(w,t)(w,t) be a CSS instance with wi≤t−1w_i\le t-1wi​≤t−1 for all iii and t≥2t\ge2t≥2, and let a,b,α,βa,b,\alpha,\betaa,b,α,β be the instance (3)–(6). Then

∄S⊆[n]: w(S)=t  ⟺  α⊤x≤β is valid for conv⁡({x∈{0,1}N:a⊤x≤b}).\nexists S\subseteq[n]:\ w(S)=t \quad\iff\quad \alpha^\top x\le\beta \text{ is valid for } \operatorname{conv}(\{x\in\{0,1\}^N:a^\top x\le b\}).∄S⊆[n]: w(S)=t⟺α⊤x≤β is valid for conv({x∈{0,1}N:a⊤x≤b}).

This is the co-NP half of the correctness of the reduction in Theorem 4.

Differences from the source:

  • encoding: wᵢ ≤ t − 1 for all i ∈ [n] and t ≥ 2 → hypotheses ∀ i, w i + 1 ≤ t and 2 ≤ t, with w : Fin n → ℕ, t : ℕ; reason: the proof's standing assumptions, written without natural-number subtraction
  • encoding: coordinates x₁, …, x_N → 0-based coordinates: the paper's x_{i+1} is x i : Fin _, and coefficients take i.val + 1; reason: a Lean convention; the same points and the same coefficients
Preamble
import Definitions.Def_KnapsackFacets_KnapsackPolytope
import Definitions.Def_KnapsackFacets_Reduction

set_option autoImplicit false
Formal statement
namespace KnapsackFacets

/-- **(i), p.12.** "There does not exist S ⊆ [n] such that w(S) = t if and only if inequality
α⊤x ≤ β is valid for the KP defined by a⊤x ≤ b." Chen & Zhu, arXiv:2211.03311v3, Theorem 4,
proof, (i), p.12.

`a, b, α, β` are the reduction instance (3)–(6) built from the CSS instance `(w, t)`, under the
standing assumptions `wᵢ ≤ t − 1` for all `i` and `t ≥ 2` (p.6).

**Formalization Note.** Validity is `IsValid` on the convex hull `KP a b`, equivalent to the
binary-point form the proof uses (p.9). `wᵢ ≤ t − 1` is `w i + 1 ≤ t`. -/
theorem statement_i {n : ℕ} (w : Fin n → ℕ) (t : ℕ) (ht : 2 ≤ t) (hw : ∀ i, w i + 1 ≤ t) :
    (¬ ∃ S : Finset (Fin n), ∑ i ∈ S, w i = t) ↔
      IsValid (redA w t) (redB w t) (redAlpha w t) (redBeta w t : ℤ) := by sorry

end KnapsackFacets
Source
Chen & Zhu, The Complexity of Recognizing Facets for the Knapsack Polytope, arXiv:2211.03311v3, Theorem 4, proof, (i), p.12 (cases (a)–(d), pp.9–11)
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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