Skip to content

Add CircularArcChoosability: circular-arc graphs are chromatic-choosable (Tao 2026) - #1072

Merged
Vilin97 merged 2 commits into
LeanPool:mainfrom
koolkao:koolkao/circular-arc-choosability
Nov 28, 2026
Merged

Vilin97 merged 2 commits into
LeanPool:mainfrom
koolkao:koolkao/circular-arc-choosability

Conversation

@koolkao

@koolkao koolkao commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Adds LeanPool/CircularArcChoosability/ (8 Lean files, about 660 lines) and its project card.

Main results:

  • CircularArcChoosability.isKChoosable_of_colorable: a finite k-colourable circular-arc graph
    is k-choosable.
  • CircularArcChoosability.tao_theorem_1_1: for a finite intersection graph of a set of nonempty
    closed arcs of AddCircle 1, G.chromaticNumber equals the list chromatic number (defined from
    scratch), i.e. Theorem 1.1 of R. Tao, "List colouring of circular-arc graphs", arXiv:2611.20947.
    This proves the Prowse–Woodall conjecture (MathOverflow 456166).

The proof follows Tao: a coefficient formula (an equal-size case of Schauz's formula, via
Lagrange.coeff_eq_sum), the graph polynomial on extended arcs, and Mathlib's
MvPolynomial.combinatorial_nullstellensatz_exists_eval_ne_zero. The definition IsKChoosable
follows SimpleGraph.IsKChoosable in google-deepmind/formal-conjectures (Apache-2.0). No
circular-arc or choosability development exists in Mathlib, Tau Ceti or the pool as far as I
searched (the pool's ListEdgeColoringComplete and ClassicalGraphColouring/Galvin treat list edge
colouring).

Port of github.com/koolkao/tao-circular-arc-lean (v1.0.2, doi:10.5281/zenodo.24628619) from Lean
v4.33.1 to the pool's v4.36.0 / Mathlib fc4f59e: module headers, explicit imports, Finite in
place of unused Fintype/DecidableEq instances, one deprecated lemma renamed. Checked locally in a
clone of this repository at 2ba0fbcf: lake build LeanPool.CircularArcChoosability.Imports
(with the LeanPoolLinters plugin and warningAsError), lake exe mk_all --module --check,
lake exe runLinter on every module of the project, lake exe lint-style LeanPool, and
python -m lean_pool.quality --static-only all pass; #print axioms on both main results gives
propext, Classical.choice, Quot.sound. The full quality run (pool-wide Lean audits) was not
run locally.

