Skip to content

Import nearly quadratic split-graph clique partition gaps - #1032

Merged
Vilin97 merged 7 commits into
mainfrom
codex/import-split-clique-gap-20261126
Nov 26, 2026
Merged

Vilin97 merged 7 commits into
mainfrom
codex/import-split-clique-gap-20261126

Conversation

@Vilin97

@Vilin97 Vilin97 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

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 times n² / (log n)^(5/2) · exp(-2√(log(24/7) · log n)). The linear-cut variant survives deletion of fewer than (n+4)/5 vertices. 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.lean retain their upstream statements.

Source

  • Split-graph preprint and frozen Lean archive, November 22, 2026 at 03:52 UTC and Zenodo record.
  • Exact upstream commit 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.
  • The source closure follows 69 modules from the archive's SplitGap.lean. The export includes a host padding module extracted during the port and an interoperability module proving equivalence with Lean Pool's existing SimpleGraph.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

  • Lean v4.36.0 and Mathlib 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 for ZMod, and reduces the isolate-score module’s local import closure from 22 modules to seven. Source attribution and modification notices accompany the port.
  • A fresh topological replay used four workers and wrote project oleans into an empty output directory, with Mathlib and other dependency oleans warm. In the final adjacent pair, the 69-module archive took 189.33 s and the 73-module export closure at fbf48867 took 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 was python3 benchmark_project.py split-paper-one/lean SplitGap pool-split-gap split-submission-before. The optimized command was python3 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, EHPSDensity took 22.35 s before and 11.14 s afterward.
  • lake build LeanPool.SplitCliqueGap.Imports builds 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.

@Vilin97
Vilin97 marked this pull request as ready for review November 26, 2026 11:19

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.lean adapts upstream SplitGap.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 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@Vilin97

Vilin97 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator Author

Independent review requests changes on the Lean proof-authorship classification at fbf48867.

Mathematical scope and novelty

  • I compared all six public asymptotic statement signatures in R434/PolylogGap.lean with the frozen archive. The three card endpoints hold at every sufficiently large exact order. They require a connected split graph and give an explicit positive-amplitude lower bound. The linear version preserves connectivity after deletion of any set of fewer than (n+4)/5 vertices. In the mixed version the fractional feasible set has support on cliques of order at most four and the integral cost is unrestricted. Pinned archive and companion
  • I reviewed the 69-module source closure in groups covering the clique definitions and completion, finite residual triangle packings, affine and layered constructions, exact-order host transfer, product density and analytic endpoints. I traced the finite dual certificate and the cut-survival proof in implementation slices. The fractional completion has an edge-only feasible witness. The exact-order proof obtains the needed host and size bounds internally from the product construction.
  • The existing clique-tree and sum-zero triangle-packing imports cover different results. The asymptotic triangle-packing-gap project bounds packing loss, while this result gives split graphs with a large edge-clique partition gap. The graph partition API and host-transfer lemmas support further constructions. Exact source and declaration searches found no duplicate in Lean Pool, Mathlib or Tau Ceti. Clique trees · Sum-zero packing · Triangle-packing gap

Source and validation

  • The November 22 freeze includes the Apache-2.0 Lean archive. The Codex-attributed initial commit and the author’s disclosure of Claude and ChatGPT/Codex use support AI involvement. The disclosure concerns argument exploration, checking, and manuscript preparation. It leaves open whether humans also wrote a substantial portion of the Lean proof scripts. Publication · Frozen manuscript
  • The warning-free build, generated index, declaration lint, style, static quality and compiled trust checks passed locally. The trust audit covers all 72 project modules. Structural edge-lift and matching proofs replace finite enumeration. The port shares the one-layer cardinality bound and positioned score estimate, derives the bounded-order bounds from the exact-order theorems, and proves GapExtremal.IsSplit G ↔ G.IsSplit in the interoperability module. The follow-up removes unused class parameters and instances from the positioned core. The isolate-score module now pulls in seven project modules, down from 22, and the layered construction uses Mathlib’s ZMod additive-group instance. I checked the endpoint signatures again and traced the new specializations. The final four-worker replay took 189.33 s for the upstream closure and 93.95 s for the exported port.

