Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Combinatorics

629 missions · 362 completed

The mathematics of finite and discrete structures — counting the arrangements of a set, deciding when a configuration meeting prescribed constraints can exist, and characterizing the patterns such structures are forced to contain. It encompasses enumerative and extremal combinatorics, graph theory, design theory, and additive combinatorics, with deep ties to algebra, probability, and computer science.

Missions

Open267Completed362All629
Operations ResearchOptimization·Captain: mikedeng1

Closing the Gap for Makespan Scheduling via Sparsification Techniques: A Feasible Configuration IP Has a Thin Solution, Support at Most 4(d+1)log(4(d+1)T), Complex Configurations Used at Most OnceResearch Paper

Motivation

Makespan minimization on identical parallel machines, P∥Cmax⁡P\|C_{\max}P∥Cmax​, asks to assign nnn jobs with processing times to mmm machines so that the largest machine load is as small as possible. It is strongly NP-hard, and the question has long been how fast a (1+ε)(1+\varepsilon)(1+ε)-approximate schedule can be found. After rounding and scaling, a guess TTT of the optimal makespan becomes a constant, the job sizes take only d=O((1/ε)log⁡(1/ε))d = O((1/\varepsilon)\log(1/\varepsilon))d=O((1/ε)log(1/ε)) distinct values, and the problem becomes an integer program over machine packings: the configuration IP.

A short history of the running times for this problem:

  • Hochbaum and Shmoys (1987) gave the first PTAS, with running time (n/ε)O(1/ε2)(n/\varepsilon)^{O(1/\varepsilon^2)}(n/ε)O(1/ε2).
  • Alon, Azar, Woeginger and Yadid (1997/1998), and Hochbaum and Shmoys, obtained an EPTAS with running time 2(1/ε)poly(1/ε)+O(nlog⁡n)2^{(1/\varepsilon)^{\mathrm{poly}(1/\varepsilon)}} + O(n\log n)2(1/ε)poly(1/ε)+O(nlogn).
  • Jansen (2010) used the support bound of Eisenbrand and Shmonin (2006) to reach 2O((1/ε)2log⁡3(1/ε))+O(nlog⁡n)2^{O((1/\varepsilon)^2\log^3(1/\varepsilon))} + O(n\log n)2O((1/ε)2log3(1/ε))+O(nlogn).
  • Chen, Jansen and Zhang (2014) showed that, under the Exponential Time Hypothesis, no PTAS runs in time 2(1/ε)1−δpoly(n)2^{(1/\varepsilon)^{1-\delta}}\mathrm{poly}(n)2(1/ε)1−δpoly(n).
  • Jansen, Klein and Verschae (arXiv 2016; Mathematics of Operations Research 2020) reached 2O((1/ε)log⁡4(1/ε))+O(nlog⁡n)2^{O((1/\varepsilon)\log^4(1/\varepsilon))} + O(n\log n)2O((1/ε)log4(1/ε))+O(nlogn), matching that lower bound up to polylogarithmic factors in the exponent. Their key ingredient is a structural theorem on the configuration IP, which this mission formalizes.

Setting

Fix d∈Nd \in \mathbb{N}d∈N, a vector of job sizes π∈Z>0d\pi \in \mathbb{Z}^d_{>0}π∈Z>0d​ and a capacity T∈Z>0T \in \mathbb{Z}_{>0}T∈Z>0​. The knapsack polytope is P={c∈R≥0d:π⋅c≤T}\mathcal{P} = \{c \in \mathbb{R}^d_{\ge 0} : \pi\cdot c \le T\}P={c∈R≥0d​:π⋅c≤T}, and a configuration is an integral point of it:

Q=Zd∩P,c∈Q  ⟺  c∈Z≥0d,  ∑kπkck≤T.Q = \mathbb{Z}^d \cap \mathcal{P}, \qquad c \in Q \iff c \in \mathbb{Z}^d_{\ge 0},\ \ \sum_{k} \pi_k c_k \le T.Q=Zd∩P,c∈Q⟺c∈Z≥0d​,  k∑​πk​ck​≤T.

A configuration describes one machine: ckc_kck​ jobs of size πk\pi_kπk​, of total load at most TTT. The support of a vector is the set of its nonzero coordinates, supp⁡(c)={k:ck≠0}\operatorname{supp}(c) = \{k : c_k \ne 0\}supp(c)={k:ck​=0}. Throughout, log⁡=log⁡2\log = \log_2log=log2​. A configuration is simple if ∣supp⁡(c)∣≤log⁡(T+1)|\operatorname{supp}(c)| \le \log(T+1)∣supp(c)∣≤log(T+1) and complex otherwise; QcQ_cQc​ is the set of complex configurations.

Given the number bkb_kbk​ of jobs of each size and the number mmm of machines, the configuration IP [conf-IP] asks for multiplicities xc∈Z≥0x_c \in \mathbb{Z}_{\ge 0}xc​∈Z≥0​, one per configuration, with

∑c∈Qc xc=b,∑c∈Qxc=m.\sum_{c\in Q} c\, x_c = b, \qquad \sum_{c \in Q} x_c = m.c∈Q∑​cxc​=b,c∈Q∑​xc​=m.

Its LP relaxation [conf-LP] replaces xc∈Z≥0x_c \in \mathbb{Z}_{\ge 0}xc​∈Z≥0​ by xc≥0x_c \ge 0xc​≥0. The support of a solution is supp⁡(x)={c∈Q:xc≠0}\operatorname{supp}(x) = \{c \in Q : x_c \neq 0\}supp(x)={c∈Q:xc​=0}.

Formalization targets

Goal: thin solutions (Theorem 1)

If [conf-IP] is feasible, it has a feasible solution xxx with

xc>1⇒c simple,∣supp⁡(x)∣≤4(d+1)log⁡(4(d+1)T),∑c∈Qcxc≤2(d+1)log⁡(4(d+1)T).x_c > 1 \Rightarrow c \text{ simple}, \qquad |\operatorname{supp}(x)| \le 4(d+1)\log(4(d+1)T), \qquad \sum_{c\in Q_c} x_c \le 2(d+1)\log(4(d+1)T).xc​>1⇒c simple,∣supp(x)∣≤4(d+1)log(4(d+1)T),c∈Qc​∑​xc​≤2(d+1)log(4(d+1)T).

A solution with these three properties is called thin.

Milestones

  1. Lemma 2 (Eisenbrand–Shmonin): if ∣supp⁡(x)∣>2(d+1)log⁡(4(d+1)T)|\operatorname{supp}(x)| > 2(d+1)\log(4(d+1)T)∣supp(x)∣>2(d+1)log(4(d+1)T) for a nonnegative integer vector xxx on QQQ, there are disjoint nonempty A,B⊆supp⁡(x)A, B \subseteq \operatorname{supp}(x)A,B⊆supp(x) with ∑c∈Ac=∑c∈Bc\sum_{c \in A} c = \sum_{c\in B} c∑c∈A​c=∑c∈B​c and ∣A∣=∣B∣|A| = |B|∣A∣=∣B∣.
  2. Lemma 3 (Eisenbrand–Shmonin): a feasible [conf-IP] has a solution with ∣supp⁡(x)∣≤2(d+1)log⁡(4(d+1)T)|\operatorname{supp}(x)| \le 2(d+1)\log(4(d+1)T)∣supp(x)∣≤2(d+1)log(4(d+1)T).
  3. Lemma 4 (Sparsification Lemma): every complex c∈Qc \in Qc∈Q satisfies 2c=c1+c22c = c_1 + c_22c=c1​+c2​ for configurations c1,c2c_1, c_2c1​,c2​ with π⋅c1=π⋅c2=π⋅c\pi\cdot c_1 = \pi\cdot c_2 = \pi\cdot cπ⋅c1​=π⋅c2​=π⋅c and supp⁡(ci)⊊supp⁡(c)\operatorname{supp}(c_i) \subsetneq \operatorname{supp}(c)supp(ci​)⊊supp(c).
  4. P1: a feasible solution minimizing the potential Φ(x)=∑c complexxc∣supp⁡(c)∣\Phi(x) = \sum_{c \text{ complex}} x_c|\operatorname{supp}(c)|Φ(x)=∑c complex​xc​∣supp(c)∣ uses each complex configuration at most once.
  5. P2: such a solution has at most 2(d+1)log⁡(4(d+1)T)2(d+1)\log(4(d+1)T)2(d+1)log(4(d+1)T) complex configurations in its support.

Companion results

  • Corollary 5: every vertex of conv.hull⁡(Q)\operatorname{conv.hull}(Q)conv.hull(Q) is a simple configuration; and, from its proof, the number of simple configurations is at most (L+1)dL(T+1)L(L+1)d^{L}(T+1)^{L}(L+1)dL(T+1)L with L=log⁡(T+1)L = \log(T+1)L=log(T+1), for d≥1d \ge 1d≥1.
  • Corollary 6: a feasible [conf-LP] has a solution supported on simple configurations only.

Significance

The result. Theorem 1 says that, up to O(dlog⁡(dT))O(d\log(dT))O(dlog(dT)) machines, every feasible configuration IP can be solved using simple configurations only. There are 2O(log⁡2d+log⁡2T)2^{O(\log^2 d + \log^2 T)}2O(log2d+log2T) simple configurations, far fewer than configurations in general, so an algorithm can guess the support of a solution among a much smaller family. This is what yields the 2O((1/ε)log⁡4(1/ε))+O(nlog⁡n)2^{O((1/\varepsilon)\log^4(1/\varepsilon))} + O(n\log n)2O((1/ε)log4(1/ε))+O(nlogn) EPTAS for P∥Cmax⁡P\|C_{\max}P∥Cmax​, and through the same structure PTASs for Q∥Cmax⁡Q\|C_{\max}Q∥Cmax​ and for LpL_pLp​-norm and max–min objectives. Corollaries 5 and 6 are structural facts about knapsack polytopes in their own right: the integer hull has only simple vertices, and the configuration LP can be restricted to simple configurations.

Formalizing it. The results are proved in the paper; none of them has a machine-checked proof that this mission knows of. The development produces a reusable formal model of configurations and of the configuration IP and LP, a formal Eisenbrand–Shmonin support bound for this IP (a Carathéodory-type statement for integer cones that recurs across integer programming), and the sparsification lemma with its potential-function argument. The constants 4(d+1)4(d+1)4(d+1) and 2(d+1)2(d+1)2(d+1) are the paper's and are stated exactly.

Difficulty

The obvious argument applies the sparsification lemma repeatedly, replacing any complex configuration used twice by two configurations of smaller support, and then shrinks the support with the Eisenbrand–Shmonin exchange. The second step can undo the first: the exchange moves weight between configurations and may raise the multiplicity of a complex configuration above one again, so alternating the two steps has no evident termination measure. A proof has to control both properties at once. The counting behind the support bound needs the explicit inequality (sT+1)d+1<2s(sT+1)^{d+1} < 2^s(sT+1)d+1<2s for every s>2(d+1)log⁡(4(d+1)T)s > 2(d+1)\log(4(d+1)T)s>2(d+1)log(4(d+1)T), which must be carried out with the exact constants rather than up to O(⋅)O(\cdot)O(⋅).

Formalization scope

  • Configurations are functions Fin d → ℕ with ∑kπkck≤T\sum_k \pi_k c_k \le T∑k​πk​ck​≤T; solutions of [conf-IP] are finitely supported functions (Fin d → ℕ) →₀ ℕ vanishing outside QQQ, and solutions of [conf-LP] are finitely supported real-valued functions, nonnegative and vanishing outside QQQ.
  • The standing assumptions of §2 are binders of every statement: πk>0\pi_k > 0πk​>0 for all kkk and T>0T > 0T>0. Lemma 4 does not need T>0T > 0T>0 and omits it.
  • The paper writes b∈Rdb \in \mathbb{R}^db∈Rd for [conf-IP]; feasibility forces b∈Ndb \in \mathbb{N}^db∈Nd, so bbb and mmm are natural numbers. For [conf-LP] they are real.
  • log⁡\loglog is Real.logb 2 and every bound is a real inequality; no floor is taken.
  • In Lemma 2, MxA=MxBMx^A = Mx^BMxA=MxB is stated row by row: the sum of the configurations in AAA equals that in BBB, and ∣A∣=∣B∣|A| = |B|∣A∣=∣B∣.
  • "Minimum potential" in P1 and P2 means Φ(x)≤Φ(y)\Phi(x) \le \Phi(y)Φ(x)≤Φ(y) for every feasible solution yyy of the same instance.
  • A vertex of conv.hull⁡(Q)\operatorname{conv.hull}(Q)conv.hull(Q) is an extreme point (Mathlib's Set.extremePoints). The asymptotic count of Corollary 5 is replaced by the explicit bound of its proof, with the added hypothesis d≥1d \ge 1d≥1 (at d=0d = 0d=0 the explicit bound is 000 while Q={0}Q = \{0\}Q={0}).

The goal theorem refers only to [conf-IP], its solutions, supports and the simple/complex split; it does not mention the potential, the matrix MMM or a minimality assumption, so it cannot be discharged by choosing a special solution in the hypotheses.

Needed infrastructure: finite sums over Finsupp, the pigeonhole principle on finsets, elementary bounds on Real.logb, and, for Corollaries 5 and 6, convex hulls and extreme points of finite sets in Rd\mathbb{R}^dRd. The definitions of configurations and of the configuration IP/LP are reusable for other configuration-IP papers (bin packing, cutting stock, scheduling). Contributions of auxiliary lemmas on supports of integer conic combinations are welcome.

Selected references

  • K. Jansen, K.-M. Klein, J. Verschae, Closing the Gap for Makespan Scheduling via Sparsification Techniques, ICALP 2016; Mathematics of Operations Research, 2020. https://arxiv.org/abs/1604.07153 (version v1, the basis of every citation in this mission)
  • F. Eisenbrand, G. Shmonin, Carathéodory bounds for integer cones, Operations Research Letters 34, 564–568, 2006. https://doi.org/10.1016/j.orl.2005.09.008
  • K. Jansen, An EPTAS for scheduling jobs on uniform processors: using an MILP relaxation with a constant number of integral variables, SIAM Journal on Discrete Mathematics 24, 457–485, 2010.
  • N. Alon, Y. Azar, G. J. Woeginger, T. Yadid, Approximation schemes for scheduling on parallel machines, Journal of Scheduling 1, 55–66, 1998.
  • D. S. Hochbaum, D. B. Shmoys, Using dual approximation algorithms for scheduling problems: theoretical and practical results, Journal of the ACM 34, 144–162, 1987. https://doi.org/10.1145/7531.7535
  • L. Chen, K. Jansen, G. Zhang, On the optimality of approximation schemes for the classical scheduling problem, Proceedings of the 25th ACM-SIAM Symposium on Discrete Algorithms (SODA), 657–668, 2014.
7 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Generalized Turán Problems for Even Cycles 3: The Maximum Number of Six-Cycles in a Bipartite C_8-Free Graph on n Vertices Is n³ + O(n^{5/2})Research Paper

Motivation

The generalized Turán number ex(n,H,F)\mathrm{ex}(n,H,\mathcal F)ex(n,H,F) is the largest number of copies of a graph HHH in an nnn-vertex graph containing no member of a family F\mathcal FF. With H=K2H=K_2H=K2​ it is the classical Turán number; the systematic study of general HHH began with Alon and Shikhelman (2016), and cycles are its most studied case: Bollobás and Győri bounded ex(n,C3,C5)\mathrm{ex}(n,C_3,C_5)ex(n,C3​,C5​), and Gerbner and Palmer determined ex(n,Cl,K2,t)\mathrm{ex}(n,C_l,K_{2,t})ex(n,Cl​,K2,t​).

Gerbner, Győri, Methuku and Vizer, Generalized Turán problems for even cycles (J. Combin. Theory Ser. B, 2020; arXiv:1712.07079), count copies of one cycle in graphs avoiding another. For even cycles they show ex(n,C2l,C2k)=Θ(nl)\mathrm{ex}(n,C_{2l},C_{2k})=\Theta(n^l)ex(n,C2l​,C2k​)=Θ(nl). Most extremal constructions there are bipartite, so they also study the bipartite generalized Turán number. For the first non-trivial pair, six-cycles in a graph avoiding eight-cycles, they determine its leading term exactly. This mission formalizes that result, Theorem 12 of the paper.

Setting

All graphs are finite and simple. A kkk-cycle CkC_kCk​ is a cycle with kkk vertices. A copy of CkC_kCk​ in GGG is a subgraph of GGG isomorphic to CkC_kCk​; N(Ck,G)\mathcal N(C_k,G)N(Ck​,G) is the number of copies, so a cycle is counted once regardless of its starting point and direction. A graph is C8C_8C8​-free if no subgraph of it is isomorphic to C8C_8C8​ (induced or not). A graph is bipartite if its vertices can be split into two classes AAA and BBB with every edge joining AAA to BBB.

exbip(n,C6,C8)=max⁡{N(C6,G):G bipartite, C8-free, ∣V(G)∣=n}.\mathrm{ex}_{bip}(n,C_6,C_8)=\max\{\mathcal N(C_6,G) : G \text{ bipartite},\ C_8\text{-free},\ |V(G)|=n\}.exbip​(n,C6​,C8​)=max{N(C6​,G):G bipartite, C8​-free, ∣V(G)∣=n}.

The proof works with a fixed bipartition (A,B)(A,B)(A,B) of a C8C_8C8​-free graph GGG and uses the following notions.

  • N(u,v)N(u,v)N(u,v) is the set of common neighbours of uuu and vvv.
  • A pair {u,v}\{u,v\}{u,v} is fat if ∣N(u,v)∣≥4|N(u,v)|\ge 4∣N(u,v)∣≥4.
  • A 6-cycle is fat if it contains a fat pair from each class.
  • A pair is marked if it has exactly three common neighbours.
  • A 4-set F⊆AF\subseteq AF⊆A is nice if its four vertices have three common neighbours in BBB, i.e. they span a K4,3K_{4,3}K4,3​.
  • For x,y,z∈Ax,y,z\in Ax,y,z∈A, h(x,y,z)h(x,y,z)h(x,y,z) is the number of 6-cycles through all three. The triple is good if h≤6h\le 6h≤6 and bad otherwise.
  • A hypergraph is Berge-C4C_4C4​-free if it has no distinct vertices x,y,z,wx,y,z,wx,y,z,w and distinct hyperedges h1,…,h4h_1,\dots,h_4h1​,…,h4​ with {x,y}⊆h1\{x,y\}\subseteq h_1{x,y}⊆h1​, {y,z}⊆h2\{y,z\}\subseteq h_2{y,z}⊆h2​, {z,w}⊆h3\{z,w\}\subseteq h_3{z,w}⊆h3​, {w,x}⊆h4\{w,x\}\subseteq h_4{w,x}⊆h4​.

In Lean, exbip(n,C6,C8)\mathrm{ex}_{bip}(n,C_6,C_8)exbip​(n,C6​,C8​) is exBip n (cycleGraph 6) {8}, and N\mathcal NN is Mathlib's copyCount.

Formalization targets

Goal: Theorem 12

exbip(n,C6,C8)=n3+O(n5/2)(n→∞).\mathrm{ex}_{bip}(n,C_6,C_8)=n^3+O\bigl(n^{5/2}\bigr)\qquad(n\to\infty).exbip​(n,C6​,C8​)=n3+O(n5/2)(n→∞).

This is two-sided: ∣exbip(n,C6,C8)−n3∣≤Cn5/2|\mathrm{ex}_{bip}(n,C_6,C_8)-n^3|\le Cn^{5/2}∣exbip​(n,C6​,C8​)−n3∣≤Cn5/2 for some constant CCC and all large nnn.

Milestones

  1. Lower bound. K3,n−3K_{3,n-3}K3,n−3​ is bipartite, C8C_8C8​-free, and has exactly 6(n−33)=n3−O(n2)6\binom{n-3}{3}=n^3-O(n^2)6(3n−3​)=n3−O(n2) six-cycles. This is Theorem 10's construction with k=4k=4k=4, l=3l=3l=3, and Remark 2 notes that it is bipartite.
  2. Shape of fat 6-cycles.
    • Claim 3: a fat pair {v1,v3}\{v_1,v_3\}{v1​,v3​} on v1⋯v6v_1\cdots v_6v1​⋯v6​ excludes the fat pairs {v2,v4}\{v_2,v_4\}{v2​,v4​} and {v2,v6}\{v_2,v_6\}{v2​,v6​}.
    • Claim 4: fat 6-cycles through one fat pair have pairwise intersecting fat pairs in the other class.
    • Claim 5: distinct fat pairs of fat 6-cycles in AAA have ∣N∩N′∣≤1|N\cap N'|\le 1∣N∩N′∣≤1.
    • Observation 1: a disjointness statement for fat pairs sharing a vertex.
  3. Claim 6. For a fat pair {v1,v3}⊆A\{v_1,v_3\}\subseteq A{v1​,v3​}⊆A, the sum g(v1,v3)g(v_1,v_3)g(v1​,v3​) of ∣N(v4,v6)∣|N(v_4,v_6)|∣N(v4​,v6​)∣ over the fat pairs {v4,v6}⊆B\{v_4,v_6\}\subseteq B{v4​,v6​}⊆B on a common fat 6-cycle with v1,v3v_1,v_3v1​,v3​ is at most 4n4n4n.
  4. Corollary 7 (from Győri–Lemons). A Berge-C4C_4C4​-free hypergraph on nnn vertices has ∑e∣e∣=O(n3/2)\sum_e|e|=O(n^{3/2})∑e​∣e∣=O(n3/2).
  5. Claim 7. The hypergraph on BBB whose hyperedges are the sets N(v1,v3)N(v_1,v_3)N(v1​,v3​), over the fat pairs of AAA that lie on a fat 6-cycle, is Berge-C4C_4C4​-free.
  6. Claim 8. There are O(n5/2)O(n^{5/2})O(n5/2) fat 6-cycles.
  7. Non-fat cycles.
    • Claim 9: a marked pair inside a nice set gives good triples.
    • Claim 10: O(∣A∣3/2)O(|A|^{3/2})O(∣A∣3/2) marked pairs lie in no nice set.
    • Claim 11: O(∣A∣2)O(|A|^2)O(∣A∣2) bad triples contain neither a fat nor a marked pair.
  8. One-sided count. At most 6(∣A∣3)+O(∣A∣5/2)6\binom{|A|}{3}+O(|A|^{5/2})6(3∣A∣​)+O(∣A∣5/2) six-cycles contain no fat pair from AAA.

Significance

Theorem 12 is the only case of the paper where a bipartite generalized Turán number of two even cycles is determined up to a lower-order term. Theorem 10 gives the order nln^lnl in general, and Remark 2 gives bipartite upper and lower bounds whose ratio tends to 1 only as k→∞k\to\inftyk→∞. Theorem 12 settles (l,k)=(3,4)(l,k)=(3,4)(l,k)=(3,4) exactly. The authors conjecture that the non-bipartite number ex(n,C6,C8)\mathrm{ex}(n,C_6,C_8)ex(n,C6​,C8​) has the same asymptotics, but this is open. The argument also links graph counting to Berge hypergraphs: Claim 7 reduces the fat 6-cycles to a Berge-C4C_4C4​-free hypergraph, whose total edge size is controlled by Corollary 7.

Theorem 12 is proved in the paper. As far as a search of the Prove2Me catalogue shows, neither it nor any of its claims has a machine-checked proof. Formalizing it means:

  • formalizing the case analysis of §4.2;
  • formalizing Corollary 7, which depends on the Győri–Lemons theorems (Theorems 5 and 6), proved outside the paper;
  • formalizing the elementary but tedious count of 6-cycles in K3,n−3K_{3,n-3}K3,n−3​.

Difficulty

The obvious bound fails. Every 6-cycle in a bipartite graph has three vertices in each class, and each pair of them has some common neighbours. If no pair had more than three common neighbours, each triple in AAA would lie on at most 272727 six-cycles, giving roughly 27(n3)27\binom{n}{3}27(3n​) cycles, not n3n^3n3. The leading constant 111 needs two refinements. First, triples on more than 666 cycles must be shown to be rare. Second, cycles through pairs with many common neighbours (fat pairs) must be bounded separately, by O(n5/2)O(n^{5/2})O(n5/2). That second bound is the main obstacle. A fat pair alone can lie on many cycles, so counting fat pairs is not enough. What makes the bound work is the near-disjointness of the common neighbourhoods (Claims 4–6) together with a hypergraph Turán estimate.

Formalization scope

  • Vertices and copies. Graphs are SimpleGraph (Fin n), or a general finite type in milestones about a single graph. Copies are unlabelled (copyCount, the number of subgraphs isomorphic to C6C_6C6​): K3,3K_{3,3}K3,3​ has 666 copies of C6C_6C6​, not 727272.

  • Bipartiteness. In exbip\mathrm{ex}_{bip}exbip​ it is Colorable 2. In the milestones it is an explicit bipartition (A,B)(A,B)(A,B) that excludes edges inside a class. C8C_8C8​-freeness is (cycleGraph 8).Free G.

  • The maximum. exbip\mathrm{ex}_{bip}exbip​ is a supremum of natural numbers over a nonempty finite set, since the empty graph is admissible. It is therefore a true maximum; a sanity file proves this.

  • Cycles inside the proof. Labelled 6-cycles are injective maps from Z/6\mathbb Z/6Z/6 with consecutive images adjacent. Claim 8 counts fat 6-cycles labelled, which changes only the constant.

  • Landau terms. Every O(⋅)O(\cdot)O(⋅) is an explicit constant, quantified before nnn and the graph. The goal uses Mathlib's IsBigO of exbip(n,C6,C8)−n3\mathrm{ex}_{bip}(n,C_6,C_8)-n^3exbip​(n,C6​,C8​)−n3 against n5/2n^{5/2}n5/2.

  • Corrections to the printed text.

    • Observation 1's conclusion is stated with N(v4,v6′)N(v_4,v_6')N(v4​,v6′​), as in its proof, rather than the printed N(v4′,v6′)N(v_4',v_6')N(v4′​,v6′​).
    • Claim 6's ggg is the displayed sum, not "the cardinality of the union".
    • Claim 4 drops the hypothesis "different cycles", which only excludes a trivial case. It also drops "these are the other fat pairs", which follows from Claim 3.
  • Ruled-out encodings. Some encodings would make the statements trivial or wrong, and none of them is used:

    • a one-sided goal (only the upper bound, or only the lower bound);
    • a junk supremum;
    • labelled copies in place of unlabelled ones;
    • constants allowed to depend on nnn or on the graph;
    • a bipartition that allows edges inside a class.
  • Infrastructure. A complete development needs:

    • counting of cycle copies in complete bipartite graphs;
    • Hall's theorem (in Mathlib), used in Claims 7 and 10;
    • the Kővári–Sós–Turán bound ex(m,C4)=O(m3/2)\mathrm{ex}(m,C_4)=O(m^{3/2})ex(m,C4​)=O(m3/2) for Claim 10;
    • the Győri–Lemons theorems for Corollary 7.

    The Berge-cycle and C4C_4C4​-free bounds can be reused beyond this mission. Contributions are welcome at any level: proofs of individual claims, of Corollary 7, or the final assembly.

Selected references

  • D. Gerbner, E. Győri, A. Methuku, M. Vizer, Generalized Turán problems for even cycles, J. Combin. Theory Ser. B 145 (2020); arXiv:1712.07079v3. https://arxiv.org/abs/1712.07079, https://doi.org/10.1016/j.jctb.2020.05.005
  • N. Alon, C. Shikhelman, Many TTT copies in HHH-free graphs, J. Combin. Theory Ser. B 121 (2016). https://doi.org/10.1016/j.jctb.2016.03.004
  • E. Győri, N. Lemons, Hypergraphs with no cycle of a given length, Combin. Probab. Comput. 21 (2012). https://doi.org/10.1017/S0963548311000691
  • B. Bollobás, E. Győri, Pentagons vs. triangles, Discrete Math. 308 (2008). https://doi.org/10.1016/j.disc.2007.08.041
  • D. Gerbner, C. Palmer, Counting copies of a fixed subgraph in FFF-free graphs, European J. Combin. 82 (2019). https://doi.org/10.1016/j.ejc.2019.07.004
16 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Generalized Turán Problems for Even Cycles 4: For k > l and 2k ≠ ml, the Maximum Number of ml-Cycles in a Graph with No Cycle of Length 3, …, 2l−1 or 2k Is Θ(n^m)Research Paper

Motivation

The Turán number ex(n,F)\mathrm{ex}(n,F)ex(n,F) is the largest number of edges in an nnn-vertex graph with no copy of FFF. Its generalized version, introduced systematically by Alon and Shikhelman (JCTB 2016), replaces edges by copies of a second graph HHH: ex(n,H,F)\mathrm{ex}(n,H,\mathcal F)ex(n,H,F) is the largest number of copies of HHH in an nnn-vertex graph containing no member of the family F\mathcal FF. When both HHH and the forbidden graphs are cycles, these numbers measure how many long cycles a graph can carry while some cycle lengths are excluded and they refine the Bondy–Simonovits even-cycle theorem (JCTB 1974), which bounds the number of edges of a C2kC_{2k}C2k​-free graph by O(n1+1/k)O(n^{1+1/k})O(n1+1/k).

Gerbner, Győri, Methuku and Vizer (arXiv:1712.07079, J. Combin. Theory Ser. B 2020, DOI 10.1016/j.jctb.2020.05.005) study ex(n,Ca,CA)\mathrm{ex}(n,C_a,\mathcal C_A)ex(n,Ca​,CA​) for cycles. Their Theorem 10 gives ex(n,C2l,C2k)=Θ(nl)\mathrm{ex}(n,C_{2l},C_{2k})=\Theta(n^l)ex(n,C2l​,C2k​)=Θ(nl); Theorem 14, the subject of this mission, adds a girth condition: when all cycles of length 3,…,2l−13,\dots,2l-13,…,2l−1 are forbidden together with C2kC_{2k}C2k​, the order of magnitude of the number of CmlC_{ml}Cml​'s is nmn^mnm. The case m=2m=2m=2 answers the question of how many C2lC_{2l}C2l​'s a C2kC_{2k}C2k​-free graph of girth 2l2l2l can have.

Setting

All graphs are finite and simple. A copy of a graph HHH in GGG is a subgraph of GGG isomorphic to HHH, and N(H,G)\mathcal N(H,G)N(H,G) is the number of copies. CaC_aCa​ is the cycle of length a≥3a\ge3a≥3; PlP_lPl​ is the path on lll vertices (of length l−1l-1l−1).

For a set AAA of integers, each at least 333, let CA={Ca:a∈A}\mathcal C_A=\{C_a:a\in A\}CA​={Ca​:a∈A}; a graph is CA\mathcal C_ACA​-free if it contains none of these cycles as a subgraph. Write C2l−1={C3,C4,…,C2l−1}\mathcal C_{2l-1}=\{C_3,C_4,\dots,C_{2l-1}\}C2l−1​={C3​,C4​,…,C2l−1​}. The generalized Turán number is

ex(n,H,CA)=max⁡{N(H,G):G is a CA-free graph on n vertices}.\mathrm{ex}(n,H,\mathcal C_A)=\max\{\mathcal N(H,G): G\text{ is a }\mathcal C_A\text{-free graph on }n\text{ vertices}\}.ex(n,H,CA​)=max{N(H,G):G is a CA​-free graph on n vertices}.

For vertices a≠ba\neq ba=b, fl(a,b)f_l(a,b)fl​(a,b) is the number of paths with lll edges between aaa and bbb. A pair {u,v}\{u,v\}{u,v} is fat if fl(u,v)≥4l2f_l(u,v)\ge 4l^2fl​(u,v)≥4l2, and a copy of C2lC_{2l}C2l​ is fat if all lll of its pairs of opposite vertices are fat.

The (l,t)(l,t)(l,t)-theta graph joins two vertices by ttt internally disjoint paths of length lll. For a graph FFF, the theta-(n,F,l)(n,F,l)(n,F,l) graph replaces each edge of FFF by an (l,t)(l,t)(l,t)-theta graph with t=⌊(n−∣V(F)∣)/(∣E(F)∣(l−1))⌋t=\lfloor (n-|V(F)|)/(|E(F)|(l-1))\rfloort=⌊(n−∣V(F)∣)/(∣E(F)∣(l−1))⌋ and adds isolated vertices up to nnn; here F=CmF=C_mF=Cm​ for m≥3m\ge3m≥3 and F=K2F=K_2F=K2​ for m=2m=2m=2.

Formalization targets

Goal: Theorem 14

For integers k>l≥2k>l\ge2k>l≥2 and m≥2m\ge2m≥2 with 2k≠ml2k\neq ml2k=ml,

ex(n,Cml,C2l−1∪{C2k})=Θ(nm)(n→∞).\mathrm{ex}\big(n,C_{ml},\mathcal C_{2l-1}\cup\{C_{2k}\}\big)=\Theta(n^m)\qquad(n\to\infty).ex(n,Cml​,C2l−1​∪{C2k​})=Θ(nm)(n→∞).

Both bounds are part of the goal; the constants depend on k,l,mk,l,mk,l,m only.

Milestones

  1. Lemmas 25 and 26: forbidding additional odd cycles (Lemma 25) or shorter odd cycles (Lemma 26) does not change the order of magnitude of ex(n,C2k,CA)\mathrm{ex}(n,C_{2k},\mathcal C_A)ex(n,C2k​,CA​) or ex(n,C2k+1,CA)\mathrm{ex}(n,C_{2k+1},\mathcal C_A)ex(n,C2k+1​,CA​).
  2. Lemma 27: a partition V1,…,VsV_1,\dots,V_sV1​,…,Vs​ with no P3P_3P3​ inside ViV_iVi​ (i<si<si<s), no Pp+1P_{p+1}Pp+1​ joining different parts and VsV_sVs​ independent forces ∣E(G)∣≤p n|E(G)|\le p\,n∣E(G)∣≤pn.
  3. The lower bound: the theta graph has only cycles of lengths 2l2l2l and mlmlml, hence avoids the forbidden family, and has Ω(nm)\Omega(n^m)Ω(nm) cycles of length mlmlml.
  4. Claims 12 and 13: the structure of two 2l2l2l-cycles through a common path, and short detours between fat pairs, in graphs of girth at least 2l2l2l.
  5. Counting C2lC_{2l}C2l​'s in girth at least 2l2l2l: at most (4l2−12)(n2)\binom{4l^2-1}{2}\binom n2(24l2−1​)(2n​) non-fat ones; Claim 14 on the greedy multiplicities; at most 2k(k−l)l−2(n2)\frac{2k(k-l)}{l-2}\binom n2l−22k(k−l)​(2n​) fat ones.
  6. The case m≥3m\ge3m≥3: display (5), 12∑a≠b(fl(a,b)2)=O(n2)\tfrac12\sum_{a\ne b}\binom{f_l(a,b)}{2}=O(n^2)21​∑a=b​(2fl​(a,b)​)=O(n2), and Claim 15, ∑b≠afl(a,b)=O(n)\sum_{b\neq a}f_l(a,b)=O(n)∑b=a​fl​(a,b)=O(n).

Significance

Theorem 14 locates ex(n,Cml,C2l−1∪{C2k})\mathrm{ex}(n,C_{ml},\mathcal C_{2l-1}\cup\{C_{2k}\})ex(n,Cml​,C2l−1​∪{C2k​}) at nmn^mnm for every admissible triple, so in graphs of girth 2l2l2l forbidding one further even cycle C2kC_{2k}C2k​ (with 2k≠ml2k\neq ml2k=ml) caps the number of mlmlml-cycles at the count achieved by a blown-up mmm-cycle of long paths. The paper uses it to settle the order of magnitude of ex(n,C6,CA)\mathrm{ex}(n,C_6,\mathcal C_A)ex(n,C6​,CA​) for every family AAA with 4∈A4\in A4∈A, 6∉A6\notin A6∈/A and ∣Ae∣≥2|A_e|\ge2∣Ae​∣≥2 (Theorem 20), and its case l=2l=2l=2 recovers Theorem 10.

The result is proved in the paper; nothing here is open mathematically. To the best of a platform search (2026-10-08), no part of it is formalized: Mathlib has copyCount, cycleGraph and pathGraph, but no generalized Turán numbers, no theta graphs and no counting of paths between two vertices. The mission produces a machine-checked proof of the theorem and of the counting lemmas of §5, which are reusable for other generalized Turán problems with cycles.

Difficulty

