Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.3 — number of distinct configurations

Proved
ZhangTangLabelCut.LP2.configuration_count

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

integrality-gaplinear-optimizationoperations-researchp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let k≥2k\ge2k≥2, d>0d>0d>0 and 1≤c≤kd1\le c\le kd1≤c≤kd be integers, set a=c/ka=c/ka=c/k, and work in the Section 6 regime d>8ad>8ad>8a. Let Fc\mathcal F_cFc​ be the family of distinct sets F(S)F(S)F(S) arising from label subsets S⊆Φ×[d]S\subseteq\Phi\times[d]S⊆Φ×[d] of cardinality ccc. Then

∣Fc∣≤(4a+1)kd(4a+1)k.|\mathcal F_c|\le(4a+1)^k d^{(4a+1)k}.∣Fc​∣≤(4a+1)kd(4a+1)k.

This counts configurations themselves, not candidate subsets or descriptions of configurations.

Differences from the source:

  • encoding: one-based finite label and chain indices → zero-based Fin indices; reason: reindexing preserves every instance and cardinality
  • encoding: the size c of a nonempty candidate in the Section 6 parameter regime → c > 0 and d > 8c/k, which also imply c ≤ kd and d > 0; reason: c is an actual label-subset size and the surrounding analysis uses d > 8a; 4a stays real
Preamble
import Definitions.Def_ZhangTangLabelCut_LP2_FiniteGraph
import Definitions.Def_ZhangTangLabelCut_LP2_CoveringLP
import Definitions.Def_ZhangTangLabelCut_LP2_LabelCut
import Definitions.Def_ZhangTangLabelCut_LP2_Shutter
import Definitions.Def_ZhangTangLabelCut_LP2_Configurations
Formal statement
namespace ZhangTangLabelCut.LP2

theorem configuration_count (k d c : ℕ) (hk : 2 ≤ k) (hc : 0 < c)
    (hreg : 8 * average k c < (d : ℝ)) :
    ((configurations k d c).card : ℝ) ≤ countBound k (average k c) d := by sorry

end ZhangTangLabelCut.LP2
Source
Zhang and Tang, Minimum Label s-t Cut has Large Integrality Gaps, arXiv:1908.11491v1 (2019), p. 19, Lemma 6.3; pp. 14–17, standing setup
Read-back

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

Data and hypotheses. Let k,d,c∈Nk, d, c \in \mathbb Nk,d,c∈N with k≥2k \ge 2k≥2 and c≥1c \ge 1c≥1. Write a=c/ka = c/ka=c/k, and assume 8a<d8a < d8a<d.

Configurations. For each S⊆{0..k−1}×{0..d−1}S \subseteq \{0..k-1\} \times \{0..d-1\}S⊆{0..k−1}×{0..d−1} with ∣S∣=c|S| = c∣S∣=c:

  • call μ\muμ light when #{(λ,x)∈S:λ=μ}≤4a\#\{(\lambda, x) \in S : \lambda = \mu\} \le 4a#{(λ,x)∈S:λ=μ}≤4a, including rows with no elements;
  • form F(S)={(λ,x)∈S:λ light}F(S) = \{(\lambda, x) \in S : \lambda \text{ light}\}F(S)={(λ,x)∈S:λ light}.

Claim. The number of distinct sets F(S)F(S)F(S) obtained this way satisfies

#{F(S):∣S∣=c} ≤ (4a+1)k⋅d(4a+1)k,\#\{F(S) : |S| = c\} \ \le\ (4a + 1)^k \cdot d^{(4a+1)k},#{F(S):∣S∣=c} ≤ (4a+1)k⋅d(4a+1)k,

where both powers are real powers.

Degenerate cases:

  • The hypotheses force d>8c/k>0d > 8c/k > 0d>8c/k>0, so both bases are positive.
  • If c>kdc > kdc>kd, no set SSS of size ccc exists and the left side is 000.
  • Different SSS with the same F(S)F(S)F(S) are counted once.
Human review
  • Endorsed by Community (Bot) · Oct 29, 2026

    Confirmed by the moderator at approval.

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