GitHub checks

Build 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

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict.

No blocking code issue was found in the current changes; external source and dependency comparisons remain unverified.RetriggerView in Greptile

[Low impact] No blocking code issue was found in the current changes; external source and dependency comparisons remain unverified.

Summary

Imports the split-graph clique-partition gap construction, including exact-order results, bounds after vertex deletion, and the restricted fractional variant.

  • Core packings now give lower bounds on split-graph clique-partition gaps.
  • Large-order constructions now yield nearly quadratic split-graph gaps and stronger variants.

Reviews (6) · Last reviewed commit: "Narrow isolate-score dependencies and re..." · Reviewed by Greptile

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

lake build wall time (changed modules): 76.45 s (= 1.27 min) — user 154.65 s, sys 26.70 s.

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 lean --profile: 149454.6 ms (= 149.45 s) across 72 valid files. Import-excluded time: 112599.6 ms (= 112.60 s).

Count-heartbeats wall-clock total: 304.80 s. Repeated import cost inside lean --profile: 36855.0 ms (= 36.85 s).

Heartbeat values sum disjoint root command traces with trace.profiler.useHeartbeats and synchronous elaboration, converted from raw allocations to maxHeartbeats units by dividing by 1000. They include command elaboration and kernel checking, exclude imports, and include profiler overhead; they are not comparable to the deprecated linter's totals. Per-file wall clocks are measured under parallel load and are noisier than heartbeats.

LOC counts added lines in the profiled Lean files from this PR diff.