The lower bound is an explicit construction, and its difficulty is bookkeeping: proving that a subdivided multigraph has no cycles other than those of lengths 2l2l2l and mlmlml, and counting the mlmlml-cycles. The upper bound is the substance. A direct count of C2lC_{2l}C2l​'s through codegrees, which works for C4C_4C4​, fails here because paths of length lll between a pair are not controlled by a single neighbourhood. The paper's route separates fat from non-fat cycles and runs a greedy multiplicity procedure; Claim 14 then grows a C2kC_{2k}C2k​ by an induction on the cycle length in steps of l−1l-1l−1, which needs the precise intersection pattern of Claim 12 and the detour paths of Claim 13. For m≥3m\ge3m≥3 the argument goes through layered neighbourhoods and Lemma 27. The m=2m=2m=2 argument divides by l−2l-2l−2, so for l=2l=2l=2 a different route (Theorems 10 and 11 of the paper) is needed.

Formalization scope

Graphs are SimpleGraph (Fin n) for the extremal function and graphs on an arbitrary finite type for the lemmas. Copies are unlabelled (copyCount, subgraphs isomorphic to the pattern); CaC_aCa​ and PlP_lPl​ are Mathlib's cycleGraph a and pathGraph l. exCyc n H A is the supremum, over CA\mathcal C_ACA​-free graphs on Fin n, of the copy count; the set is finite and contains the empty graph's count whenever every length in AAA is at least 333, so it is a maximum. The forbidden family of the goal is Set.Icc 3 (2 * l - 1) ∪ {2 * k}, every length from 333 to 2l−12l-12l−1 together with 2k2k2k. Θ\ThetaΘ, OOO and Ω\OmegaΩ are Mathlib's asymptotic relations along atTop, with constants fixed before nnn and the graph. fl(a,b)f_l(a,b)fl​(a,b) counts injective vertex sequences (paths, not walks). The theta graph thetaCycle n m l is an explicit graph on Fin n.

Added or pinned hypotheses, all disclosed in the items: l≥2l\ge2l≥2 in the goal (the page writes only k>lk>lk>l; at l=1l=1l=1 the family C2l−1\mathcal C_{2l-1}C2l−1​ is empty and the statement fails); C≠C′C\neq C'C=C′ in Claim 12; l≥3l\ge3l≥3 where the page divides by l−2l-2l−2; Lemma 27 with the explicit bound p np\,npn of its proof, which is uniform in sss; Claim 15 under the full family C2l−1∪{C2k}\mathcal C_{2l-1}\cup\{C_{2k}\}C2l−1​∪{C2k​}, which its proof needs. Claim 14 assumes only girth ≥2l\ge 2l≥2l, not C2kC_{2k}C2k​-freeness, since on the page its conclusion at r=kr=kr=k is the contradiction.

The statements rule out the trivializing readings: the goal is two-sided, so an upper bound alone does not close it; exCyc is a genuine maximum, not a junk supremum; copies are unlabelled; the constants come before nnn and the graph; the forbidden family contains all short cycles, not only C2l−1C_{2l-1}C2l−1​.

A complete development needs path counting in graphs of large girth (uniqueness of short paths), layered neighbourhoods, the degeneracy argument of Lemma 27, a random bipartition argument for Lemma 25, and cycle structure in theta graphs. Contributions of any milestone, and of general-purpose lemmas on paths and cycles in SimpleGraph, are welcome.

Selected references

  • D. Gerbner, E. Győri, A. Methuku, M. Vizer, Generalized Turán problems for even cycles, J. Combin. Theory Ser. B (2020); arXiv:1712.07079v3 (2018). https://arxiv.org/abs/1712.07079, https://doi.org/10.1016/j.jctb.2020.05.005
  • N. Alon, C. Shikhelman, Many T copies in H-free graphs, J. Combin. Theory Ser. B 121 (2016). https://doi.org/10.1016/j.jctb.2016.03.004
  • J. A. Bondy, M. Simonovits, Cycles of even length in graphs, J. Combin. Theory Ser. B 16 (1974). https://doi.org/10.1016/0095-8956(74)90052-5
14 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Generalized Turán Problems for Even Cycles 7: The Maximum Number of Paths on l Vertices in a C_{2k+1}-Free Graph on n Vertices Is (1+o(1))(n/2)^lResearch Paper

Motivation

An extremal graph problem asks how many copies of a chosen small graph can occur when a different graph is forbidden. The usual Turán problem counts edges; counting paths or cycles gives a more detailed view of the structure that can survive a forbidden subgraph. Gerbner, Győri, Methuku and Vizer study these generalized Turán numbers for paths and cycles in their paper on even-cycle problems. Their Theorem 23 asks for the leading number of paths when a specified odd cycle is absent. The answer has the same leading term as a balanced complete bipartite graph, despite the fact that excluding one odd cycle is weaker than requiring a graph to be bipartite. Gerbner et al., Theorem 23

The spectral theorem cited by the authors gives a useful threshold for this setting. For a graph with no cycle of length 2k+12k+12k+1, it bounds the adjacency spectral radius once the vertex count exceeds 320(2k+1)320(2k+1)320(2k+1). This threshold is explicit and stays visible in the finite-size milestone. Gerbner et al., Theorem 32, citing Nikiforov (2008).

Setting

A simple graph GGG has finitely many vertices and no loops or parallel edges. For a≥3a\ge3a≥3, CaC_aCa​ is the cycle on aaa vertices, and PlP_lPl​ is the path on lll vertices. Thus PlP_lPl​ has l−1l-1l−1 edges, following the paper's convention. A copy of HHH in GGG is a subgraph of GGG isomorphic to HHH; copies are unlabelled, so reversing a path does not create a second copy. Write N(H,G)\mathcal N(H,G)N(H,G) for their number. Gerbner et al., pp. 2–3

For a set AAA of lengths, a graph is CA\mathcal C_ACA​-free if it has no subgraph isomorphic to CaC_aCa​ for any a∈Aa\in Aa∈A. The mission mainly uses A={2k+1}A=\{2k+1\}A={2k+1}: exactly one odd cycle length is forbidden, while shorter and longer cycles may still occur. The generalized Turán number is the maximum

ex⁡(n,H,CA)=max⁡∣V(G)∣=nG is CA-freeN(H,G).\operatorname{ex}(n,H,\mathcal C_A) =\max_{\substack{|V(G)|=n\\G\text{ is }\mathcal C_A\text{-free}}}\mathcal N(H,G).ex(n,H,CA​)=∣V(G)∣=nG is CA​-free​max​N(H,G).

The adjacency matrix AGA_GAG​ records whether each pair of vertices is adjacent. Because the graph is undirected, this is a real symmetric matrix. Its spectral radius μ(G)\mu(G)μ(G) is the largest absolute value of an eigenvalue of AGA_GAG​. The graph Bn,aB_{n,a}Bn,a​ is the complete bipartite graph with parts of sizes aaa and n−an-an−a; the balanced choice uses a=⌊n/2⌋a=\lfloor n/2\rfloora=⌊n/2⌋. Gerbner et al., §§7.1–7.2

Formalization targets

Main result: Theorem 23

For each fixed k≥1k\ge1k≥1 and l≥2l\ge2l≥2, as n→∞n\to\inftyn→∞,

ex⁡(n,Pl,C{2k+1})=(1+o(1))(n2)l.\operatorname{ex}(n,P_l,\mathcal C_{\{2k+1\}}) =(1+o(1))\left(\frac n2\right)^l.ex(n,Pl​,C{2k+1}​)=(1+o(1))(2n​)l.

The equality gives both sides of the asymptotic estimate. The o(1)o(1)o(1) term may depend on the fixed parameters k,lk,lk,l and tends to zero as the number of vertices grows. Gerbner et al., Theorem 23, p. 8

Supporting targets

The milestone list records the balanced complete bipartite lower bound, the comparison between paths and walks in equation (7), a spectral bound on the walk sum, Nikiforov's stated spectral estimate, and the resulting finite-size upper bound. In particular, the last two targets retain the paper's constants:

n>320(2k+1),μ(G)≤n2/4,N(Pl,G)≤(n/2)l.n>320(2k+1),\qquad \mu(G)\le\sqrt{n^2/4},\qquad \mathcal N(P_l,G)\le(n/2)^l.n>320(2k+1),μ(G)≤n2/4​,N(Pl​,G)≤(n/2)l.

The milestone statements identify which assertions concern every graph and which require the forbidden-cycle condition. Gerbner et al., pp. 30, 32

Companion: even cycles (Theorem 24)

For fixed k≥1k\ge1k≥1 and l≥2l\ge2l≥2,

ex⁡(n,C2l,C{2k+1})=(1+o(1)) 12l(n24)l,\operatorname{ex}(n,C_{2l},\mathcal C_{\{2k+1\}})=(1+o(1))\,\frac{1}{2l}\left(\frac{n^2}{4}\right)^{l},ex(n,C2l​,C{2k+1}​)=(1+o(1))2l1​(4n2​)l,

and Remark 3 records the inequality N(P2l,G)≥2l N(C2l,G)\mathcal N(P_{2l},G)\ge 2l\,\mathcal N(C_{2l},G)N(P2l​,G)≥2lN(C2l​,G) for every graph GGG, which links this count to Theorem 23. Gerbner et al., Theorem 24, p. 11; Remark 3, p. 32

Significance

Theorem 23 fixes the leading coefficient for the maximum path count for every fixed path length and forbidden odd-cycle length in its range. A balanced complete bipartite graph reaches that coefficient asymptotically, so the result identifies an extremal construction at first order. The lower-bound milestone formalizes this construction with balanced parts, including the one-vertex rounding needed when nnn is odd. The matrix and spectral milestones can also be reused when counting walks or paths under different graph restrictions. Gerbner et al., §7.2

The paper proves these results on paper. In this mission, the definitions and theorem statements are checked by Lean, while proofs of the draft theorems remain to be supplied. A completed development would make the path-count theorem and its stated spectral dependency machine checked in the pinned Mathlib environment. It would also expose where a general graph identity suffices and where the odd-cycle prohibition matters.

Difficulty

Counting paths directly is difficult because the available information about a graph with one forbidden odd-cycle length does not control each vertex degree tightly enough to determine a sharp path count. Counting walks is easier algebraically, but walks may revisit vertices, so their number is generally larger than the number of paths. A graph-wide spectral bound is needed to control the walk total sharply, and the cited Nikiforov estimate has to be carried with its forbidden-cycle hypothesis and vertex threshold. A generic bound based only on the maximum degree would not yield the coefficient in Theorem 23. Gerbner et al., §§7.1–7.2

Formalization scope

Graphs on nnn vertices are represented as SimpleGraph (Fin n). Mathlib's cycleGraph a and pathGraph l represent CaC_aCa​ and the path on lll vertices, and copyCount counts unlabelled subgraph copies. The finite set of real adjacency eigenvalues defines μ(G)\mu(G)μ(G) through a maximum of absolute values. On an empty vertex type this value is zero. The extremal number is a natural-number supremum over feasible graphs; for the odd-cycle family the feasible set is nonempty and finite, so this supremum is attained.

The goal has k≥1k\ge1k≥1 and l≥2l\ge2l≥2, exactly as Theorem 23 states. The lower-bound item chooses parts of sizes ⌊n/2⌋\lfloor n/2\rfloor⌊n/2⌋ and ⌈n/2⌉\lceil n/2\rceil⌈n/2⌉. Equation (7) requires l≥2l\ge2l≥2: for l=1l=1l=1 the claimed factor of two is false. The finite spectral and path bounds require n>320(2k+1)n>320(2k+1)n>320(2k+1). These conditions are explicit in the Lean statements. Natural subtraction appears only in expressions whose hypotheses make the intended quantity meaningful, including l−1l-1l−1; the bipartite part size is computed with natural division. The asymptotic statements use real sequences tending to zero and eventual comparisons or equality.

The result must include the lower bound as well as the upper bound. It uses unlabelled path copies, an attained extremal maximum, and a forbidden family consisting of the specified odd cycle. An upper bound alone, labelled copies, or a supremum over an empty class would change the theorem. The needed infrastructure consists of graph-copy counts, adjacency-matrix walk counts, finite-dimensional spectral facts, and the cited odd-cycle spectral theorem. The page states Theorem 24 "for any k,lk,lk,l"; the Lean statement and Remark 3 require k≥1k\ge1k≥1 and l≥2l\ge2l≥2, the only values for which C2k+1C_{2k+1}C2k+1​ and C2lC_{2l}C2l​ are cycles. Contributions proving the milestones or developing reusable interfaces for those objects are within scope.

Selected references

  • D. Gerbner, E. Győri, A. Methuku and M. Vizer, Generalized Turán problems for even cycles, Journal of Combinatorial Theory, Series B, 2020. arXiv:1712.07079v3; DOI:10.1016/j.jctb.2020.05.005.
  • V. Nikiforov, A spectral condition for odd cycles in graphs, Linear Algebra and its Applications 428 (2008), 1492–1498. Cited as [34] in arXiv:1712.07079v3.
9 thms1 active userReviewed
Theoretical Computer Science·Captain: mikedeng1

Fully-Functional Suffix Trees and Optimal Text Searching in BWT-runs Bounded Space 3: The Differential LCP Array Has a Bidirectional Macro Scheme of Size at Most 4r + 1Research Paper

Motivation

A suffix tree of a text T[1..n]T[1..n]T[1..n] answers pattern-matching and string-analysis queries (longest repeats, maximal repeats, matching statistics) in time close to optimal, but it occupies Θ(n)\Theta(n)Θ(n) machine words. For highly repetitive collections, such as many genomes of one species or the versions of a document, this is far more than the information the text contains. A standard measure of that information is rrr, the number of runs (maximal blocks of one repeated symbol) of the Burrows–Wheeler transform of TTT. On repetitive collections rrr is orders of magnitude smaller than nnn, and indexes using O(r)O(r)O(r) words are of direct practical interest in bioinformatics and in versioned document stores.

Gagie, Navarro and Prezza (arXiv:1809.02792v2, 2019) build a compressed suffix tree in O(rlog⁡(n/r))O(r\log(n/r))O(rlog(n/r)) words (their Theorem 9, p. 28). A compressed suffix tree in the style of Abeliuk, Cánovas and Navarro (Algorithms 2013) needs the longest common prefix array LCPLCPLCP in compressed form, and stores it differentially, as DLCPDLCPDLCP. The paper's route to compressing DLCPDLCPDLCP is one exact combinatorial fact: DLCPDLCPDLCP has a bidirectional macro scheme of size at most 4r+14r+14r+1 (p. 28). A cited conversion of macro schemes into run-length grammars (Lemma 18, from Gagie, Navarro and Prezza, LATIN 2018) then gives the O(rlog⁡(n/r))O(r\log(n/r))O(rlog(n/r)) grammar. This mission formalizes that combinatorial fact and the lemmas it rests on.

Setting

A text T[1..n]T[1..n]T[1..n], n≥1n\ge 1n≥1, is a string over the alphabet [1..σ][1..\sigma][1..σ] whose last symbol T[n]=\=1isthesmallestsymbolandoccursnowhereelse.The∗∗suffix∗∗is the smallest symbol and occurs nowhere else. The **suffix**isthesmallestsymbolandoccursnowhereelse.The∗∗suffix∗∗T[i..]isisisT[i]T[i+1]\cdots T[n].The∗∗suffixarray∗∗. The **suffix array** .The∗∗suffixarray∗∗SA[1..n]isthepermutationofis the permutation ofisthepermutationof[1..n]$ listing the starting positions of the suffixes in increasing lexicographic order.

The Burrows–Wheeler transform is BWT[p]=T[SA[p]−1]BWT[p]=T[SA[p]-1]BWT[p]=T[SA[p]−1] if SA[p]>1SA[p]>1SA[p]>1 and BWT[p]=T[n]BWT[p]=T[n]BWT[p]=T[n] if SA[p]=1SA[p]=1SA[p]=1: the symbol preceding the ppp-th smallest suffix, read cyclically. The LF mapping is

LF(p)=C[BWT[p]]+rank⁡[p],LF(p)=C[BWT[p]]+\operatorname{rank}[p],LF(p)=C[BWT[p]]+rank[p],

where C[c]C[c]C[c] counts the symbols of BWTBWTBWT smaller than ccc and rank⁡[p]\operatorname{rank}[p]rank[p] counts the occurrences of BWT[p]BWT[p]BWT[p] in BWT[1..p]BWT[1..p]BWT[1..p]. A position ppp starts a run if p=1p=1p=1 or BWT[p]≠BWT[p−1]BWT[p]\ne BWT[p-1]BWT[p]=BWT[p−1]; rrr is the number of run starts, written p1<⋯<prp_1<\dots<p_rp1​<⋯<pr​.

