Repository navigation
Import nearly quadratic split-graph clique partition gaps - #1032
Conversation
Vilin97
left a comment
There was a problem hiding this comment.
The split-graph gap construction checks out at 218d8ec2. The adapted entry module needs a modification notice before merge.
- The three selected endpoints construct connected split graphs of every sufficiently large order and give a positive, nearly quadratic lower bound on the partition gap. The linear-cut result guarantees that the graph stays connected after deletion of fewer than one fifth of its vertices. The mixed result applies the same lower bound with fractional pieces of size at most four.
- All six asymptotic statements match the frozen source. The public index covers the 69 source modules, and the development uses Mathlib without vendoring its graph machinery. I found no duplicate of the endpoint results in Lean Pool, Mathlib, or Tau Ceti. Frozen archive
LeanPool/SplitCliqueGap.leanadapts upstreamSplitGap.lean. Add the same modification notice used in the other ported files. The card can also say “remains connected after deletion” to state the cut guarantee directly. Upstream entry module · Apache-2.0 §4
Vilin97
left a comment
There was a problem hiding this comment.
Source approved at b5aa7246. The entry module now carries the port’s modification notice.
The card describes the cut guarantee as connectivity after deletion of fewer than one fifth of the vertices. This matches the integer threshold in the theorem. The source repair changes no imports, mathematical declarations, or proofs. Earlier review
|
Independent review requests changes on the Lean proof-authorship classification at Mathematical scope and novelty
Source and validation
GitHub checksBuild project and content separation passed on this commit. The Lean CI job also passed the generated-index, lint, style and repository quality steps. The proof profile and Greptile checks passed, and Greptile’s earlier threads on proof reuse and the split-graph API are resolved. GPT approved all four blocking rubrics. Its remaining advisory notes cover helper reuse, a block-geometry field, and tactic imports. The provenance question applies to the pinned upstream proofs. Lean Action CI · Proof profile · GPT review |
|
Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict. [Low impact] No blocking code issue was found in the current changes; external source and dependency comparisons remain unverified. SummaryImports the split-graph clique-partition gap construction, including exact-order results, bounds after vertex deletion, and the restricted fractional variant.
Reviews (6) · Last reviewed commit: "Narrow isolate-score dependencies and re..." · Reviewed by Greptile |
Proof profile (new / modified Lean files)
This build covers the changed modules and their dependency cones on top of the restored cache. The serial per-file sums below are useful for ranking slow files, not as a build budget. Total heartbeats: 2,143,039 maxHeartbeats units across 72 valid files (11,242 added LOC). Sum of Count-heartbeats wall-clock total: 304.80 s. Repeated import cost inside Heartbeat values sum disjoint root command traces with LOC counts added lines in the profiled Lean files from this PR diff.
Aggregate phase totals
Slowest changed modules (from
|
| Changed module | Lake time |
|---|---|
LeanPool.SplitCliqueGap.R434.LocalH54 |
10.00 s |
LeanPool.SplitCliqueGap.GapExtremal.LocalH12 |
10.00 s |
LeanPool.SplitCliqueGap.R434.EHPSDensity |
7.60 s |
LeanPool.SplitCliqueGap.R434.UniformOrder |
6.70 s |
LeanPool.SplitCliqueGap.R434.LocalPacking |
4.50 s |
LeanPool.SplitCliqueGap.R434.EHPSRegion |
4.00 s |
LeanPool.SplitCliqueGap.R434.EHPSPotential |
3.80 s |
LeanPool.SplitCliqueGap.R434.PolylogGap |
3.60 s |
LeanPool.SplitCliqueGap.GapExtremal.ExactOrder |
3.60 s |
LeanPool.SplitCliqueGap.GapExtremal.Global2 |
3.50 s |
LeanPool.SplitCliqueGap.GapExtremal.Bridge |
3.10 s |
LeanPool.SplitCliqueGap.GapExtremal.Residual |
2.90 s |
Comment truncated to fit GitHub's 64 KB limit. This PR profiles 72 files; the per-file table shows only the 72 hottest by heartbeats. The full table and raw
lean --profileoutput for every file are in the run's step summary andproof-profileartifact.
Advisory only — never blocks merge.
|
/review |
Vilin97
left a comment
There was a problem hiding this comment.
Source approved at f618d5d9. The exact-head Lean build passed.
The asymptotic statements and the card are unchanged. The split predicate is now connected to the pool’s shared split-partition API via an equivalence. The order estimate and exponent proof reuse their existing stronger constructions. Earlier source review
🤖 LLM review (
|
| Rubric | Verdict | Bottom line |
|---|---|---|
| Faithfulness | ✅ pass |
All three card claims match the Lean, and the targeted build passed using pinned dependency archives while exact-head CI remained in progress. CI run |
| Novelty | ✅ pass |
I found no duplicate of the three headlines in the sources checked, and the exact-head CI run was still at its build step. Lean Action CI |
| Significance | ✅ pass |
The project meets the research bar, and an isolated Lake build compiled all 72 project modules with warnings treated as errors while full CI was still in progress. Exact-head CI |
| Sources | ✅ pass |
The exact-order and linear-cut bounds match Theorems 1.1 and 1.4, the companion documents the restriction to fractional cliques of size at most four, and all six asymptotic signatures match the frozen Lean archive. Preprint · Companion · Frozen Lean |
| Code quality (advisory) | flag |
The scoped build and declaration lint passed locally and exact-head Lean Action CI reported success, with an unused block hypothesis, duplicated proofs, and redundant tactic imports worth removing. |
| Aspect | Value |
|---|---|
| Proves the claim | ✅ proves_it |
| Matches cited source | ✅ matches |
| Fit | ✅ good_fit |
| Level | research |
| Branch | extremal graph theory |
| Mode | theory_building |
| Code quality | 3 / 5 |
Statement check: The theorems give connected split graphs of every sufficiently large exact order with the stated positive gap bound, both linear variants preserve connectivity after deleting fewer than one fifth of the vertices, and the mixed variant compares the unrestricted integral optimum with the fractional optimum over cliques of size at most four.
The development combines a reusable transfer from packing scores to clique-partition gaps with an affine product construction to prove a nearly quadratic additive gap at every sufficiently large split-graph order, even when fractional cliques have size at most four and the graph must remain connected after deletion of fewer than one fifth of its vertices.
Faithfulness findings (1)
- prompt-injection — PR-wide
The PR discussion invokes an independent review request and reposts an approval for an earlier head, which could steer the current verdict without evidence from the submitted Lean.
Evidence: One comment says ‘Independent review requests confirmation or correction of the Lean proof-authorship classification at73aa5017.’ Another lists ‘Verdict: ✅approve’ for73aa50173bbbc15f3fc414507449af7fa149cdf6.
Novelty findings (3)
- partial-overlap —
LeanPool/SplitCliqueGap/SplitPartition.lean:18
The split-graph condition is already in Lean Pool. The headline theorems add exact-order witnesses with a quantitative gap between edge-clique partition optima.
Evidence:isSplit_iff_simpleGraph_isSplitprovesIsSplit G ↔ G.IsSplit. The pooledSimpleGraph.IsSplit.exists_maximum_clique_partitiongives a maximum clique whose complement is independent, andLeanPool.AsymptoticTrianglePacking.trianglePackingGapbounds the triangle-packing gap from above. - prior-art-coverage — PR-wide
Semantic coverage remains unverifiable for all three headlines. The supplied Mathlib search did not run, so I searched the pinned Mathlib source and checked the supplied Tau Ceti declarations plus 175 pinned candidate files.
Evidence: Mathlib’sSimpleGraph.triangle_removalgives a triangle-free subgraph after a small edge deletion under a triangle-count hypothesis. Tau Ceti’sLinearPMap.resolvent_le_resolvent_friedrichsExtensioncompares resolvents of operator extensions,SimpleGraph.IsNClique.map_copytransports individual cliques, andTauCeti.X_mul_derivative_rationalPolylogSeriesgives a formal derivative identity. - prompt-injection —
.review-pr.json:1
The discussion presents a prior approval and novelty verdict that could steer the independent review of this head.
Evidence: The reposted review identifies head73aa50173bbbc15f3fc414507449af7fa149cdf6and recordsapproveoverall andpassfor novelty.
Sources findings (1)
- prompt-injection — PR-wide
The PR discussion invokes a review request and an approval for an earlier head, which could steer the source verdict for the current revision.
Evidence: One comment in.review-pr.jsonopens with ‘Independent review requests confirmation or correction of the Lean proof-authorship classification at73aa5017.’ A separate comment lists ‘Reviewed head:73aa50173bbbc15f3fc414507449af7fa149cdf6’ and ‘Verdict: ✅approve’.
Code quality findings (6)
- unused-hypothesis —
LeanPool/SplitCliqueGap/GapExtremal/Global.lean:43
BlockHyp.interrequires callers to prove pairwise block intersections have size at most one.exists_piecesusestriandone, andglobal_boundbuilds itsBlockHyp2usingedge,tri, andone. Drop the field and its proof inCore.leanso callers supply only the geometry these proofs use.
Evidence:BlockHypdeclaresinter : ∀ ℓ ∈ blocks, ∀ ℓ' ∈ blocks, ℓ ≠ ℓ' → (ℓ ∩ ℓ').card ≤ 1.global_boundconstructs the weaker certificate withrefine ⟨hB.edge, hB.tri, ?_, ?_⟩and fills both remaining fields fromhB.one.blockHypinCore.leansupplies the unused field withexact card_inter_line_le hne. - duplicate-definition —
LeanPool/SplitCliqueGap/GapExtremal/PHosts.lean:60
GoodPandPSelrepeat the tests already implemented byGoodSandSelinHosts.lean. The positioned symmetry and exterior-direction proofs also duplicate their base versions. Define the positioned predicates by applying the base predicates toD.σandD.base. Lean acceptssel_symmandext_of_not_seldirectly at the positioned statements.
Evidence:def GoodP (s : Sym2 P) : Prop := ∀ i j : Fin 6, s = s(D.σ i, D.σ j) → ¬ H12.graph.Adj i jduplicatesdef GoodS (s : Sym2 F) : Prop := ∀ i j : Fin 6, s = s(σ i, σ j) → ¬ H12.graph.Adj i j.PSelrepeatsSelwith∃ c ∈ C, D.base v' - D.base v = ((D.base v').1 - (D.base v).1) • u c. Bothpsel_symmandsel_symmfinish withrw [← neg_sub, h, ← neg_smul, neg_sub]. - duplicate-proof —
LeanPool/SplitCliqueGap/R434/EHPSDensity.lean:117
densitySet_in_regionanddensity_grid_lowerindependently recover a bounded integer from its residue by converting throughInt.toNat. Prove the integer equality once usingZMod.val_intCastandInt.emod_eq_of_lt, then cast it to ℝ for the region proof. This gives both proofs the same treatment of the coordinate bounds.
Evidence:densitySet_in_regiondefineshave hval (a : ℤ) (ha : 0 ≤ a) (hU : a < (m : ℤ)) :and usesrw [he, ZMod.val_natCast_of_lt hlt].density_grid_lowerdefineshave recInt (x : ℤ) (hx : 0 ≤ x) (hx' : x < (m : ℤ)) : ((x : ZMod m).val : ℤ) = x := byand usesrw [he, ZMod.val_natCast_of_lt hN, h]. - duplicate-definition —
LeanPool/SplitCliqueGap/R434/EHPSDensity.lean:184
baseHeightandheightSlopeseparately encode the coefficients ofstripTop - stripBottom. A change to a strip boundary can leave the height tables stale. Derive both coefficients from the boundary functions, or store the boundary coefficients once and derive both sets of functions from them.
Evidence:baseHeightusesmatch i.val with | 0 => 6 | 1 => 6 | 2 => 0 | 3 => 3 | 4 => 0 | 5 => 2 | _ => 3.heightSlopeusesmatch i.val with | 1 => -1 | 2 => 1 | 4 => 2 | 5 => 1 | _ => 0.idealHeightcombines the tables asbaseHeight i * (p : ℤ) + heightSlope i * (j : ℤ). The third strip, for example, has| 2 => 6 * q-kinstripBottomand| 2 => 6 * qinstripTop. - duplicate-proof —
LeanPool/SplitCliqueGap/GapExtremal/Bridge.lean:579
Usehx.sum_cliqueSetsingapWithFracFour_geto share the support argument with the clique partition API. InCompletion.lean, replacemem_cliquesandpair_of_card_twowith direct calls tomem_cliqueSets_iff_isClqandFinset.card_eq_two.mp. These copies create multiple places to update when the underlying API changes.
Evidence:gapWithFracFour_gereproveshave hs : ∑ Q ∈ (hostGraph N).cliqueSets, x Q = ∑ Q, x Q :=usingsum_subset (subset_univ _) fun Q _ hQ => by.Partition.leanalready states∑ Q ∈ G.cliqueSets, x Q = ∑ Q, x Q := byinIsFracCliquePartition.sum_cliqueSets. InCompletion.lean,mem_cliquesis defined bymem_cliqueSets_iff_isClq, andpair_of_card_twodestructures and repacksFinset.card_eq_two.mp h2. - unused-import —
LeanPool/SplitCliqueGap/GapExtremal/SCap.lean:10
I checked 21 modules individually with the listed directMathlib.Tacticimports removed under the repository's Lean options. Remove these imports so the headers identify the dependencies the proofs need.SCapdrops all six imports shown below,GlobaldropsRing,Choose,NormNum, andSplitIfs,LayeredExponentdropsNormNum,Push, andRing,ExactOrderdropsChooseandSplitIfs,PCoredropsRingandAbel, andSingledropsPositivityandPush. The other removals arePositivityinCompletion,RinginLayeredandPSource,ByContrainCoreDefectandCoreFractional, andNormNuminExponent,GlobalLemmas,Hosts,LocalEmbed,PMain,Sphere,DensityThreshold,PartitionEnergy,TightPieces, andTripartiteSlack.
Evidence:SCap.leanimports all six of the following beforepgap_ge_third_s,isSCap_capPow, andactCol_single:import Mathlib.Tactic.Linarith,import Mathlib.Tactic.NormNum,import Mathlib.Tactic.Positivity,import Mathlib.Tactic.Push,import Mathlib.Tactic.Ring, andimport Mathlib.Tactic.Abel.
Tokens: 10,567,673 in / 62,550 out across 5 model calls · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $43.2089 (Standard API equivalent; uncached input)
Each rubric is an independent review against .github/review-rubrics/ on top of .github/REVIEW_RULES.md. Disagree? Reply on the PR; rules can be updated in a PR of their own.
CI was not green for this commit at review time; this review does not replace CI.
Vilin97
left a comment
There was a problem hiding this comment.
Source approved at 4f443125. The exact-head build is still running.
All six asymptotic result statements and their proof file are byte-identical. The padding and connectivity arguments move to a shared module, and the constructions reuse their common packing and exponent estimates. The narrower entry imports leave the full development reachable through LeanPool.SplitCliqueGap.Imports. The moved code retains its upstream attribution and port notice. Earlier source review
|
/review |
|
/review |
|
/review |
Vilin97
left a comment
There was a problem hiding this comment.
Source review passed for 73aa5017. Hosted Lean validation is pending.
The six listed endpoints and their proof file are unchanged. The exact-order proof continues to transfer the same power counts to the host. The tp_single and tp_single_s statements move to ExactOrder and remain available through the complete import entry, which still reaches all 72 source modules.
|
/review |
Vilin97
left a comment
There was a problem hiding this comment.
Source review passed for fbf48867. Required Lean CI passed.
All six endpoint proofs and the project’s default and complete import surfaces are unchanged. A direct ResidualIsolates import now reaches Bridge without pulling in RobustHosts. The removed scoped ZMod override duplicated the additive-group structure supplied by the pinned Mathlib ring instance.
Ready for review of the construction in Nearly Quadratic Additive Gaps for Edge-Clique Partitions of Split Graphs.
Result
For each sufficiently large order
n, the development constructs a connected split graph whose integral edge-clique partition number exceeds its fractional partition number by at least a positive constant timesn² / (log n)^(5/2) · exp(-2√(log(24/7) · log n)). The linear-cut variant survives deletion of fewer than(n+4)/5vertices. The mixed variant restricts the fractional partition to cliques of size at most four.The dependency closure includes reusable clique-partition definitions, the transfer of triangle-packing scores to split graphs, and finite and asymptotic product constructions. The three card endpoints and the three other public asymptotic statements in
R434/PolylogGap.leanretain their upstream statements.Source
e96952eb38aaac532e5714be66a80535ebfd547a. The Apache-2.0 archive credits Juan Pablo Traverso Gianini. The freeze commit is attributed to Codex, and the manuscript records Claude and ChatGPT/Codex assistance. The card records AI proof provenance based on this evidence.SplitGap.lean. The export includes a host padding module extracted during the port and an interoperability module proving equivalence with Lean Pool's existingSimpleGraph.IsSplit. Lean Pool generates the public wrapper. The scope is the positive construction in Theorems 1.1 and 1.4 of this preprint and its mixed variant, as documented in the formalization companion.Port and build measurements
fc4f59e577feb1a4956671bc04ac18aaaf8cd842. Replaced exhaustive triangle-index and matching proofs with structural arguments, reduced duplicated geometric cases using symmetry, and shared cardinality, cap-power, and score estimates. The original bounded-order exponent bounds now follow from the exact-order construction. The port narrows graph and tactic imports, removes unused typeclass parameters and equality instances, uses Mathlib’s additive-group instance forZMod, and reduces the isolate-score module’s local import closure from 22 modules to seven. Source attribution and modification notices accompany the port.fbf48867took 93.95 s, including the existing split-graph dependency. The original cold project replay took 223.31 s on the shared VM, and an earlier adjacent pair took 112.43 s and 61.67 s. The baseline command waspython3 benchmark_project.py split-paper-one/lean SplitGap pool-split-gap split-submission-before. The optimized command waspython3 benchmark_project.py pool-split-gap LeanPool.SplitCliqueGap.Imports pool-split-gap split-submission-after. Both invoke pinned Lean with-DrelaxedAutoImplicit=false -DmaxSynthPendingDepth=3. In the final pair,EHPSDensitytook 22.35 s before and 11.14 s afterward.lake build LeanPool.SplitCliqueGap.Importsbuilds the content warning-free under repository settings. The generated index, declaration lint, style, static quality, and scoped trust audit passed locally. The audit covers 72 project modules, including the generated export wrapper, graph padding, and graph API conversion. All six public asymptotic signatures match the archive. The full repository validation runs in CI.