File LOC Heartbeats (maxHB) Count wall (s) lean --profile (s) Without import (s) Import (s) Commands Errors
LeanPool/SplitCliqueGap/R434/EHPSDensity.lean 290 173,403 15.92 8.30 7.83 0.47 27 0
LeanPool/SplitCliqueGap/GapExtremal/ExactOrder.lean 258 123,207 11.22 3.66 2.94 0.72 41 0
LeanPool/SplitCliqueGap/GapExtremal/Bridge.lean 590 94,987 7.71 3.27 2.82 0.45 126 0
LeanPool/SplitCliqueGap/GapExtremal/Core.lean 374 87,769 6.88 2.39 1.92 0.47 129 0
LeanPool/SplitCliqueGap/R434/UniformOrder.lean 248 78,522 8.03 3.90 3.32 0.59 10 0
LeanPool/SplitCliqueGap/GapExtremal/PHosts.lean 250 73,769 5.16 1.66 1.13 0.54 71 0
LeanPool/SplitCliqueGap/R434/EHPSPotential.lean 166 72,563 9.66 3.10 2.69 0.41 13 0
LeanPool/SplitCliqueGap/R434/EHPSRegion.lean 115 66,747 8.14 2.44 2.05 0.38 15 0
LeanPool/SplitCliqueGap/R434/PolylogGap.lean 219 65,117 7.35 2.72 2.12 0.59 15 0
LeanPool/SplitCliqueGap/R434/LocalH54.lean 170 56,675 9.24 24.71 24.31 0.39 26 0
LeanPool/SplitCliqueGap/GapExtremal/Hosts.lean 283 56,520 6.55 1.91 1.37 0.54 88 0
LeanPool/SplitCliqueGap/R434/TripartiteSlack.lean 159 56,338 5.85 3.72 3.26 0.46 39 0
LeanPool/SplitCliqueGap/GapExtremal/Source.lean 292 53,286 5.07 2.48 1.99 0.49 101 0
LeanPool/SplitCliqueGap/GapExtremal/Global2.lean 324 52,213 7.35 2.05 1.60 0.46 21 0
LeanPool/SplitCliqueGap/GapExtremal/LocalH12.lean 118 49,891 9.16 15.08 14.65 0.43 19 0
LeanPool/SplitCliqueGap/R434/UniversalHosts.lean 146 40,060 4.02 1.16 0.69 0.47 31 0
LeanPool/SplitCliqueGap/GapExtremal/Exponent.lean 160 39,001 5.50 1.74 1.13 0.60 48 0
LeanPool/SplitCliqueGap/GapExtremal/Single.lean 102 38,078 3.80 1.26 0.61 0.65 18 0
LeanPool/SplitCliqueGap/R434/DensityThreshold.lean 82 35,849 4.87 1.59 1.06 0.53 7 0
LeanPool/SplitCliqueGap/R434/TightPieces.lean 102 35,399 4.66 1.43 0.97 0.47 10 0
LeanPool/SplitCliqueGap/R434/CoreFractional.lean 196 35,387 4.63 1.42 0.96 0.47 22 0
LeanPool/SplitCliqueGap/GapExtremal/GlobalLemmas.lean 162 34,074 4.13 1.53 1.09 0.45 28 0
LeanPool/SplitCliqueGap/GapExtremal/PSource.lean 205 33,131 3.12 1.50 1.02 0.48 82 0
LeanPool/SplitCliqueGap/R434/FiniteR434.lean 200 32,299 5.09 1.61 1.14 0.47 18 0
LeanPool/SplitCliqueGap/R434/EHPSCompactExterior.lean 105 31,512 5.18 2.05 1.60 0.45 14 0
LeanPool/SplitCliqueGap/R434/CoreDefect.lean 311 31,225 4.49 1.60 1.13 0.46 35 0
LeanPool/SplitCliqueGap/GapExtremal/Global.lean 139 30,215 4.69 1.24 0.79 0.45 17 0
LeanPool/SplitCliqueGap/R434/LocalPacking.lean 148 30,130 5.05 2.85 2.40 0.45 14 0
LeanPool/SplitCliqueGap/GapExtremal/Sphere.lean 238 27,137 4.97 1.90 1.29 0.61 20 0
LeanPool/SplitCliqueGap/GapExtremal/Residual.lean 228 25,719 3.08 1.15 0.71 0.45 120 0
LeanPool/SplitCliqueGap/R417/OptimalCoefficient.lean 79 24,188 4.22 1.44 0.84 0.59 11 0
LeanPool/SplitCliqueGap/R434/EHPSClasses.lean 183 24,172 4.30 1.58 1.12 0.46 24 0
LeanPool/SplitCliqueGap/R434/EHPSGrid.lean 127 23,325 4.12 1.32 0.88 0.45 11 0
LeanPool/SplitCliqueGap/R434/PolylogOrder.lean 113 22,355 4.42 1.34 0.74 0.59 9 0
LeanPool/SplitCliqueGap/R417/LogErrorAbsorption.lean 97 21,474 3.64 1.39 0.82 0.57 10 0
LeanPool/SplitCliqueGap/GapExtremal/Layered.lean 174 21,235 3.66 1.10 0.51 0.59 39 0
LeanPool/SplitCliqueGap/R434/CoreDirections.lean 115 20,953 2.45 1.20 0.73 0.47 48 0
LeanPool/SplitCliqueGap/GapExtremal/WeightCap.lean 181 18,933 3.44 1.47 0.84 0.63 19 0
LeanPool/SplitCliqueGap/R434/GroupedHosts.lean 269 18,208 3.03 1.52 1.02 0.50 38 0
LeanPool/SplitCliqueGap/GapExtremal/PCore.lean 207 17,442 3.14 1.11 0.64 0.47 57 0
LeanPool/SplitCliqueGap/R434/RobustHosts.lean 162 16,106 3.62 1.59 1.07 0.51 16 0
LeanPool/SplitCliqueGap/R434/PackingTriangles.lean 178 15,781 3.11 1.09 0.63 0.45 12 0
LeanPool/SplitCliqueGap/R434/AffineH54.lean 191 15,074 3.03 1.71 1.25 0.46 44 0
LeanPool/SplitCliqueGap/GapExtremal/Completion.lean 283 14,727 3.05 1.12 0.68 0.44 75 0
LeanPool/SplitCliqueGap/R434/ResidualArithmetic.lean 69 14,658 3.49 1.05 0.65 0.41 10 0
LeanPool/SplitCliqueGap/R434/EHPSHostTransfer.lean 76 14,441 3.12 0.90 0.44 0.47 13 0
LeanPool/SplitCliqueGap/R434/UniversalR434.lean 85 13,520 3.25 1.18 0.58 0.60 7 0
LeanPool/SplitCliqueGap/GapExtremal/LayeredExponent.lean 80 13,305 2.02 0.93 0.34 0.59 15 0
LeanPool/SplitCliqueGap/R434/EHPSProduct.lean 123 13,109 2.25 0.95 0.50 0.45 19 0
LeanPool/SplitCliqueGap/R434/LocalTriangleLift.lean 113 12,108 2.50 0.85 0.40 0.46 41 0
LeanPool/SplitCliqueGap/R434/TightTriangles.lean 156 11,942 3.10 0.94 0.47 0.47 14 0
LeanPool/SplitCliqueGap/GapExtremal/Geometry.lean 87 11,818 2.91 0.79 0.37 0.43 10 0
LeanPool/SplitCliqueGap/R434/ResidualIsolates.lean 163 10,891 2.82 1.00 0.54 0.46 26 0
LeanPool/SplitCliqueGap/GapExtremal/LocalEmbed.lean 167 10,879 2.60 1.37 0.89 0.49 14 0
LeanPool/SplitCliqueGap/GapExtremal/Cap.lean 101 10,684 1.87 0.70 0.30 0.40 47 0
LeanPool/SplitCliqueGap/GapExtremal/PMain.lean 71 10,527 2.55 0.87 0.32 0.54 23 0
LeanPool/SplitCliqueGap/GapExtremal/Main.lean 66 9,585 2.06 0.89 0.35 0.54 15 0
LeanPool/SplitCliqueGap/R434/MidpointHosts.lean 133 8,324 2.51 0.79 0.34 0.45 37 0
LeanPool/SplitCliqueGap/GraphBase/Clique/Partition.lean 250 8,095 2.31 0.86 0.42 0.44 100 0
LeanPool/SplitCliqueGap/R434/RoleMatchings.lean 44 7,238 2.57 1.46 0.98 0.49 8 0
LeanPool/SplitCliqueGap/R434/OddMidpoints.lean 64 6,244 2.21 0.77 0.33 0.44 14 0
LeanPool/SplitCliqueGap/R434/GroupedGap.lean 55 4,927 1.95 0.73 0.26 0.47 9 0
LeanPool/SplitCliqueGap/R434/PartitionEnergy.lean 80 4,896 2.08 0.67 0.27 0.40 10 0
LeanPool/SplitCliqueGap/GapExtremal/SCap.lean 69 3,469 2.31 0.82 0.22 0.60 30 0
LeanPool/SplitCliqueGap/GapExtremal/GraphPadding.lean 106 3,420 2.00 0.71 0.25 0.46 41 0
LeanPool/SplitCliqueGap/GraphBase/Clique/CliqueSets.lean 75 2,577 1.81 0.64 0.20 0.44 30 0
LeanPool/SplitCliqueGap/GapExtremal/Defs.lean 63 820 1.65 0.57 0.15 0.42 29 0
LeanPool/SplitCliqueGap/R434/ExactGraphTransfer.lean 38 783 1.81 0.62 0.15 0.47 7 0
LeanPool/SplitCliqueGap/GapExtremal/ExponentTwo.lean 32 332 1.63 0.75 0.15 0.60 6 0
LeanPool/SplitCliqueGap/SplitPartition.lean 37 247 1.75 0.61 0.14 0.47 6 0
LeanPool/SplitCliqueGap.lean 21 0 2.09 1.87 0.13 1.74 2 0
LeanPool/SplitCliqueGap/Imports.lean 79 0 1.78 0.73 0.12 0.61 1 0
Total 11,242 2,143,039 304.80 149.45 112.60 36.85 2222 0