Let lcp⁡(S,S′)\operatorname{lcp}(S,S')lcp(S,S′) be the length of the longest common prefix of two strings. Then

LCP[1]=0,LCP[p]=lcp⁡(T[SA[p−1]..],T[SA[p]..]),DLCP[1]=LCP[1],DLCP[i]=LCP[i]−LCP[i−1].LCP[1]=0,\quad LCP[p]=\operatorname{lcp}(T[SA[p-1]..],T[SA[p]..]),\qquad DLCP[1]=LCP[1],\quad DLCP[i]=LCP[i]-LCP[i-1].LCP[1]=0,LCP[p]=lcp(T[SA[p−1]..],T[SA[p]..]),DLCP[1]=LCP[1],DLCP[i]=LCP[i]−LCP[i−1].

The differential suffix array is DSA[1]=SA[1]DSA[1]=SA[1]DSA[1]=SA[1], DSA[p]=SA[p]−SA[p−1]DSA[p]=SA[p]-SA[p-1]DSA[p]=SA[p]−SA[p−1].

A bidirectional macro scheme (BMS) of size bbb on a sequence S[1..n]S[1..n]S[1..n] of any symbol type (Definition 6, p. 28, after Storer and Szymanski) is a partition S=S1⋯SbS=S_1\cdots S_bS=S1​⋯Sb​ into consecutive blocks, each either an explicit symbol (a block of length 1) or a pointer to another occurrence S[j..j′]S[j..j']S[j..j′] of the same content. The source map sends a position at offset i′i'i′ inside a pointer block to f(i)=j+i′−1f(i)=j+i'-1f(i)=j+i′−1. The scheme is correct if, from every position iii, some iterate fk(i)f^k(i)fk(i), k≥0k\ge0k≥0, is an explicit symbol.

Formalization targets

Goal: a macro scheme of size at most 4r+14r+14r+1

∃ a correct BMS of DLCP[1..n] of size b≤4r+1.\exists\ \text{a correct BMS of } DLCP[1..n] \text{ of size } b\le 4r+1.∃ a correct BMS of DLCP[1..n] of size b≤4r+1.

This is the sentence following Lemma 16 on p. 28, proved by Lemma 17. It fixes no constant beyond the paper's own count, and it is the exact input Lemma 18 needs.

Milestones

  1. LF is a single cycle (§2.3, p. 8): LFLFLF permutes [1..n][1..n][1..n] and the orbit of position 1 visits every position in fewer than nnn steps.
  2. LFLFLF walks the text backwards (§2.4, p. 9): SA[LF(p)]=SA[p]−1SA[LF(p)]=SA[p]-1SA[LF(p)]=SA[p]−1 whenever SA[p]>1SA[p]>1SA[p]>1.
  3. Lemma 12 (p. 20): if BWT[p−1]=BWT[p]BWT[p-1]=BWT[p]BWT[p−1]=BWT[p] then LF(p−1)=LF(p)−1LF(p-1)=LF(p)-1LF(p−1)=LF(p)−1 and DSA[LF(p)]=DSA[p]DSA[LF(p)]=DSA[p]DSA[LF(p)]=DSA[p].
  4. Lemma 16 (p. 28): if BWT[p−2]=BWT[p−1]=BWT[p]BWT[p-2]=BWT[p-1]=BWT[p]BWT[p−2]=BWT[p−1]=BWT[p] then LF(p−1)=LF(p)−1LF(p-1)=LF(p)-1LF(p−1)=LF(p)−1 and DLCP[LF(p)]=DLCP[p]DLCP[LF(p)]=DLCP[p]DLCP[LF(p)]=DLCP[p].
  5. Lemma 17 (p. 28): the partition of DLCPDLCPDLCP into the explicit symbols DLCP[pi+k]DLCP[p_i+k]DLCP[pi​+k], k∈{0,1,2}k\in\{0,1,2\}k∈{0,1,2}, and the regions DLCP[pi+3..pi+1−1]DLCP[p_i+3..p_{i+1}-1]DLCP[pi​+3..pi+1​−1] pointing to DLCP[LF(pi+3)..LF(pi+1−1)]DLCP[LF(p_i+3)..LF(p_{i+1}-1)]DLCP[LF(pi​+3)..LF(pi+1​−1)], is a BMS.

Significance

The result. The bound 4r+14r+14r+1 ties the compressibility of the LCPLCPLCP array, a structure of size nnn that does not obviously inherit the repetitiveness of the BWT, to the number of BWT runs. Through Lemma 18 it yields a run-length grammar of size O(rlog⁡(n/r))O(r\log(n/r))O(rlog(n/r)) for DLCPDLCPDLCP (Lemma 19, p. 29), and the paper's compressed suffix tree supports its navigation primitives on that grammar. The same pattern, runs of the BWT inducing copies in a differential array, drives the paper's O(rlog⁡(n/r))O(r\log(n/r))O(rlog(n/r))-word access to SASASA and ISAISAISA (§5), of which Lemma 12 is the first step.

Formalizing it. The result is proved in the paper; to our knowledge none of it, nor the basic theory of suffix arrays and the Burrows–Wheeler transform, has a machine-checked proof on this platform. The mission produces a self-contained Lean development of the BWT and LF mapping from their counting definitions, of the LCPLCPLCP and DLCPDLCPDLCP arrays, and of macro schemes with their correctness condition. The single-cycle property of LFLFLF and the identity SA[LF(p)]=SA[p]−1SA[LF(p)]=SA[p]-1SA[LF(p)]=SA[p]−1 are folklore results that underlie every FM-index; they are formalized here from the counting formula, not assumed.

Difficulty

The obvious proof of the goal counts blocks: at most 3r3r3r explicit symbols and at most r+1r+1r+1 regions. The counting is easy; the content lies in the two properties the count presupposes. First, the copies must be correct: a whole region DLCP[pi+3..pi+1−1]DLCP[p_i+3..p_{i+1}-1]DLCP[pi​+3..pi+1​−1] must coincide with the stretch starting at LF(pi+3)LF(p_i+3)LF(pi​+3), which needs LFLFLF to map a run onto consecutive positions and LCPLCPLCP differences to be preserved, and it needs three consecutive equal BWT symbols, not two, because DLCP[p]DLCP[p]DLCP[p] involves the suffixes in cells p−2p-2p−2, p−1p-1p−1 and ppp. Second, the scheme must be correct as a whole: following pointers must never cycle. A scheme in which two regions point at each other satisfies every local condition and still fails. Ruling this out requires the global fact that LFLFLF is one cycle through all of [1..n][1..n][1..n], which in turn rests on the lexicographic order of suffixes and the uniqueness of the terminator \$$. Connecting the counting definition of LFtothebackwardstepto the backward steptothebackwardstepSA[LF(p)]=SA[p]-1$ is itself a nontrivial argument about ranks of symbols among sorted suffixes.

Formalization scope

Positions are 1-based natural numbers, as in the paper. The text and the suffix array are functions N→N\mathbb N\to\mathbb NN→N read only on [1..n][1..n][1..n], symbols are natural numbers, and \=1.Thesuffixarrayisahypothesis(‘IsSuffixArray‘:apermutationof. The suffix array is a hypothesis (`IsSuffixArray`: a permutation of .Thesuffixarrayisahypothesis(‘IsSuffixArray‘:apermutationof[1..n]sortingthesuffixesstrictly),neveraconstruction;sorting the suffixes strictly), never a construction;sortingthesuffixesstrictly),neveraconstruction;BWTandandandLFarethecountingformulasofp.8,withare the counting formulas of p. 8, witharethecountingformulasofp.8,withT[0]readasread asreadasT[n].. .LCPiscomputedfromarecursiveis computed from a recursiveiscomputedfromarecursive\operatorname{lcp}onsuffixlists;on suffix lists;onsuffixlists;DLCPandandandDSAareinteger−valued.Amacroschemeisdefinedforanysymboltypeasalistofblockslaidoutconsecutivelyfromposition1,eachwithalengthandanoptionalsourcestart;itssizeisthelistlength.Explicitblockshavelength1;apointerblockstartingatare integer-valued. A macro scheme is defined for any symbol type as a list of blocks laid out consecutively from position 1, each with a length and an optional source start; its size is the list length. Explicit blocks have length 1; a pointer block starting atareinteger−valued.Amacroschemeisdefinedforanysymboltypeasalistofblockslaidoutconsecutivelyfromposition1,eachwithalengthandanoptionalsourcestart;itssizeisthelistlength.Explicitblockshavelength1;apointerblockstartingatihasasourcehas a sourcehasasourcej\ne iinsideinsideinside[1..n],possiblyoverlappingtheblock.Thevalueof, possibly overlapping the block. The value of ,possiblyoverlappingtheblock.Thevalueoffonexplicitsymbols,arbitraryonthepage,istheidentity.Theexplicitcellson explicit symbols, arbitrary on the page, is the identity. The explicit cellsonexplicitsymbols,arbitraryonthepage,istheidentity.Theexplicitcellsp_i+kofLemma17aretakenonlywheretheyexist( of Lemma 17 are taken only where they exist (ofLemma17aretakenonlywheretheyexist(\le n),andcoincidingcellsofshortrunsarecountedonce;theconvention), and coinciding cells of short runs are counted once; the convention ),andcoincidingcellsofshortrunsarecountedonce;theconventionp_0=-2onlyemptiestheregionbeforeonly empties the region beforeonlyemptiestheregionbeforep_1=1.Lemma17isstatedasacharacterisationofthescheme:explicitblocksexactlyatexplicitcells,pointerblocksexactlythemaximalstretchesoftheremainingcells,eachpointingto. Lemma 17 is stated as a characterisation of the scheme: explicit blocks exactly at explicit cells, pointer blocks exactly the maximal stretches of the remaining cells, each pointing to .Lemma17isstatedasacharacterisationofthescheme:explicitblocksexactlyatexplicitcells,pointerblocksexactlythemaximalstretchesoftheremainingcells,eachpointingtoLFofitsfirstcellwithof its first cell withofitsfirstcellwithLFmappingeverycellintheblocktothecorrespondingsourcecell.Theidentitymapping every cell in the block to the corresponding source cell. The identitymappingeverycellintheblocktothecorrespondingsourcecell.TheidentitySA[LF(p)]=SA[p]-1carriestheguardcarries the guardcarriestheguardSA[p]>1,sincefor, since for ,sinceforSA[p]=1$ it holds only cyclically.

The paper's O(⋅)O(\cdot)O(⋅) space and time claims (Theorem 9, Lemma 19) and the cited grammar conversion (Lemma 18) are out of scope; the goal is their explicit combinatorial content.

Every sequence has a macro scheme of size nnn (all symbols explicit), and a set of pointers that only point at each other satisfies every local condition, so a formalization that bounds the size of an arbitrary partition, or that drops the condition that every chain of copies reaches an explicit symbol, would be empty or false; both are excluded by the definition used. SASASA, BWTBWTBWT and LFLFLF are not defined through the properties the milestones assert.

Contributions welcome: proofs of the milestones, and reusable lemmas about the LF mapping and lexicographic order of suffixes, which the paper's other missions (locating with sampled phrases, counting distinct substrings) also use.

Selected references

  • T. Gagie, G. Navarro, N. Prezza, Fully-Functional Suffix Trees and Optimal Text Searching in BWT-runs Bounded Space, arXiv preprint, 2019 (v2). https://arxiv.org/abs/1809.02792
  • J. A. Storer, T. G. Szymanski, Data compression via textual substitution, Journal of the ACM 29(4):928–951, 1982. https://doi.org/10.1145/322344.322346
  • A. Abeliuk, R. Cánovas, G. Navarro, Practical compressed suffix trees, Algorithms 6(2):319–351, 2013. https://doi.org/10.3390/a6020319
  • T. Gagie, G. Navarro, N. Prezza, On the approximation ratio of Lempel-Ziv parsing, Proc. LATIN 2018, LNCS 10807, pp. 490–503.
  • M. Burrows, D. Wheeler, A block sorting lossless data compression algorithm, Technical Report 124, Digital Equipment Corporation, 1994.
  • V. Mäkinen, G. Navarro, Succinct suffix arrays based on run-length encoding, Nordic Journal of Computing 12(1):40–66, 2005.
10 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Generalized Turán Problems for Even Cycles 2: The Maximum Number of 2l-Cycles in a C_{2k}-Free Graph on n Vertices Is Θ(n^l), with Explicit Upper and Lower ConstantsResearch Paper

Motivation

The classical Turán problem asks for the maximum number of edges of an nnn-vertex graph that avoids a fixed subgraph. For even cycles this is one of the central open problems of extremal graph theory: Bondy and Simonovits proved that a C2kC_{2k}C2k​-free graph has O(n1+1/k)O(n^{1+1/k})O(n1+1/k) edges, and this order is known to be sharp only for k=2,3,5k=2,3,5k=2,3,5.

A generalized Turán problem replaces "edges" by "copies of a fixed graph HHH". The question of how many copies of one cycle a graph may contain while avoiding another cycle goes back to Erdős's question on pentagons in triangle-free graphs, and was taken up systematically by Alon and Shikhelman (2016). For two even cycles, Solymosi and Wong asked whether forbidding the single cycle C2kC_{2k}C2k​ (instead of all cycles up to length 2k2k2k) still forces few copies of C2lC_{2l}C2l​. Gerbner, Győri, Methuku and Vizer answer this question by determining the order of magnitude: the maximum is Θ(nl)\Theta(n^l)Θ(nl), much larger than in the girth-restricted setting. The same order of magnitude was obtained independently by Gishboliner and Shapira; the proof formalized here is different and gives explicit constants.

Timeline:

  • 1959 — Erdős and Gallai: a graph on nnn vertices with no cycle longer than kkk has at most k(n−1)/2k(n-1)/2k(n−1)/2 edges.
  • 1974 — Bondy and Simonovits: ex(n,C2k)=O(n1+1/k)\mathrm{ex}(n,C_{2k})=O(n^{1+1/k})ex(n,C2k​)=O(n1+1/k).
  • 2016 — Alon and Shikhelman introduce the systematic study of ex(n,H,F)\mathrm{ex}(n,H,F)ex(n,H,F).
  • 2017–2018 — Gerbner, Győri, Methuku and Vizer (arXiv:1712.07079), and independently Gishboliner and Shapira, show ex(n,C2l,C2k)=Θ(nl)\mathrm{ex}(n,C_{2l},C_{2k})=\Theta(n^l)ex(n,C2l​,C2k​)=Θ(nl).

Setting

All graphs are finite and simple. For graphs HHH and GGG, N(H,G)\mathcal N(H,G)N(H,G) is the number of subgraphs of GGG isomorphic to HHH (unlabelled copies). CaC_aCa​ is the cycle on a≥3a\ge3a≥3 vertices. A graph is C2kC_{2k}C2k​-free if it has no subgraph isomorphic to C2kC_{2k}C2k​ (induced or not). The generalized Turán number is

ex(n,C2l,C2k)=max⁡{N(C2l,G):G a C2k-free graph on n vertices}.\mathrm{ex}(n,C_{2l},C_{2k})=\max\{\mathcal N(C_{2l},G): G\text{ a }C_{2k}\text{-free graph on }n\text{ vertices}\}.ex(n,C2l​,C2k​)=max{N(C2l​,G):G a C2k​-free graph on n vertices}.

For a non-negative integer mmm and l≥1l\ge1l≥1, the falling factorial is (m)l=m(m−1)⋯(m−l+1)(m)_l=m(m-1)\cdots(m-l+1)(m)l​=m(m−1)⋯(m−l+1).

For distinct vertices a,ba,ba,b of GGG, the codegree f(a,b)f(a,b)f(a,b) is the number of common neighbours of aaa and bbb. Sums written ∑a≠b\sum_{a\neq b}∑a=b​ range over unordered pairs {a,b}\{a,b\}{a,b} of distinct vertices.

Two graphs appear in the lower bounds. The first is the complete bipartite graph Kk−1,n−k+1K_{k-1,n-k+1}Kk−1,n−k+1​. The second is the blow-up of C2lC_{2l}C2l​: keep lll alternate vertices x0,…,xl−1x_0,\dots,x_{l-1}x0​,…,xl−1​ of C2lC_{2l}C2l​, and replace the vertex between xix_ixi​ and xi+1x_{i+1}xi+1​ (indices mod lll) by a class SiS_iSi​ of new vertices, each joined to xix_ixi​ and xi+1x_{i+1}xi+1​. The n−ln-ln−l new vertices are split as evenly as possible among the lll classes.

Formalization targets

Goal: Theorem 10

As n→∞n\to\inftyn→∞ with kkk and lll fixed:

ex(n,C2l,C2k)≤(1+o(1))2l−2(k−1)l2lnl(l≥3, k≥2),\mathrm{ex}(n,C_{2l},C_{2k})\le(1+o(1))\frac{2^{l-2}(k-1)^l}{2l}n^l\qquad(l\ge3,\ k\ge2),ex(n,C2l​,C2k​)≤(1+o(1))2l2l−2(k−1)l​nl(l≥3, k≥2), ex(n,C2l,C2k)≥(1+o(1))(k−1)l2lnl(k>l≥2),\mathrm{ex}(n,C_{2l},C_{2k})\ge(1+o(1))\frac{(k-1)_l}{2l}n^l\qquad(k>l\ge2),ex(n,C2l​,C2k​)≥(1+o(1))2l(k−1)l​​nl(k>l≥2), ex(n,C2l,C2k)≥(1+o(1))1llnl(l>k≥3).\mathrm{ex}(n,C_{2l},C_{2k})\ge(1+o(1))\frac{1}{l^l}n^l\qquad(l>k\ge3).ex(n,C2l​,C2k​)≥(1+o(1))ll1​nl(l>k≥3).

The goal is the conjunction of the three bounds, each with its own parameter range. Note that the upper bound has the power (k−1)l(k-1)^l(k−1)l, while the second lower bound has the falling factorial (k−1)l(k-1)_l(k−1)l​.

Milestones

The lower bounds:

  • Kk−1,n−k+1K_{k-1,n-k+1}Kk−1,n−k+1​ is C2kC_{2k}C2k​-free and has exactly 12l(k−1l)(n−k+1l)l! l!\frac1{2l}\binom{k-1}{l}\binom{n-k+1}{l}l!\,l!2l1​(lk−1​)(ln−k+1​)l!l! copies of C2lC_{2l}C2l​.
  • The blow-up of C2lC_{2l}C2l​ is C2kC_{2k}C2k​-free for 3≤k<l3\le k<l3≤k<l, and its number of C2lC_{2l}C2l​'s is ∏i∣Si∣\prod_i|S_i|∏i​∣Si​∣.

The upper bound:

  • The identity 2 N(C4,G)=∑a≠b(f(a,b)2)2\,\mathcal N(C_4,G)=\sum_{a\neq b}\binom{f(a,b)}{2}2N(C4​,G)=∑a=b​(2f(a,b)​).
  • Inequality (1): 12∑a≠b(f(a,b)2)≤(1+o(1))(k−1)(k−2)4n2\tfrac12\sum_{a\ne b}\binom{f(a,b)}2\le(1+o(1))\frac{(k-1)(k-2)}4n^221​∑a=b​(2f(a,b)​)≤(1+o(1))4(k−1)(k−2)​n2 for C2kC_{2k}C2k​-free GGG, which is the upper bound of Theorem 11.
  • Theorem 2: the Erdős–Gallai bound, in its correct form.
  • Claim 1: ∑b≠af(a,b)≤(2k−2)n\sum_{b\neq a}f(a,b)\le(2k-2)n∑b=a​f(a,b)≤(2k−2)n.
  • Inequality (2): ∑a≠bf(a,b)≤(k−1)n2\sum_{a\neq b}f(a,b)\le(k-1)n^2∑a=b​f(a,b)≤(k−1)n2.
  • Inequality (3): N(C2l,G)≤14l∑∏jf(vj,vj+1)\mathcal N(C_{2l},G)\le\frac1{4l}\sum\prod_jf(v_j,v_{j+1})N(C2l​,G)≤4l1​∑∏j​f(vj​,vj+1​), together with its AM–GM refinement.
  • The final bound N(C2l,G)≤12l∑u≠vf2(u,v)(2k−2)l−2nl−2\mathcal N(C_{2l},G)\le\frac1{2l}\sum_{u\neq v}f^2(u,v)(2k-2)^{l-2}n^{l-2}N(C2l​,G)≤2l1​∑u=v​f2(u,v)(2k−2)l−2nl−2.

Significance

Theorem 10, combined with Theorem 11 on ex(n,C4,C2k)\mathrm{ex}(n,C_4,C_{2k})ex(n,C4​,C2k​), gives ex(n,C2l,C2k)=Θ(nl)\mathrm{ex}(n,C_{2l},C_{2k})=\Theta(n^l)ex(n,C2l​,C2k​)=Θ(nl) for all k,l≥2k,l\ge2k,l≥2. The one exception is the lower bound at k=2k=2k=2, which comes from the Erdős–Rényi polarity graph. This answers the Solymosi–Wong question in the negative: forbidding one even cycle allows many more copies of a shorter or longer even cycle than forbidding all short cycles does. The codegree method of the upper bound, which bounds N(C2l,G)\mathcal N(C_{2l},G)N(C2l​,G) by sums of f2f^2f2 and controls those sums through C4C_4C4​-counts and paths of length two, is reused in the paper's later results on graphs of given girth (Theorem 14).

On the formal side, none of these results is formalized in Lean. Mathlib has copyCount, cycleGraph and edge-extremal numbers, but no generalized Turán numbers, no Erdős–Gallai circumference theorem and no Bondy–Simonovits theorem. The mission produces:

  • machine-checked exact counts of cycles in complete bipartite graphs and blow-ups;
  • a formal Erdős–Gallai circumference bound;
  • the codegree inequalities that turn local degree information into cycle counts.

The paper's printed version of the Erdős–Gallai bound, (k−1)n/2(k-1)n/2(k−1)n/2, is incorrect. The mission states the bound k(n−1)/2k(n-1)/2k(n−1)/2 that Erdős and Gallai proved, which is all the argument needs.

Difficulty

The two lower bounds are explicit counts. The difficulty there is combinatorial bookkeeping in Lean. One task is matching unlabelled copies (copyCount) with the (l!)2/(2l)(l!)^2/(2l)(l!)2/(2l) Hamiltonian cycles of Kl,lK_{l,l}Kl,l​. The other is showing that the blow-up contains no cycle other than 4-cycles and full 2l2l2l-cycles, so that its 2l2l2l-cycles are exactly one choice per class.

The upper bound rests on two classical theorems that are absent from Mathlib:

  • the Erdős–Gallai circumference theorem (behind Claim 1);
  • Theorem 11's upper bound on the number of C4C_4C4​'s in a C2kC_{2k}C2k​-free graph (behind (1)), which in turn uses Bondy–Simonovits.

Without (1) one has only (f2)≤f2\binom{f}{2}\le f^2(2f​)≤f2 and no control of ∑f2\sum f^2∑f2. Without Claim 1 the chained sums in (3) are not bounded by (2k−2)n(2k-2)n(2k−2)n per step. The naive estimate, which bounds each f(vj,vj+1)f(v_j,v_{j+1})f(vj​,vj+1​) by the maximum codegree, does not work: in a C2kC_{2k}C2k​-free graph a single codegree can be of order nnn, and that only gives O(nl+1)O(n^{l+1})O(nl+1).

Formalization scope

Graphs are SimpleGraph (Fin n). Cycles are Mathlib's cycleGraph. N(H,G)\mathcal N(H,G)N(H,G) is G.copyCount H, the number of unlabelled copies (not labelledCopyCount, which is ∣Aut H∣|\mathrm{Aut}\,H|∣AutH∣ times larger). ex(n,H,CA)\mathrm{ex}(n,H,\mathcal C_A)ex(n,H,CA​) is exCyc n H A, an sSup over CA\mathcal C_ACA​-free graphs on Fin n. The underlying set is finite and contains 000, from the empty graph, so the value is an attained maximum and not a junk sSup.

Each (1+o(1))(1+o(1))(1+o(1)) is a function ε:N→R\varepsilon:\mathbb N\to\mathbb Rε:N→R with ε(n)→0\varepsilon(n)\to0ε(n)→0, depending only on kkk and lll and chosen before nnn, with the bound holding for all large nnn. Sums over a≠ba\neq ba=b are over unordered pairs (Sym2 off the diagonal). With ordered pairs every constant would change by a factor of two, and (2) would be false. Tuples of distinct vertices are embeddings Fin l ↪ V, with indices mod lll. (k−1)l(k-1)_l(k−1)l​ is Nat.descFactorial (k - 1) l.

Hypotheses added relative to the page:

  • k≥2k\ge2k≥2 in Theorem 2, which fails for forests when k≤1k\le1k≤1;
  • n≥k−1n\ge k-1n≥k−1 for Kk−1,n−k+1K_{k-1,n-k+1}Kk−1,n−k+1​;
  • n≥2ln\ge 2ln≥2l for the blow-up count.

Theorem 2 states the corrected bound 2∣E∣≤k(n−1)2|E|\le k(n-1)2∣E∣≤k(n−1).

The following do not count as the goal: a one-sided goal with only the upper or only the lower bound; a version with labelled copies; a constant or ε\varepsilonε that depends on nnn or on the graph; and a single unified parameter range.

A complete development needs:

  • exact cycle counts in Ka,bK_{a,b}Ka,b​;
  • the cycle structure of a subdivided multi-cycle;
  • the Erdős–Gallai circumference theorem;
  • Theorem 11's upper bound, and with it Bondy–Simonovits;
  • the double-counting identities for codegrees.

The Erdős–Gallai theorem, Bondy–Simonovits and the codegree identities are reusable well beyond this mission, and contributions of any of them are welcome.

Selected references

  • D. Gerbner, E. Győri, A. Methuku, M. Vizer, Generalized Turán problems for even cycles, J. Combin. Theory Ser. B 145 (2020); preprint arXiv:1712.07079v3. https://arxiv.org/abs/1712.07079 , https://doi.org/10.1016/j.jctb.2020.05.005
  • P. Erdős, T. Gallai, On maximal paths and circuits of graphs, Acta Math. Acad. Sci. Hungar. 10 (1959), 337–356. https://doi.org/10.1007/BF02024498
  • J. A. Bondy, M. Simonovits, Cycles of even length in graphs, J. Combin. Theory Ser. B 16 (1974), 97–105. https://doi.org/10.1016/0095-8956(74)90052-5
  • N. Alon, C. Shikhelman, Many T copies in H-free graphs, J. Combin. Theory Ser. B 121 (2016), 146–172. https://doi.org/10.1016/j.jctb.2016.03.004
  • L. Gishboliner, A. Shapira, A generalized Turán problem and its applications, Int. Math. Res. Not. IMRN (2020). https://arxiv.org/abs/1712.00831
12 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Generalized Turán Problems for Even Cycles 5: The Maximum Number of (2l+1)-Cycles in a Graph with No Cycle of Length 3, …, 2l or 2k Is Ω(n^{1+1/(2k+1)}) and O(n^{1+l/(l+1)})Research Paper

Why count cycles under a girth constraint?

An extremal graph question asks how many copies of one pattern can occur when other patterns are forbidden. When the counted pattern is a cycle, the answer depends strongly on which shorter cycles may occur. Excluding only an even cycle and excluding all cycles up to a given length are different constraints. The latter imposes a girth condition, meaning that nearby vertices cannot be connected by the many short alternative routes that otherwise create small cycles. For odd cycles, this makes a direct application of ordinary edge-count bounds inadequate: many graphs with relatively few edges can still arrange those edges into many copies of a fixed cycle.

Gerbner, Győri, Methuku and Vizer study generalized Turán numbers for cycles and paths. Their Theorem 17 bounds the number of copies of a particular odd cycle when every cycle of lengths 333 through 2l2l2l, and one further even cycle of length 2k2k2k, is forbidden. The lower and upper exponents differ; the theorem supplies a nontrivial interval for the possible growth rate rather than an exact asymptotic formula. The preprint, Theorem 17 is the source used here; its printed page numbers agree with its PDF pages.

Graphs, copies, and forbidden families

Write CaC_aCa​ for the simple cycle on aaa vertices. For a set AAA of integers at least 333, let CA={Ca:a∈A}\mathcal C_A=\{C_a:a\in A\}CA​={Ca​:a∈A}. A graph GGG is CA\mathcal C_ACA​-free if no member of the family occurs as a subgraph of GGG. The copies need not be induced: an extra edge between vertices of a copy does not erase that copy. When A={3,…,t}A=\{3,\ldots,t\}A={3,…,t}, write Ct\mathcal C_tCt​ for this family. Thus C2l∪{C2k}\mathcal C_{2l}\cup\{C_{2k}\}C2l​∪{C2k​} excludes every cycle of length from 333 to 2l2l2l and also excludes the single cycle C2kC_{2k}C2k​. This notation follows §1 of the paper.

For graphs HHH and GGG, let N(H,G)\mathcal N(H,G)N(H,G) be the number of unlabelled copies of HHH in GGG: subgraphs of GGG isomorphic to HHH, counted once each. The generalized Turán number is

ex⁡(n,H,CA)=max⁡{N(H,G):∣V(G)∣=n, G is CA-free}.\operatorname{ex}(n,H,\mathcal C_A) =\max\{\mathcal N(H,G): |V(G)|=n,\ G\text{ is }\mathcal C_A\text{-free}\}.ex(n,H,CA​)=max{N(H,G):∣V(G)∣=n, G is CA​-free}.

The graph with no edges is eligible for the forbidden families in this mission, and the finite vertex set makes the maximum well defined. For a vertex vvv and integer i≥0i\ge0i≥0, Ni(v)N_i(v)Ni​(v) is the set of vertices whose graph distance from vvv is exactly iii. Vertices in another connected component lie in no Ni(v)N_i(v)Ni​(v) with finite iii.

The lower-bound milestone also uses a hypergraph, a set of hyperedges that are subsets of a common vertex set. It is rrr-uniform when every hyperedge has exactly rrr vertices. A Berge cycle of length jjj alternates jjj distinct vertices and jjj distinct hyperedges; consecutive vertices lie in their connecting hyperedge. Hypergraph girth at least sss means that no Berge cycle has length less than sss. These definitions are used in Theorem 29 and §6.2.

Formalization targets

Fix integers k>l≥2k>l\ge2k>l≥2. The goal is the two-sided statement of Theorem 17, p. 7:

ex⁡(n,C2l+1,C2l∪{C2k})=Ω(n1+1/(2k+1)),\operatorname{ex}(n,C_{2l+1},\mathcal C_{2l}\cup\{C_{2k}\}) =\Omega\bigl(n^{1+1/(2k+1)}\bigr),ex(n,C2l+1​,C2l​∪{C2k​})=Ω(n1+1/(2k+1)), ex⁡(n,C2l+1,C2l∪{C2k})=O(n1+l/(l+1)).\operatorname{ex}(n,C_{2l+1},\mathcal C_{2l}\cup\{C_{2k}\}) =O\bigl(n^{1+l/(l+1)}\bigr).ex(n,C2l+1​,C2l​∪{C2k​})=O(n1+l/(l+1)).

Both estimates concern n→∞n\to\inftyn→∞ with kkk and lll fixed. The paper does not claim that either exponent is optimal for every pair (k,l)(k,l)(k,l), and these formulas should not be read as an equality of growth rates.

The milestones record the source statements needed on the two sides. Theorem 29 gives rrr-uniform hypergraphs of prescribed Berge girth with at least n1+1/sn^{1+1/s}n1+1/s hyperedges. The lower-bound paragraph of §6.2 turns such hypergraphs into graphs with many C2l+1C_{2l+1}C2l+1​ copies. Lemma 27 bounds the edges of a graph under a path-restricting partition condition. The local layer identity and Claim 18 control edges in the distance layers Nl(v)N_l(v)Nl​(v) and Nl+1(v)N_{l+1}(v)Nl+1​(v). The final milestone is the low-cycle-vertex conclusion from the paper's deletion passage on p. 28.

What the result provides

The upper exponent 1+l/(l+1)1+l/(l+1)1+l/(l+1) is strictly below 222, so the theorem rules out quadratic growth for this generalized Turán number under the stated forbidden family. The lower exponent 1+1/(2k+1)1+1/(2k+1)1+1/(2k+1) shows that the number of permitted odd cycles nevertheless grows faster than linearly. Together they locate the problem between two explicit power laws. These statements belong to a wider set of cycle-count results in the paper, where changing the forbidden family or the parity of its extra cycle changes the resulting bounds; see Theorems 17 and 18.

The paper proves these bounds. The work here is to state its objects and claims so that Lean can check future proofs: the maximum over admissible graphs, unlabelled cycle counts, Berge-cycle girth, and graph distance layers. The present proposal supplies proof targets; their Lean declarations have placeholders for proofs. The finite graph and hypergraph definitions can also serve later formalizations of generalized Turán and girth questions. The exact growth rate between the two exponents is left open by this theorem.

Where the proof is difficult

Counting cycles from an ordinary upper bound on the number of edges loses the relation between a cycle and its position around a vertex. The no-short-cycle condition constrains individual distance layers, but a layer can still contain edges that close a C2l+1C_{2l+1}C2l+1​. Controlling those edges uniformly across all graphs and vertices is the central issue in the upper bound. A bound with a constant chosen after seeing the graph would say little about the asymptotic maximum; Claim 18 instead requires a constant depending only on kkk and lll. The lower side has a different requirement: the construction must preserve both the abundance of odd cycles and every exclusion in C2l∪{C2k}\mathcal C_{2l}\cup\{C_{2k}\}C2l​∪{C2k​}. The precise assertions are in §6.2, pp. 27–28.

Formalization scope

Graphs on nnn vertices are represented as simple graphs on Fin⁡(n)\operatorname{Fin}(n)Fin(n), and CaC_aCa​ is Mathlib's cycle graph. A copy is a subgraph isomorphic to CaC_aCa​, counted without labels. The extremal number is the supremum of its finite, nonempty set of attainable natural-number counts; in this setting that supremum is the paper's maximum. Distance layers use extended graph distance, which assigns unreachable pairs infinity. The family of forbidden lengths is exactly {3,…,2l}∪{2k}\{3,\ldots,2l\}\cup\{2k\}{3,…,2l}∪{2k}; it does not omit any short cycle.

The hypergraph representation is a finite set of distinct finite vertex sets. Berge-cycle existence requires injective lists of vertices and hyperedges, and girth at least sss is expressed by absence of lengths 222 through s−1s-1s−1 rather than a numerical infimum with an exceptional value on acyclic hypergraphs. Theorem 29's threshold is chosen after r,sr,sr,s and before nnn. Claim 18's constant is chosen after k,lk,lk,l and before the graph or vertex. The upper and lower asymptotic bounds are both present, with real exponents; neither is replaced by a one-sided or purely existential statement.

Lemma 27 is given with the explicit m∣V(G)∣m|V(G)|m∣V(G)∣ edge bound from its proof, uniform in the number of partition classes. The final deletion milestone uses an existential constant D(k,l)D(k,l)D(k,l) because the page mixes several powers of its intermediate constant ccc; this is recorded in the accompanying audit notes. A complete proof development needs Mathlib's simple-graph copies, paths, graph metric, finite-set counting, and asymptotic notation, plus the hypergraph interface defined for this mission. Proofs of the goal and any of these milestones are welcome.

Selected references

  • D. Gerbner, E. Győri, A. Methuku, and M. Vizer, Generalized Turán problems for even cycles, Journal of Combinatorial Theory, Series B, 2020. arXiv:1712.07079v3; DOI: 10.1016/j.jctb.2020.05.005.
9 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Cycle Lengths in Expanding Graphs 3: For 0 < β < 1/20, Every β-Graph on n Vertices Has a Cycle of Every Length from O(1/log(1/β))·log n to (1−O(β))·nResearch Paper

Motivation

Which cycle lengths a graph must contain is a classical question of extremal graph theory. A graph on nnn vertices is pancyclic if it has cycles of every length from 333 to nnn; Bondy's meta-conjecture (Bondy 1971) and a long line of results ask which density or expansion conditions force pancyclicity or, more modestly, force the set of cycle lengths to contain a long interval. For sparse graphs, expansion is the natural hypothesis: random graphs and explicit expanders are sparse, yet very well connected.

Friedman and Krivelevich, Cycle lengths in expanding graphs (arXiv:1912.11011v2; Combinatorica 41, 2021), study two expansion conditions. For the usual vertex expanders they show that cycle lengths are numerous and well spread, but they also note that an expander need not contain any interval of cycle lengths of non-trivial length. Section 4 of the paper therefore introduces a different, two-set expansion condition, the β-graph, and shows that it does force a complete interval of cycle lengths of length linear in nnn. This mission formalizes that result, Theorem 3.

Timeline.

  • Friedman and Pippenger (1987) proved that graphs with strong vertex expansion contain every bounded-degree tree of a given size.
  • Haxell (2001) generalized that embedding theorem to expansion conditions on sets up to twice a threshold; the form used here is the one stated by Balogh, Csaba, Pei and Samotij (2010).
  • Hefetz, Krivelevich and Szabó (2009) proved that for large nnn and β=O(log⁡log⁡n/log⁡n)\beta = O(\log\log n/\log n)β=O(loglogn/logn), every β-graph on nnn vertices has a cycle of every length ℓ\ellℓ with 8βnlog⁡nlog⁡log⁡n≤ℓ≤(1−3β)n\frac{8\beta n\log n}{\log\log n}\le\ell\le(1-3\beta)nloglogn8βnlogn​≤ℓ≤(1−3β)n, and conjectured that the lower end can be improved to clog⁡n/log⁡(1/β)c\log n/\log(1/\beta)clogn/log(1/β).
  • Friedman and Krivelevich (2019 preprint, 2021 journal) proved this for every fixed β<1/20\beta<1/20β<1/20, with the upper end (1−O(β))n(1-O(\beta))n(1−O(β))n (Theorem 3).

Setting

All graphs are finite and simple. For a graph G=(V,E)G=(V,E)G=(V,E) and a vertex set U⊆VU\subseteq VU⊆V, the external neighborhood of UUU is

NG(U)={v∈V∖U:v has a neighbor in U}.N_G(U)=\{v\in V\setminus U : v\text{ has a neighbor in }U\}.NG​(U)={v∈V∖U:v has a neighbor in U}.

Let GGG have nnn vertices and let β>0\beta>0β>0. GGG is a β-graph if every two disjoint vertex sets A,B⊆VA,B\subseteq VA,B⊆V with ∣A∣,∣B∣≥βn|A|,|B|\ge\beta n∣A∣,∣B∣≥βn are joined by an edge. For n≥1n\ge1n≥1, the complete graph is a β-graph for every β>0\beta>0β>0; when βn≤1\beta n\le 1βn≤1, only the complete graph is. No graph on zero vertices is a β-graph.

The set of cycle lengths of GGG is L(G)={ℓ:G contains a cycle of length ℓ}L(G)=\{\ell : G\text{ contains a cycle of length }\ell\}L(G)={ℓ:G contains a cycle of length ℓ}. A cycle of length ℓ\ellℓ has ℓ≥3\ell\ge3ℓ≥3 distinct vertices.

The proof works with the tree Tk,t,pT_{k,t,p}Tk,t,p​: two complete kkk-ary trees of depth ttt (every internal vertex has kkk children, every leaf is at distance ttt from the root) whose roots are joined by a path of length ppp. A graph contains a copy of a tree TTT if there is an injective map from the vertices of TTT to those of GGG sending edges to edges.

Logarithms are to base 222.

Formalization targets

Goal: Theorem 3 (p. 3, restated p. 15)

For every 0<β<1200<\beta<\frac{1}{20}0<β<201​ there exist positive constants b1=O(1log⁡(1/β))b_1=O\bigl(\frac{1}{\log(1/\beta)}\bigr)b1​=O(log(1/β)1​) and b2=O(β)b_2=O(\beta)b2​=O(β) such that every β-graph GGG on nnn vertices satisfies

{ℓ∈Z:b1log⁡n≤ℓ≤(1−b2)n}⊆L(G).\{\ell\in\mathbb Z : b_1\log n\le\ell\le(1-b_2)n\}\subseteq L(G).{ℓ∈Z:b1​logn≤ℓ≤(1−b2​)n}⊆L(G).

The goal fixes the shape of the bound, not its constants: the proof's choice is b1=25/log⁡(1/β)b_1=25/\log(1/\beta)b1​=25/log(1/β), and b2b_2b2​ is a multiple of β\betaβ. As β→0\beta\to0β→0 the interval widens towards [O(log⁡n/log⁡(1/β)), (1−O(β))n][O(\log n/\log(1/\beta)),\,(1-O(\beta))n][O(logn/log(1/β)),(1−O(β))n]. The upper end (1−O(β))n(1-O(\beta))n(1−O(β))n is tight up to the constant: the disjoint union of Kn+1−βnK_{n+1-\beta n}Kn+1−βn​ with βn−1\beta n-1βn−1 isolated vertices is a β-graph.

Milestones

In the order of the proof (pp. 15–18):

  1. Lemma 4.1 (p. 15): every β-graph contains an induced subgraph HHH on at least (1−β)n(1-\beta)n(1−β)n vertices with ∣NH(U)∣≥1−3β2β∣U∣|N_H(U)|\ge\frac{1-3\beta}{2\beta}|U|∣NH​(U)∣≥2β1−3β​∣U∣ for all ∣U∣≤βn|U|\le\beta n∣U∣≤βn.
  2. Large sets in HHH (p. 16): ∣NH(U)∣>(1−4β)n|N_H(U)|>(1-4\beta)n∣NH​(U)∣>(1−4β)n whenever βn≤∣U∣≤2βn\beta n\le|U|\le2\beta nβn≤∣U∣≤2βn.
  3. Theorem 4.1 (Haxell, p. 16): expansion d∣U∣+1d|U|+1d∣U∣+1 on sets of size at most mmm and d∣U∣+Md|U|+Md∣U∣+M on sets of size in (m,2m](m,2m](m,2m] forces every tree with MMM vertices and maximum degree at most ddd.
  4. Cycle from a tree (p. 16): a copy of Tk,t,ℓ−2t−1T_{k,t,\ell-2t-1}Tk,t,ℓ−2t−1​ with k≥2k\ge2k≥2 and kt≥βnk^t\ge\beta nkt≥βn in a β-graph yields a cycle of length ℓ\ellℓ.
  5. Condition 1 of Theorem 4.1 for d=⌊1/(4β)⌋+1d=\lfloor1/(4\beta)\rfloor+1d=⌊1/(4β)⌋+1 (p. 17) and for d=3d=3d=3 (p. 18).
  6. The arithmetic of p. 17: 2⌈log⁡(βn)⌉+1<(12−10β)n2\lceil\log(\beta n)\rceil+1<(\frac12-10\beta)n2⌈log(βn)⌉+1<(21​−10β)n and 25log⁡(1/β)log⁡n≥2⌈log⁡k(βn)⌉+1\frac{25}{\log(1/\beta)}\log n\ge2\lceil\log_k(\beta n)\rceil+1log(1/β)25​logn≥2⌈logk​(βn)⌉+1 for large nnn.

Significance

The result. Theorem 3 proves the conjecture of Hefetz, Krivelevich and Szabó in a stronger form: β may be any constant below 1/201/201/20 instead of tending to zero with nnn, and the lower end O(log⁡n/log⁡(1/β))O(\log n/\log(1/\beta))O(logn/log(1/β)) is of optimal order. Since spectral expanders satisfy the β-graph condition (by the expander mixing lemma an (n,d,λ)(n,d,\lambda)(n,d,λ)-graph with d/∣λ∣≥1/β2d/|\lambda|\ge1/\beta^2d/∣λ∣≥1/β2 is a β-graph), the theorem gives long intervals of cycle lengths in pseudo-random graphs. The method, embedding two large trees joined by a path and closing the cycle across their leaf sets, is a template for producing cycles of prescribed length in expanding graphs.

Formalizing it. The result is proved on paper. As far as the platform's records show, none of it is formalized: Mathlib has trees, walks, cycles and graph copies, but no tree-embedding theorem for expanders and no result on cycle lengths of this kind. The main piece of new infrastructure is Haxell's theorem (milestone 3), which the paper cites without proof. Its proof (in Haxell's paper and in Balogh–Csaba–Pei–Samotij) is a few pages of inductive embedding with a Hall-type invariant. A formal proof of Theorem 4.1 would be reusable for any embedding argument for bounded-degree trees, for example in Ramsey and size-Ramsey problems for trees and paths. The printed proof also has a rounding gap (below), so the formal proof will have to settle a slightly different argument from the printed one.

Difficulty

The β-graph condition only speaks about pairs of large sets, while cycles are built edge by edge, so short and long cycles both need a mechanism. The obvious approach, finding a long path and then shortcutting it, does not control which lengths occur. The proof instead needs a robust embedding theorem for trees with about 2βn2\beta n2βn leaves inside a subgraph with good expansion of small sets, and that is Theorem 4.1, a deep result.

A second difficulty is quantitative. In the printed verification of claims (1) and (2) on p. 17, a complete kkk-ary tree of depth t=⌈log⁡k(βn)⌉t=\lceil\log_k(\beta n)\rceilt=⌈logk​(βn)⌉ is counted as having about kβn/(k−1)k\beta n/(k-1)kβn/(k−1) vertices, as if kt=βnk^t=\beta nkt=βn exactly. In fact ktk^tkt can be almost kβnk\beta nkβn, and for claim (2) the honest count only covers ℓ≤(1−18β)n\ell\le(1-18\beta)nℓ≤(1−18β)n rather than (1−14β)n(1-14\beta)n(1−14β)n. For k=⌊1/(4β)⌋k=\lfloor1/(4\beta)\rfloork=⌊1/(4β)⌋ the gap is larger. Theorem 3 is unaffected, because its constants are only O(⋅)O(\cdot)O(⋅) and pruning the trees to ⌈βn⌉\lceil\beta n\rceil⌈βn⌉ leaves repairs the count. But a solver following the printed proof will need to repair that step. The two claims are therefore not posed as milestones.

Formalization scope

Graphs on nnn vertices are SimpleGraph (Fin n). Vertex sets are Set with Set.ncard, and every inequality involving β, a logarithm or nnn is stated in ℝ after casting. Logarithms are Real.logb 2. Cycles are Mathlib's Walk.IsCycle, so every cycle length is at least 333. "Contains a copy" is SimpleGraph.IsContained (injective and edge-preserving, not induced). The subgraph G′=HG'=HG′=H of Lemma 4.1 is the induced subgraph on a set SSS, with NH(U)=NG(U)∩SN_H(U)=N_G(U)\cap SNH​(U)=NG​(U)∩S. The tree Tk,t,pT_{k,t,p}Tk,t,p​ is defined on words of length at most ttt over {0,…,k−1}\{0,\dots,k-1\}{0,…,k−1} (two tagged copies) plus p−1p-1p−1 path vertices.

Conventions of the goal:

  • O(⋅)O(\cdot)O(⋅): one absolute constant K>0K>0K>0 is quantified before β, with b1≤K/log⁡2(1/β)b_1\le K/\log_2(1/\beta)b1​≤K/log2​(1/β) and b2≤Kβb_2\le K\betab2​≤Kβ. A constant chosen after β would make the O(⋅)O(\cdot)O(⋅) claims empty, so that encoding is ruled out. Since β<1/20\beta<1/20β<1/20, log⁡2(1/β)>4\log_2(1/\beta)>4log2​(1/β)>4 and the division is by a positive number.
  • Threshold: the statement holds for n≥n0n\ge n_0n≥n0​ with n0n_0n0​ depending on β only. This is a disclosed, necessary addition: without it the interval contains ℓ=2\ell=2ℓ=2 at n=3n=3n=3 for small β, and no graph has a cycle of length 222.
  • Every integer in the interval is a cycle length, not some integer.
  • A cycle is a genuine cycle, not a closed walk.

Infrastructure needed: Haxell's theorem (reusable well beyond this mission), counting leaves and vertices of complete kkk-ary trees, and turning an embedded Tk,t,pT_{k,t,p}Tk,t,p​ plus one edge into a Walk.IsCycle. Contributions to any milestone are welcome, in particular a proof of Theorem 4.1 and a repaired version of claims (1) and (2) with pruned trees.

Selected references

  • L. Friedman and M. Krivelevich, Cycle lengths in expanding graphs, Combinatorica 41 (2021). arXiv:1912.11011v2. https://arxiv.org/abs/1912.11011v2, https://doi.org/10.1007/s00493-020-4434-0
  • P. E. Haxell, Tree embeddings, Journal of Graph Theory 36 (2001), 121–130. https://doi.org/10.1002/1097-0118(200103)36:3<121::AID-JGT1000>3.0.CO;2-U
  • J. Friedman and N. Pippenger, Expanding graphs contain all small trees, Combinatorica 7 (1987), 71–76. https://doi.org/10.1007/BF02579202
  • J. Balogh, B. Csaba, M. Pei and W. Samotij, Large bounded degree trees in expanding graphs, Electronic Journal of Combinatorics 17 (2010), R6. https://doi.org/10.37236/279
  • J. A. Bondy, Pancyclic graphs I, Journal of Combinatorial Theory, Ser. B 11 (1971), 80–84. https://doi.org/10.1016/0095-8956(71)90016-5
  • D. Hefetz, M. Krivelevich and T. Szabó, Hamilton cycles in highly connected and expanding graphs, Combinatorica 29 (2009), 547–568. https://doi.org/10.1007/s00493-009-2362-1
10 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Finding Cliques in Social Networks: A New Distribution-Free Model 3: For Every c ≥ 2 and n ≥ c There Is a c-Closed Graph on n Vertices with Ω(c^(−3/2)·2^(c/2)·n^(3/2)) Maximal CliquesResearch Paper

Motivation

Social networks exhibit triadic closure: two people with many common friends tend to be friends themselves. Fox, Roughgarden, Seshadhri, Wei and Wein (arXiv:1804.07431, SIAM J. Comput. 2020) turn this empirical regularity into a deterministic graph class, the ccc-closed graphs, and ask how hard a classical NP-hard problem, enumerating maximal cliques, becomes on it. In general graphs the number of maximal cliques can be exponential: Moon and Moser showed that the maximum over nnn-vertex graphs is 3n/33^{n/3}3n/3 (Moon–Moser 1965). The paper proves that on ccc-closed graphs the count is polynomial in nnn for every fixed ccc, with upper bounds of order 3(c−1)/3n23^{(c-1)/3} n^23(c−1)/3n2 and 4(c+4)(c−1)/2n2−21−c4^{(c+4)(c-1)/2} n^{2-2^{1-c}}4(c+4)(c−1)/2n2−21−c.

This mission formalizes the matching lower bound of the paper (Section 4): the exponent of nnn cannot be pushed below 3/23/23/2, and the dependence on ccc must be exponential.

Prior work: Eschen, Hoàng, Spinrad and Sritharan (2011) studied the 222-closed graphs under a different name (graphs without an induced C4C_4C4​ or diamond) and showed that they have O(n3/2)O(n^{3/2})O(n3/2) maximal cliques, with a matching lower bound from incidence graphs of finite projective planes. Fox et al. (2018) extended the lower bound to every ccc by blowing up a graph of girth 555.

Setting

All graphs are finite, simple and undirected. For vertices u,vu, vu,v of a graph G=(V,E)G=(V,E)G=(V,E), N(u)∩N(v)N(u)\cap N(v)N(u)∩N(v) is the set of their common neighbours.

  • A graph is ccc-closed (Definition 1.1) if any two distinct vertices with at least ccc common neighbours are adjacent. Every ccc-closed graph is c′c'c′-closed for c′≥cc' \ge cc′≥c; 111-closed graphs are exactly disjoint unions of cliques.
  • A maximal clique is a set of pairwise adjacent vertices to which no further vertex of GGG can be added. #MC(G)\#\mathrm{MC}(G)#MC(G) denotes the number of maximal cliques of GGG.
  • The girth of HHH is the length of its shortest cycle (∞\infty∞ for a forest). Girth at least 555 means: no triangle and no 444-cycle.
  • The blow-up H(h)H^{(h)}H(h) of a graph HHH replaces each vertex xxx by a set UxU_xUx​ of hhh vertices (x,0),…,(x,h−1)(x,0),\dots,(x,h-1)(x,0),…,(x,h−1) and joins
(x,i)∼(y,j)  ⟺  i≠j  and  (x=y  or  xy∈E(H)).(x,i)\sim(y,j)\iff i\neq j\ \text{ and }\ \bigl(x=y\ \text{ or }\ xy\in E(H)\bigr).(x,i)∼(y,j)⟺i=j  and  (x=y  or  xy∈E(H)).

Each UxU_xUx​ is a clique; for an edge xyxyxy of HHH the bipartite graph between UxU_xUx​ and UyU_yUy​ is Kh,hK_{h,h}Kh,h​ minus a perfect matching; non-adjacent x,yx,yx,y give no edges between UxU_xUx​ and UyU_yUy​. The paper takes h=c/2h = c/2h=c/2.

Formalization targets

Goal: Theorem 4.1

There is an absolute constant C>0C>0C>0 such that for all integers c≥2c\ge 2c≥2 and n≥cn\ge cn≥c there is a ccc-closed graph GGG on nnn vertices with

#MC(G) ≥ C c−3/2 2c/2 n3/2.\#\mathrm{MC}(G)\ \ge\ C\,c^{-3/2}\,2^{c/2}\,n^{3/2}.#MC(G) ≥ Cc−3/22c/2n3/2.

The constant is absolute; the dependence on ccc is explicit. This is the paper's Theorem 4.1 (restatement of Theorem 1.7: "for any positive integer ccc, there are ccc-closed graphs with nnn vertices and Ω(c−3/22c/2n3/2)\Omega(c^{-3/2}2^{c/2}n^{3/2})Ω(c−3/22c/2n3/2) maximal cliques") with the two hypotheses c≥2c \ge 2c≥2 and n≥cn \ge cn≥c made explicit; see Formalization scope.

Milestones

  1. Girth-five graphs with many edges (cited from [29] on p. 12): there is C>0C>0C>0 such that for every v≥2v\ge 2v≥2 some graph on vvv vertices has girth at least 555 and at least Cv3/2C v^{3/2}Cv3/2 edges.
  2. §1.4, p. 5: a graph of girth at least 555 is 222-closed and each of its edges is a maximal clique, so #MC(H)≥∣E(H)∣\#\mathrm{MC}(H)\ge |E(H)|#MC(H)≥∣E(H)∣.
  3. Claim 4.2: for h≥1h\ge 1h≥1 and HHH of girth at least 555, the blow-up H(h)H^{(h)}H(h) is 2h2h2h-closed.
  4. Claim 4.3 (corrected count): there is an absolute C>0C>0C>0 such that for every k≥1k\ge1k≥1 and h≥2h\ge2h≥2 one can choose a girth-at-least-555 graph HHH on 2k2k2k vertices whose blow-up satisfies
#MC(H(h)) ≥ C (2h)−3/2 2h (2kh)3/2.\#\mathrm{MC}\bigl(H^{(h)}\bigr)\ \ge\ C\,(2h)^{-3/2}\,2^h\,(2kh)^{3/2}.#MC(H(h)) ≥ C(2h)−3/22h(2kh)3/2.

Significance

The result. Together with the paper's upper bounds, Theorem 4.1 brackets the maximum number of maximal cliques in a ccc-closed nnn-vertex graph between n3/2n^{3/2}n3/2 and n2−21−cn^{2-2^{1-c}}n2−21−c, up to factors depending on ccc. It shows that the exponential dependence on ccc in the upper bounds is unavoidable, so fixed-parameter tractability in ccc is the right notion, and that no bound of the form f(c) naf(c)\,n^{a}f(c)na with a<3/2a<3/2a<3/2 holds. Determining the true exponent of nnn is stated as an open problem in Section 5 of the paper.

Formalizing it. The result is proved on paper; no machine-checked proof is known. A formal development produces a verified lower-bound construction for maximal cliques, a reusable blow-up operation with its clique structure, and, through milestone 1, a formal proof of the classical Ω(v3/2)\Omega(v^{3/2})Ω(v3/2) lower bound for C4C_4C4​-free graphs, which Mathlib does not yet contain.

Difficulty

The combinatorial core (Claims 4.2 and 4.3) is a finite case analysis, but the paper's own count is not correct as printed: of the 2c/22^{c/2}2c/2 cliques obtained from an edge xyxyxy, two are UxU_xUx​ and UyU_yUy​, which every edge at xxx or yyy produces again, so they are not distinct across edges. The corrected per-edge count is 2c/2−22^{c/2}-22c/2−2, and for c=2c=2c=2 the blow-up is edgeless, so small ccc must be handled by HHH itself.

The main difficulty is milestone 1. Graphs of girth 555 with Ω(v3/2)\Omega(v^{3/2})Ω(v3/2) edges for every vvv require an algebraic construction (polarity graphs of projective planes over Fq\mathbb F_qFq​, or incidence graphs, which have girth 666) together with a density-of-primes argument to pass from v≈q2v \approx q^2v≈q2 to arbitrary vvv. Random graphs do not suffice: deletion arguments give only Ω(v4/3)\Omega(v^{4/3})Ω(v4/3) edges. Finally, Theorem 4.1 is stated for all n≥cn \ge cn≥c and all c≥2c \ge 2c≥2, while the construction works for even ccc and c∣nc \mid nc∣n; the paper notes that the reduction loses only an absolute constant factor, but a complete proof has to carry it out uniformly in ccc and nnn, including the range where nnn is close to ccc.

Formalization scope

  • Graphs on nnn vertices are SimpleGraph (Fin n); the blow-up lives on V × Fin h. Common neighbours are counted with Set.ncard, and "at least ccc" is c ≤, not c <.
  • #MC(G)\#\mathrm{MC}(G)#MC(G) counts finite vertex sets that are maximal (Mathlib's Maximal) among cliques; it does not count all cliques, nor cliques of a fixed size.
  • Girth is Mathlib's egirth (valued in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}): "girth ≥5\ge 5≥5" is 5 ≤ H.egirth, which admits forests. The ℕ-valued girth, which is 000 for forests, is not used. Edge counts are H.edgeSet.ncard.
  • The perfect matching between UxU_xUx​ and UyU_yUy​ is fixed as (x,i)↔(y,i)(x,i)\leftrightarrow(y,i)(x,i)↔(y,i) for every edge of HHH, one admissible choice in the paper's construction (which allows any perfect matching).
  • Powers c−3/2c^{-3/2}c−3/2, 2c/22^{c/2}2c/2, n3/2n^{3/2}n3/2 are real powers.
  • Added hypotheses, disclosed. The goal adds c≥2c\ge 2c≥2 and n≥cn\ge cn≥c to the printed "for any positive integer ccc". Without c≥2c\ge 2c≥2 the statement is false, since a 111-closed graph has at most nnn maximal cliques. Without n≥cn \ge cn≥c it is false, since Moon–Moser caps every nnn-vertex graph at 3n/33^{n/3}3n/3 maximal cliques, which is below c−3/22c/2n3/2c^{-3/2}2^{c/2}n^{3/2}c−3/22c/2n3/2 when nnn is small compared with ccc. The construction itself assumes that nnn is a positive multiple of ccc. Claim 4.3 is restricted to h≥2h\ge 2h≥2: for h=1h=1h=1 the blow-up is edgeless. Its proof counts (2h−2)∣E(H)∣(2^h-2)|E(H)|(2h−2)∣E(H)∣ distinct mixed cliques, correcting the paper's printed per-edge count while retaining its Ω\OmegaΩ conclusion. The reductions to even ccc and c∣nc\mid nc∣n are part of the proof, not hypotheses.
  • Ruled out. The constant CCC is chosen before ccc and nnn; a statement with CCC depending on ccc or nnn would make the factor c−3/22c/2c^{-3/2}2^{c/2}c−3/22c/2 meaningless. Milestone 1 requires both the girth condition and the edge bound; either alone is trivial (the complete graph, or the empty graph). Counting all cliques instead of maximal ones, or reading "at least ccc" as "more than ccc", changes the theorem.
  • The shared CClosedGraphs.Peeling.Setting supplies IsCClosed and the maximal-clique counts; CClosedGraphs.LowerBound.Setting defines the blow-up. Contributions of a general Mathlib-style theory of C4C_4C4​-free extremal graphs (polarity graphs, Turán number of C4C_4C4​) are especially welcome and reusable beyond this mission.

Selected references

  • J. Fox, T. Roughgarden, C. Seshadhri, F. Wei, N. Wein, Finding cliques in social networks: a new distribution-free model, arXiv:1804.07431v1, 2018; SIAM J. Comput. 49(2), 2020. https://arxiv.org/abs/1804.07431, https://doi.org/10.1137/18M1210459
  • E. M. Eschen, C. T. Hoàng, J. P. Spinrad, R. Sritharan, On graphs without a C4C_4C4​ or a diamond, Discrete Appl. Math. 159(7):581–587, 2011. https://arxiv.org/abs/0909.4719
  • Z. Füredi, M. Simonovits, The history of degenerate (bipartite) extremal graph problems, in Erdős Centennial, Bolyai Soc. Math. Stud. 25, Springer, 2013, pp. 169–264. https://arxiv.org/abs/1306.5167
  • J. W. Moon, L. Moser, On cliques in graphs, Israel J. Math. 3(1):23–28, 1965. https://doi.org/10.1007/BF02760024
  • W. G. Brown, On graphs that do not contain a Thomsen graph, Canad. Math. Bull. 9:281–285, 1966. https://doi.org/10.4153/CMB-1966-036-2
7 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Finding Cliques in Social Networks: A New Distribution-Free Model 2: Every c-Closed Graph on n Vertices Has at Most 4^((c+4)(c−1)/2)·n^(2−2^(1−c)) Maximal CliquesResearch Paper

Motivation

Social networks exhibit triadic closure: two people with many friends in common tend to be friends themselves. Fox, Roughgarden, Seshadhri, Wei and Wein (arXiv:1804.07431, SIAM J. Comput. 2020, doi:10.1137/18m1210459) turn this empirical regularity into a distribution-free graph class and ask which algorithmic problems that are hard on worst-case graphs become tractable on it. Their test case is the enumeration of maximal cliques, a standard primitive of community detection. On a general nnn-vertex graph the number of maximal cliques can be 3n/33^{n/3}3n/3 (Moon and Moser, 1965), so no enumeration algorithm can be polynomial. The question is how far triadic closure alone pushes this count down.

Timeline:

  • 1965: Moon and Moser prove that every nnn-vertex graph has at most 3n/33^{n/3}3n/3 maximal cliques, with equality for disjoint triangles.
  • 2011: Eschen, Hoàng, Spinrad and Sritharan bound the number of maximal cliques of graphs without induced K2,2K_{2,2}K2,2​ or diamond (the 2-closed graphs) by O(n3/2)O(n^{3/2})O(n3/2); this is the c=2c=2c=2 case of the present bound.
  • 2018: Fox et al. introduce ccc-closed graphs, prove the bound 3(c−1)/3n23^{(c-1)/3}n^23(c−1)/3n2 (Theorem 2.1), and improve its dependence on nnn to 4(c+4)(c−1)/2n2−21−c4^{(c+4)(c-1)/2}n^{2-2^{1-c}}4(c+4)(c−1)/2n2−21−c (Theorem 3.1, this mission). They also show a lower bound of order 2c/2n3/22^{c/2}n^{3/2}2c/2n3/2 up to a polynomial factor in ccc (Theorem 4.1).

Setting

All graphs G=(V,E)G=(V,E)G=(V,E) are finite, simple and undirected; N(x)N(x)N(x) is the set of neighbours of a vertex xxx, and for W⊆VW\subseteq VW⊆V, G[W]G[W]G[W] is the subgraph induced by WWW.

For a positive integer ccc, GGG is ccc-closed if any two distinct vertices u,vu,vu,v with ∣N(u)∩N(v)∣≥c|N(u)\cap N(v)|\ge c∣N(u)∩N(v)∣≥c are adjacent. A 1-closed graph is a disjoint union of cliques, and every graph on nnn vertices is (n−1)(n-1)(n−1)-closed, so ccc interpolates between the two. Being ccc-closed passes to induced subgraphs, with common neighbours counted inside the subgraph.

A clique is a set of pairwise adjacent vertices; it is maximal if no further vertex can be added. Write mc(G)\mathrm{mc}(G)mc(G) for the number of maximal cliques of GGG, and

F(n,c)=max⁡{mc(G):G is a c-closed graph on n vertices}.F(n,c)=\max\{\mathrm{mc}(G): G \text{ is a } c\text{-closed graph on } n \text{ vertices}\}.F(n,c)=max{mc(G):G is a c-closed graph on n vertices}.

The proof uses four further objects, computed in the current induced subgraph: the maximum degree Δ(G)\Delta(G)Δ(G); for a non-empty set SSS of vertices, N(S)=⋂u∈SN(u)N(S)=\bigcap_{u\in S}N(u)N(S)=⋂u∈S​N(u); the set N2(v)N_2(v)N2​(v) of vertices at distance exactly 222 from vvv; and the function

F0(m,c)=4(c+4)(c−1)/2 m 2−21−c.F_0(m,c)=4^{(c+4)(c-1)/2}\,m^{\,2-2^{1-c}}.F0​(m,c)=4(c+4)(c−1)/2m2−21−c.

Formalization targets

Goal: Theorem 3.1

For all positive integers c,nc,nc,n and every ccc-closed graph GGG on nnn vertices,

mc(G)  ≤  4(c+4)(c−1)/2 n 2−21−c.\mathrm{mc}(G)\;\le\;4^{(c+4)(c-1)/2}\,n^{\,2-2^{1-c}}.mc(G)≤4(c+4)(c−1)/2n2−21−c.

For fixed ccc the exponent 2−21−c2-2^{1-c}2−21−c is 1, 3/2, 7/4,…1,\ 3/2,\ 7/4,\dots1, 3/2, 7/4,…, strictly below 222, which is what the improvement over Theorem 2.1 consists of. The constant is the one printed in the theorem.

Milestones

The milestones follow the proof on pp. 9–11:

  1. ccc-closedness is hereditary (p. 3).
  2. Lemma 3.2: G[N(v)]G[N(v)]G[N(v)] is (c−1)(c-1)(c−1)-closed (p. 9).
  3. The maximal cliques containing vvv are in bijection with the maximal cliques of G[N(v)]G[N(v)]G[N(v)] (Case 1, p. 9).
  4. Inequality (2): the maximal cliques K\mathcal KK that meet N(v)N(v)N(v) but avoid vvv satisfy ∣K∣≤∑Smc(G[N(S)∩N2(v)])|\mathcal K|\le\sum_{S}\mathrm{mc}(G[N(S)\cap N_2(v)])∣K∣≤∑S​mc(G[N(S)∩N2​(v)]) (p. 9).
  5. Inequality (3): ∑S∣N(S)∩N2(v)∣≤∣N2(v)∣2c−1≤min⁡{Δ2,n}2c−1\sum_S|N(S)\cap N_2(v)|\le|N_2(v)|2^{c-1}\le\min\{\Delta^2,n\}2^{c-1}∑S​∣N(S)∩N2​(v)∣≤∣N2​(v)∣2c−1≤min{Δ2,n}2c−1 (p. 9).
  6. Inequality (4) and its consequence in Case 2, where Δ>n\Delta>\sqrt nΔ>n​: given the bound at level c−1c-1c−1, the number of maximal cliques meeting N(v)∪{v}N(v)\cup\{v\}N(v)∪{v} is strictly less than F0(Δ,c−1)min⁡{Δ,n/Δ}2cF_0(\Delta,c-1)\min\{\Delta,n/\Delta\}2^cF0​(Δ,c−1)min{Δ,n/Δ}2c (p. 10).
  7. Claim 3.3: (1−x)k≤1−xk/2(1-x)^k\le1-xk/2(1−x)k≤1−xk/2 for 0<x≤1/20<x\le1/20<x≤1/2, 1≤k≤21\le k\le21≤k≤2 (p. 11).
  8. The arithmetic of the inductive step: F0(n,c)F_0(n,c)F0​(n,c) dominates both branches of the recurrence (pp. 10–11).

Significance

Together with Theorem 2.1, Theorem 3.1 gives Theorem 1.4 of the paper: a ccc-closed graph on nnn vertices has at most min⁡{3(c−1)/3n2, 4(c+4)(c−1)/2n2−21−c}\min\{3^{(c-1)/3}n^2,\ 4^{(c+4)(c-1)/2}n^{2-2^{1-c}}\}min{3(c−1)/3n2, 4(c+4)(c−1)/2n2−21−c} maximal cliques. For constant ccc the count is polynomial with exponent below 222, so all maximal cliques can be listed in polynomial time, and the problem is fixed-parameter tractable in ccc. Theorem 4.1 shows the exponent cannot drop below 3/23/23/2 for c≥2c\ge2c≥2, so the bound is polynomially tight for c=2c=2c=2.

The result is proved in the paper; it has not been formalized. This mission produces a machine-checked proof of Theorem 3.1 together with the steps of the paper's argument. The printed argument has gaps that a formal proof must close: the base of the exponential factor changes from 444 to 222 in the middle of the proof, Claim 3.3 is applied with x=Δ/nx=\Delta/nx=Δ/n that may exceed 1/21/21/2, the induction meets the empty graph (one maximal clique, while F0(0,c)=0F_0(0,c)=0F0​(0,c)=0), and the recursion deletes Δ+1\Delta+1Δ+1 vertices where the recurrence writes n−Δn-\Deltan−Δ. A proof that also closes the stronger base-222 bound, which the arithmetic suggests, would be a welcome addition.

Difficulty

The count of maximal cliques through a vertex vvv reduces to G[N(v)]G[N(v)]G[N(v)], which is (c−1)(c-1)(c−1)-closed, so a naive induction on ccc gives mc(G)≤n F(Δ,c−1)\mathrm{mc}(G)\le n\,F(\Delta,c-1)mc(G)≤nF(Δ,c−1). When the maximum degree Δ\DeltaΔ is large this is no better than n2n^2n2. The high-degree case needs a separate count of the cliques that meet N(v)N(v)N(v) without containing vvv, grouped by their trace on N(v)N(v)N(v); bounding the sum over these traces requires the convexity of F0F_0F0​ in its first argument and the constraint coming from ccc-closedness. The resulting recurrence then has to be solved with explicit real exponents of the form 2−21−c2-2^{1-c}2−21−c, for all ccc simultaneously, with the induction on nnn and ccc arranged so that the empty graph never enters the inductive hypothesis.

Formalization scope

  • A graph on nnn vertices is a SimpleGraph (Fin n). The general statements are over a finite vertex type with decidable equality.
  • ccc-closedness counts common neighbours with Set.ncard and reads "at least ccc" as c ≤ ncard, not c < ncard. The relative notion IsCClosedOn c G W counts common neighbours inside WWW and is equivalent to ccc-closedness of G.induce W.
  • A maximal clique of G[W]G[W]G[W] is a Finset K⊆WK\subseteq WK⊆W that is maximal under inclusion among cliques contained in WWW; the empty graph has exactly one maximal clique. Neither all cliques nor maximal cliques of a different graph are counted.
  • All powers in the bounds are real powers with the cast to R\mathbb RR taken before subtraction; n/Δn/\Deltan/Δ is real division.
  • The milestones are stated for an induced subgraph G[W]G[W]G[W] with N2(v)N_2(v)N2​(v) computed inside G[W]G[W]G[W], since the proof recurses on induced subgraphs; the paper states them for W=VW=VW=V.
  • Added hypotheses, relative to the page: the inductive hypothesis of milestone 6 is an explicit premise restricted to non-empty vertex sets (it is false for the empty one); milestone 6 assumes c≥2c\ge2c≥2 and Δ≥1\Delta\ge1Δ≥1, and explicitly carries Case 2's Δ>n\Delta>\sqrt nΔ>n​. Milestones 4 and 5 sum over non-empty SSS only, as the paper defines N(S)N(S)N(S) only for non-empty SSS; this strengthens them. Milestone 8 is stated with the base 444 of F0F_0F0​ although the page prints the display with base 222.
  • The paper's F(n,c)F(n,c)F(n,c) is not defined; the goal quantifies over all graphs, which is equivalent.

Everything is built from Mathlib's SimpleGraph, commonNeighbors, IsClique, Maximal and Real.rpow. The definitions of ccc-closedness and of the maximal-clique count come from the reviewed shared module CClosedGraphs.Peeling.Setting. Contributions welcome: proofs of the milestones, a proof of the goal by a different route, and the base-222 strengthening.

Selected references

  • J. Fox, T. Roughgarden, C. Seshadhri, F. Wei, N. Wein, Finding cliques in social networks: a new distribution-free model, arXiv:1804.07431v1, 2018; SIAM J. Comput., 2020. https://arxiv.org/abs/1804.07431, https://doi.org/10.1137/18m1210459
  • J. W. Moon, L. Moser, On cliques in graphs, Israel J. Math. 3, 1965. https://doi.org/10.1007/BF02760024
  • E. M. Eschen, C. T. Hoàng, J. P. Spinrad, R. Sritharan, On graphs without a C4C_4C4​ or a diamond, Discrete Appl. Math. 159(7):581–587, 2011.
11 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Generalized Turán Problems for Even Cycles 1: A C_{2k}-Free Graph on n Vertices Has at Most (1+o(1))(k−1)(k−2)n²/4 Four-Cycles, and This Is AttainedResearch Paper

Motivation

The Turán problem asks for ex(n,F)\mathrm{ex}(n,F)ex(n,F), the largest number of edges in an nnn-vertex graph with no copy of a fixed graph FFF. For even cycles the answer is still not known in general: Bondy and Simonovits proved ex(n,C2k)=O(n1+1/k)\mathrm{ex}(n,C_{2k})=O(n^{1+1/k})ex(n,C2k​)=O(n1+1/k) in 1974, and the order of magnitude is known to be sharp only for k=2,3,5k=2,3,5k=2,3,5.

The generalized Turán problem replaces edges by copies of another graph HHH: how many copies of HHH can an nnn-vertex graph contain if it has no copy of FFF? Its systematic study was started by Alon and Shikhelman (arXiv:1506.03807, 2016). Gerbner, Győri, Methuku and Vizer (arXiv:1712.07079, J. Combin. Theory Ser. B, 2020) treat the case where both HHH and the forbidden graph are cycles. This mission formalizes their Theorem 11, the case H=C4H=C_4H=C4​, F=C2kF=C_{2k}F=C2k​, which is the one case of the paper where the asymptotics, including the leading constant, are determined exactly for every kkk.

Timeline:

  • 1974, Bondy and Simonovits: every C2kC_{2k}C2k​-free graph on nnn vertices has O(n1+1/k)O(n^{1+1/k})O(n1+1/k) edges.
  • 2016, Alon and Shikhelman: general framework for ex(n,H,F)\mathrm{ex}(n,H,F)ex(n,H,F); first bounds for cycles.
  • 2017 (arXiv v1; v3 December 2018), Gerbner, Győri, Methuku and Vizer: ex(n,C4,C2k)=(1+o(1))(k−1)(k−2)4n2\mathrm{ex}(n,C_4,C_{2k})=(1+o(1))\frac{(k-1)(k-2)}4n^2ex(n,C4​,C2k​)=(1+o(1))4(k−1)(k−2)​n2, and the order of magnitude of ex(n,C2l,C2k)\mathrm{ex}(n,C_{2l},C_{2k})ex(n,C2l​,C2k​).

Setting

All graphs are finite and simple. For graphs HHH and GGG, N(H,G)\mathcal N(H,G)N(H,G) is the number of copies of HHH in GGG: the number of subgraphs of GGG isomorphic to HHH (unlabelled copies). CaC_aCa​ is the cycle on aaa vertices. A graph is C2kC_{2k}C2k​-free if it has no subgraph isomorphic to C2kC_{2k}C2k​ (not necessarily induced). The generalized Turán number is

ex(n,H,C2k)=max⁡{N(H,G):G a C2k-free graph on n vertices}.\mathrm{ex}(n,H,C_{2k})=\max\{\mathcal N(H,G): G \text{ a } C_{2k}\text{-free graph on } n \text{ vertices}\}.ex(n,H,C2k​)=max{N(H,G):G a C2k​-free graph on n vertices}.

In Lean, vertices are Fin n, CaC_aCa​ is Mathlib's cycleGraph a, N(H,G)\mathcal N(H,G)N(H,G) is G.copyCount H, the C2kC_{2k}C2k​-free condition is CycleFree {2 * k} G, and ex(n,H,CA)\mathrm{ex}(n,H,\mathcal C_A)ex(n,H,CA​) is exCyc n H A.

The proof works with the following objects, all defined in the mission's definitions file. The codegree of two vertices is their number of common neighbours. A pair of distinct vertices is fat if it has at least kkk common neighbours. A copy of C4C_4C4​ with vertices a,x,b,ya,x,b,ya,x,b,y in cyclic order has the two opposite pairs {a,b}\{a,b\}{a,b} and {x,y}\{x,y\}{x,y}; it is a fat C4C_4C4​ if both opposite pairs are fat. A greedy run processes the fat C4C_4C4​'s in an arbitrary order and picks from each one of its four edges that has been picked the fewest times so far; the multiplicity m(e)m(e)m(e) of an edge is the number of times it is picked. Ka,n−aK_{a,n-a}Ka,n−a​ is the complete bipartite graph with classes of sizes aaa and n−an-an−a (bipGraph n a).

Formalization targets

Goal: Theorem 11

For every k≥2k\ge 2k≥2,

ex(n,C4,C2k)=(1+o(1)) (k−1)(k−2)4 n2(n→∞).\mathrm{ex}(n,C_4,C_{2k})=(1+o(1))\,\frac{(k-1)(k-2)}{4}\,n^2 \qquad (n\to\infty).ex(n,C4​,C2k​)=(1+o(1))4(k−1)(k−2)​n2(n→∞).

The o(1)o(1)o(1) is a sequence depending only on kkk. At k=2k=2k=2 the statement says ex(n,C4,C4)=0\mathrm{ex}(n,C_4,C_4)=0ex(n,C4​,C4​)=0.

Milestones

  1. Lower bound. Kk−1,n−k+1K_{k-1,n-k+1}Kk−1,n−k+1​ is C2kC_{2k}C2k​-free and has exactly (k−12)(n−k+12)\binom{k-1}2\binom{n-k+1}2(2k−1​)(2n−k+1​) copies of C4C_4C4​.
  2. Non-fat four-cycles. Every C2kC_{2k}C2k​-free graph on nnn vertices has at most (k−12)(n2)\binom{k-1}2\binom n2(2k−1​)(2n​) non-fat copies of C4C_4C4​.
  3. Kk,kK_{k,k}Kk,k​-freeness. In a C2kC_{2k}C2k​-free graph any kkk vertices have at most k−1k-1k−1 common neighbours.
  4. Claim 2. Under that property, if some edge has multiplicity at least 2(k−2)k2(2kk)2(k-2)k^2\binom{2k}k2(k−2)k2(k2k​), then for every 2≤l≤k2\le l\le k2≤l≤k some C2lC_{2l}C2l​ contains an edge of multiplicity at least 2(k−l)k2(2kk)2(k-l)k^2\binom{2k}k2(k−l)k2(k2k​).
  5. Fat four-cycles. A C2kC_{2k}C2k​-free graph has at most 2(k−2)k2(2kk) ∣E(G)∣2(k-2)k^2\binom{2k}k\,|E(G)|2(k−2)k2(k2k​)∣E(G)∣ fat copies of C4C_4C4​.
  6. Theorem 1 (Bondy–Simonovits). ex(n,C2k)≤Ck n1+1/k\mathrm{ex}(n,C_{2k})\le C_k\,n^{1+1/k}ex(n,C2k​)≤Ck​n1+1/k.
  7. Upper bound. Every C2kC_{2k}C2k​-free graph on nnn vertices has at most (1+o(1))(k−1)(k−2)4n2(1+o(1))\frac{(k-1)(k-2)}4n^2(1+o(1))4(k−1)(k−2)​n2 copies of C4C_4C4​.

Significance

The result. Theorem 11 gives the exact leading constant for the maximum number of four-cycles in a graph without a 2k2k2k-cycle. The extremal number of edges of such a graph is only known up to a constant factor, and only for k∈{2,3,5}k\in\{2,3,5\}k∈{2,3,5} is even its order known; counting four-cycles instead of edges turns the problem into one with a clean answer, attained by the unbalanced complete bipartite graph Kk−1,n−k+1K_{k-1,n-k+1}Kk−1,n−k+1​. The same upper bound on four-cycles is used again in the paper's Theorem 10, on the number of C2lC_{2l}C2l​'s in C2kC_{2k}C2k​-free graphs.

Formalizing it. The theorem is proved in the paper; it has not been formalized. A complete development needs counting of four-cycles through codegrees, the greedy multiplicity bookkeeping of §4.1, an argument producing long cycles in graphs with many fat four-cycles, and the Bondy–Simonovits theorem, which is itself not in Mathlib. The milestones isolate each of these; Theorem 1 is a stand-alone classical theorem of independent value.

Difficulty

The non-fat four-cycles give the main term directly. The difficulty is that fat four-cycles can a priori be numerous: a dense bipartite graph has Θ(n4)\Theta(n^4)Θ(n4) of them. One must show that C2kC_{2k}C2k​-freeness forces them down to O(n1+1/k)O(n^{1+1/k})O(n1+1/k), which is o(n2)o(n^2)o(n2). The argument that bounds the non-fat ones does not transfer: a fat pair can lie in arbitrarily many four-cycles as an opposite pair, and nothing a priori bounds the number of fat pairs by less than (n2)\binom n2(2n​). The bound must instead come from the global absence of C2kC_{2k}C2k​, which is a statement about long cycles, while the objects being counted are short ones; Claim 2 is where the two meet, and its bookkeeping (new vertices must avoid the current cycle, and the four-cycles that fail to extend it must be outnumbered) is the core of the proof. The upper bound then still rests on the Bondy–Simonovits theorem, whose proof is a substantial argument of its own.

Formalization scope

Graphs are SimpleGraph (Fin n) (or a general finite vertex type for the per-graph milestones). Copies are unlabelled (copyCount); a labelled count would be 8 times larger for C4C_4C4​. ex\mathrm{ex}ex is an sSup over naturals; with forbidden lengths at least 3 the set is nonempty and finite, so it is a true maximum, which a sorry-free sanity file in the workspace checks. Landau notation is in n→∞n\to\inftyn→∞ with kkk fixed first: (1+o(1))(1+o(1))(1+o(1)) is a real sequence ε(n)→0\varepsilon(n)\to 0ε(n)→0 chosen before nnn and the graph, with the equality holding for all large nnn, and the O(⋅)O(\cdot)O(⋅) of Theorem 1 is an explicit constant chosen before nnn and the graph. The constant (k−1)(k−2)4\frac{(k-1)(k-2)}44(k−1)(k−2)​ is computed in R\mathbb RR.

Statements that are trivially true are ruled out: the goal states both the upper and the lower bound as an equality, the maximum is not a junk sSup, copies are unlabelled, constants and o(1)o(1)o(1) functions are fixed before the graph, and the forbidden family is exactly {C2k}\{C_{2k}\}{C2k​}.

Two hypotheses differ from the page, both in Claim 2. The paper's standing graph is C2kC_{2k}C2k​-free, which would make Claim 2 vacuous (its conclusion at l=kl=kl=k is a C2kC_{2k}C2k​); the milestone assumes instead the property its proof uses, that any kkk vertices have at most k−1k-1k−1 common neighbours. It also assumes that the edge eee is picked at least once, which follows from the multiplicity bound when k≥3k\ge3k≥3 and is needed for the base case at k=2k=2k=2. The fat-four-cycle milestone states the explicit bound 2(k−2)k2(2kk)∣E(G)∣2(k-2)k^2\binom{2k}k|E(G)|2(k−2)k2(k2k​)∣E(G)∣ that the proof establishes, rather than the O(n1+1/k)O(n^{1+1/k})O(n1+1/k) obtained after Theorem 1.

Contributions welcome: proofs of any milestone; a formal proof of the Bondy–Simonovits theorem, reusable well beyond this mission; general lemmas on counting four-cycles via codegrees and on copies in complete bipartite graphs.

Selected references

  • D. Gerbner, E. Győri, A. Methuku, M. Vizer, Generalized Turán problems for even cycles, J. Combin. Theory Ser. B (2020); arXiv:1712.07079v3. https://arxiv.org/abs/1712.07079, https://doi.org/10.1016/j.jctb.2020.05.005
  • J. A. Bondy, M. Simonovits, Cycles of even length in graphs, J. Combin. Theory Ser. B 16 (1974) 97–105. https://doi.org/10.1016/0095-8956(74)90052-5
  • N. Alon, C. Shikhelman, Many T copies in H-free graphs, J. Combin. Theory Ser. B 121 (2016) 146–172. https://arxiv.org/abs/1506.03807
9 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Online Contention Resolution Schemes with Applications to Bayesian Selection Problems 2: The Degree Relaxation of Matching Has a (b, e^(−2b))-Selectable Randomized Greedy OCRSResearch Paper

Why online matching needs a stronger rounding guarantee

In online selection, candidate items reveal themselves one at a time and an algorithm must decide immediately whether to keep each one. When the kept items must form a matching, accepting one edge can prevent a later edge sharing an endpoint from being accepted. A fractional solution supplies useful marginal probabilities, but it does not by itself specify which active edges can be kept under an unfavorable arrival order. Online contention resolution schemes provide that missing rounding step: they turn independent edge activity into a feasible online selection while guaranteeing each edge a chance of selection. Feldman, Svensson, and Zenklusen introduced the strong selectability guarantee used here, which protects an edge even against an arrival order chosen with knowledge of all random outcomes (Feldman–Svensson–Zenklusen, §1.1).

This mission isolates the matching result of their paper. It concerns a degree relaxation that is weaker than the full matching polytope, so the result applies even when the input fractional point satisfies only local vertex constraints. The source states the existence theorem as Theorem 2.7 and gives its numerical guarantee explicitly (Theorem 2.7, p. 13).

Finite graphs, fractional edges, and greedy families

Let G=(V,E)G=(V,E)G=(V,E) be a finite graph. An edge ggg has two distinct endpoints; multiple edges may have the same endpoints. A matching is a set of edges with no shared vertex. For a vertex uuu, write δ(u)\delta(u)δ(u) for its incident edges. The degree relaxation is

PG={x∈R≥0E:∑g∈δ(u)xg≤1 for every u∈V}.P_G=\left\{x\in\mathbb R_{\ge0}^{E}:\sum_{g\in\delta(u)}x_g\le1\text{ for every }u\in V\right\}.PG​=⎩⎨⎧​x∈R≥0E​:g∈δ(u)∑​xg​≤1 for every u∈V⎭⎬⎫​.

Since each edge meets a vertex, these constraints also give xg≤1x_g\le1xg​≤1. Every matching has a characteristic vector in PGP_GPG​. The degree relaxation can contain points outside the convex hull of matchings, which makes the theorem stronger than a statement restricted to the matching polytope (§2.2, p. 13).

For x∈[0,1]Ex\in[0,1]^Ex∈[0,1]E, the active set R(x)R(x)R(x) includes each edge ggg independently with probability xgx_gxg​. A greedy family Fx\mathcal F_xFx​ is a downward closed family of matchings containing the empty set. A greedy online scheme accepts an active edge if adding it to the already accepted set remains in Fx\mathcal F_xFx​. The family may itself be random, sampled independently of R(x)R(x)R(x).

An edge ggg is selectable for a realized active set and greedy family when every member I∈FxI\in\mathcal F_xI∈Fx​ with I⊆R(x)I\subseteq R(x)I⊆R(x) can be extended by ggg while staying in Fx\mathcal F_xFx​. Thus selectability promises acceptance regardless of which eligible active edges preceded ggg. A scheme is (b,c)(b,c)(b,c)-selectable if this event has probability at least ccc for every x∈bPGx\in bP_Gx∈bPG​ and every edge. The probability includes both the active-set draw and any random family draw (Definitions 1.3–1.5, pp. 3–4).

Formalization targets

Theorem 2.7: a randomized matching scheme

For every b∈[0,1]b\in[0,1]b∈[0,1] and every finite loopless graph GGG,

∃ a randomized greedy scheme for PG that is (b,e−2b)-selectable.\exists\text{ a randomized greedy scheme for }P_G\text{ that is }(b,e^{-2b})\text{-selectable}.∃ a randomized greedy scheme for PG​ that is (b,e−2b)-selectable.

Equivalently, for each x∈bPGx\in bP_Gx∈bPG​ and each edge g∈Eg\in Eg∈E, the probability that ggg is selectable is at least e−2be^{-2b}e−2b. The statement includes edges with xg=0x_g=0xg​=0; the selectability event concerns the ability to add an edge, rather than the probability that it becomes active. The milestones are the steps the source states in its proof, in attack order (proof of Theorem 2.7, pp. 13–14):

  1. for t>0t>0t>0, 0≤(1−e−t)/t≤10\le(1-e^{-t})/t\le10≤(1−e−t)/t≤1, so that an edge can be put into a random set KKK of potential edges with probability (1−e−xg)/xg(1-e^{-x_g})/x_g(1−e−xg​)/xg​;
  2. drawing KKK this way and using the matchings inside KKK as the family is a randomized greedy scheme;
  3. an edge g′g'g′ with ends u,vu,vu,v is selectable exactly when g′∈Kg'\in Kg′∈K and A∩K∩(δ(u)∪δ(v)∖{g′})=∅A\cap K\cap(\delta(u)\cup\delta(v)\setminus\{g'\})=\varnothingA∩K∩(δ(u)∪δ(v)∖{g′})=∅;
  4. the probability of that event equals 1−e−xg′xg′ e−∑g∈δ(u)∪δ(v)∖{g′}xg\frac{1-e^{-x_{g'}}}{x_{g'}}\,e^{-\sum_{g\in\delta(u)\cup\delta(v)\setminus\{g'\}}x_g}xg′​1−e−xg′​​e−∑g∈δ(u)∪δ(v)∖{g′}​xg​;
  5. for x∈bPGx\in bP_Gx∈bPG​, ∑g∈δ(u)∪δ(v)∖{g′}xg≤2(b−xg′)\sum_{g\in\delta(u)\cup\delta(v)\setminus\{g'\}}x_g\le2(b-x_{g'})∑g∈δ(u)∪δ(v)∖{g′}​xg​≤2(b−xg′​);
  6. for t>0t>0t>0, et(et−1)/t≥1e^{t}(e^{t}-1)/t\ge1et(et−1)/t≥1.

Remark (p. 14): the deterministic variant

Taking K=EK=EK=E, the deterministic greedy scheme whose family is the set of all matchings is (b,(1−b)2)(b,(1-b)^2)(b,(1−b)2)-selectable for PGP_GPG​, b∈[0,1]b\in[0,1]b∈[0,1]:

Pr⁡A∼R(x)[g is selectable for A] ≥ (1−b)2∀x∈bPG, ∀g∈E.\Pr_{A\sim R(x)}\big[g\text{ is selectable for }A\big]\ \ge\ (1-b)^2\qquad\forall x\in bP_G,\ \forall g\in E.A∼R(x)Pr​[g is selectable for A] ≥ (1−b)2∀x∈bPG​, ∀g∈E.

This companion is weaker than Theorem 2.7 for every b∈(0,1]b\in(0,1]b∈(0,1] and is not used by it (Remark, p. 14).

What the result contributes

The theorem gives a constant probability bound against the paper's strongest, “almighty” arrival-order adversary. The guarantee is available from vertex degree inequalities alone. Consequently it applies to points of the exact matching polytope as well, without asking the online rounding procedure to exploit its additional odd-set inequalities. The paper places this result beside analogous existence claims for matroids and knapsacks in Theorem 1.8, and uses greedy schemes as components in more general selection results (Theorem 1.8, p. 4).

The existence theorem is proved in the source; it is an open formalization target here. A completed Lean development would supply a reusable finite model of independent active sets, random greedy families, edge selectability, and matching degree relaxations. It would also put the exact e−2be^{-2b}e−2b constant and its endpoint cases under machine checking. The definitions can support future formalizations of the paper's combination and application results, although this mission claims only Theorem 2.7 and its local proof milestones.

Where the argument is delicate

The local degree constraints bound the fractional weight at each endpoint separately, while selectability must survive conflicts at either endpoint under any arrival order. Merely ensuring that the algorithm outputs a matching gives no lower bound for a particular edge: the adversary can expose competing active edges first. The theorem therefore asks for a stronger event that certifies an edge could be added after every eligible previously selected matching. The numerical guarantee must hold uniformly over all edges, even when a coordinate is zero (Definitions 1.4–1.5, pp. 3–4; proof of Theorem 2.7, p. 13).

Formalization scope

The ground set is the finite edge type EEE. The published EdmondsMatching65.Polyhedron.Graph structure represents a graph by a map from edges to unordered pairs of vertices and includes a proof excluding self-loops; its matching predicate is reused directly. This admits parallel edges, a harmless generalization of the page's graph language. Incident edge sets and matchings are finite sets. The polytope is the set of real edge vectors satisfying precisely the nonnegativity and vertex degree inequalities above. Scaling is the pointwise set operation bPGbP_GbPG​, so b=0b=0b=0 remains meaningful. The parameter range 0≤b≤10\le b\le10≤b≤1 is explicit.

Probability is represented by finite sums of product weights. A randomized scheme is a weight function on finite greedy families, independent of the active-set draw. Each family contains the empty set and lies inside the matchings; allowing an empty family would make selectability vacuous. The degree inequalities keep relevant coordinates in [0,1][0,1][0,1], so active-set weights are genuine probabilities. The source's ratio (1−e−xg)/xg(1-e^{-x_g})/x_g(1−e−xg​)/xg​ is given its continuous value 111 at xg=0x_g=0xg​=0. For inputs outside the nonnegative domain, which the theorem never uses, that inclusion probability is also assigned 111 to keep the distribution well formed. These choices and the loopless graph convention are recorded with the draft statements.

The formalization needs finite product probability identities, elementary exponential inequalities, and set facts about matchings and incident edges. Contributions proving the six listed milestones, the deterministic Remark, or the full existential theorem are welcome. The finite model of active sets, greedy families and selectability is shared with the other missions of this series (matroids, knapsack, combinations of schemes, submodular rounding).

Selected references

  • Moran Feldman, Ola Svensson, and Rico Zenklusen, Online Contention Resolution Schemes, arXiv:1508.00142v2, 2015, preprint. Published as Online Contention Resolution Schemes with Applications to Bayesian Selection Problems, SIAM Journal on Computing, 2021.
11 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Cycle Lengths in Expanding Graphs 1: Every α-Expander on n Vertices Has a Cycle of Length in [ℓ, ℓ+O(1/α)] for Every Integer ℓ from O(1/α)·log n up to 2^(−O(log(1/α)/α))·nResearch Paper

Motivation

Which cycle lengths a graph must contain is a long-standing theme of extremal graph theory, studied for graphs of given minimum degree, chromatic number or density. A natural class in which to ask it is that of expanders: graphs in which every not-too-large vertex set has many neighbours outside it (Hoory, Linial and Wigderson). It is known that an α\alphaα-expander on nnn vertices has a cycle of length Ωα(n)\Omega_\alpha(n)Ωα​(n) and a cycle of length Oα(log⁡n)O_\alpha(\log n)Oα​(logn) (Krivelevich's survey, Corollary 3.2 and Theorem 7.4, arXiv:1812.11562); the question is what happens between these extremes.

One cannot hope for a full interval of cycle lengths: the complete bipartite graph Kαn/2,(1−α/2)nK_{\alpha n/2,(1-\alpha/2)n}Kαn/2,(1−α/2)n​ is an α\alphaα-expander without odd cycles, and subdividing every edge of a bounded-degree expander mmm times gives an Ω(α/m)\Omega(\alpha/m)Ω(α/m)-expander all of whose cycle lengths are divisible by m+1m+1m+1. L. Friedman and M. Krivelevich (Cycle lengths in expanding graphs, Combinatorica 41 (2021); arXiv:1912.11011v2) show that this is the only obstruction: the cycle lengths of an α\alphaα-expander are well spread, in the sense that every window of O(1/α)O(1/\alpha)O(1/α) consecutive integers between logarithmic and linear length contains one. This mission formalizes that theorem (Theorem 1 of the paper) together with the lemmas of its §2.

Setting

Let G=(V,E)G=(V,E)G=(V,E) be a finite simple graph on nnn vertices. For U⊆VU\subseteq VU⊆V, the external neighbourhood is NG(U)={v∈V∖U:v has a neighbour in U}N_G(U)=\{v\in V\setminus U : v\text{ has a neighbour in }U\}NG​(U)={v∈V∖U:v has a neighbour in U}.

  • For reals k>0k>0k>0, α>0\alpha>0α>0, GGG is a (k,α)(k,\alpha)(k,α)-expander if ∣NG(U)∣≥α∣U∣|N_G(U)|\ge\alpha|U|∣NG​(U)∣≥α∣U∣ for every U⊆VU\subseteq VU⊆V with ∣U∣≤k|U|\le k∣U∣≤k.
  • GGG is an α\alphaα-expander if ∣NG(U)∣≥α∣U∣|N_G(U)|\ge\alpha|U|∣NG​(U)∣≥α∣U∣ for every UUU with ∣U∣≤⌈n/2⌉|U|\le\lceil n/2\rceil∣U∣≤⌈n/2⌉.
  • A cycle of length ℓ≥3\ell\ge3ℓ≥3 is a closed walk with ℓ\ellℓ edges and no repeated vertex; L(G)L(G)L(G) is the set of lengths of cycles of GGG.
  • BG(v,r)B_G(v,r)BG​(v,r) is the ball of radius rrr: the vertices at distance at most rrr from vvv.
  • For a tree T⊆GT\subseteq GT⊆G rooted at v0v_0v0​, the level of a vertex is one plus its distance from v0v_0v0​ in TTT, so L1={v0}L_1=\{v_0\}L1​={v0​}, and T[j1,j2]=⋃i=j1j2LiT_{[j_1,j_2]}=\bigcup_{i=j_1}^{j_2}L_iT[j1​,j2​]​=⋃i=j1​j2​​Li​.
  • Contracting the parts V1,…,VrV_1,\dots,V_rV1​,…,Vr​ of a partition of VVV gives the graph on {1,…,r}\{1,\dots,r\}{1,…,r} in which i≠ji\ne ji=j are adjacent when some edge of GGG joins ViV_iVi​ and VjV_jVj​.

All logarithms are base 222. In Lean these objects are extNbhd, IsKAlphaExpander, IsAlphaExpander, cycleLengths, ball, contract, level and levelSet, in the namespace CycleLengthsExp.WellSpread.

Formalization targets

Goal: Theorem 1 (p. 3)

For every 0<α≤10<\alpha\le10<α≤1 there are positive constants A=O(1/α)A=O(1/\alpha)A=O(1/α), a1=O(1/α)a_1=O(1/\alpha)a1​=O(1/α) and a2=2−O(log⁡(1/α)/α)a_2=2^{-O(\log(1/\alpha)/\alpha)}a2​=2−O(log(1/α)/α) such that for all large nnn, every α\alphaα-expander GGG on nnn vertices satisfies

∀ ℓ∈Z∩[a1log⁡n, a2n]∃ L∈L(G): ℓ≤L≤ℓ+A.\forall\,\ell\in\mathbb Z\cap[a_1\log n,\ a_2n]\quad\exists\,L\in L(G):\ \ell\le L\le\ell+A .∀ℓ∈Z∩[a1​logn, a2​n]∃L∈L(G): ℓ≤L≤ℓ+A.

The goal fixes only the shape of the dependence on α\alphaα, not the constants, so an improvement of the constants does not invalidate it.

Milestones (§2, in the order the proof uses them)

  1. Ball growth (p. 4): in a (k,α)(k,\alpha)(k,α)-expander, ∣BG(v,r)∣≥min⁡{k,(1+α)r}|B_G(v,r)|\ge\min\{k,(1+\alpha)^r\}∣BG​(v,r)∣≥min{k,(1+α)r}.
  2. Lemma 2.1 (p. 4): a component of a (δn,α)(\delta n,\alpha)(δn,α)-expander (0<δ<10<\delta<10<δ<1, 0<α≤10<\alpha\le10<α≤1) has diameter at most 7δαlog⁡n\frac7{\delta\alpha}\log nδα7​logn.
  3. Lemma 2.2 (p. 5): removing ϵn\epsilon nϵn vertices, 0<ϵ≤α2k/(8n)0<\epsilon\le\alpha^2k/(8n)0<ϵ≤α2k/(8n), from a (k,α)(k,\alpha)(k,α)-expander leaves an induced (k,α/2)(k,\alpha/2)(k,α/2)-expander on (1−3ϵ/α)n(1-3\epsilon/\alpha)n(1−3ϵ/α)n vertices.
  4. Lemma 2.3 (p. 5): an α\alphaα-expander has tα/(1+α)t\alpha/(1+\alpha)tα/(1+α) vertex-disjoint paths between any two sets of size at least ttt.
  5. Lemma 2.4 (p. 6): contracting parts of size at most CCC yields a (k/C,α/C)(k/C,\alpha/C)(k/C,α/C)-expander on r≥n/Cr\ge n/Cr≥n/C vertices.
  6. Lemma 2.5 (p. 6): if every kkk-set has at least ℓ\ellℓ external neighbours, a path of length ℓ\ellℓ starts at every vertex whose component has at least kkk vertices.
  7. Lemma 2.6 (p. 6): a set WWW with ∣W∣>n/2|W|>n/2∣W∣>n/2 and ∣NG(W)∣≤αϵn|N_G(W)|\le\alpha\epsilon n∣NG​(W)∣≤αϵn contains an induced ((12−2ϵ)n,α/2)((\tfrac12-2\epsilon)n,\alpha/2)((21​−2ϵ)n,α/2)-expander on more than (12−2ϵ)n(\tfrac12-2\epsilon)n(21​−2ϵ)n vertices.
  8. Lemma 2.7 (p. 7): a tree rooted at any v0v_0v0​ with levels k0≤C0log⁡nk_0\le C_0\log nk0​≤C0​logn, k1−k0≤C1k_1-k_0\le C_1k1​−k0​≤C1​, k2−k1≤C2k_2-k_1\le C_2k2​−k1​≤C2​, bounded degree Δ\DeltaΔ on T[k1,k2]T_{[k_1,k_2]}T[k1​,k2​]​, and an (n/10,α/5)(n/10,\alpha/5)(n/10,α/5)-expander on at least n/10n/10n/10 vertices inside T[k1,k2]T_{[k_1,k_2]}T[k1​,k2​]​.

Significance

The result. Theorem 1 says that, up to an additive error of order 1/α1/\alpha1/α, an α\alphaα-expander contains every cycle length from O(log⁡n/α)O(\log n/\alpha)O(logn/α) up to a constant fraction of nnn. The additive error is optimal in its dependence on α\alphaα by the subdivision example, and the logarithmic lower end is necessary because expanders can have logarithmic girth. It implies that ∣L(G)∣|L(G)|∣L(G)∣ is linear in nnn for every α\alphaα-expander; the companion mission of this series (Theorem 2 of the paper) improves the dependence on α\alphaα in that count. The lemmas of §2, especially the robust sub-expander lemmas 2.2 and 2.6, the disjoint-paths lemma 2.3 and the depth-first-search lemma 2.5, are general-purpose statements about vertex expanders that do not depend on the cycle-length question.

Formalizing it. The theorem is proved on paper; none of it is machine-checked. Mathlib has walks, paths, cycles, distances and induced subgraphs, but no vertex expansion, no Menger theorem, no depth-first-search path lemma and no breadth-first-tree construction. This mission produces formal statements of all of these at the level of generality the paper uses, and a complete development would supply reusable lemmas about vertex expanders on finite simple graphs.

Difficulty

The obvious argument fails at the step of hitting a prescribed length. Expansion easily gives long paths and long cycles, but controlling the length of a cycle to within an additive O(1/α)O(1/\alpha)O(1/α) requires a structure with many cycles whose lengths differ by small, controlled amounts. The paper builds it from two breadth-first trees joined by many short disjoint paths, a long path routed through bounded-size subtrees, and a pigeonhole selection that avoids spoiling too many subtrees; the explicit constants of Lemma 2.7 then have to be propagated through Theorem 1. Lemma 2.3 additionally needs Menger's theorem, which is not in Mathlib, and Lemma 2.5 is a depth-first-search argument whose formal invariant is not short.

Formalization scope

  • Graphs are SimpleGraph (Fin n); the ball-growth milestone uses any finite vertex type. Sizes are Set.ncard; inequalities involving α\alphaα, ϵ\epsilonϵ, δ\deltaδ or logarithms are stated in ℝ. ⌈n/2⌉\lceil n/2\rceil⌈n/2⌉ is (n + 1) / 2. Logarithms are Real.logb 2.
  • O(⋅)O(\cdot)O(⋅) constants: one absolute K>0K>0K>0 quantified before α\alphaα. In Theorem 1, A≤K/αA\le K/\alphaA≤K/α, a1≤K/αa_1\le K/\alphaa1​≤K/α, a2≥2−Klog⁡2(2/α)/αa_2\ge2^{-K\log_2(2/\alpha)/\alpha}a2​≥2−Klog2​(2/α)/α; in Lemma 2.7, Δ,C1≤K/α5\Delta,C_1\le K/\alpha^5Δ,C1​≤K/α5 and C0,C2≤K/αC_0,C_2\le K/\alphaC0​,C2​≤K/α. Inside the OOO, log⁡(1/α)\log(1/\alpha)log(1/α) is read as log⁡2(2/α)\log_2(2/\alpha)log2​(2/α), which agrees up to a constant for α≤1/2\alpha\le1/2α≤1/2 and avoids the value 000 at α=1\alpha=1α=1.
  • Thresholds: Theorem 1's "for large enough nnn" is n≥n0n\ge n_0n≥n0​ with n0n_0n0​ depending on α\alphaα only. Lemma 2.7 is also stated for n≥n0(α)n\ge n_0(\alpha)n≥n0​(α): an addition, disclosed in the item, because the paper's proof suppresses rounding and needs nnn large against 1/α1/\alpha1/α, and Theorem 1 uses the lemma only for large nnn.
  • Induced subgraphs: "G[U]G[U]G[U] is an expander" and "contains an expander" use G.induce U, the edges of GGG, never the edges of a tree.
  • Lemma 2.1 is stated in its "In particular" form, as a bound on G.dist u v for u,vu,vu,v in one component. The first inequality of the lemma is false as printed (the path PnP_nPn​ with k=1k=1k=1) and is not posed. Lemma 2.7, item 4, is posed with α/5\alpha/5α/5 as printed, although its proof gives α/2\alpha/2α/2.
  • Trivializing readings are ruled out: the OOO-constants are bounded by one KKK fixed before α\alphaα; cycles are Walk.IsCycle, never closed walks; Lemma 2.1 never uses G.diam, which is 000 for a disconnected graph; and no statement divides by log⁡(1/α)\log(1/\alpha)log(1/α).
  • Welcome contributions: Menger's theorem for vertex sets in finite simple graphs; the depth-first-search long-path lemma; breadth-first trees with level bookkeeping; and proofs of the milestones in any order.

Selected references

  • L. Friedman, M. Krivelevich, Cycle lengths in expanding graphs, Combinatorica 41 (2021). arXiv:1912.11011v2, doi:10.1007/s00493-020-4434-0
  • M. Krivelevich, Expanders — how to find them, and what to find in them, Surveys in Combinatorics 2019, LMS Lecture Note Series 456, 115–142. arXiv:1812.11562
  • S. Hoory, N. Linial, A. Wigderson, Expander graphs and their applications, Bulletin of the AMS 43 (2006), 439–561. doi:10.1090/S0273-0979-06-01126-8
10 thms1 active userReviewed
Theoretical Computer Science·Captain: mikedeng1

Fully-Functional Suffix Trees and Optimal Text Searching in BWT-runs Bounded Space 1: SA[p ± 1] Is Recovered From the Sample at the Phrase Start Preceding SA[p] − 1Research Paper

Motivation

Collections of genomes, versioned documents and source-code histories are highly repetitive: most of each new item is a copy of something already stored. Full-text indexes such as the suffix array and the FM-index answer pattern queries on such collections, but their size grows with the text length nnn, not with the amount of distinct content. The number rrr of runs in the Burrows–Wheeler transform (BWT) of the text is a standard measure of repetitiveness, and the run-length FM-index of Mäkinen and Navarro counts the occurrences of a pattern in O(r)O(r)O(r) words. Until the work of Gagie, Navarro and Prezza, however, locating those occurrences, i.e. reporting their text positions, required space proportional to n/sn/sn/s for a sampling step sss, which defeats the purpose on repetitive data.

Timeline.

  • 1994: Burrows and Wheeler introduce the transform (DEC SRC Research Report 124).
  • 2000–2005: Ferragina and Manzini build the FM-index, with backward search and the LF mapping (J. ACM 52(4), 2005).
  • 2005: Mäkinen and Navarro give the run-length FM-index, which counts occurrences in O(r)O(r)O(r) words (Nordic J. Computing 12(1), 2005).
  • 2016–2018: Prezza (PhD thesis, Udine, 2016) and Policriti and Prezza (Algorithmica 80(7), 2018) keep one known suffix-array cell, a "toehold", during backward search.
  • 2017–2020: Gagie, Navarro and Prezza show that O(r)O(r)O(r) words suffice to locate every occurrence (arXiv:1705.10382; arXiv:1809.02792; J. ACM 67(1), 2020). This mission formalizes the combinatorial core of that result.

Setting

A text T[1..n]T[1..n]T[1..n] is a sequence over the alphabet [1..σ][1..\sigma][1..σ] whose last symbol T[n]=\=1isthesmallestsymbolandoccursnowhereelse.The∗∗suffixarray∗∗is the smallest symbol and occurs nowhere else. The **suffix array**isthesmallestsymbolandoccursnowhereelse.The∗∗suffixarray∗∗SA[1..n]isthepermutationofis the permutation ofisthepermutationof[1..n]thatliststhesuffixesthat lists the suffixesthatliststhesuffixesT[SA[p]..n]instrictlyincreasinglexicographicorder,andthe∗∗inversesuffixarray∗∗satisfiesin strictly increasing lexicographic order, and the **inverse suffix array** satisfiesinstrictlyincreasinglexicographicorder,andthe∗∗inversesuffixarray∗∗satisfiesSA[ISA[i]]=i. The BWT records the character preceding each sorted suffix, $$BWT[p]=T[SA[p]-1]\ (SA[p]>1),\qquad BWT[p]=T[n]=\\ (SA[p]=1),$$ so that T[0]T[0]T[0] is read as T[n]T[n]T[n]. The LF mapping is the counting formula LF(p)=C[BWT[p]]+rank⁡[p]LF(p)=C[BWT[p]]+\operatorname{rank}[p]LF(p)=C[BWT[p]]+rank[p], where C[c]C[c]C[c] counts BWT symbols smaller than ccc and rank⁡[p]\operatorname{rank}[p]rank[p] counts copies of BWT[p]BWT[p]BWT[p] in BWT[1..p]BWT[1..p]BWT[1..p].

A run is a maximal block of equal consecutive BWT symbols, and rrr is their number. A text position is sampled when its character is the first or last BWT character in its run (Definition 1); at most 2r2r2r positions are sampled. Definition 3 cuts TTT into phrases that begin exactly at the sampled positions. For a text position kkk, the phrase head iii of T[k]T[k]T[k] is the greatest sampled position ≤k\le k≤k. The permutation ϕ(i)=SA[ISA[i]−1]\phi(i)=SA[ISA[i]-1]ϕ(i)=SA[ISA[i]−1] (Definition 2) returns the text position in the preceding suffix-array cell, and the differential arrays are DSA[p]=SA[p]−SA[p−1]DSA[p]=SA[p]-SA[p-1]DSA[p]=SA[p]−SA[p−1] and DISA[i]=ISA[i]−ISA[i−1]DISA[i]=ISA[i]-ISA[i-1]DISA[i]=ISA[i]−ISA[i−1]. A text position starts a phrase of ISAISAISA when ISA[i]ISA[i]ISA[i] is the first position of a run.

Formalization targets

Goal: the identity in the proof of Lemma 3

Let SA[p]=k+1SA[p]=k+1SA[p]=k+1, let iii be the phrase head of T[k]T[k]T[k], let q=ISA[i+1]q=ISA[i+1]q=ISA[i+1], and let N[i]=⟨x,y⟩=⟨SA[q−1],SA[q+1]⟩N[i]=\langle x,y\rangle=\langle SA[q-1],SA[q+1]\rangleN[i]=⟨x,y⟩=⟨SA[q−1],SA[q+1]⟩ be the sample stored at iii. Then

SA[p−1]=x+k−i(p≥2),SA[p+1]=y+k−i(p<n),SA[p-1]=x+k-i\quad(p\ge 2),\qquad SA[p+1]=y+k-i\quad(p<n),SA[p−1]=x+k−i(p≥2),SA[p+1]=y+k−i(p<n),

and q≥2q\ge 2q≥2, q<nq<nq<n respectively, so that N[i]N[i]N[i] is defined.

Milestones

  1. §2.4, p. 9. SA[LF(p)]=SA[p]−1SA[LF(p)]=SA[p]-1SA[LF(p)]=SA[p]−1 for SA[p]>1SA[p]>1SA[p]>1, with LF(p)∈[1..n]LF(p)\in[1..n]LF(p)∈[1..n].
  2. Lemma 12, p. 20. If BWT[p−1]=BWT[p]BWT[p-1]=BWT[p]BWT[p−1]=BWT[p], then LF(p−1)=LF(p)−1LF(p-1)=LF(p)-1LF(p−1)=LF(p)−1 and DSA[LF(p)]=DSA[p]DSA[LF(p)]=DSA[p]DSA[LF(p)]=DSA[p].
  3. Run-free claim, proof of Lemma 3, pp. 12–13. For 0≤t<k−i0\le t<k-i0≤t<k−i, the cells LFt(p−1),LFt(p),LFt(p+1)LF^t(p-1),LF^t(p),LF^t(p+1)LFt(p−1),LFt(p),LFt(p+1) are contiguous and lie in one BWT run.
  4. Lemma 14, p. 23. If iii does not start a phrase of ISAISAISA, then ϕ(i−1)=ϕ(i)−1\phi(i-1)=\phi(i)-1ϕ(i−1)=ϕ(i)−1 and DISA[i]=DISA[ϕ(i)]DISA[i]=DISA[\phi(i)]DISA[i]=DISA[ϕ(i)].

A companion item, from the proof of Lemma 2 (p. 12), states that a BWT interval holding both ccc and a non-ccc symbol contains an occurrence of ccc at the first or last position of a run.

Significance

The goal says that the O(r)O(r)O(r) numbers N[i]N[i]N[i], one pair per sampled position, determine the neighbours of every suffix-array cell, after one predecessor search over the sampled positions. Combined with the toehold of Lemma 2, which provides one known cell inside the interval SA[sp..ep]SA[sp..ep]SA[sp..ep] of a pattern, it lets an index list all occurrences in O(r)O(r)O(r) space. This is the locating half of Theorem 1 of the paper. The same mechanism reappears throughout the paper: Lemma 4 generalises it to sss neighbours, Lemma 5 to the LCP array, and Lemmas 12 and 14 drive the access structures for SASASA and ISAISAISA in §5.

The results are proved in the paper; none of them has a machine-checked proof. The mission contributes a formal model of suffix arrays, BWT, LF and runs that is independent of any data-structure encoding, a checked proof of the LF identity from the counting formula, and the exact correctness statement behind the rrr-index. The handling of the wrap-around phrase (see below) is a case the paper's proof leaves implicit.

Difficulty

The obvious argument follows the three cells p−1,p,p+1p-1,p,p+1p−1,p,p+1 backwards under LF for k−ik-ik−i steps. It rests on two facts that are easy to state and not routine to prove. First, SA[LF(p)]=SA[p]−1SA[LF(p)]=SA[p]-1SA[LF(p)]=SA[p]−1 must be derived from the counting formula C[c]+rank⁡[p]C[c]+\operatorname{rank}[p]C[c]+rank[p]: this is a stable-sorting argument about suffixes that begin with the same symbol, and it uses the uniqueness of \$$. Second, LF must map adjacent cells of a run to adjacent cells, and one must check that the neighbouring cells never leave the run while the middle cell walks from T[k]backtoback tobacktoT[i+1].Thisiswherethechoiceof. This is where the choice of .Thisiswherethechoiceofiasthe∗greatest∗sampledpositionas the *greatest* sampled positionasthe∗greatest∗sampledposition\le kmatters,andalsowherethecaseofnosampledpositioninmatters, and also where the case of no sampled position inmatters,andalsowherethecaseofnosampledpositionin[1..k]needscare.Finally,onemoreLFstepfromneeds care. Finally, one more LF step fromneedscare.Finally,onemoreLFstepfromT[i+1]tototoT[i]producesthecellproduces the cellproducesthecellq,andtheshiftby, and the shift by ,andtheshiftbyk-i$ must be tracked through natural-number arithmetic.

Formalization scope

Positions are 1-based natural numbers, as in the paper. TTT and SASASA are functions N→N\mathbb N\to\mathbb NN→N read only on [1..n][1..n][1..n]. SASASA is a hypothesis, IsSuffixArray: it maps [1..n][1..n][1..n] injectively into [1..n][1..n][1..n] and sorts the suffixes strictly in Lean's lexicographic order on lists. Since \=1isuniqueandsmallest,thisorderagreeswiththepaper′s.BWTandLFaredefinedbytheformulasofp.8,neverbythepropertiesthemilestonesassert.is unique and smallest, this order agrees with the paper's. BWT and LF are defined by the formulas of p. 8, never by the properties the milestones assert.isuniqueandsmallest,thisorderagreeswiththepaper′s.BWTandLFaredefinedbytheformulasofp.8,neverbythepropertiesthemilestonesassert.ISA[i]isisis0ifnocellholdsif no cell holdsifnocellholdsi.SampledpositionsfollowthefirstsentenceofDefinition1(firstorlastinitsrun);thepaper′s"Thatis"clauseomitsthelastcharacterofthefinalrun.. Sampled positions follow the first sentence of Definition 1 (first or last in its run); the paper's "That is" clause omits the last character of the final run. .SampledpositionsfollowthefirstsentenceofDefinition1(firstorlastinitsrun);thepaper′s"Thatis"clauseomitsthelastcharacterofthefinalrun.DSAandandandDISA$ are integer-valued.

Pins and guards:

  • Wrap-around phrase. If no sampled position lies in [1..k][1..k][1..k], the phrase containing T[k]T[k]T[k] began at T[n]=\$$, which is always sampled. Its head is encoded as 0( ((T[0]\equiv T[n]),sothat), so that ),sothatq=ISA[1]isthecellholdingis the cell holdingisthecellholding$.Thegoalcoversthiscase;itdoesnotassumeasampledposition. The goal covers this case; it does not assume a sampled position .Thegoalcoversthiscase;itdoesnotassumeasampledposition\le k$.
  • Neighbours. Each half of the goal and of the run-free claim is guarded by the existence of the neighbour (p≥2p\ge 2p≥2, p<np<np<n).
  • SA[LF(p)]. The identity is stated for SA[p]>1SA[p]>1SA[p]>1; for SA[p]=1SA[p]=1SA[p]=1 it holds only cyclically.
  • Lemma 14. "[i−1..i][i-1..i][i−1..i] within a phrase of ISAISAISA" means that iii does not start a phrase of ISAISAISA, which begin only at run-first cells. Definition 3's phrases begin at run-first and run-last cells; the two parses are kept apart.

The space and time claims of Lemmas 2–3 and Theorem 1 (O(r)O(r)O(r) words, O(log⁡log⁡w(n/r))O(\log\log_w(n/r))O(loglogw​(n/r)) time on a word RAM) are out of scope; the goal is their explicit combinatorial content. Two trivializing formalizations are ruled out: defining LF as "the cell holding SA[p]−1SA[p]-1SA[p]−1", which would make milestone 1 a tautology; and defining the phrase head by iterating LF, which would build the proof into the definition. The phrase head is the maximum of the sampled positions ≤k\le k≤k.

A full development needs elementary facts about lexicographic order on lists, counting over finite intervals, and iterates of LF. The suffix-array and BWT layer is reusable beyond this mission; two parallel missions on the same paper share the same core definitions. Proofs of the milestones in any order are welcome, as are alternative routes, e.g. through Lemma 14 and ϕ\phiϕ for the left half of the goal.

Selected references

  • T. Gagie, G. Navarro, N. Prezza, Fully-Functional Suffix Trees and Optimal Text Searching in BWT-runs Bounded Space, arXiv:1809.02792v2, 2019. https://arxiv.org/abs/1809.02792
  • T. Gagie, G. Navarro, N. Prezza, Fully Functional Suffix Trees and Optimal Text Searching in BWT-Runs Bounded Space, J. ACM 67(1), 2020. https://doi.org/10.1145/3375890
  • T. Gagie, G. Navarro, N. Prezza, Optimal-Time Text Indexing in BWT-runs Bounded Space, arXiv:1705.10382, 2017 (SODA 2018). https://arxiv.org/abs/1705.10382
  • P. Ferragina, G. Manzini, Indexing Compressed Text, J. ACM 52(4):552–581, 2005. https://doi.org/10.1145/1082036.1082039
  • A. Policriti, N. Prezza, LZ77 Computation Based on the Run-Length Encoded BWT, Algorithmica 80(7):1986–2011, 2018. https://doi.org/10.1007/s00453-017-0327-z
  • V. Mäkinen, G. Navarro, Succinct Suffix Arrays Based on Run-Length Encoding, Nordic Journal of Computing 12(1):40–66, 2005 (no DOI).
  • M. Burrows, D. J. Wheeler, A Block Sorting Lossless Data Compression Algorithm, Technical Report 124, Digital Equipment Corporation, 1994 (no DOI).
8 thms1 active userReviewed
Algorithmic Game TheoryOperations ResearchProbability·Captain: mikedeng1

Online Contention Resolution Schemes with Applications to Bayesian Selection Problems 5: A (b, c)-Selectable Greedy OCRS Rounds x ∈ bP to E[f(S)] ≥ c·F(x) for Monotone Submodular fResearch Paper

Motivation

Many online selection problems ask an algorithm to accept or reject items one at a time, irrevocably, while keeping the accepted set feasible: independent in a matroid, a matching in a graph, or within a knapsack budget. In Bayesian versions, such as prophet inequalities and posted-price mechanisms, a fractional point xxx of a relaxation of the feasible sets is available in advance, and each item is active independently with probability xex_exe​. An online contention resolution scheme (OCRS), introduced by Feldman, Svensson and Zenklusen, turns this random active set into a feasible selection as items arrive.

The quality of an OCRS is measured by its selectability: the probability that every element is accepted when it is active, whatever the arrival order. Applications, however, care about the value of the selected set, often a submodular function such as a coverage or a utility with diminishing returns. Theorem 1.10 of the paper is the bridge between the two: a selectability guarantee ccc yields an approximation guarantee ccc for every monotone submodular objective, and c/4c/4c/4 for non-monotone ones, even against an adversary who sees every random outcome before fixing the order. The other four missions of this series construct selectable OCRSs for matroids, matchings and knapsacks and combine them; this mission formalizes what such a guarantee is worth.

The offline counterpart is the theory of contention resolution schemes (CRSs) of Chekuri, Vondrák and Zenklusen (SIAM J. Comput. 2014), whose Theorem 1.3 shows that a monotone balanced CRS rounds the multilinear extension of a submodular function with the balancedness factor. The proof of Theorem 1.10 reduces the online statement to that offline result.

Setting

Let NNN be a finite ground set and F⊆2N\mathcal F\subseteq 2^NF⊆2N a down-closed family of feasible sets. A polytope P⊆[0,1]NP\subseteq[0,1]^NP⊆[0,1]N is a relaxation of F\mathcal FF if it contains exactly the characteristic vectors 1I\mathbf 1_I1I​ with I∈FI\in\mathcal FI∈F among the {0,1}\{0,1\}{0,1}-points. For x∈[0,1]Nx\in[0,1]^Nx∈[0,1]N, the random set R(x)R(x)R(x) contains every eee independently with probability xex_exe​.

A greedy OCRS fixes, for each input xxx, a down-closed family Fx⊆F\mathcal F_x\subseteq\mathcal FFx​⊆F containing ∅\emptyset∅ (deterministically, or drawn from a distribution independent of R(x)R(x)R(x)). The elements then arrive one by one; an arriving active element is selected if, together with the elements already selected, it forms a set in Fx\mathcal F_xFx​. An element eee is selectable for the active set AAA if I∪{e}∈FxI\cup\{e\}\in\mathcal F_xI∪{e}∈Fx​ for every I⊆AI\subseteq AI⊆A with I∈FxI\in\mathcal F_xI∈Fx​. For b,c∈[0,1]b,c\in[0,1]b,c∈[0,1] the OCRS is (b,c)(b,c)(b,c)-selectable if for every x∈bPx\in bPx∈bP and every e∈Ne\in Ne∈N

Pr⁡[I∪{e}∈Fx  ∀I⊆R(x), I∈Fx]≥c.\Pr\big[I\cup\{e\}\in\mathcal F_x\ \ \forall I\subseteq R(x),\ I\in\mathcal F_x\big]\ge c .Pr[I∪{e}∈Fx​  ∀I⊆R(x), I∈Fx​]≥c.

The arrival order is chosen by the almighty adversary, which knows R(x)R(x)R(x), the realized family Fx\mathcal F_xFx​ and every random bit of the algorithm before choosing it.

For f:2N→Rf:2^N\to\mathbb Rf:2N→R, the multilinear extension is F(x)=E[f(R(x))]F(x)=\mathbb E[f(R(x))]F(x)=E[f(R(x))]. The function fff is submodular if f(A∪B)+f(A∩B)≤f(A)+f(B)f(A\cup B)+f(A\cap B)\le f(A)+f(B)f(A∪B)+f(A∩B)≤f(A)+f(B) for all A,BA,BA,B, and monotone if A⊆BA\subseteq BA⊆B implies f(A)≤f(B)f(A)\le f(B)f(A)≤f(B). For a set SSS, S(1/2)S(1/2)S(1/2) keeps every element of SSS independently with probability 1/21/21/2.

An (offline) CRS π\piπ for PPP maps each S⊆NS\subseteq NS⊆N, possibly at random, to a subset π(S)⊆S\pi(S)\subseteq Sπ(S)⊆S with 1π(S)∈P\mathbf 1_{\pi(S)}\in P1π(S)​∈P. It is (b,c)(b,c)(b,c)-balanced if Pr⁡[e∈π(R(x))∣e∈R(x)]≥c\Pr[e\in\pi(R(x))\mid e\in R(x)]\ge cPr[e∈π(R(x))∣e∈R(x)]≥c for x∈bPx\in bPx∈bP and xe>0x_e>0xe​>0, and monotone if Pr⁡[e∈π(S1)]≥Pr⁡[e∈π(S2)]\Pr[e\in\pi(S_1)]\ge\Pr[e\in\pi(S_2)]Pr[e∈π(S1​)]≥Pr[e∈π(S2​)] whenever e∈S1⊆S2e\in S_1\subseteq S_2e∈S1​⊆S2​. The characteristic CRS of a greedy OCRS is πˉ(A)={e∈A:e selectable for A}\bar\pi(A)=\{e\in A : e \text{ selectable for } A\}πˉ(A)={e∈A:e selectable for A}.

Formalization targets

Goal: Theorem 1.10

Let PPP be a relaxation of F\mathcal FF, let π\piπ be a (b,c)(b,c)(b,c)-selectable greedy OCRS for PPP, let x∈bPx\in bPx∈bP, and let f≥0f\ge0f≥0 be submodular. Against every almighty adversary, the selected set SSS satisfies

E[f(S)]≥c⋅F(x)if f is monotone,E[f(S(1/2))]≥c4⋅F(x)in general,\mathbb E[f(S)]\ge c\cdot F(x)\quad\text{if } f \text{ is monotone},\qquad \mathbb E[f(S(1/2))]\ge \frac c4\cdot F(x)\quad\text{in general},E[f(S)]≥c⋅F(x)if f is monotone,E[f(S(1/2))]≥4c​⋅F(x)in general,

where in the second case the coins defining S(1/2)S(1/2)S(1/2) are known to the adversary. The constants are the paper's and are not parameters to be improved here.

Milestones

  1. Observation 3.3: for every greedy family, active set and order, πˉ(A)\bar\pi(A)πˉ(A) is contained in the selected set.
  2. The remark after Definition 3.2: πˉ\bar\piπˉ is a CRS for PPP.
  3. Lemma 3.4: the characteristic CRS of a (b,c)(b,c)(b,c)-selectable greedy OCRS is (b,c)(b,c)(b,c)-balanced and monotone.
  4. Lemma 3.5 (from Chekuri–Vondrák–Zenklusen): for every non-negative submodular fff there is a pruning map ηf\eta_fηf​, with ηf(S)⊆S\eta_f(S)\subseteq Sηf​(S)⊆S, such that E[f(ηf(π(R(x))))]≥c⋅F(x)\mathbb E[f(\eta_f(\pi(R(x))))]\ge c\cdot F(x)E[f(ηf​(π(R(x))))]≥c⋅F(x) for every monotone (b,c)(b,c)(b,c)-balanced CRS π\piπ and every x∈bPx\in bPx∈bP.
  5. Lemma 3.6 (Feige–Mirrokni–Vondrák, Lemma 2.2): if Tp⊆TT_p\subseteq TTp​⊆T contains every element of TTT with probability ppp, not necessarily independently, then E[g(Tp)]≥(1−p)g(∅)+p g(T)\mathbb E[g(T_p)]\ge(1-p)g(\emptyset)+p\,g(T)E[g(Tp​)]≥(1−p)g(∅)+pg(T) for submodular ggg.
  6. Lemma 3.7 (Buchbinder–Feldman–Naor–Schwartz, Lemma 2.2): if NpN_pNp​ contains every element with probability at most ppp, then E[g(Np)]≥(1−p)g(∅)\mathbb E[g(N_p)]\ge(1-p)g(\emptyset)E[g(Np​)]≥(1−p)g(∅) for non-negative submodular ggg.

Significance

Theorem 1.10 is what makes selectability useful. Combined with the paper's OCRSs for matroids, matchings and knapsacks (Theorem 1.8) and the combination rule (Theorem 1.9), it gives constant-factor online algorithms for submodular objectives under intersections of these constraints, and through them the paper's applications to prophet inequalities, posted-price mechanisms and stochastic probing. The guarantee holds against the strongest adversary considered, so it applies whatever arrival order the application imposes.

The theorem and its proof are published; none of the statements of this mission has a machine-checked proof. Formalizing it produces a reusable interface between online and offline contention resolution, and machine-checked versions of two standard lemmas on correlated random subsets of submodular functions (Lemmas 3.6 and 3.7) used throughout submodular maximization. Lemma 3.5 is the substantial imported ingredient: its formal proof amounts to formalizing the rounding theorem of Chekuri, Vondrák and Zenklusen for non-monotone objectives.

Difficulty

The first idea is to compare the online selection directly with F(x)F(x)F(x) element by element: each element is selected with probability at least c xec\,x_ecxe​. For a linear objective this suffices. For a submodular objective it does not, because the marginal value of an element depends on which other elements are selected, and the adversary controls this through the order. The reduction to the characteristic CRS removes the order, but the offline rounding result (Lemma 3.5) then needs the full CRS machinery, including a pruning step that depends on fff alone.

For non-monotone fff, selecting extra elements can lose value, and the adversary decides which elements beyond πˉ(A)\bar\pi(A)πˉ(A) are selected, after seeing the coins. Controlling this requires the correlated-sampling bounds of Lemmas 3.6 and 3.7 rather than independence.

Formalization scope

The ground set is a finite type α : Type with decidable equality; sets are Finset α; vectors are α → ℝ. All probabilities and expectations are exact finite sums of product weights, without measure theory. bPbPbP is the pointwise scaling b • P, which handles b=0b=0b=0. The multilinear extension and submodularity are the published definitions NonmonotoneSubmod.Shared.F and NonmonotoneSubmod.Shared.Submodular.

A randomized greedy OCRS is a weight function on families Finset (Finset α), a CRS a weight function on maps Finset α → Finset α; a deterministic OCRS is a point mass. The almighty adversary is any function from the realized family and active set (and, in part 2, the coin set CCC, with S(1/2)=S∩CS(1/2)=S\cap CS(1/2)=S∩C and CCC uniform and independent of everything else) to an order listing every element once. The standing assumptions of Definition 1.3 are explicit hypotheses: F\mathcal FF down-closed, PPP a polytope contained in [0,1]N[0,1]^N[0,1]N and a relaxation of F\mathcal FF, and b,c∈[0,1]b,c\in[0,1]b,c∈[0,1]. A polytope is encoded as the convex hull of finitely many vectors. Every greedy family contains ∅\emptyset∅, so the empty family cannot make every element vacuously selectable, and the inputs x∈bPx\in bPx∈bP lie in [0,1]N[0,1]^N[0,1]N, so the product weights are probabilities.

Definition 3.1 is printed with "≥c⋅xe\ge c\cdot x_e≥c⋅xe​"; the formalization uses "≥c\ge c≥c", as the proof of Lemma 3.4 and Definition 4.5 do. Lemma 3.5 keeps the paper's quantifier order: ηf\eta_fηf​ is fixed before PPP, bbb, ccc, π\piπ and xxx.

Welcome contributions: proofs of the milestones in any order; Lemmas 3.6 and 3.7 are self-contained and reusable; Lemma 3.5 may be split further along the proof of Chekuri–Vondrák–Zenklusen.

Selected references

  • M. Feldman, O. Svensson, R. Zenklusen, Online Contention Resolution Schemes, arXiv:1508.00142v2, 2015; Online Contention Resolution Schemes with Applications to Bayesian Selection Problems, SIAM J. Comput. 50(2), 2021. https://arxiv.org/abs/1508.00142v2
  • C. Chekuri, J. Vondrák, R. Zenklusen, Submodular Function Maximization via the Multilinear Relaxation and Contention Resolution Schemes, SIAM J. Comput. 43(6), 2014. https://doi.org/10.1137/110839655
  • U. Feige, V. Mirrokni, J. Vondrák, Maximizing Non-Monotone Submodular Functions, SIAM J. Comput. 40(4), 2011. https://doi.org/10.1137/090779346
  • N. Buchbinder, M. Feldman, J. Naor, R. Schwartz, Submodular Maximization with Cardinality Constraints, SODA 2014. https://doi.org/10.1137/1.9781611973402.106
12 thms1 active userReviewed
Algorithmic Game TheoryOperations ResearchProbability·Captain: mikedeng1

Online Contention Resolution Schemes with Applications to Bayesian Selection Problems 4: Intersecting the Families of (b, c₁)- and (b, c₂)-Selectable Greedy OCRSs Is (b, c₁c₂)-SelectableResearch Paper

Motivation

Online selection problems ask an algorithm to accept or reject elements as they arrive, while keeping the accepted set feasible. The decisions are irrevocable, and the arrival order can be chosen after the random activity of the elements is known. A guarantee for one constraint is therefore useful only if it remains meaningful when several constraints apply at once. In Feldman, Svensson and Zenklusen's paper, the constraints include matroid independence, matching, and knapsack capacity. A set satisfying two such requirements lies in the intersection of their feasible families. Theorem 1.9 establishes how their online guarantees combine: the two selectability factors multiply.

The result belongs to a sequence of statements in the paper. The authors first define greedy online contention resolution schemes and their selectability guarantee in Definitions 1.3–1.5. They then state the combination theorem in the introduction and identify the intersection construction in Definition 2.10. Lemma 2.11 supplies the precise selectability assertion for that construction. This mission isolates those claims so that later formalizations of specific constraints can reuse them without repeating the probability argument.

Setting

Let NNN be a finite ground set and F⊆2N\mathcal F\subseteq 2^NF⊆2N a family of feasible sets. A fractional point x∈[0,1]Nx\in[0,1]^Nx∈[0,1]N determines a random active set R(x)R(x)R(x): each e∈Ne\in Ne∈N belongs to R(x)R(x)R(x) independently with probability xex_exe​. Thus a particular set A⊆NA\subseteq NA⊆N has weight

Pr⁡[R(x)=A]=∏e∈Axe∏e∉A(1−xe).\Pr[R(x)=A]=\prod_{e\in A}x_e\prod_{e\notin A}(1-x_e).Pr[R(x)=A]=e∈A∏​xe​e∈/A∏​(1−xe​).

A greedy online contention resolution scheme, or greedy OCRS, chooses a down-closed family Gx⊆F\mathcal G_x\subseteq\mathcal FGx​⊆F. As active elements arrive, it accepts an element when adding that element to those already accepted remains in Gx\mathcal G_xGx​. In a randomized scheme, the choice of Gx\mathcal G_xGx​ is random and independent of R(x)R(x)R(x). The family contains the empty set, as the procedure begins with no accepted elements.

An element eee is selectable for a realized active set AAA and family Gx\mathcal G_xGx​ if every I⊆AI\subseteq AI⊆A with I∈GxI\in\mathcal G_xI∈Gx​ still permits eee: I∪{e}∈GxI\cup\{e\}\in\mathcal G_xI∪{e}∈Gx​. This condition covers every possible set that might have been accepted before eee arrives. A greedy OCRS is (b,c)(b,c)(b,c)-selectable for a relaxation PPP when the probability of this event is at least ccc for every x∈bPx\in bPx∈bP and every e∈Ne\in Ne∈N. The probability includes both draws when the family is randomized. Here b,c∈[0,1]b,c\in[0,1]b,c∈[0,1] and bP={by:y∈P}bP=\{by:y\in P\}bP={by:y∈P}.

For two feasible families F1,F2\mathcal F_1,\mathcal F_2F1​,F2​, the combination of their greedy OCRSs independently draws G1,x\mathcal G_{1,x}G1,x​ and G2,x\mathcal G_{2,x}G2,x​, then uses Gx=G1,x∩G2,x\mathcal G_x=\mathcal G_{1,x}\cap\mathcal G_{2,x}Gx​=G1,x​∩G2,x​. This is a family of sets satisfying both constraints. The proof also uses χe(A,F,F′)\chi_e(A,F,F')χe​(A,F,F′), the indicator that I∪{e}∈FI\cup\{e\}\in FI∪{e}∈F for every I⊆AI\subseteq AI⊆A lying in F′F'F′. For selectability itself, F′=FF'=FF′=F.

Formalization targets

Goal: Theorem 1.9

For P1,P2⊆[0,1]NP_1,P_2\subseteq[0,1]^NP1​,P2​⊆[0,1]N, let the first scheme be (b,c1)(b,c_1)(b,c1​)-selectable and the second (b,c2)(b,c_2)(b,c2​)-selectable. The mission asks for a greedy OCRS on the intersection with

Pr⁡[e selectable at x]≥c1c2for all x∈b(P1∩P2), e∈N.\Pr[e\text{ selectable at }x]\ge c_1c_2 \quad\text{for all }x\in b(P_1\cap P_2),\ e\in N.Pr[e selectable at x]≥c1​c2​for all x∈b(P1​∩P2​), e∈N.

The target records existence of the combined scheme, independent of a particular proof of its selectability. The paper also claims preservation of polynomial-time efficiency; the finite mathematical model here does not assign a complexity measure to a family sampler or membership oracle, so that clause is outside this target.

Construction: Lemma 2.11

The lemma names the combined scheme: independently draw both greedy families and use their intersection. It asserts the same (b,c1c2)(b,c_1c_2)(b,c1​c2​) bound for that specific scheme. The earlier milestones record the two order properties of χe\chi_eχe​ and the finite product-measure correlation inequality appearing in the lemma's proof. Their statements keep the original quantifiers over active sets and families visible.

Significance

The theorem turns guarantees for individual constraints into a guarantee for simultaneous constraints. If a matroid scheme and a matching scheme meet the same scale parameter bbb, their intersection is governed by the product of their selectability factors. The factor loss is explicit, which lets subsequent algorithmic results track it without redefining the combined scheme. The lemma additionally fixes the actual distribution over intersected families, avoiding ambiguity about how two randomized procedures are coupled.

Mathlib already provides a general finite FKG inequality, but it does not state the paper's OCRS objects, the selectable event, or the intersection theorem. This mission adds those interfaces and the specialized correlation statement. The source results are proved in the cited paper; the local theorem files in this proposal are statements for later machine-checked proofs. A complete formalization would connect the finite active-set weights to Mathlib's lattice correlation theorem and then establish the randomized family bookkeeping. The finite probability definitions can also serve other OCRS results in the same paper.

Difficulty

The obvious argument would multiply the two probabilities that eee is selectable for the separate families. Both events depend on the same active set R(x)R(x)R(x), so they are not independent even when the families are drawn independently. Moreover, selectability for the intersection checks only sets belonging to both families, whereas the original bounds check each family separately. The formal statements must keep these two dependencies distinct. The paper's two monotonicity claims and its FKG display identify the needed intermediate assertions, but their use with an arbitrary random choice of families still requires careful finite-sum reasoning.

Formalization scope

The ground set is a finite Lean type and subsets are Finsets. Feasibility is a predicate on those finite sets. Fractional points are real-valued functions, and each input relaxation is represented as a set of such functions with an explicit coordinate bound 0≤ye≤10\le y_e\le10≤ye​≤1. The scale and selectability parameters belong to [0,1][0,1][0,1]. The point xxx ranges over b(P1∩P2)b(P_1\cap P_2)b(P1​∩P2​), not over an independently chosen intersection of scaled sets, so the case b=0b=0b=0 retains the paper's meaning. The finite products define the law of R(x)R(x)R(x); no measure-theoretic integral is used.

A randomized scheme is a probability weight on possible greedy families for every input point. The combined weight is the product of the two original weights summed over pairs with the required intersection, expressing independent draws. The family distribution is independent of the active-set draw. This sampling convention is necessary for the stated product guarantee and is made explicit here although Definition 2.10 does not spell it out. Each greedy family contains ∅\varnothing∅ and lies in its own feasible family. These requirements exclude the empty-family and unconstrained-family encodings that would make selectability trivial. The unit-cube bounds prevent negative active-set weights.

The Lean declarations focus on the finite selectability guarantee. They abstract a polytope by its set of fractional points and use the paper's unit-cube condition; they do not formalize a polyhedral representation or test that its binary points equal the feasible sets. A full development of the paper's algorithmic setting would additionally represent online arrival orders, family sampling algorithms, membership oracles, and polynomial running time. Contributions establishing the finite probability lemmas, the specialized FKG statement, and Lemma 2.11 are directly useful here. The general active-set and selectability definitions are reusable across the paper's other missions.

Selected references

  • Moran Feldman, Ola Svensson and Rico Zenklusen, Online Contention Resolution Schemes, arXiv preprint, 2015, arXiv:1508.00142v2. Definitions 1.3–1.5, Theorem 1.9, Definition 2.10 and Lemma 2.11.
  • Moran Feldman, Ola Svensson and Rico Zenklusen, Online Contention Resolution Schemes with Applications to Bayesian Selection Problems, SIAM Journal on Computing 50(2), 2021, DOI:10.1137/18M1226130. The mission's statement indices follow the arXiv version above.
7 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Online Contention Resolution Schemes with Applications to Bayesian Selection Problems 3: A Knapsack Polytope Has a (b, (1−2b)/(2−2b))-Selectable Randomized Greedy OCRS for b ≤ 1/2Research Paper

Motivation

In online selection, useful items arrive one at a time and must be accepted or rejected before the next arrival. A knapsack constraint limits the total size of accepted items to one unit. When the order may depend on all of the random outcomes, an algorithm needs a guarantee that survives every such order. Feldman, Svensson, and Zenklusen introduced online contention resolution schemes (OCRSs) to provide this guarantee for fractional relaxations of selection problems. Their knapsack theorem gives an explicit guarantee for a randomized greedy scheme and contrasts with a size-dependent obstruction for deterministic greedy schemes (Feldman–Svensson–Zenklusen, §2.3).

The knapsack result is one of the three concrete existence results summarized in Theorem 1.8 of the paper. The surrounding framework is designed to convert fractional solutions into feasible online selections under an almighty adversary, who knows the active items and the scheme's random choices before choosing their arrival order. This makes the selectability requirement stronger than a performance claim for one fixed order (Feldman–Svensson–Zenklusen, Definitions 1.3–1.5).

Setting

Let NNN be a finite ground set. Each element e∈Ne\in Ne∈N has a size se∈[0,1]s_e\in[0,1]se​∈[0,1]. A subset I⊆NI\subseteq NI⊆N is feasible when its total size is at most one. The natural fractional polytope is

P={x∈[0,1]N:∑e∈Nsexe≤1}.P=\left\{x\in[0,1]^N:\sum_{e\in N}s_ex_e\le1\right\}.P={x∈[0,1]N:e∈N∑​se​xe​≤1}.

For a vector x∈[0,1]Nx\in[0,1]^Nx∈[0,1]N, the random active set R(x)R(x)R(x) includes each element eee independently with probability xex_exe​. A greedy family FxF_xFx​ is a downward-closed family of feasible subsets. The online rule accepts an active arriving element when adding it to the accepted set keeps that set inside FxF_xFx​. A randomized greedy OCRS chooses the family at random, independently of R(x)R(x)R(x). The paper studies the probability that an element eee is selectable: for every possible accepted set I⊆R(x)I\subseteq R(x)I⊆R(x) with I∈FxI\in F_xI∈Fx​, the enlarged set I∪{e}I\cup\{e\}I∪{e} still belongs to FxF_xFx​. Such an event makes eee acceptable regardless of the arrival order (Feldman–Svensson–Zenklusen, §1.1).

Write bP={bp:p∈P}bP=\{bp:p\in P\}bP={bp:p∈P}. An OCRS is (b,c)(b,c)(b,c)-selectable when, for every x∈bPx\in bPx∈bP and every e∈Ne\in Ne∈N, the probability that eee is selectable is at least ccc. The paper divides elements at size 1/21/21/2: Nbig={e:se>1/2}N_{\mathrm{big}}=\{e:s_e>1/2\}Nbig​={e:se​>1/2}, while equality belongs to the small elements. Its construction randomly chooses between the feasible subsets using only big elements and those using only small elements (Feldman–Svensson–Zenklusen, proof of Theorem 2.9).

Formalization targets

Main theorem

Theorem 2.9 asserts that for every b∈[0,1/2]b\in[0,1/2]b∈[0,1/2] and every such knapsack polytope, a randomized greedy OCRS exists with

c=1−2b2−2b.c=\frac{1-2b}{2-2b}.c=2−2b1−2b​.

The goal quantifies over every finite ground set and every allowed size vector. At the endpoint b=1/2b=1/2b=1/2, the claimed lower bound is zero; at b=0b=0b=0, it is 1/21/21/2. The denominator remains positive throughout the stated interval. The goal is an existence statement; its witnesses are arbitrary randomized greedy families meeting the definition, so the paper's particular construction is named separately in the supporting definitions (Feldman–Svensson–Zenklusen, Theorem 2.9, p. 14).

Supporting targets

The milestones include the paper's bound 0≤bbig≤b0\le b_{\mathrm{big}}\le b0≤bbig​≤b for bbig=∑e∈Nbigsexeb_{\mathrm{big}}=\sum_{e\in N_{\mathrm{big}}}s_ex_ebbig​=∑e∈Nbig​​se​xe​, the big and small element selectability bounds for the paper's construction, and Proposition 2.8. That proposition says that, for every ground-set size n≥1n\ge1n≥1, some knapsack constraint defeats every deterministic greedy OCRS whenever c>(1−b)n−1c>(1-b)^{n-1}c>(1−b)n−1 for b∈[0,1]b\in[0,1]b∈[0,1] (Feldman–Svensson–Zenklusen, §2.3, pp. 14–15).

Significance

The theorem supplies a concrete selectable OCRS for the natural fractional knapsack relaxation. Its guarantee applies to every element and every fractional point in bPbPbP, under the paper's strongest arrival-order adversary. Proposition 2.8 explains why randomization matters here: a deterministic greedy scheme cannot retain an analogous positive constant independent of the number of elements on every knapsack instance. These results serve as the knapsack component in the paper's broader OCRS framework and can be combined with schemes for other constraints in the paper's later combination result (Feldman–Svensson–Zenklusen, Theorem 1.9).

The mathematical theorem and proposition have proofs in the cited paper. This mission asks for machine-checked proofs of their formal statements and of the stated intermediate bounds. The current draft declarations contain proof placeholders; compilation establishes only that their statements and definitions are well formed. A completed development would also leave reusable finite active-set probabilities, greedy-family predicates, and explicit knapsack constructions for later online-rounding work.

Difficulty

A family that contains every feasible subset is not automatically useful for online selection: one active set may contain several subsets whose accepted elements block the tested element. The requirement quantifies over every feasible accepted subset of the realized active set, reflecting the almighty adversary rather than a fixed order. In a knapsack, elements larger than one half behave differently from smaller ones, and a single deterministic family cannot give a ground-set-independent selectability guarantee on all instances. The randomized construction must assign valid probabilities to its two families and obtain the same lower bound in both size regimes (Feldman–Svensson–Zenklusen, Proposition 2.8 and Theorem 2.9).

Formalization scope

The Lean ground set is a finite type, and subsets are Finsets. The polytope is the set of real vectors satisfying both the box inequalities and the unit-capacity inequality. The feasible family uses the same sizes and unit capacity. Active-set and family-choice probabilities are finite sums, with independent Bernoulli factors for R(x)R(x)R(x). The scaling bPbPbP is pointwise set scalar multiplication, so the case b=0b=0b=0 retains its intended meaning. The size assumptions se∈[0,1]s_e\in[0,1]se​∈[0,1] and the ranges of bbb are explicit theorem hypotheses. No nonemptiness assumption is added to the ground set; the statements include the empty case.

The greedy-family definition requires the empty set, making it impossible to satisfy selectability by using an empty family. Every family chosen with positive probability is downward closed and consists of feasible sets. The polytope's box constraints keep every active-set weight a probability. The construction's mixing probability is used exactly on x∈bPx\in bPx∈bP; on other vectors its totalized value chooses the small family, where the paper makes no performance claim. The two branch weights are added if their families coincide, as they can on an empty ground set.

One display on page 15 includes the tested element in a load sum, while the next displayed equality treats that element as excluded. The pointwise supporting item uses the excluded-element form needed for the stated argument; the printed display is preserved in the milestone quotation and the discrepancy is detailed in MODERATION_NOTES.md. Contributions toward either size regime, the finite probability bounds, or the deterministic obstruction are welcome. The finite probability and greedy-family definitions are the parts most directly reusable beyond knapsack.

Selected references

  • Moran Feldman, Ola Svensson, and Rico Zenklusen, Online Contention Resolution Schemes, arXiv:1508.00142v2, 2015, §1.1 and §2.3, pp. 2–4 and 14–15. arXiv.
8 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Finding Cliques in Social Networks: A New Distribution-Free Model 1: Every Weakly c-Closed Graph on n Vertices Has at Most 3^((c−1)/3)·n² Maximal CliquesResearch Paper

Motivation

Social networks exhibit triadic closure: two people with a common friend are more likely to be friends themselves than two people chosen at random, and the more common friends they have, the more likely they are to be connected. The principle goes back to sociology (Granovetter 1973) and is documented on large network data sets (see the Enron e-mail graph in Figure 1 of Fox, Roughgarden, Seshadhri, Wei and Wein).

A common computational task on such networks is to list all maximal cliques, the groups of mutually connected vertices that cannot be enlarged. On an arbitrary graph this is hopeless in the worst case: Moon and Moser showed in 1965 that an nnn-vertex graph can have 3n/33^{n/3}3n/3 maximal cliques, and that no graph has more (Moon and Moser 1965). Yet clique enumeration on real social networks runs quickly. Fox, Roughgarden, Seshadhri, Wei and Wein proposed a distribution-free graph class, defined by a coarse form of triadic closure, on which the worst case is provably polynomial. This mission formalizes their first bound, for the class of weakly ccc-closed graphs (Theorem 2.2 of the paper, also stated as Theorem 1.5), together with the peeling argument that proves it.

Setting

All graphs are finite, simple and undirected. For a graph GGG with vertex set VVV and a vertex vvv, N(v)N(v)N(v) is the set of neighbours of vvv; for W⊆VW \subseteq VW⊆V, G[W]G[W]G[W] is the subgraph induced by WWW. The common neighbours of two vertices u,vu, vu,v are the vertices of N(u)∩N(v)N(u) \cap N(v)N(u)∩N(v).

  • ccc-closed graph (Definition 1.1). For a positive integer ccc, GGG is ccc-closed if every two distinct vertices with at least ccc common neighbours are adjacent. A 1-closed graph is a disjoint union of cliques; every graph on nnn vertices is (n−1)(n-1)(n−1)-closed.
  • Bad pair (Definition 1.2). Given ccc, a bad pair of a graph is a pair of distinct, non-adjacent vertices with at least ccc common neighbours. A graph is ccc-closed exactly when it has no bad pair.
  • Weakly ccc-closed graph (Definition 1.3). A graph on nnn vertices is weakly ccc-closed if its vertices can be ordered v1,…,vnv_1, \dots, v_nv1​,…,vn​ so that for every iii, the vertex viv_ivi​ is in no bad pair of the induced subgraph G[{vi,vi+1,…,vn}]G[\{v_i, v_{i+1}, \dots, v_n\}]G[{vi​,vi+1​,…,vn​}]. Common neighbours are counted inside that subgraph.
  • Maximal clique. A clique is a set of pairwise adjacent vertices. It is maximal if no other vertex can be added to it. Write mc(G)\mathrm{mc}(G)mc(G) for the number of maximal cliques of GGG and mc(G[W])\mathrm{mc}(G[W])mc(G[W]) for that of an induced subgraph. The paper writes F(n,c)F(n,c)F(n,c) for the largest value of mc(G)\mathrm{mc}(G)mc(G) over ccc-closed graphs GGG on nnn vertices.

Every ccc-closed graph is weakly ccc-closed, but not conversely. The paper's example: a clique on kkk vertices with one edge {u,v}\{u,v\}{u,v} removed is not ccc-closed for any c<k−2c < k-2c<k−2, but it is weakly 1-closed (order uuu and vvv last).

In the Lean development these objects are IsCClosed, IsBadPairIn, IsWeaklyCClosed, maxCliquesIn, numMaxCliquesIn and numMaxCliques, in the namespace CClosedGraphs.Peeling.

Formalization targets

Goal: Theorem 2.2

For all positive integers ccc and nnn, every weakly ccc-closed graph GGG on nnn vertices satisfies

mc(G)≤3(c−1)/3 n2.\mathrm{mc}(G) \le 3^{(c-1)/3}\, n^2 .mc(G)≤3(c−1)/3n2.

Milestones

The milestones follow the proof of Theorem 2.1 in §2.1 and the remark that extends it to Theorem 2.2. Fix a graph, an induced subgraph G[W]G[W]G[W] and a vertex v∈Wv \in Wv∈W. A maximal clique KKK of G[W]G[W]G[W] is of type 1 if v∉Kv \notin Kv∈/K, of type 2 if v∈Kv \in Kv∈K and K∖{v}K \setminus \{v\}K∖{v} is maximal in G[W∖{v}]G[W \setminus \{v\}]G[W∖{v}], and of type 3 otherwise.

  1. Moon–Moser bound (cited as [45], p. 7): mc(G[W])≤3∣W∣/3\mathrm{mc}(G[W]) \le 3^{|W|/3}mc(G[W])≤3∣W∣/3.
  2. Types 1 and 2 (p. 6): there are at most mc(G[W∖{v}])\mathrm{mc}(G[W \setminus \{v\}])mc(G[W∖{v}]) of them.
  3. Type-3 structure (p. 7, properties A–C): for a type-3 clique KKK there is u∈W∖(N(v)∪{v})u \in W \setminus (N(v) \cup \{v\})u∈W∖(N(v)∪{v}) such that K∖{v}K \setminus \{v\}K∖{v} is a maximal clique of G[W∩N(v)∩N(u)]G[W \cap N(v) \cap N(u)]G[W∩N(v)∩N(u)].
  4. Inequality (1) (p. 7): the number of type-3 cliques is at most ∑u∈W∖(N(v)∪{v})mc(G[W∩N(u)∩N(v)])\sum_{u \in W \setminus (N(v)\cup\{v\})} \mathrm{mc}(G[W \cap N(u) \cap N(v)])∑u∈W∖(N(v)∪{v})​mc(G[W∩N(u)∩N(v)]).
  5. One-vertex recursion (pp. 7–8): if vvv is in no bad pair of G[W]G[W]G[W], then mc(G[W])≤mc(G[W∖{v}])+3(c−1)/3∣W∣\mathrm{mc}(G[W]) \le \mathrm{mc}(G[W \setminus \{v\}]) + 3^{(c-1)/3}|W|mc(G[W])≤mc(G[W∖{v}])+3(c−1)/3∣W∣.
  6. Theorem 2.1 (p. 6): every ccc-closed graph on n≥1n \ge 1n≥1 vertices has mc(G)≤3(c−1)/3n2\mathrm{mc}(G) \le 3^{(c-1)/3} n^2mc(G)≤3(c−1)/3n2.

Significance

For fixed ccc, the theorem makes the number of maximal cliques of a weakly ccc-closed graph polynomial in nnn, against 3n/33^{n/3}3n/3 for general graphs. Since all maximal cliques can be listed in polynomial time per clique, this makes maximal-clique enumeration fixed-parameter tractable in ccc on the class. The paper's Theorem 2.3 turns the proof into an enumeration algorithm. Weak ccc-closure is the version that matters in practice: Table 1 of the paper reports social networks with thousands of vertices that are weakly ccc-closed for modest ccc while being ccc-closed only for much larger ccc. The bound is the starting point of the paper's sharper Theorem 3.1 (4(c+4)(c−1)/2n2−21−c4^{(c+4)(c-1)/2} n^{2-2^{1-c}}4(c+4)(c−1)/2n2−21−c) and its lower bound Theorem 4.1, which are separate missions of this series.

The result is proved in the paper, and the proof is short. No machine-checked proof of it or of the Moon–Moser bound exists in Mathlib at the pinned revision or on Prove2Me. This mission produces both, together with a reusable vocabulary for counting maximal cliques of induced subgraphs. Proofs of the sharp Moon–Moser values, or of the sharper ∣W∣−1|W|-1∣W∣−1 in the recursion, are welcome as further contributions but are not milestones.

Difficulty

The counting argument is elementary. The work lies in two places. First, the Moon–Moser bound 3k/33^{k/3}3k/3 is not in Mathlib and needs its own proof, and its exponential bound must be handled with real powers. Second, the type decomposition must be handled exactly: a type-3 clique KKK is charged to a pair (u,K∖{v})(u, K \setminus \{v\})(u,K∖{v}), and the charge has to be injective while uuu ranges over all vertices outside N(v)∪{v}N(v) \cup \{v\}N(v)∪{v}. The degenerate cases are real. When vvv is isolated in G[W]G[W]G[W] and W≠{v}W \ne \{v\}W={v}, the clique {v}\{v\}{v} is of type 3 and K∖{v}=∅K \setminus \{v\} = \varnothingK∖{v}=∅. The peeling for weakly ccc-closed graphs must also follow the given vertex ordering, with closure checked in the shrinking induced subgraphs rather than in GGG.

Formalization scope

  • Graphs on nnn vertices are SimpleGraph (Fin n). Auxiliary statements are generic over a finite type with decidable equality.
  • The weakly closed ordering is a permutation σ\sigmaσ of Fin n with vi=σ(i)v_i = \sigma(i)vi​=σ(i). The set {vi,…,vn}\{v_i, \dots, v_n\}{vi​,…,vn​} is {x:i≤σ−1(x)}\{x : i \le \sigma^{-1}(x)\}{x:i≤σ−1(x)}.
  • Common-neighbour counts are Set.ncard, which is exact on a finite type. "At least ccc" is c≤∣⋅∣c \le |\cdot|c≤∣⋅∣, not c<∣⋅∣c < |\cdot|c<∣⋅∣.
  • Maximal cliques of G[W]G[W]G[W] are counted as finite vertex sets K⊆WK \subseteq WK⊆W of the ambient type that are maximal among cliques contained in WWW. Removing vvv from the current graph G[W]G[W]G[W] is G[W∖{v}]G[W \setminus \{v\}]G[W∖{v}], and G[N(v)∩N(u)]G[N(v) \cap N(u)]G[N(v)∩N(u)] is G[W∩N(v)∩N(u)]G[W \cap N(v) \cap N(u)]G[W∩N(v)∩N(u)].
  • All bounds are real numbers: 3(c−1)/33^{(c-1)/3}3(c−1)/3 and 3∣W∣/33^{|W|/3}3∣W∣/3 are real powers.
  • The hypotheses c≥1c \ge 1c≥1 and n≥1n \ge 1n≥1 are on the page. The second is needed, since the graph with no vertices has one maximal clique, the empty one.
  • No hypothesis is added relative to the paper. In property C, "u∉N(v)u \notin N(v)u∈/N(v)" is read as u∉N(v)∪{v}u \notin N(v) \cup \{v\}u∈/N(v)∪{v}, as in Figure 2 and in (1).
  • The paper's F(⋅,c)F(\cdot, c)F(⋅,c) is a maximum over graphs. The milestones use the actual count of the relevant induced subgraph instead, which is at most FFF; the goals bound the count for every graph in the class, which is the same content.

Three trivializing readings are ruled out. The count is of maximal cliques, not of all cliques or of cliques of a given size. A bad pair needs at least ccc common neighbours, not more than ccc. In the weakly closed definition, common neighbours are counted inside {vi,…,vn}\{v_i, \dots, v_n\}{vi​,…,vn​}, not in GGG; counting them in GGG would make the hypothesis stronger and the theorem weaker.

A complete development needs a Moon–Moser lemma for induced subgraphs, the injections behind milestones 2 and 4, and a peeling induction over a vertex ordering. The first two are reusable for any maximal-clique counting argument. The induced-subgraph counts numMaxCliquesIn are also used by the later missions of this series, which repeat the definitions in their own namespaces.

Selected references

  • J. Fox, T. Roughgarden, C. Seshadhri, F. Wei, N. Wein, Finding cliques in social networks: a new distribution-free model, arXiv:1804.07431v1, 2018; SIAM Journal on Computing 49(2), 2020. https://arxiv.org/abs/1804.07431v1, https://doi.org/10.1137/18M1210459
  • J. W. Moon, L. Moser, On cliques in graphs, Israel Journal of Mathematics 3, 23–28, 1965. https://doi.org/10.1007/BF02760024
  • M. S. Granovetter, The strength of weak ties, American Journal of Sociology 78(6), 1360–1380, 1973. https://doi.org/10.1086/225469
  • E. Tomita, A. Tanaka, H. Takahashi, The worst-case time complexity for generating all maximal cliques and computational experiments, Theoretical Computer Science 363(1), 28–42, 2006. https://doi.org/10.1016/j.tcs.2006.06.015
8 thms1 active userReviewed
Algorithmic Game TheoryOperations ResearchProbability·Captain: mikedeng1

Online Contention Resolution Schemes with Applications to Bayesian Selection Problems 1: Every Loopless Matroid Polytope Has a (b, 1−b)-Selectable Deterministic Greedy OCRSResearch Paper

Motivation

In online selection, items reveal information one at a time, and each decision to accept an item is irrevocable. A matroid constraint permits some subsets and excludes others; it covers choices such as selecting linearly independent vectors or acyclic edges. A fractional solution can assign an acceptance probability to each item, but independent activations can produce a set that violates the constraint. An online contention resolution scheme (OCRS) turns these activations into a feasible selection while respecting the order in which items arrive. The matroid result of Feldman, Svensson and Zenklusen gives a guarantee that survives even when an adversary knows all random outcomes before choosing the arrival order.

This mission concerns the paper's matroid theorem, Theorem 2.1. The same paper develops schemes for matching and knapsack constraints and a rule for combining schemes for intersecting constraints. Those results are separate missions in this series. Here the central question is how much of a fractional matroid point can be retained by a deterministic greedy rule as each active item is revealed.

Setting

Let NNN be a finite ground set and let MMM be a matroid on NNN. Its independent subsets form a down-closed family F\mathcal FF: if III is independent, every subset of III is independent. The rank r(S)r(S)r(S) of S⊆NS\subseteq NS⊆N is the maximum size of an independent subset of SSS. The matroid independence polytope is

PF={x∈R≥0N:x(S):=∑e∈Sxe≤r(S) for all S⊆N}.P_{\mathcal F}=\left\{x\in\mathbb R^N_{\ge0}:x(S):=\sum_{e\in S}x_e\le r(S)\text{ for all }S\subseteq N\right\}.PF​={x∈R≥0N​:x(S):=e∈S∑​xe​≤r(S) for all S⊆N}.

Its points have 0≤xe≤10\le x_e\le10≤xe​≤1. For a point xxx, the active set R(x)R(x)R(x) contains each eee independently with probability xex_exe​. A deterministic greedy OCRS assigns a down-closed family Fx⊆F\mathcal F_x\subseteq\mathcal FFx​⊆F to xxx and accepts an active element when adding it to the already accepted set stays in Fx\mathcal F_xFx​. The empty set belongs to every Fx\mathcal F_xFx​. The rule depends on xxx before the active set and arrival order are revealed.

An element eee is selectable for an active set AAA if I∪{e}∈FxI\cup\{e\}\in\mathcal F_xI∪{e}∈Fx​ for every I⊆AI\subseteq AI⊆A with I∈FxI\in\mathcal F_xI∈Fx​. A greedy OCRS is (b,c)(b,c)(b,c)-selectable if this event has probability at least ccc for every x∈bPFx\in bP_{\mathcal F}x∈bPF​ and every e∈Ne\in Ne∈N. The event implies that eee can be added regardless of which eligible active elements arrived first. These definitions are from §1.1 of the paper.

Formalization targets

Matroid OCRS

For every b∈[0,1]b\in[0,1]b∈[0,1] and every finite loopless matroid MMM, the target is a deterministic greedy OCRS with

Pr⁡[I∪{e}∈Fx for all I⊆R(x), I∈Fx]≥1−bfor every x∈bPF, e∈N.\Pr\left[I\cup\{e\}\in\mathcal F_x\text{ for all }I\subseteq R(x),\ I\in\mathcal F_x\right]\ge 1-b \quad\text{for every }x\in bP_{\mathcal F},\ e\in N.Pr[I∪{e}∈Fx​ for all I⊆R(x), I∈Fx​]≥1−bfor every x∈bPF​, e∈N.

The loopless condition is a disclosed correction to the printed Theorem 2.1: a loop cannot belong to any independent singleton, so its selectability is zero. The printed bound would demand positive selectability for that loop whenever b<1b<1b<1. The theorem keeps the paper's constant 1−b1-b1−b exactly.

Supporting targets

The milestones reproduce six statements from §2.1–2.1.1, in attack order: validity of a family defined by a chain ∅=Nℓ⊊⋯⊊N0=N\varnothing=N_\ell\subsetneq\cdots\subsetneq N_0=N∅=Nℓ​⊊⋯⊊N0​=N of matroid minors (independence of the union of layer-wise independent sets is Soto, Theorem 5.1); a characterization of selectability through span in one layer; monotonicity of the first chain set as coordinates of xxx increase; the description of the base polytope PB={x∈PF:x(N)=r(N)}P_{\mathcal B}=\{x\in P_{\mathcal F}:x(N)=r(N)\}PB​={x∈PF​:x(N)=r(N)} as the set of maximal vectors of PFP_{\mathcal F}PF​; the weighted span bound of Lemma 2.4,

∑e∈NxePr⁡[e∈span⁡(R(x)∪S)]≤b⋅(x(N)+(1−b) r(S)),\sum_{e\in N}x_e\Pr[e\in\operatorname{span}(R(x)\cup S)]\le b\cdot\bigl(x(N)+(1-b)\,r(S)\bigr),e∈N∑​xe​Pr[e∈span(R(x)∪S)]≤b⋅(x(N)+(1−b)r(S)),

strict when S≠∅S\neq\varnothingS=∅; and the proper-inclusion conclusion S⊊NS\subsetneq NS⊊N of Corollary 2.5. They expose the distinct matroid and probability claims on which the main theorem rests.

Significance

The theorem gives a fixed greedy family for each fractional point, with a per-element probability guarantee that is independent of the arrival order. Offline contention resolution schemes for matroids were introduced by Chekuri, Vondrák and Zenklusen; the online, almighty-adversary version here is stronger. A solver can use that guarantee as the matroid component in larger online selection problems. In the source paper it feeds the intersection and application results; those applications require further models and statements beyond this mission. The factor 1−b1-b1−b makes the tradeoff explicit: using a more heavily scaled fractional point raises the risk of contention.

The result is proved in the cited paper. This mission asks for a machine-checked Lean proof of its corrected statement and the source's supporting claims. A successful development would add reusable finite representations of independent activation, matroid polytope inequalities, span probabilities, and chain families. It would also make the loop boundary explicit, preventing a formally false version of the printed theorem from being published as a target.

Difficulty

Independent activation does not itself respect matroid independence. A greedy family that simply contains every independent set can make an element unavailable after earlier active elements are accepted, and the arrival order can expose the worst such history. The central issue is therefore a uniform selectability event: the same element must remain addable after every feasible subset of the active set. The paper measures that obstruction through spans in successive matroid minors. The first chain set must be proper so that the construction can continue, which is why the strict part of the weighted span inequality matters.

Formalization scope

The ground set is a finite Lean type, subsets are Finsets, and Mathlib's Matroid supplies independence, closure, contraction and restriction. Matroid rank is converted from Mathlib's extended natural rank to a real number; finiteness makes this conversion finite on every subset. The independence and base polytopes are defined by the paper's inequalities. The scalar multiple bPbPbP is pointwise set scalar multiplication, including b=0b=0b=0.

Probabilities are finite sums of product weights over all active sets. In particular, the event in Lemma 2.4 uses span⁡(R(x)∪S)\operatorname{span}(R(x)\cup S)span(R(x)∪S), whereas the recurrence defining SSS uses span⁡((R(x)∪Si)∖{e})\operatorname{span}((R(x)\cup S_i)\setminus\{e\})span((R(x)∪Si​)∖{e}). These are separate definitions. Every point used for activation lies in [0,1]N[0,1]^N[0,1]N, as enforced by the polytope and b∈[0,1]b\in[0,1]b∈[0,1]. The base-polytope condition on Corollary 2.5 is the standing assumption stated before the lemma in the source.

The loopless condition applies to the goal, to Corollary 2.5, and to the strict clause of Lemma 2.4 only; its non-strict clause, the chain statements and the monotonicity statement hold for every matroid and are stated without it. Three trivializing formalizations are ruled out: every greedy family must contain the empty set, so an empty family cannot satisfy selectability vacuously; every member of a greedy family must be independent in MMM, so Fx=2N\mathcal F_x=2^NFx​=2N is not admissible; and every point used for activation lies in [0,1]N[0,1]^N[0,1]N, so Pr⁡[R(x)=A]\Pr[R(x)=A]Pr[R(x)=A] is a genuine probability. The quantified scheme depends only on xxx, and its success condition ranges over every feasible subset of the realized active set. Contributions that establish the chain family's independence, finite probability identities, and rank or closure facts are within scope. Polynomial-time implementation and the Monte Carlo estimates of Lemma 2.6 are outside this mission's mathematical target.

Selected references

  • Moran Feldman, Ola Svensson and Rico Zenklusen, Online Contention Resolution Schemes, arXiv:1508.00142v2, 2015; published as Online Contention Resolution Schemes with Applications to Bayesian Selection Problems, SIAM Journal on Computing, 2021. Preprint.
  • Chandra Chekuri, Jan Vondrák and Rico Zenklusen, Submodular Function Maximization via the Multilinear Relaxation and Contention Resolution Schemes, SIAM Journal on Computing, 2014. arXiv:1105.4593.
  • José A. Soto, Matroid Secretary Problem in the Random-Assignment Model, SIAM Journal on Computing, 2013. arXiv:1007.2140.
10 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Exact Solution of the Hypergraph Turán Problem for k-Uniform Linear Paths: For k ≥ 4 and Large n, the Turán Numbers of P_{2t+1} and P_{2t+2} and Their Unique Extremal FamiliesResearch Paper

Motivation

Hypergraph Turán problems ask how many edges a kkk-uniform hypergraph on nnn vertices can have without containing a fixed sub-hypergraph. For graphs (k=2k=2k=2) the theory is well developed; for k≥3k\ge 3k≥3 exact answers are rare and are known mostly for small, dense configurations such as the Fano plane or expanded triangles. Paths are the natural sparse test case. For graphs, Erdős and Gallai (1959) showed that a graph on nnn vertices without a path of length ℓ\ellℓ has at most 12(ℓ−1)n\frac12(\ell-1)n21​(ℓ−1)n edges. For hypergraphs there are several notions of path: Berge paths (Győri, Katona and Lemons, 2010), loose paths (Mubayi and Verstraëte, 2007, asymptotic bounds) and the most restrictive notion, linear paths. The case of two edges was solved by Frankl (1977), and the case ℓ<k\ell<kℓ<k asymptotically by Frankl and Füredi (1987).

Füredi, Jiang and Seiver (arXiv:1108.1247v1, published in Combinatorica 34 (2014), doi:10.1007/s00493-014-2838-4) determined the Turán number of every kkk-uniform linear path exactly, for k≥4k\ge4k≥4 and nnn large, together with the unique extremal families. It is one of the few exact hypergraph Turán results for an infinite family of forbidden hypergraphs.

Setting

The vertex set is [n]={1,…,n}[n]=\{1,\dots,n\}[n]={1,…,n}. A family F\mathcal FF is a set of subsets of [n][n][n]; it is kkk-uniform if F⊆([n]k)\mathcal F\subseteq\binom{[n]}{k}F⊆(k[n]​), the set of all kkk-element subsets.

A linear path of length ℓ\ellℓ is a sequence of distinct sets F1,…,FℓF_1,\dots,F_\ellF1​,…,Fℓ​ such that

∣Fi∩Fi+1∣=1  for each i,Fi∩Fj=∅  whenever ∣i−j∣>1.|F_i\cap F_{i+1}|=1\ \text{ for each } i,\qquad F_i\cap F_j=\emptyset\ \text{ whenever } |i-j|>1.∣Fi​∩Fi+1​∣=1  for each i,Fi​∩Fj​=∅  whenever ∣i−j∣>1.

The kkk-uniform linear path of length ℓ\ellℓ is written Pℓ(k)\mathbb P^{(k)}_\ellPℓ(k)​; a family contains it if some ℓ\ellℓ of its members form a linear path. The Turán number exk(n,Pℓ(k))\mathbf{ex}_k(n,\mathbb P^{(k)}_\ell)exk​(n,Pℓ(k)​) is the maximum size of a kkk-uniform family on [n][n][n] that does not contain Pℓ(k)\mathbb P^{(k)}_\ellPℓ(k)​.

Two counting functions describe the answer:

f(n,k,t)=∑i=1t(n−ik−1),g(n,k,t)=f(n,k,t)+(n−t−2k−2).f(n,k,t)=\sum_{i=1}^{t}\binom{n-i}{k-1},\qquad g(n,k,t)=f(n,k,t)+\binom{n-t-2}{k-2}.f(n,k,t)=i=1∑t​(k−1n−i​),g(n,k,t)=f(n,k,t)+(k−2n−t−2​).

For a set S⊆[n]S\subseteq[n]S⊆[n] of ttt elements, f(n,k,t)f(n,k,t)f(n,k,t) is the number of kkk-sets meeting SSS (the star family of SSS), and g(n,k,t)g(n,k,t)g(n,k,t) adds the kkk-sets of [n]∖S[n]\setminus S[n]∖S that contain two fixed vertices u,vu,vu,v (the even family).

The proof is phrased in the language of the delta-system method: sss-stars (sets pairwise meeting in a common kernel), the kernel degree deg⁡F∗(W)\deg^*_{\mathcal F}(W)degF∗​(W) (the largest sss for which an sss-star with kernel WWW exists), (k,s)(k,s)(k,s)-homogeneous families (k-partite families whose intersections follow a single intersection-closed pattern J\mathcal JJ of subsets of [k][k][k], each intersection being the kernel of an sss-star), the rank of J\mathcal JJ, the kernel graph of F\mathcal FF, and the kkk-blowup H(k)H^{(k)}H(k) of a graph HHH.

Formalization targets

Goal: Theorem 2.4

For every k≥4k\ge 4k≥4 and t≥1t\ge1t≥1 there is n0n_0n0​ such that for all n≥n0n\ge n_0n≥n0​:

exk(n,P2t+1(k))=f(n,k,t),exk(n,P2t+2(k))=g(n,k,t),\mathbf{ex}_k(n,\mathbb P^{(k)}_{2t+1})=f(n,k,t),\qquad \mathbf{ex}_k(n,\mathbb P^{(k)}_{2t+2})=g(n,k,t),exk​(n,P2t+1(k)​)=f(n,k,t),exk​(n,P2t+2(k)​)=g(n,k,t),

and in each case a kkk-uniform, path-free family of that size is exactly the star family of some ttt-set SSS (odd case), respectively the even family of some ttt-set SSS and two distinct vertices u,v∉Su,v\notin Su,v∈/S (even case).

Milestones

In the order the proof uses them:

  1. the star and even families are path-free and have fff and ggg members (lower bound);
  2. Lemma 3.1, Füredi's intersection semilattice lemma;
  3. Lemma 3.3 and Proposition 3.4, the rank bound ∣F∗∣≤(np)|\mathcal F^*|\le\binom np∣F∗∣≤(pn​);
  4. Lemma 3.6 and Corollary 3.7, the structure of patterns of rank kkk and k−1k-1k−1;
  5. Theorem 3.8, blowups of trees in homogeneous families of rank kkk or type 2;
  6. Theorem 3.9, the canonical partition of a path-free family;
  7. Lemmas 4.2–4.4, from kernel graphs to blowups, the edge count (k−1)∣F∣≤e(H′)(n−2k−2)(k-1)|\mathcal F|\le e(H')\binom{n-2}{k-2}(k−1)∣F∣≤e(H′)(k−2n−2​), and the Erdős–Gallai circumference bound;
  8. Theorem 4.5, exk(n,P2t+2(k))≤t(n−1k−1)+O(nk−2)\mathbf{ex}_k(n,\mathbb P_{2t+2}^{(k)})\le t\binom{n-1}{k-1}+O(n^{k-2})exk​(n,P2t+2(k)​)≤t(k−1n−1​)+O(nk−2);
  9. the bound (1), exk(n,Pℓ(k))≤(k−1)(ℓ−1)(n−1k−1)\mathbf{ex}_k(n,\mathbb P^{(k)}_\ell)\le(k-1)(\ell-1)\binom{n-1}{k-1}exk​(n,Pℓ(k)​)≤(k−1)(ℓ−1)(k−1n−1​) for every nnn;
  10. Erdős' matching theorem for large nnn (Theorem 1.1) and the rrr-intersecting Erdős–Ko–Rado theorem;
  11. Claims 2–3 of §5: a near-extremal family has a ttt-set joined in the kernel graph to all but O(n)O(\sqrt n)O(n​) vertices.

Significance

The theorem gives the exact extremal number and the unique extremal configuration for every linear path when k≥4k\ge4k≥4, and its proof yields a stability statement (Theorem 5.1 of the paper): a path-free family of nearly extremal size is close to a star family. The method is the standard template for exact results on sparse hypergraphs: delta-system decomposition, an asymptotic bound from a graph theorem applied to a kernel graph, then stability and cleaning.

The result is proved in the paper. As far as the platform's catalog shows, none of it is formalized: Mathlib has the intersecting Erdős–Ko–Rado theorem (r=1r=1r=1) but not the rrr-intersecting version with uniqueness for large nnn, not Erdős' matching theorem, not the Erdős–Gallai circumference theorem, and no delta-system machinery. A formalization would produce reusable libraries for each of these, and the first machine-checked exact hypergraph Turán number for an infinite family.

Difficulty

The obvious argument — bound the number of members through each vertex and sum — gives only O(nk−1)O(n^{k-1})O(nk−1) with a wrong leading constant, because a path-free family can have ttt vertices of almost full degree. Exactness needs three layers that do not reduce to one another. First, the intersection semilattice lemma (Lemma 3.1) is a deep structural theorem with a doubly exponential constant; it is cited, not proved, in the paper. Second, the asymptotic bound passes through the Erdős–Gallai circumference theorem, itself a nontrivial graph result. Third, the exact value requires a stability argument with several error terms (O(nk−3/2)O(n^{k-3/2})O(nk−3/2), O(n)O(\sqrt n)O(n​)) that must be balanced, followed by Erdős' matching theorem and the 2-intersecting Erdős–Ko–Rado theorem for large nnn, both with uniqueness. The structural lemmas of §§3–4 are elementary but involve greedy embeddings in which disjointness of the new vertices has to be maintained carefully.

Formalization scope

Vertices are Fin n; families are Finset (Finset (Fin n)); kkk-uniformity is 𝓕 ⊆ univ.powersetCard k. A linear path is an injective map Fin ℓ → Finset (Fin n) into the family with consecutive members meeting in exactly one vertex and non-consecutive members disjoint. The Turán number is a Finset.sup of cardinalities over all path-free kkk-uniform subfamilies, a finite attained maximum for ℓ≥1\ell\ge1ℓ≥1; at ℓ=0\ell=0ℓ=0 the feasible set is empty and Lean returns zero, which no theorem here uses. Partitions into kkk parts are part maps Fin n → Fin k; stars are finsets of distinct petals; the rank is a minimum computed with sInf, exact because intersection patterns consist of proper subsets of [k][k][k]. "Sufficiently large nnn" and every O(⋅)O(\cdot)O(⋅) are explicit existential constants chosen before nnn and the family.

Hypotheses added relative to the page: Theorem 3.8 assumes the homogeneous family is nonempty (the empty family is homogeneous for every pattern, and the proof starts from a member). Lemma 4.2 states k≥2k\ge2k≥2, implicit in the paper's definition of a blowup using k−2k-2k−2 new vertices; it excludes a false zero-threshold case at k=0k=0k=0. Lemma 4.3 is stated for an arbitrary choice of a vertex c(F)∈Fc(F)\in Fc(F)∈F in each member, a generalization of the printed lemma, whose proof uses only c(F)∈Fc(F)\in Fc(F)∈F. Bound (1) is posed for k≥2k\ge2k≥2. Claims 2–3 are stated stand-alone with the ttt-set SSS existentially quantified.

Trivializing formalizations are ruled out: the goal asserts the value and the uniqueness of the extremal family, the Turán number is a true maximum rather than a junk supremum, the linear path requires intersections of size exactly one and disjointness of non-consecutive members, and all constants are quantified before nnn.

Needed infrastructure: the delta-system method (Lemma 3.1), Erdős–Gallai for circumference, Erdős' matching theorem and rrr-intersecting Erdős–Ko–Rado for large nnn. Each is reusable well beyond this mission, and contributions of any of them are welcome.

Selected references

  • Z. Füredi, T. Jiang, R. Seiver, Exact solution of the hypergraph Turán problem for k-uniform linear paths, Combinatorica 34 (2014). arXiv:1108.1247, doi:10.1007/s00493-014-2838-4
  • Z. Füredi, On finite set-systems whose every intersection is a kernel of a star, Discrete Math. 47 (1983) 129–132. doi:10.1016/0012-365X(83)90081-X
  • P. Erdős, T. Gallai, On maximal paths and circuits of graphs, Acta Math. Acad. Sci. Hungar. 10 (1959) 337–356. doi:10.1007/BF02024498
  • P. Erdős, A problem on independent r-tuples, Ann. Univ. Sci. Budapest. Eötvös Sect. Math. 8 (1965) 93–95.
  • P. Erdős, C. Ko, R. Rado, Intersection theorems for systems of finite sets, Quart. J. Math. Oxford 12 (1961) 313–320. doi:10.1093/qmath/12.1.313
  • P. Frankl, Z. Füredi, Exact solution of some Turán-type problems, J. Combin. Theory Ser. A 45 (1987) 226–262. doi:10.1016/0097-3165(87)90016-7
  • D. Mubayi, J. Verstraëte, Minimal paths and cycles in set systems, European J. Combin. 28 (2007) 1681–1693. doi:10.1016/j.ejc.2006.07.008
19 thms1 active userReviewed
Geometry & TopologyGraph Theory·Captain: mikedeng1

Planar Graphs Have Bounded Queue-Number 2: Every Graph of Euler Genus g Has Queue-Number at Most 4g + 49Research Paper

Motivation

A queue layout of a graph places its vertices on a line and splits its edges into classes, called queues, so that inside one queue no edge is nested inside another. The minimum number of queues is the queue-number. Queue layouts were introduced by Heath, Leighton and Rosenberg (1992) and Heath and Rosenberg (1992) as the dual of stack layouts (book embeddings): reading the vertex order from left to right, the edges of one queue are opened and closed in first-in first-out order. Queue layouts are closely tied to track layouts and, through them, to three-dimensional grid drawings of graphs (§9 of the paper).

Whether planar graphs have bounded queue-number was asked by Heath, Leighton and Rosenberg in 1992 and stayed open for 27 years. The best general bounds before 2019 grew with the number of vertices: O(n)O(\sqrt n)O(n​) by Heath, Leighton and Rosenberg (1992), O(log⁡2n)O(\log^2 n)O(log2n) by Di Battista, Frati and Pach (2013), and O(log⁡n)O(\log n)O(logn) by Dujmović (2015); for Euler genus ggg, Dujmović, Morin and Wood (2017) had O(g+log⁡n)O(g + \log n)O(g+logn). Dujmović, Joret, Micek, Morin, Ueckerdt and Wood (arXiv:1904.04791, J. ACM 2020) proved that every planar graph has queue-number at most 494949 (Theorem 1), and extended the result to every graph embeddable in a fixed surface (Theorem 2) and to every proper minor-closed class (Theorem 3).

This mission is Theorem 2: graphs of Euler genus ggg have queue-number at most 4g+494g + 494g+49. It is the second mission of a two-mission series; the first poses Theorem 1.

Setting

All graphs are finite and simple. A linear ordering ⪯\preceq⪯ of the vertex set V(G)V(G)V(G) is fixed. Two edges vwvwvw and xyxyxy with four distinct ends nest if v≺x≺y≺wv \prec x \prec y \prec wv≺x≺y≺w (after renaming the ends). A queue is a set of edges no two of which nest. A kkk-queue layout of GGG is a linear ordering together with a partition of E(G)E(G)E(G) into kkk queues, and qn⁡(G)≤k\operatorname{qn}(G) \le kqn(G)≤k means that a kkk-queue layout exists.

A layering of GGG is an ordered partition (V0,V1,… )(V_0, V_1, \dots)(V0​,V1​,…) of V(G)V(G)V(G) such that every edge joins two vertices of the same or of consecutive layers. A BFS layering takes one root rrr in each connected component and puts vvv in layer dist⁡(r,v)\operatorname{dist}(r, v)dist(r,v). A BFS spanning tree of a connected graph GGG rooted at rrr is a spanning tree TTT with dist⁡T(r,v)=dist⁡G(r,v)\operatorname{dist}_T(r, v) = \operatorname{dist}_G(r, v)distT​(r,v)=distG​(r,v) for every vvv. A path in TTT is vertical if the distance to rrr grows by exactly one at every step.

The Euler genus of the orientable surface with hhh handles is 2h2h2h, and that of the non-orientable surface with ccc cross-caps is ccc; the Euler genus of a graph is the least Euler genus of a surface it embeds in (footnote 2 of the paper). Planar graphs are exactly the graphs of Euler genus 000. Combinatorially, an embedding of a graph is described by an embedding scheme: a cyclic order of the edges at each vertex (a rotation system) together with a sign on every edge (twisted or not). Tracing faces through the scheme gives a face count fff, and with nnn vertices, mmm edges and ccc components the scheme has Euler genus 2c−n+m−f2c - n + m - f2c−n+m−f.

Formalization targets

Goal: Theorem 2 with the paper's bound

Euler genus of G≤g ⟹ qn⁡(G)≤4g+49.\text{Euler genus of } G \le g \ \Longrightarrow\ \operatorname{qn}(G) \le 4g + 49 .Euler genus of G≤g ⟹ qn(G)≤4g+49.

The paper states Theorem 2 as qn⁡(G)=O(g)\operatorname{qn}(G) = O(g)qn(G)=O(g) and proves the explicit bound 4g+494g + 494g+49 in §5. The goal poses that explicit bound, for every finite graph, connected or not.

Milestones

  1. Lemma 18 (p. 18). Every BFS layering (V0,V1,… )(V_0, V_1, \dots)(V0​,V1​,…) of a planar graph GGG admits a 494949-queue layout whose vertex ordering lists V0V_0V0​, then V1V_1V1​, then V2V_2V2​, and so on.
  2. Lemma 21 (p. 19). If GGG is connected with Euler genus at most ggg and TTT is a BFS spanning tree with layering (Vi)(V_i)(Vi​), there is a connected (or empty) subgraph ZZZ with at most 2g2g2g vertices in each layer such that G−V(Z)G - V(Z)G−V(Z) is planar and sits inside a connected planar graph G+G^+G+ whose own BFS layering (Wi)(W_i)(Wi​) satisfies Wi∩(V(G)∖V(Z))=Vi∖V(Z)W_i \cap (V(G)\setminus V(Z)) = V_i \setminus V(Z)Wi​∩(V(G)∖V(Z))=Vi​∖V(Z); vertical paths of the BFS tree of G+G^+G+ restrict to vertical paths of TTT.
  3. The 4g4g4g-queue step (p. 23). If GGG has a layering with at most 2g2g2g vertices of ZZZ per layer and G−ZG - ZG−Z has a 494949-queue layout ordered layer by layer, then qn⁡(G)≤4g+49\operatorname{qn}(G) \le 4g + 49qn(G)≤4g+49.

Significance

The result. Theorem 2 settles boundedness of the queue-number for every class of graphs embeddable in a fixed surface, with a bound linear in the Euler genus. Through the connection between queue-number and track-number, the paper derives from it (§9, Theorems 54 and 58) that a graph of Euler genus ggg with nnn vertices has track-number gO(g4/7)g^{O(g^{4/7})}gO(g4/7) and a three-dimensional grid drawing of volume gO(g4/7)ng^{O(g^{4/7})} ngO(g4/7)n, linear in nnn for every fixed surface. It is also a step on the paper's route to Theorem 3 (proper minor-closed classes), since graphs on surfaces are the basic pieces of the Robertson–Seymour graph minor structure theorem. Lemma 21 is of independent use: it reduces a graph on a surface to a planar graph while controlling BFS layers.

Formalizing it. The result is proved; as far as is known it has no machine-checked proof. A formalization needs queue layouts, layerings, BFS layerings and vertical paths, and, independently of queues, a usable combinatorial theory of graphs on surfaces, which Lean's Mathlib does not have. The Euler genus definition of this mission (embedding schemes and face tracing) and Lemma 21 are reusable well beyond queue layouts.

Difficulty

The obvious reduction, deleting few vertices to make the graph planar, is not enough: a planar subgraph alone does not control how the deleted vertices interact with a queue layout. The deleted set must be thin in every BFS layer, and the planar remainder must carry a BFS layering compatible with the original one, which is what Lemma 21 provides. Its proof cuts the surface along a subgraph made of tree paths and must show that the cut graph is planar by an Euler-characteristic count over face-tracing data, and that distances from a new root agree with the old BFS distances. In Lean, the main obstacle is the surface side: Euler's formula for embedding schemes, the cutting operation on rotation systems, and the passage between the combinatorial notion of Euler genus and the drawing-based notion of planarity. The planar input, Lemma 18, is itself the whole of mission 1's argument (Theorem 15 with Lemmas 5 and 8).

Formalization scope

  • Graphs are SimpleGraph V on a finite type V : Type with decidable equality and adjacency.
  • "qn⁡(G)≤k\operatorname{qn}(G) \le kqn(G)≤k" is HasQueueLayout G k: an injective map ord : V → ℕ (the linear ordering) and an assignment of the edges of GGG (G.edgeSet, not all unordered pairs) to Fin k such that no two edges in one queue nest; nesting uses strict inequalities, so edges sharing an end never nest. Queues may be empty.
  • A layering is a layer function L : V → ℕ; a BFS layering takes one root per component. Vertical paths are nonempty lists indexed from 000 with distance d+id + id+i, d≥0d \ge 0d≥0.
  • Euler genus is combinatorial: EulerGenusLE G g asks for an embedding scheme (rotation permutation of the darts, cyclic at every vertex, and a symmetric edge signature) whose Euler genus 2c−n+m−f2c - n + m - f2c−n+m−f, computed in Z\mathbb ZZ, is at most ggg. The face count is half the number of face-tracing orbits plus the number of isolated vertices. Equivalence with footnote 2's topological definition is the Heffter–Edmonds–Ringel rotation principle and its non-orientable extension, with additivity over components; it is not part of the mission.
  • Planarity is the published RobertsonSeymour1986.GM5.IsPlanar: a crossing-free drawing in R2\mathbb R^2R2 by simple arcs. "Euler genus 000 iff planar" is a theorem connecting the two definitions, not built into either.
  • "Euler genus ggg" is read as "at most ggg" throughout; every bound is monotone in ggg. In Lemma 21, "ZZZ is connected" reads "empty or connected" (the paper takes Z=∅Z = \emptysetZ=∅ when g=0g = 0g=0), and the restriction of a vertical path may be empty.
  • Trivializing formalizations are ruled out: queues indexed on all pairs Sym2 V would deny edgeless graphs a 000-queue layout; non-strict nesting would forbid adjacent edges in one queue; a drawing that tolerates crossings would make every graph planar; a face count without halving, or without isolated vertices, would make the Euler genus too small or too large (the sanity checks confirm K3K_3K3​ has a scheme of Euler genus 000, a twisted K3K_3K3​ one of genus 111, and two isolated vertices genus 000).
  • Welcome contributions: Euler's formula for embedding schemes, face-tracing lemmas, the planar case (Lemma 18, via mission 1's results), the cutting construction of Lemma 21, and the purely combinatorial 4g4g4g-queue step.

Selected references

  • V. Dujmović, G. Joret, P. Micek, P. Morin, T. Ueckerdt, D. R. Wood, Planar graphs have bounded queue-number, J. ACM 67(4), 2020; arXiv:1904.04791v5. https://arxiv.org/abs/1904.04791 , https://doi.org/10.1145/3385731
  • L. S. Heath, F. T. Leighton, A. L. Rosenberg, Comparing queues and stacks as mechanisms for laying out graphs, SIAM J. Discrete Math. 5(3), 1992. https://doi.org/10.1137/0405031
  • L. S. Heath, A. L. Rosenberg, Laying out graphs using queues, SIAM J. Comput. 21(5), 1992. https://doi.org/10.1137/0221055
  • V. Dujmović, Graph layouts via layered separators, J. Combin. Theory Ser. B 110, 2015. https://doi.org/10.1016/j.jctb.2014.07.005
  • V. Dujmović, P. Morin, D. R. Wood, Layered separators in minor-closed graph classes with applications, J. Combin. Theory Ser. B 127, 2017. https://doi.org/10.1016/j.jctb.2017.05.006
  • B. Mohar, C. Thomassen, Graphs on Surfaces, Johns Hopkins University Press, 2001.
9 thms1 active userReviewed
Graph Theory·Captain: mikedeng1

Planar Graphs Have Bounded Queue-Number 1: Every Planar Graph Has a 49-Queue LayoutResearch Paper

Motivation

A queue layout represents a graph by placing its vertices in a line and assigning edges to queues. The order and assignment must prevent nested edges from sharing a queue. This gives a graph parameter that measures how much queue capacity is needed for a particular graph. Heath, Leighton, and Rosenberg asked whether one fixed number of queues suffices for every planar graph. The question remained open while bounds depending on the graph's number of vertices, degree, or treewidth were known. Dujmović, Joret, Micek, Morin, Ueckerdt, and Wood resolved it by proving a uniform bound of 49. Their paper also develops layered partitions, a structural tool used beyond queue layouts. These claims and the historical account appear in the source paper, pp. 3–5 and 16.

Setting

A finite simple graph GGG has vertices V(G)V(G)V(G) and unordered edges E(G)E(G)E(G). Choose a linear order of V(G)V(G)V(G). Two disjoint edges nest when their endpoints appear as a<b<c<da<b<c<da<b<c<d, with one edge joining aaa to ddd and the other joining bbb to ccc. A queue is a set of edges with no nested pair. A kkk-queue layout is a vertex order together with an assignment of every edge to one of kkk queues; qn⁡(G)≤k\operatorname{qn}(G)\le kqn(G)≤k means such a layout exists. Edges sharing an endpoint cannot nest. Empty queues are allowed, so an edgeless graph can use zero queues. These are the paper's definitions in §1, pp. 3–4.

A layering assigns vertices to layers V0,V1,…V_0,V_1,\ldotsV0​,V1​,… such that endpoints of an edge lie in the same or adjacent layers. A BFS layering starts from one selected root in each connected component and places each vertex in the layer equal to its graph distance from that root. A vertex partition divides V(G)V(G)V(G) into disjoint nonempty parts. Its quotient graph G/PG/\mathcal PG/P has those parts as vertices; distinct parts are adjacent if an edge of GGG joins them. An HHH-partition may index the parts by vertices of another graph HHH: the quotient's edges must be represented by edges of HHH, while an indexed part may be empty. A partition has layered width at most ℓ\ellℓ with respect to a fixed layering if every part contains at most ℓ\ellℓ vertices of every layer. The exact definitions are in §2, pp. 7–9.

A graph is planar when it can be drawn in the plane with vertices at distinct points and edges as simple arcs that meet only at shared endpoints. A tree decomposition covers every vertex and edge of a graph by bags indexed by a tree, with the bags containing each vertex forming a connected subtree. Treewidth at most three means that a tree decomposition exists with every bag of size at most four. The paper uses these standard notions in §2 and §4, pp. 7, 12, and 16.

Formalization targets

Queue bound for planar graphs

The goal is the explicit upper bound the paper derives for its Theorem 1:

∀G finite and planar,qn⁡(G)≤49.\forall G\text{ finite and planar},\qquad \operatorname{qn}(G)\le49.∀G finite and planar,qn(G)≤49.

The printed theorem says that planar queue-number is bounded, and the authors state 49 immediately after it. A bound that depends on ∣V(G)∣|V(G)|∣V(G)∣ would not express the result. The goal uses the paper's own constant, as given in Theorem 1 and the following sentence, p. 5.

Layered partition and transfer bounds

The structural target is Theorem 15, p. 16: for every BFS layering of a planar graph, there is a partition of layered width at most three whose quotient remains planar and has treewidth at most three. The queue transfer target is Lemma 8, p. 10:

qn⁡(G)≤3ℓqn⁡(H)+⌊3ℓ2⌋\operatorname{qn}(G)\le 3\ell\operatorname{qn}(H)+ \left\lfloor\frac{3\ell}{2}\right\rfloorqn(G)≤3ℓqn(H)+⌊23ℓ​⌋

when GGG has an HHH-partition of layered width ℓ\ellℓ. Its layout orders vertices layer by layer. The milestone list also includes the rainbow characterization, the blowup lemma, the complete-graph queue number, and the five-queue bound for planar graphs of treewidth at most three. These are the stated supporting results along the route to 49 in §2–§4.1, pp. 7 and 10–16.

Significance

The goal establishes a constant queue bound for all planar graphs, independent of their size, degree, and treewidth. Theorem 15 supplies a reusable structural statement: even if the original graph has large treewidth, its quotient by small layer intersections has treewidth at most three while remaining planar. The paper goes on to treat graphs of bounded Euler genus and proper minor-closed classes, and describes connections with graph products and other graph parameters in its abstract and introduction, pp. 1 and 5.

The result is proved in the cited paper. This mission records Lean statements of the goal and six supporting milestones; their proofs remain to be formalized. A completed development would connect finite graph orders, nested-edge combinatorics, layered partitions, planar drawings, and tree decompositions in one machine-checked chain. The queue and partition definitions can also support later work on graph classes beyond the planar case.

Difficulty

A vertex order chosen without regard to a graph's structure can contain large rainbows, forcing many queues in that order. Planarity alone does not specify an order or an edge assignment, and a direct bound from ordinary treewidth does not cover planar graphs with arbitrarily large treewidth. The central structural requirement is to find a partition whose parts remain small in each BFS layer while its quotient has low treewidth. The queue transfer lemma must retain a layer-by-layer vertex order and account for edges within parts and between parts. The paper, pp. 10–11 and 16, identifies these as distinct constraints in its stated results.

Formalization scope

Vertices form a finite type and edges are those of a Mathlib simple graph. A vertex order is an injective map into N\mathbb NN; strict inequalities on four endpoints encode nesting. Queue assignments are functions on the graph's edge set, so the empty graph's zero-queue case is present. The statements use an existence predicate for qn⁡(G)≤k\operatorname{qn}(G)\le kqn(G)≤k, without taking a numerical infimum. Layerings are functions to N\mathbb NN, with BFS roots chosen separately for disconnected components. Theorem 15 uses a partition into nonempty parts, and the quotient has exactly those parts as vertices. Treewidth at most three uses a published tree-decomposition definition with bags of size at most four.

The locally checked drawing definition has the same fields as the published plane-drawing definition; the published module was unavailable from the local index in this run. Planarity means existence of a crossing-free drawing, not a drawing that permits crossings. The formulation does not use a universal edge carrier that would rule out zero queues, a non-strict nesting test, or a default numerical treewidth. The near-triangulation, Sperner, and tripod statements from the paper's deeper proof are outside this proposal's milestone scope; the partition theorem remains a full milestone. Solvers may contribute the omitted geometric and tree-decomposition infrastructure when proving it.

Selected references

  • V. Dujmović, G. Joret, P. Micek, P. Morin, T. Ueckerdt, and D. R. Wood, Planar graphs have bounded queue-number, Journal of the ACM 67(4), 2020. arXiv:1904.04791v5; DOI:10.1145/3385731.
9 thms1 active userReviewed
Graph TheoryLinear algebra·Captain: mikedeng1

A Harary-Sachs Theorem for Hypergraphs: The Codegree-d Coefficient of the Characteristic Polynomial of a k-Graph as a Weighted Sum over Its Veblen InfragraphsResearch Paper

Motivation

The characteristic polynomial of an ordinary graph records spectral information in coefficients that can also be described by finite graph configurations. The classical Harary–Sachs theorem is an instance of this connection. For a uniform hypergraph, the adjacency object is a tensor rather than a matrix, and its characteristic polynomial is defined through a multivariate resultant. Clark and Cooper's hypergraph theorem gives a corresponding coefficient formula. It identifies the configurations that replace the elementary subgraphs of the graph case and assigns them weights determined by directed Eulerian structures. The result makes a tensor spectral invariant accessible through finite combinatorial objects.

The article appeared as Gregory J. Clark and Joshua N. Cooper, A Harary-Sachs theorem for hypergraphs, Journal of Combinatorial Theory, Series B (2021), DOI 10.1016/j.jctb.2021.01.002. This mission follows the pinned arXiv version 2, whose page and theorem numbers are used below.

Setting

A simple kkk-graph H=([n],E)\mathcal H=([n],E)H=([n],E) has a fixed vertex set of nnn labeled vertices and a set EEE of distinct edges, each containing exactly kkk vertices. Isolated vertices remain part of [n][n][n]. The normalized adjacency hypermatrix AH\mathcal A_{\mathcal H}AH​ gives an ordered kkk-tuple the value 1/(k−1)!1/(k-1)!1/(k−1)! when its underlying set is an edge, and zero otherwise. This normalization makes every ordering of the other k−1k-1k−1 vertices contribute the intended total weight.

The characteristic polynomial ϕ(H)\phi(\mathcal H)ϕ(H) is the multivariate resultant of the coordinates of (λI−AH)xk−1(\lambda\mathcal I-\mathcal A_{\mathcal H})x^{k-1}(λI−AH​)xk−1. The resultant is characterized by three conditions: it vanishes exactly when homogeneous coordinate polynomials have a nonzero common complex root, it evaluates to one on the coordinate monomials, and it is irreducible over the complex coefficient field. Its degree in λ\lambdaλ is t=n(k−1)n−1t=n(k-1)^{n-1}t=n(k−1)n−1. The codegree-ddd coefficient ϕd(H)\phi_d(\mathcal H)ϕd​(H) is the coefficient of λt−d\lambda^{t-d}λt−d; this degree is fixed from the source theorem and is not read from an implementation of ϕ\phiϕ.

A multi-hypergraph SSS is a multiset of kkk-element edges. It is Veblen when the degree of every vertex is divisible by kkk. Its flattening discards repeated edges, so SSS is an infragraph of H\mathcal HH when every edge of its flattening belongs to EEE. Components use only vertices covered by edges; a labeled object may still sit in a larger ambient vertex set with unused vertices.

A rooting of SSS is a sequence of its edges, each assigned a root vertex in that edge, with roots in nondecreasing order. An edge rooted at uuu contributes a directed arc u→vu\to vu→v to every other vertex vvv of the edge. Summing these arcs with multiplicity produces a directed multigraph DRD_RDR​. An Euler rooting has balanced in- and out-degrees and connected positive-degree vertices. Its arborescence number τ(DR)\tau(D_R)τ(DR​) counts spanning trees of these active vertices directed toward a specified root, with parallel arcs distinguished. For connected SSS, its associated coefficient is

CS=∑R: DR Eulerianτ(DR)∏v∈V(DR)deg⁡−(v).C_S=\sum_{R:\,D_R\text{ Eulerian}}\frac{\tau(D_R)}{\prod_{v\in V(D_R)}\deg^-(v)}.CS​=R:DR​ Eulerian∑​∏v∈V(DR​)​deg−(v)τ(DR​)​.

For disconnected SSS, CSC_SCS​ is the product of the coefficients of its connected components. These conventions follow Definitions 6–10 in the source.

Formalization targets

Differential trace and Euler rootings

The supporting targets identify when a monomial differential operator contributes to a matrix trace, and show that an Euler rooting determines a connected Veblen multi-hypergraph. The operator identity is counted by Euler tours with distinguishable parallel arcs. The resultant-to-trace identity quoted in the paper is also a milestone:

ϕd(H)=Pd(−Tr⁡1(H)/1,…,−Tr⁡d(H)/d).\phi_d(\mathcal H)=P_d\left(-\operatorname{Tr}_1(\mathcal H)/1,\ldots,-\operatorname{Tr}_d(\mathcal H)/d\right).ϕd​(H)=Pd​(−Tr1​(H)/1,…,−Trd​(H)/d).

Here PdP_dPd​ is the paper's sum over positive compositions of ddd, and Tr⁡j\operatorname{Tr}_jTrj​ is its differential trace from Equation (1).

Harary–Sachs coefficient formula

The goal uses the labeled form of Theorem 14. Let Tm(d,H)\mathscr T_m(d,\mathcal H)Tm​(d,H) be the set of ordered mmm-tuples (S1,…,Sm)(S_1,\ldots,S_m)(S1​,…,Sm​) of connected labeled Veblen infragraphs whose edge counts sum to ddd. Then

ϕd(H)=∑m=1d(−(k−1)n)mm!∑(S1,…,Sm)∈Tm(d,H)∏i=1mCSi.\phi_d(\mathcal H)=\sum_{m=1}^{d}\frac{\bigl(-(k-1)^n\bigr)^m}{m!}\sum_{(S_1,\ldots,S_m)\in\mathscr T_m(d,\mathcal H)}\prod_{i=1}^{m}C_{S_i}.ϕd​(H)=m=1∑d​m!(−(k−1)n)m​(S1​,…,Sm​)∈Tm​(d,H)∑​i=1∏m​CSi​​.

The paper prints the equivalent sum over isomorphism classes, using automorphism groups and the copy weight (#H⊆H)(\#H\subseteq\mathcal H)(#H⊆H). The labeled expression is the result before that grouping. The isomorphism-class statement is outside this mission's Lean target and remains a separate formalization task.

Significance

The theorem expresses a coefficient of a resultant, defined algebraically over complex common roots, as a finite rational weighted sum over hypergraph configurations. It extends the graph case while preserving the exact normalization, sign, component count, and coefficient index. The formula can be used to study low codegree coefficients by enumerating finite Veblen infragraphs and their Euler rootings. Clark and Cooper also use associated coefficients to compare different hypergraph structures in the paper.

The formal development separates the resultant, the differential trace, and the combinatorial counts into reusable definitions. It would provide machine-checked statements of the paper's main equality and several links between those definitions. The Lean theorems in this draft are open targets with sorry placeholders; compiling their statements does not constitute a machine-checked proof of the paper's claims.

Difficulty

The ordinary matrix determinant has a direct expansion by permutations. A tensor characteristic polynomial is a multivariate resultant, so that expansion does not directly reveal which hypergraphs contribute to a coefficient. The trace side uses repeated partial derivatives, and repeated hyperedges can create several distinct rootings with the same directed arc multiplicities. Counting only a multiset of root assignments loses those orderings and changes the coefficient. The Eulerian condition, arborescence multiplicities, and factorial factors must agree simultaneously for the algebraic and combinatorial expressions to match.

Formalization scope

The Lean representation uses Fin n vertices, finite sets of simple edges, multisets of repeated edges, rational adjacency weights, and complex polynomials only for the resultant criterion. It assumes k≥2k\ge2k≥2, n≥1n\ge1n≥1, and 1≤d≤n(k−1)n−11\le d\le n(k-1)^{n-1}1≤d≤n(k−1)n−1. The source fixes k≥2k\ge2k≥2, and the latter two bounds expose the domain in which the printed coefficient expansion and its proof use ddd. An isolated vertex of H\mathcal HH counts in nnn and in (k−1)n(k-1)^n(k−1)n, while isolated vertices do not pad a multi-hypergraph component.

The formalization takes a polynomial satisfying the resultant's common-root, normalization, and irreducibility properties as an input. Separate sanity proofs give witnesses in the one-variable degree-zero and degree-one cases; degree one covers the first goal-domain degree when k=2k=2k=2. The characteristic polynomial is evaluated from this polynomial, never defined by the trace identity. Rootings are sequences, arborescences are directed toward the least positive-degree vertex, and the associated coefficient is calculated on covered vertices. The goal uses the labeled sum, so no automorphism is computed on an ambient padded vertex set. Contributions formalizing the omitted isomorphism-class equivalence, the BEST circuit count, and proofs of the stated targets are welcome.

Selected references

  • Gregory J. Clark and Joshua N. Cooper, A Harary-Sachs theorem for hypergraphs, Journal of Combinatorial Theory, Series B, 2021. arXiv:1812.00468v2; DOI 10.1016/j.jctb.2021.01.002.
8 thms1 active userReviewed
Graph TheoryGroup Theory·Captain: mikedeng1

Edge-Transitive Bi-Cayley Graphs 3: Every Connected Semisymmetric Bi-Dihedrant Has Valency at Least 6, and Semisymmetric Bi-Dihedrants of Valency 2k Exist for Each Odd k ≥ 3Research Paper

Motivation

A graph may have enough symmetry for every edge to look the same while its vertices still fall into two distinct classes. Such a graph is semisymmetric when it has constant valency, is edge-transitive, and is not vertex-transitive. Conder, Zhou, Feng and Zhang study this phenomenon among bi-Cayley graphs, graphs equipped with a group acting freely on two vertex orbits. Their dihedral case supplies examples related to questions of Marušič and Potočnik about semisymmetric tetracirculants. It also asks how small the valency of a semisymmetric graph with this specific group action can be. The paper states that six is the minimum and that examples occur at every valency 2k2k2k with odd k≥3k\ge3k≥3 (Conder et al., Theorem 1.5 and its introduction, p. 3).

The authors develop the bi-Cayley setting and the relevant automorphism actions before reaching the dihedral result. The lower bound appears as Theorem 6.1, while Example 6.2 defines a graph family and Proposition 6.4 gives a semisymmetry criterion for its odd-kkk members (Conder et al., pp. 11–13). This mission targets those claims within a single formal graph model. The final sentence of Theorem 1.5, concerning an edge-regular family, depends on the separate Theorem 6.5 and is outside this goal.

Setting

Let HHH be a finite group. Choose subsets R,L,S⊆HR,L,S\subseteq HR,L,S⊆H with R−1=RR^{-1}=RR−1=R, L−1=LL^{-1}=LL−1=L, 1∉R∪L1\notin R\cup L1∈/R∪L, and ∣R∣=∣L∣|R|=|L|∣R∣=∣L∣. The graph BiCay⁡(H,R,L,S)\operatorname{BiCay}(H,R,L,S)BiCay(H,R,L,S) has two labelled copies of each element of HHH, written h0h_0h0​ and h1h_1h1​. For each h∈Hh\in Hh∈H, it joins h0h_0h0​ to (xh)0(xh)_0(xh)0​ when x∈Rx\in Rx∈R, joins h1h_1h1​ to (yh)1(yh)_1(yh)1​ when y∈Ly\in Ly∈L, and joins h0h_0h0​ to (zh)1(zh)_1(zh)1​ when z∈Sz\in Sz∈S. These are unoriented edges. Right multiplication by HHH preserves the graph and acts regularly on each of its two vertex copies (Conder et al., pp. 1 and 4).

A bi-dihedrant is a bi-Cayley graph whose group is dihedral. Write Dn=⟨a,b∣an=b2=(ab)2=1⟩D_n=\langle a,b\mid a^n=b^2=(ab)^2=1\rangleDn​=⟨a,b∣an=b2=(ab)2=1⟩ for the dihedral group of degree n≥3n\ge3n≥3. Graph valency is the number of neighbours of a vertex. Connectedness is required throughout the paper. For a semisymmetric graph the common valency exists by definition, but the formal statements quantify over every vertex so that the numerical claims refer to the actual graph degree (Conder et al., definitions on p. 4 and Theorem 6.1 on p. 11).

The constructed family Γ(n,λ,2k)\Gamma(n,\lambda,2k)Γ(n,λ,2k) uses n≥5n\ge5n≥5, k≥2k\ge2k≥2, and a residue λ\lambdaλ of multiplicative order 2k2k2k modulo nnn whose even-power sum vanishes: ∑j=0k−1λ2j=0\sum_{j=0}^{k-1}\lambda^{2j}=0∑j=0k−1​λ2j=0. For 0≤i<k0\le i<k0≤i<k, put ci=∑j=0iλ2jc_i=\sum_{j=0}^{i}\lambda^{2j}ci​=∑j=0i​λ2j and di=λcid_i=\lambda c_idi​=λci​. Set S(n,λ,2k)={aci:0≤i<k}∪{badi:0≤i<k}S(n,\lambda,2k)=\{a^{c_i}:0\le i<k\}\cup\{ba^{d_i}:0\le i<k\}S(n,λ,2k)={aci​:0≤i<k}∪{badi​:0≤i<k}. Then Γ(n,λ,2k)=BiCay⁡(Dn,∅,∅,S(n,λ,2k))\Gamma(n,\lambda,2k)=\operatorname{BiCay}(D_n,\varnothing,\varnothing,S(n,\lambda,2k))Γ(n,λ,2k)=BiCay(Dn​,∅,∅,S(n,λ,2k)) (Conder et al., Example 6.2, pp. 12–13).

Right multiplication R(g):hi↦(hg)iR(g):h_i\mapsto(hg)_iR(g):hi​↦(hg)i​ gives a subgroup R(H)≤Aut⁡(Γ)R(H)\le\operatorname{Aut}(\Gamma)R(H)≤Aut(Γ), and X=NAut⁡(Γ)(R(H))X=N_{\operatorname{Aut}(\Gamma)}(R(H))X=NAut(Γ)​(R(H)) is its normaliser. For α∈Aut⁡(H)\alpha\in\operatorname{Aut}(H)α∈Aut(H) and g,x,y∈Hg,x,y\in Hg,x,y∈H the paper's permutations are σα,g:h0↦(hα)0, h1↦(ghα)1\sigma_{\alpha,g}:h_0\mapsto(h^\alpha)_0,\ h_1\mapsto(gh^\alpha)_1σα,g​:h0​↦(hα)0​, h1​↦(ghα)1​ and δα,x,y:h0↦(xhα)1, h1↦(yhα)0\delta_{\alpha,x,y}:h_0\mapsto(xh^\alpha)_1,\ h_1\mapsto(yh^\alpha)_0δα,x,y​:h0​↦(xhα)1​, h1​↦(yhα)0​; the sets F\mathrm FF and I\mathrm II of (2.2) collect those that preserve the edge rules. A graph is normal edge-transitive when XXX, not merely Aut⁡(Γ)\operatorname{Aut}(\Gamma)Aut(Γ), is transitive on edges (Conder et al., pp. 4–5).

Formalization targets

The milestones, in attack order, are Proposition 2.1(b) (one may assume 1∈S1\in S1∈S), Proposition 2.2 (the normaliser X=R(H)(F∪I)X=R(H)(\mathrm F\cup\mathrm I)X=R(H)(F∪I)), the opening step of the proof of Theorem 6.1 (R=L=∅R=L=\varnothingR=L=∅ for a semisymmetric graph), Theorem 6.1, the claims of Example 6.2, and Proposition 6.4.

Minimum valency

For every connected semisymmetric bi-dihedrant over DnD_nDn​, n≥3n\ge3n≥3, and every vertex vvv,

deg⁡Γ(v)≥6.\deg_{\Gamma}(v)\ge6.degΓ​(v)≥6.

This is Theorem 6.1 and the first claim of Theorem 1.5. The milestone for the proof's opening step records that semisymmetry forces R=L=∅R=L=\varnothingR=L=∅; the theorem itself still ranges over all valid R,L,SR,L,SR,L,S (Conder et al., Theorem 6.1, p. 11).

Examples at every odd index

For each odd integer k≥3k\ge3k≥3, there is a connected semisymmetric bi-dihedrant Γ\GammaΓ such that

deg⁡Γ(v)=2kfor every vertex v.\deg_{\Gamma}(v)=2k\qquad\text{for every vertex }v.degΓ​(v)=2kfor every vertex v.

Example 6.2 is the first milestone toward this claim: under its hypotheses Γ(n,λ,2k)\Gamma(n,\lambda,2k)Γ(n,λ,2k) is connected, ∣S∣=2k|S|=2k∣S∣=2k, every vertex has degree 2k2k2k, and σα,b\sigma_{\alpha,b}σα,b​ for α:(a,b)↦(aλ,ba)\alpha:(a,b)\mapsto(a^\lambda,ba)α:(a,b)↦(aλ,ba) lies in XXX and permutes the neighbours of 101_010​ cyclically, so the graph is normal edge-transitive (Conder et al., p. 13). Proposition 6.4 is the second: under the defining conditions for Γ(n,λ,2k)\Gamma(n,\lambda,2k)Γ(n,λ,2k), odd kkk and λk=−1\lambda^k=-1λk=−1 modulo nnn imply semisymmetry (Conder et al., Proposition 6.4, p. 13). An auxiliary arithmetic theorem states the parameter existence needed to apply it for every odd k≥3k\ge3k≥3.

Significance

The lower bound excludes semisymmetric bi-dihedrants of valency at most five. The existence assertion says that six is attained and places examples at an infinite sequence of larger valencies. Together these claims distinguish the restrictions imposed by a dihedral bi-Cayley action from edge transitivity alone. The construction also gives a concrete family on which questions about stronger automorphism properties can be posed (Conder et al., §6, pp. 11–14).

The result is proved in the cited paper; this mission seeks a machine-checked version of its first two Theorem 1.5 claims. The definition of a bi-Cayley graph, the precise graph symmetry predicates, and the arithmetic parameter family are reusable beyond this particular lower bound. The statements here are open proof targets in Lean, with their mathematical content fixed before proof development. The edge-regular claim from the theorem's final sentence requires additional source results and remains a separate formalization target.

Difficulty

Edge transitivity alone does not make a graph vertex-transitive: a semisymmetric graph is precisely the regular case where that inference fails. The lower bound therefore cannot be obtained by treating every vertex as lying in one automorphism orbit. In the dihedral case, the proof must account for both the rotations and reflections in the connection set, and for the constraints that connectedness and graph automorphisms impose on low-valency possibilities (Conder et al., proof of Theorem 6.1, pp. 11–12).

The existence statement has a distinct arithmetic requirement. Proposition 6.4 is conditional on n,λ,kn,\lambda,kn,λ,k satisfying Example 6.2 and λk=−1\lambda^k=-1λk=−1. The paper asserts examples for every odd k≥3k\ge3k≥3 without spelling out parameters for all such kkk. The auxiliary arithmetic statement records that remaining obligation explicitly; a proof of the conditional proposition alone would not establish the quantified existence claim.

Formalization scope

Lean represents the two vertex copies by H ⊕ H and the dihedral group by Mathlib's DihedralGroup n. The graph is a SimpleGraph built from the three edge rules above, with the inverse-closure and loop-exclusion conditions retained in BiCayData. Semisymmetry uses the full graph automorphism group, unoriented edge transitivity, and constant graph degree. The source's standing finite, connected, simple, and undirected conventions are explicit through finite groups, simple graphs, and connectedness hypotheses. The goal and Theorem 6.1 use n≥3n\ge3n≥3, the range of dihedral groups in §6; the existence examples are also required to be connected.

The definitions do not set valency equal to ∣S∣|S|∣S∣, replace a graph degree by a formula, or make an edge-transitivity claim true by ranging over an empty edge set. The setting requires valid inverse-closed side sets rather than silently symmetrising an invalid one. The arithmetic hypothesis uses the multiplicative order in Z/nZ\mathbb Z/n\mathbb ZZ/nZ and enumerates the indices of Zk\mathbb Z_kZk​ by 0,…,k−10,\ldots,k-10,…,k−1. Normal edge-transitivity in Example 6.2 is stated for the subgroup XXX and semisymmetry for the full group Aut⁡(Γ)\operatorname{Aut}(\Gamma)Aut(Γ); the two are not interchanged. The restriction n≥3n\ge3n≥3 in the lower bound is that of Theorem 6.1 and is a disclosed hypothesis of the goal: D1D_1D1​ and D2D_2D2​ are abelian, and the paper treats bi-Cayley graphs over abelian groups separately. The auxiliary parameter statement is not in the paper; it is supplied so that the existence claim has a complete proof path. The third sentence of Theorem 1.5 is not formalized. Contributions establishing the structural lower bound, the family criterion, or the arithmetic existence statement are all within scope.

Selected references

  • Marston Conder, Jin-Xin Zhou, Yan-Quan Feng and Mi-Mi Zhang, Edge-transitive bi-Cayley graphs, preprint arXiv:1606.04625v1, 2016; published in Journal of Combinatorial Theory, Series B, 2020. Preprint · DOI.
9 thms1 active userReviewed
Graph TheoryGroup Theory·Captain: mikedeng1

Edge-Transitive Bi-Cayley Graphs 1: For Connected BiCay(H, ∅, ∅, S), the Normaliser of R(H) Is 2-Arc-Transitive Iff Three Conditions on Aut(H) Hold, and Never 3-Arc-TransitiveResearch Paper

Motivation

A graph is symmetric when its automorphism group moves any vertex, edge or arc to any other, and sss-arc-transitive when it moves any walk of length sss without immediate backtracking to any other. Tutte's work on cubic graphs made sss-arc-transitivity a central measure of symmetry in algebraic graph theory, and most constructions of highly symmetric graphs start from a group acting regularly on vertices (Cayley graphs) or semiregularly with a few orbits.

Bi-Cayley graphs are the case of two orbits: a group HHH acts semiregularly by right multiplication with exactly two vertex orbits. The Petersen graph, the Gray graph (the smallest cubic semisymmetric graph) and the smallest member of Bouwer's family of half-arc-transitive graphs are all bi-Cayley graphs, and all of them are edge-transitive. Deciding edge-transitivity of a bi-Cayley graph is hard in general, but the subgroup of automorphisms that normalise the semiregular group R(H)R(H)R(H) is explicitly known, which makes the "normal" version of the question tractable.

C. H. Li asked whether 3-arc-transitive bi-normal Cayley graphs exist and asked for a description of the 2-arc-transitive ones (Li, Proc. Amer. Math. Soc. 133, Question 1.2(a) and Problem 1.3(b), as cited in the paper, p. 2). M. Conder, J.-X. Zhou, Y.-Q. Feng and M.-M. Zhang answered both through their Theorem 1.1 (arXiv:1606.04625v1; J. Combin. Theory Ser. B, 2020). This mission formalizes that theorem and the lemmas its proof uses.

Setting

Let HHH be a finite group with identity 111. Let R,L,S⊆HR, L, S \subseteq HR,L,S⊆H with ∣R∣=∣L∣|R| = |L|∣R∣=∣L∣, 1∉R=R−11 \notin R = R^{-1}1∈/R=R−1 and 1∉L=L−11 \notin L = L^{-1}1∈/L=L−1. The bi-Cayley graph Γ=BiCay(H,R,L,S)\Gamma = \mathrm{BiCay}(H,R,L,S)Γ=BiCay(H,R,L,S) has vertex set H0∪H1H_0 \cup H_1H0​∪H1​, two disjoint copies of HHH (the copy of hhh in HiH_iHi​ is hih_ihi​), and edges {h0,(xh)0}\{h_0,(xh)_0\}{h0​,(xh)0​}, {h1,(yh)1}\{h_1,(yh)_1\}{h1​,(yh)1​} and {h0,(zh)1}\{h_0,(zh)_1\}{h0​,(zh)1​} for h∈Hh \in Hh∈H, x∈Rx \in Rx∈R, y∈Ly \in Ly∈L, z∈Sz \in Sz∈S. The main theorem concerns R=L=∅R = L = \emptysetR=L=∅, where Γ\GammaΓ is bipartite with parts H0H_0H0​, H1H_1H1​ and every vertex has ∣S∣|S|∣S∣ neighbours.

For g∈Hg \in Hg∈H, R(g):hi↦(hg)iR(g) : h_i \mapsto (hg)_iR(g):hi​↦(hg)i​ is an automorphism of Γ\GammaΓ; these form the subgroup R(H)≤Aut(Γ)R(H) \le \mathrm{Aut}(\Gamma)R(H)≤Aut(Γ), and

X=NAut(Γ)(R(H))X = N_{\mathrm{Aut}(\Gamma)}(R(H))X=NAut(Γ)​(R(H))

is its normaliser. For α∈Aut(H)\alpha \in \mathrm{Aut}(H)α∈Aut(H) (written as an exponent, h↦hαh \mapsto h^\alphah↦hα) and x,y,g∈Hx, y, g \in Hx,y,g∈H the paper defines the permutations

δα,x,y:h0↦(xhα)1, h1↦(yhα)0,σα,g:h0↦(hα)0, h1↦(ghα)1,\delta_{\alpha,x,y} : h_0 \mapsto (xh^\alpha)_1,\ h_1 \mapsto (yh^\alpha)_0, \qquad \sigma_{\alpha,g} : h_0 \mapsto (h^\alpha)_0,\ h_1 \mapsto (gh^\alpha)_1,δα,x,y​:h0​↦(xhα)1​, h1​↦(yhα)0​,σα,g​:h0​↦(hα)0​, h1​↦(ghα)1​,

and the sets I\mathrm{I}I of those δα,x,y\delta_{\alpha,x,y}δα,x,y​ with Rα=x−1LxR^\alpha = x^{-1}LxRα=x−1Lx, Lα=y−1RyL^\alpha = y^{-1}RyLα=y−1Ry, Sα=y−1S−1xS^\alpha = y^{-1}S^{-1}xSα=y−1S−1x, and F\mathrm{F}F of those σα,g\sigma_{\alpha,g}σα,g​ with Rα=RR^\alpha = RRα=R, Lα=g−1LgL^\alpha = g^{-1}LgLα=g−1Lg, Sα=g−1SS^\alpha = g^{-1}SSα=g−1S.

An sss-arc is a sequence (v0,…,vs)(v_0,\dots,v_s)(v0​,…,vs​) of vertices in which consecutive vertices are adjacent and vi−1≠vi+1v_{i-1} \ne v_{i+1}vi−1​=vi+1​. A subgroup K≤Aut(Γ)K \le \mathrm{Aut}(\Gamma)K≤Aut(Γ) is transitive on sss-arcs if any sss-arc can be mapped to any other by an element of KKK; 1-arcs are arcs. Γ\GammaΓ is normal edge-transitive if XXX is transitive on edges, and normal locally arc-transitive if the stabiliser X10X_{1_0}X10​​ is transitive on the neighbourhood Γ(10)\Gamma(1_0)Γ(10​). KKK acts semisymmetrically if it is edge-transitive but not vertex-transitive. Aut(H,Δ)\mathrm{Aut}(H,\Delta)Aut(H,Δ) is the setwise stabiliser of Δ⊆H\Delta \subseteq HΔ⊆H in Aut(H)\mathrm{Aut}(H)Aut(H).

Formalization targets

Goal: Theorem 1.1

Let Γ=BiCay(H,∅,∅,S)\Gamma = \mathrm{BiCay}(H,\emptyset,\emptyset,S)Γ=BiCay(H,∅,∅,S) be connected, with 1∈S1 \in S1∈S and ∣S∣≥2|S| \ge 2∣S∣≥2. Then

X is transitive on the 2-arcs of Γ  ⟺  (a)∧(b)∧(c),X \text{ is transitive on the 2-arcs of } \Gamma \iff \text{(a)} \wedge \text{(b)} \wedge \text{(c)},X is transitive on the 2-arcs of Γ⟺(a)∧(b)∧(c),

where (a) Sα=S−1S^\alpha = S^{-1}Sα=S−1 for some α∈Aut(H)\alpha \in \mathrm{Aut}(H)α∈Aut(H); (b) Aut(H,S∖{1})\mathrm{Aut}(H, S\setminus\{1\})Aut(H,S∖{1}) is transitive on S∖{1}S \setminus \{1\}S∖{1}; (c) Sβ=s−1SS^\beta = s^{-1}SSβ=s−1S for some s∈S∖{1}s \in S\setminus\{1\}s∈S∖{1} and β∈Aut(H)\beta \in \mathrm{Aut}(H)β∈Aut(H). Furthermore, if ∣S∣≥3|S| \ge 3∣S∣≥3, XXX is not transitive on the 3-arcs of Γ\GammaΓ.

Milestones

  • Proposition 2.2 (cited by the paper from Zhou and Feng): for connected Γ\GammaΓ, every element of F\mathrm{F}F and of I\mathrm{I}I is an automorphism in XXX, and X=R(H) (F∪I)X = R(H)\,(\mathrm{F} \cup \mathrm{I})X=R(H)(F∪I).
  • Proposition 2.2(a): for δα,x,y∈I\delta_{\alpha,x,y} \in \mathrm{I}δα,x,y​∈I, ⟨R(H),δα,x,y⟩\langle R(H),\delta_{\alpha,x,y}\rangle⟨R(H),δα,x,y​⟩ is vertex-transitive.
  • Lemma 3.2: X1011={σα,1∣α∈Aut(H,S∖{1})}X_{1_01_1} = \{\sigma_{\alpha,1} \mid \alpha \in \mathrm{Aut}(H,S\setminus\{1\})\}X10​11​​={σα,1​∣α∈Aut(H,S∖{1})}, and, for ∣S∣≥3|S| \ge 3∣S∣≥3, XXX is not 3-arc-transitive.
  • Proposition 3.3: Γ\GammaΓ is normal locally arc-transitive iff Γ(10)\Gamma(1_0)Γ(10​) is an orbit of F\mathrm{F}F; in that case XXX is arc-transitive iff Sα=S−1S^\alpha = S^{-1}Sα=S−1 for some α\alphaα, and semisymmetric otherwise.

A companion item, Lemma 3.1, shows that a connected normal edge-transitive BiCay(H,R,L,S)\mathrm{BiCay}(H,R,L,S)BiCay(H,R,L,S) has R=L=∅R = L = \emptysetR=L=∅; it explains why the goal is stated for BiCay(H,∅,∅,S)\mathrm{BiCay}(H,\emptyset,\emptyset,S)BiCay(H,∅,∅,S).

Significance

Combined with Lemma 3.1, Theorem 1.1 reduces 2-arc-transitivity of the normaliser of R(H)R(H)R(H) to three conditions on Aut(H)\mathrm{Aut}(H)Aut(H) and the single set SSS, all checkable in the group without building the graph. Its second part rules out normal 3-arc-transitive bi-Cayley graphs of valency at least 3, which settles Li's question on 3-arc-transitive bi-normal Cayley graphs negatively. Proposition 3.3 is the arc-transitive versus semisymmetric dichotomy for normal locally arc-transitive bi-Cayley graphs, the starting point of the paper's later constructions of semisymmetric and half-arc-transitive examples.

All results are proved in the paper (Proposition 2.2 by citation). None of them has a machine-checked proof that this mission knows of. Mathlib has simple graphs, graph isomorphisms and normalisers, but no bi-Cayley graphs, no sss-arcs and no transitivity notions for subgroups of Aut(Γ)\mathrm{Aut}(\Gamma)Aut(Γ). A formal proof would supply the first verified description of the normaliser of a semiregular group with two orbits, reusable for any bi-Cayley or bi-circulant result.

Difficulty

The bulk of the work is Proposition 2.2. That σα,g\sigma_{\alpha,g}σα,g​ and δα,x,y\delta_{\alpha,x,y}δα,x,y​ preserve edges exactly under the conditions of (2.2) is a direct computation. The converse is harder: every automorphism normalising R(H)R(H)R(H) must be one of these permutations composed with some R(h)R(h)R(h). That needs the conjugation action of XXX on R(H)R(H)R(H) to induce an automorphism of HHH, and XXX to preserve the partition {H0,H1}\{H_0, H_1\}{H0​,H1​} into R(H)R(H)R(H)-orbits.

The 3-arc clause looks like a stabiliser count, but it holds only once 111_111​ has at least two neighbours besides 101_010​: for ∣S∣=2|S| = 2∣S∣=2 the graph is a cycle of length 2∣H∣2|H|2∣H∣, the normaliser is the whole dihedral automorphism group, and that group is transitive on 3-arcs. Any proof must use ∣S∣≥3|S| \ge 3∣S∣≥3 at exactly this step.

Formalization scope

The vertex set is H ⊕ H (Sum.inl h =h0= h_0=h0​, Sum.inr h =h1= h_1=h1​). The data (R,L,S)(R, L, S)(R,L,S) is a structure of three Finsets carrying the side conditions R−1=RR^{-1} = RR−1=R, L−1=LL^{-1} = LL−1=L, 1∉R1 \notin R1∈/R, 1∉L1 \notin L1∈/L and ∣R∣=∣L∣|R| = |L|∣R∣=∣L∣. Adjacency is given directly by the three edge rules. Aut(Γ)\mathrm{Aut}(\Gamma)Aut(Γ) is the group Γ ≃g Γ, R(H)R(H)R(H) is the subgroup generated by the R(g)R(g)R(g), and XXX is its Subgroup.normalizer. Automorphisms of HHH are MulAut H, and Δα\Delta^\alphaΔα is the image of Δ\DeltaΔ under α\alphaα. σα,g\sigma_{\alpha,g}σα,g​ and δα,x,y\delta_{\alpha,x,y}δα,x,y​ are permutations of H ⊕ H, and "σα,g∈X\sigma_{\alpha,g} \in Xσα,g​∈X" means that some element of XXX has σα,g\sigma_{\alpha,g}σα,g​ as its vertex map. Products are written pointwise to avoid the composition-order convention of the group of graph automorphisms. An sss-arc is a function on Fin (s+1).

The paper assumes throughout that groups and graphs are finite and graphs connected; each theorem carries Fintype H and connectivity. Three hypotheses are added to the printed Theorem 1.1, each needed for the statement to be true or non-vacuous: 1∈S1 \in S1∈S (the paper's normalisation of a bi-Cayley triple, used by conditions (b) and (c) and by the proof); ∣S∣≥2|S| \ge 2∣S∣≥2 (for ∣S∣=1|S| = 1∣S∣=1 the graph is K2K_2K2​, which has no 2-arcs, so 2-arc-transitivity would hold vacuously while (c) fails); and ∣S∣≥3|S| \ge 3∣S∣≥3 for the 3-arc clause (false for cycles). Lemma 3.2 carries the same 1∈S1 \in S1∈S and ∣S∣≥3|S| \ge 3∣S∣≥3, and Proposition 3.3 carries 1∈S1 \in S1∈S.

Trivializing formalizations are ruled out in four ways. 2-arc-transitivity is never vacuous, since ∣S∣≥2|S| \ge 2∣S∣≥2 guarantees 2-arcs. RRR and LLL are never symmetrised silently, since the side conditions are data rather than repairs. Every transitivity statement is about XXX, not the full Aut(Γ)\mathrm{Aut}(\Gamma)Aut(Γ). Valency is the degree in the graph, never a formula in ∣S∣|S|∣S∣.

Contributions are welcome at every level: proofs of the milestones, a general library of bi-Cayley graphs and their normalisers, and lemmas on sss-arcs and stabilisers in SimpleGraph. The definitions are repeated identically in the companion missions on bi-abelian graphs and bi-dihedrants.

Selected references

  • M. Conder, J.-X. Zhou, Y.-Q. Feng and M.-M. Zhang, Edge-transitive bi-Cayley graphs, arXiv:1606.04625v1, 2016; J. Combin. Theory Ser. B, 2020. https://arxiv.org/abs/1606.04625v1, https://doi.org/10.1016/j.jctb.2020.05.006
  • J.-X. Zhou and Y.-Q. Feng, The automorphisms of bi-Cayley graphs, J. Combin. Theory Ser. B 116 (2016) 504–532 (reference [55] of the paper; source of Proposition 2.2). https://doi.org/10.1016/j.jctb.2015.10.004
  • C. H. Li, Finite s-arc transitive Cayley graphs and flag transitive projective planes, Proc. Amer. Math. Soc. 133 (2005) 31–41 (reference [29] of the paper; Question 1.2(a) and Problem 1.3(b)). https://doi.org/10.1090/S0002-9939-04-07549-5
6 thms1 active userReviewed
PreviousPage 19 of 26Next

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me