AI use: the Lean code was written by Claude Code (Anthropic's Claude Opus 5.5) directed by me;
provenance: AI. I am responsible for the submission.

— Ming-Chih Kao (@koolkao, ORCID 0000-0001-7274-9430)

🤖 Generated with Claude Code

https://claude.ai/code/session_01M4JErZBm9z9b77C1scLDrU

…ble (Tao 2026)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M4JErZBm9z9b77C1scLDrU
@greptile-apps

greptile-apps Bot commented Nov 28, 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 actionable defect was found in the latest comment-only changes; this is not a full merge approval.RetriggerView in Greptile

[Low impact] No actionable defect was found in the latest comment-only changes; this is not a full merge approval.

Summary

Adds a proof that finite circular-arc graphs are chromatic-choosable, with supporting arc and polynomial results.

  • Finite circular-arc graphs can now be coloured from lists as large as their chromatic number.

Reviews (2) · Last reviewed commit: "Retain the Formal Conjectures attributio..." · Reviewed by Greptile

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

lake build wall time (changed modules): 18.97 s (= 0.32 min) — user 11.64 s, sys 4.26 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: 37,670 maxHeartbeats units across 8 valid files (667 added LOC).

Sum of lean --profile: 7017.6 ms (= 7.02 s) across 8 valid files. Import-excluded time: 2668.6 ms (= 2.67 s).

Count-heartbeats wall-clock total: 16.02 s. Repeated import cost inside lean --profile: 4349.0 ms (= 4.35 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/CircularArcChoosability/GraphPolynomial.lean 137 15,462 2.84 1.09 0.59 0.50 24 0
LeanPool/CircularArcChoosability/Coefficient.lean 92 8,171 2.60 1.04 0.48 0.56 10 0
LeanPool/CircularArcChoosability/ArcExtension.lean 119 6,265 2.27 0.90 0.51 0.38 23 0
LeanPool/CircularArcChoosability/Main.lean 113 4,239 1.71 0.83 0.31 0.52 9 0
LeanPool/CircularArcChoosability/ChromaticNumber.lean 92 3,361 2.21 0.89 0.36 0.54 13 0
LeanPool/CircularArcChoosability/Defs.lean 64 172 1.33 0.57 0.15 0.42 8 0
LeanPool/CircularArcChoosability.lean 35 0 1.51 1.04 0.14 0.90 3 0
LeanPool/CircularArcChoosability/Imports.lean 15 0 1.55 0.67 0.13 0.54 1 0
Total 667 37,670 16.02 7.02 2.67 4.35 91 0

Aggregate phase totals

Phase Time
import 4349.0 ms (= 4.35 s)
interpretation 1160.0 ms (= 1.16 s)
typeclass inference 346.5 ms (= 0.35 s)
tactic execution 305.1 ms (= 0.31 s)
initialization 224.7 ms (= 0.22 s)
simp 174.7 ms (= 0.17 s)
type checking 121.7 ms (= 0.12 s)
elaboration 104.3 ms (= 0.10 s)
linting 62.3 ms (= 0.06 s)
ring 37.3 ms (= 0.04 s)
declTypeLinter 26.4 ms (= 0.03 s)
parsing 25.2 ms (= 0.03 s)

Slowest changed modules (from lake build)

Changed module Lake time
LeanPool.CircularArcChoosability.Coefficient 1.90 s
LeanPool.CircularArcChoosability.Defs 1.80 s
LeanPool.CircularArcChoosability.ArcExtension 1.70 s
LeanPool.CircularArcChoosability.GraphPolynomial 0.92 s
LeanPool.CircularArcChoosability.ChromaticNumber 0.91 s
LeanPool.CircularArcChoosability.Main 0.87 s
LeanPool.CircularArcChoosability 0.74 s
LeanPool.CircularArcChoosability.Imports 0.72 s
Per-file `lean --profile` output

LeanPool/CircularArcChoosability.lean

import took 895ms
cumulative profiling times:
	declTypeLinter 0.885ms
	elaboration 0.191ms
	import 895ms
	initialization 28.1ms
	interpretation 110ms
	linting 0.61ms
	module linting 0.0451ms
	parsing 0.0502ms
	tacticAnalysis 0.66ms
real 1.54
user 0.76
sys 0.51

LeanPool/CircularArcChoosability/ArcExtension.lean

import took 382ms
cumulative profiling times:
	attribute application 0.082ms
	congr simp thm 0.897ms
	declTypeLinter 4.19ms
	elaboration 30.6ms
	fix level params 0.568ms
	import 382ms
	initialization 27.3ms
	instantiate metavars 0.846ms
	interpretation 216ms
	let-to-have transformation 0.128ms
	linting 14.7ms
	module linting 0.0201ms
	norm_num 13.4ms
	parsing 5.07ms
	process pre-definitions 5.18ms
	ring 25.9ms
	share common exprs 5.09ms
	simp 20.4ms
	tactic execution 39.3ms
	tacticAnalysis 3.18ms
	type checking 26.2ms
	typeclass inference 75.9ms
real 1.10
user 0.97
sys 0.45

LeanPool/CircularArcChoosability/ChromaticNumber.lean

import took 538ms
cumulative profiling times:
	attribute application 0.0535ms
	compilation (IR) 0.0694ms
	compilation (LCNF base) 0.67ms
	compilation (LCNF impure) 0.219ms
	compilation (LCNF mono) 0.269ms
	congr simp thm 0.358ms
	declTypeLinter 4.06ms
	elaboration 18ms
	fix level params 0.335ms
	import 538ms
	initialization 27.2ms
	instantiate metavars 0.704ms
	interpretation 184ms
	let-to-have transformation 0.0482ms
	linting 12.1ms
	module linting 0.0185ms
	norm_num 3.33ms
	parsing 4.72ms
	process pre-definitions 2.99ms
	ring 11.4ms
	share common exprs 2.89ms
	simp 10.1ms
	tactic execution 34.8ms
	tacticAnalysis 2.36ms
	type checking 11.3ms
	typeclass inference 24.9ms
real 1.32
user 0.96
sys 0.48

LeanPool/CircularArcChoosability/Coefficient.lean

import took 559ms
cumulative profiling times:
	attribute application 0.594ms
	congr simp thm 2.13ms
	declTypeLinter 6.89ms
	elaboration 13.6ms
	fix level params 0.734ms
	import 559ms
	initialization 27.5ms
	instantiate metavars 1.62ms
	interpretation 148ms
	let-to-have transformation 0.0581ms
	linting 8ms
	module linting 0.0222ms
	parsing 3.24ms
	process pre-definitions 2.5ms
	share common exprs 2.19ms
	simp 59.2ms
	tactic execution 77.1ms
	tacticAnalysis 2.43ms
	type checking 50.1ms
	typeclass inference 70.4ms
real 1.44
user 1.06
sys 0.50

LeanPool/CircularArcChoosability/Defs.lean

import took 420ms
cumulative profiling times:
	attribute application 0.0206ms
	declTypeLinter 1.61ms
	elaboration 5.14ms
	fix level params 0.031ms
	import 420ms
	initialization 27.9ms
	instantiate metavars 0.0205ms
	interpretation 104ms
	let-to-have transformation 0.0209ms
	linting 2.28ms
	module linting 0.0207ms
	parsing 1.56ms
	process pre-definitions 0.705ms
	share common exprs 0.0725ms
	tacticAnalysis 0.857ms
	type checking 0.365ms
	typeclass inference 2.41ms
real 1.06
user 0.67
sys 0.45

LeanPool/CircularArcChoosability/GraphPolynomial.lean

import took 498ms
cumulative profiling times:
	attribute application 0.0653ms
	congr simp thm 1.68ms
	declTypeLinter 5.08ms
	elaboration 28.4ms
	fix level params 0.786ms
	import 498ms
	initialization 32.1ms
	instantiate metavars 1.06ms
	interpretation 156ms
	let-to-have transformation 0.108ms
	linting 13.9ms
	module linting 0.031ms
	parsing 5.99ms
	process pre-definitions 4.49ms
	share common exprs 2.58ms
	simp 77.3ms
	tactic execution 93.7ms
	tacticAnalysis 3.46ms
	type checking 27.4ms
	typeclass inference 135ms
real 1.32
user 1.16
sys 0.46

LeanPool/CircularArcChoosability/Imports.lean

import took 536ms
cumulative profiling times:
	declTypeLinter 0.142ms
	elaboration 0.0816ms
	import 536ms
	initialization 27.6ms
	interpretation 104ms
	linting 0.187ms
	module linting 0.0235ms
	parsing 0.00245ms
	tacticAnalysis 0.114ms
real 1.17
user 0.76
sys 0.46

LeanPool/CircularArcChoosability/Main.lean

import took 521ms
cumulative profiling times:
	attribute application 0.0306ms
	congr simp thm 0.454ms
	declTypeLinter 3.52ms
	elaboration 8.27ms
	fix level params 0.315ms
	import 521ms
	initialization 27ms
	instantiate metavars 0.603ms
	interpretation 138ms
	let-to-have transformation 0.0366ms
	linting 10.5ms
	module linting 0.0185ms
	parsing 4.54ms
	process pre-definitions 2.79ms
	share common exprs 0.978ms
	simp 7.68ms
	tactic execution 60.2ms
	tacticAnalysis 2.36ms
	type checking 6.37ms
	typeclass inference 37.9ms
real 1.29
user 0.91
sys 0.48

Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved at e4dc8d48d417cf1a3ab4a4d0198a18a16925552f, pending required Lean CI.

  • tao_theorem_1_1 matches Tao’s finite simple circular-arc graph theorem. The indexed-family result handles repeated arcs, arbitrary finite lists, and the empty graph. The proof checks the arc extension and coefficient argument before applying Mathlib’s combinatorial Nullstellensatz. Tao’s Theorem 1.1
  • The pinned Mathlib, Tau Ceti, and Lean Pool sources have no equivalent circular-arc vertex-list-colouring result. The nearest existing Pool developments concern edge lists or specific polynomial coefficients.
  • The patch restores the Formal Conjectures copyright and license notice for IsKChoosable and corrects one proof reference. Both edits are comments. Pinned upstream notice · Current Lean CI

@Vilin97
Vilin97 added this pull request to the merge queue Nov 28, 2026
Merged via the queue into LeanPool:main with commit a81b589 Nov 28, 2026
26 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.

2 participants