Aggregate phase totals

Phase Time
import 36855.0 ms (= 36.85 s)
blocked (unaccounted) 32713.8 ms (= 32.71 s)
interpretation 21952.1 ms (= 21.95 s)
type checking 18203.3 ms (= 18.20 s)
typeclass inference 11364.4 ms (= 11.36 s)
tactic execution 9777.8 ms (= 9.78 s)
simp 4849.4 ms (= 4.85 s)
norm_num 3036.6 ms (= 3.04 s)
elaboration 2622.9 ms (= 2.62 s)
initialization 1936.2 ms (= 1.94 s)
linting 1381.9 ms (= 1.38 s)
ring 1265.6 ms (= 1.27 s)

Slowest changed modules (from lake build)

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 --profile output for every file are in the run's step summary and proof-profile artifact.

Advisory only — never blocks merge.

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@Vilin97

Vilin97 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator Author

🤖 LLM review (gpt-6.2-sol, 5 rubrics)

Reviewed head: fbf48867f6503eae364ac9eb9258a293b854eb24

Verdict: ✅ approve — computed from the rubric verdicts below, not chosen by a model.

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 at 73aa5017.’ Another lists ‘Verdict: ✅ approve’ for 73aa50173bbbc15f3fc414507449af7fa149cdf6.

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_isSplit proves IsSplit G ↔ G.IsSplit. The pooled SimpleGraph.IsSplit.exists_maximum_clique_partition gives a maximum clique whose complement is independent, and LeanPool.AsymptoticTrianglePacking.trianglePackingGap bounds 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’s SimpleGraph.triangle_removal gives a triangle-free subgraph after a small edge deletion under a triangle-count hypothesis. Tau Ceti’s LinearPMap.resolvent_le_resolvent_friedrichsExtension compares resolvents of operator extensions, SimpleGraph.IsNClique.map_copy transports individual cliques, and TauCeti.X_mul_derivative_rationalPolylogSeries gives 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 head 73aa50173bbbc15f3fc414507449af7fa149cdf6 and records approve overall and pass for 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.json opens with ‘Independent review requests confirmation or correction of the Lean proof-authorship classification at 73aa5017.’ A separate comment lists ‘Reviewed head: 73aa50173bbbc15f3fc414507449af7fa149cdf6’ and ‘Verdict: ✅ approve’.

Code quality findings (6)

  • unused-hypothesis — LeanPool/SplitCliqueGap/GapExtremal/Global.lean:43
    BlockHyp.inter requires callers to prove pairwise block intersections have size at most one. exists_pieces uses tri and one, and global_bound builds its BlockHyp2 using edge, tri, and one. Drop the field and its proof in Core.lean so callers supply only the geometry these proofs use.
    Evidence: BlockHyp declares inter : ∀ ℓ ∈ blocks, ∀ ℓ' ∈ blocks, ℓ ≠ ℓ' → (ℓ ∩ ℓ').card ≤ 1. global_bound constructs the weaker certificate with refine ⟨hB.edge, hB.tri, ?_, ?_⟩ and fills both remaining fields from hB.one. blockHyp in Core.lean supplies the unused field with exact card_inter_line_le hne.
  • duplicate-definition — LeanPool/SplitCliqueGap/GapExtremal/PHosts.lean:60
    GoodP and PSel repeat the tests already implemented by GoodS and Sel in Hosts.lean. The positioned symmetry and exterior-direction proofs also duplicate their base versions. Define the positioned predicates by applying the base predicates to D.σ and D.base. Lean accepts sel_symm and ext_of_not_sel directly 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 j duplicates def GoodS (s : Sym2 F) : Prop := ∀ i j : Fin 6, s = s(σ i, σ j) → ¬ H12.graph.Adj i j. PSel repeats Sel with ∃ c ∈ C, D.base v' - D.base v = ((D.base v').1 - (D.base v).1) • u c. Both psel_symm and sel_symm finish with rw [← neg_sub, h, ← neg_smul, neg_sub].
  • duplicate-proof — LeanPool/SplitCliqueGap/R434/EHPSDensity.lean:117
    densitySet_in_region and density_grid_lower independently recover a bounded integer from its residue by converting through Int.toNat. Prove the integer equality once using ZMod.val_intCast and Int.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_region defines have hval (a : ℤ) (ha : 0 ≤ a) (hU : a < (m : ℤ)) : and uses rw [he, ZMod.val_natCast_of_lt hlt]. density_grid_lower defines have recInt (x : ℤ) (hx : 0 ≤ x) (hx' : x < (m : ℤ)) : ((x : ZMod m).val : ℤ) = x := by and uses rw [he, ZMod.val_natCast_of_lt hN, h].
  • duplicate-definition — LeanPool/SplitCliqueGap/R434/EHPSDensity.lean:184
    baseHeight and heightSlope separately encode the coefficients of stripTop - 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: baseHeight uses match i.val with | 0 => 6 | 1 => 6 | 2 => 0 | 3 => 3 | 4 => 0 | 5 => 2 | _ => 3. heightSlope uses match i.val with | 1 => -1 | 2 => 1 | 4 => 2 | 5 => 1 | _ => 0. idealHeight combines the tables as baseHeight i * (p : ℤ) + heightSlope i * (j : ℤ). The third strip, for example, has | 2 => 6 * q-k in stripBottom and | 2 => 6 * q in stripTop.
  • duplicate-proof — LeanPool/SplitCliqueGap/GapExtremal/Bridge.lean:579
    Use hx.sum_cliqueSets in gapWithFracFour_ge to share the support argument with the clique partition API. In Completion.lean, replace mem_cliques and pair_of_card_two with direct calls to mem_cliqueSets_iff_isClq and Finset.card_eq_two.mp. These copies create multiple places to update when the underlying API changes.
    Evidence: gapWithFracFour_ge reproves have hs : ∑ Q ∈ (hostGraph N).cliqueSets, x Q = ∑ Q, x Q := using sum_subset (subset_univ _) fun Q _ hQ => by. Partition.lean already states ∑ Q ∈ G.cliqueSets, x Q = ∑ Q, x Q := by in IsFracCliquePartition.sum_cliqueSets. In Completion.lean, mem_cliques is defined by mem_cliqueSets_iff_isClq, and pair_of_card_two destructures and repacks Finset.card_eq_two.mp h2.
  • unused-import — LeanPool/SplitCliqueGap/GapExtremal/SCap.lean:10
    I checked 21 modules individually with the listed direct Mathlib.Tactic imports removed under the repository's Lean options. Remove these imports so the headers identify the dependencies the proofs need. SCap drops all six imports shown below, Global drops Ring, Choose, NormNum, and SplitIfs, LayeredExponent drops NormNum, Push, and Ring, ExactOrder drops Choose and SplitIfs, PCore drops Ring and Abel, and Single drops Positivity and Push. The other removals are Positivity in Completion, Ring in Layered and PSource, ByContra in CoreDefect and CoreFractional, and NormNum in Exponent, GlobalLemmas, Hosts, LocalEmbed, PMain, Sphere, DensityThreshold, PartitionEnergy, TightPieces, and TripartiteSlack.
    Evidence: SCap.lean imports all six of the following before pgap_ge_third_s, isSCap_capPow, and actCol_single: import Mathlib.Tactic.Linarith, import Mathlib.Tactic.NormNum, import Mathlib.Tactic.Positivity, import Mathlib.Tactic.Push, import Mathlib.Tactic.Ring, and import 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 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Vilin97

Vilin97 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Vilin97
Vilin97 added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 75e2c6b Nov 26, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant