Add 27 WOWII named graph-invariant files (batches 3-9, part 2/2)#3821
Add 27 WOWII named graph-invariant files (batches 3-9, part 2/2)#3821henrykmichalewski wants to merge 3 commits intogoogle-deepmind:mainfrom
Conversation
Adds 27 WrittenOnTheWallII files organized by graph invariant topic rather than individual conjecture number. Each file gathers the conjectures and resolved statements from DeLaViña's WOWII page that share a common invariant (e.g. achromatic number, arboricity, bandwidth), with references to the source definitions and literature. Topics: Achromatic Number, Arboricity, Bandwidth, Boxicity, Circumference, Crossing Number, Degeneracy, Distance (Odd), Edge Connectivity, Even Mode Min, Frequency Max L, Geodetic Number, Girth Complement, Isoperimetric, Length, Median Degree, Metric Dimension, Min Edge Degree, Mode, Mode Max, Odd Girth, Power, Rainbow Connection, Roman Domination, Thickness, Toughness, Wiener Index. Part 2 of 2 of our internal batch wowii-batches-3-9.
GraphConjecture199.lean was intentionally excluded from this PR to avoid conflict with open PR google-deepmind#3796. GraphCircumference.lean still imported and opened the `WrittenOnTheWallII.GraphConjecture199` namespace (to reuse `vertexConnectivity`), which broke the build (`no such file or directory`). Dropped the `import FormalConjectures.WrittenOnTheWallII.GraphConjecture199` and the corresponding `open` clause, and inlined the `vertexConnectivity` definition directly into GraphCircumference.lean so the file is self-contained.
|
Fixed the build failure. GraphCircumference.lean was importing and opening |
|
can you double check that the numbering is correct here (see #3824) |
|
Thanks for flagging — re-audited all 27 named files in this PR against the WOWII source. No off-by-one numbering shift of the type you fixed in #3823 / #3824 appears here; 23 of the 27 files don't claim a specific WOWII number at all (they're topical / Graffiti.pc-style observations citing Harary–Hedetniemi, Nash-Williams, Roberts, Bondy–Murty, etc.). So no code changes pushed for this PR. That said, the audit did surface two files that claim a specific WOWII number but don't state the corresponding conjecture, which I want to disclose here for transparency:
One file explicitly documents itself as a mirror of WOWII #96 with Happy to push a follow-up commit either dropping the WOWII-209/WOWII-19 attribution from those two files (recasting them as Graffiti.pc-style observations) or replacing the bodies with the real conjecture statements — your preference. The other 23 files are topical and unaffected. |
|
Follow-up: pushed f72987f bundling the audit findings I disclosed earlier:
All three files build cleanly. |
…statements
GraphLength.lean previously claimed to formalise WOWII Conjecture 19 in its
docstring while stating an unrelated bound: `α(G) ≤ ⌊length(G)/n + max_v l(v)⌋`,
using the independence number `α` on the LHS and the wrong direction `≤`.
WOWII Conjecture 19 is `b(G) ≥ ⌊avg_v ecc(v) + max_v l(v)⌋`, where `b(G)`
is the size of a largest induced bipartite subgraph (the upstream `b G`
invariant in `FormalConjecturesForMathlib`). Rewrote the theorem to state
Conjecture 19 verbatim using `b G` and the upstream `averageEccentricity`.
The auxiliary `graphLength G = ∑ ecc(v)` is retained for use elsewhere
(`length(G)/n = averageEccentricity G`).
GraphFrequencyMaxL.lean previously claimed to formalise WOWII Conjecture
209 while stating an invented bound: `frequencyMaxL G ≤ G.indepNum`. WOWII
Conjecture 209 is the Hamiltonian-path implication
`(1/6)·(1 + 2·|E(Gᶜ)|) ≤ frequency of λ_max(G) → G has a Hamiltonian path`.
Rewrote the theorem to state this implication using `frequencyMaxL G` (max-
local-independence reading of `λ_max`) and the complement edge count
`Gᶜ.edgeFinset.card`.
GraphDistOdd.lean docstring polish: explicitly note this is a new
Graffiti.pc-style observation (the `distOdd`-analogue of Conj 96), not a
verbatim formalisation of any numbered WOWII conjecture.
All three files build:
lake build FormalConjectures.WrittenOnTheWallII.GraphLength
lake build FormalConjectures.WrittenOnTheWallII.GraphFrequencyMaxL
lake build FormalConjectures.WrittenOnTheWallII.GraphDistOdd
f72987f to
7260b03
Compare
This PR adds 27 WOWII formalizations organized by graph invariant topic from our internal batches 3-9.
Part 2 of 2 of splitting our internal batch
wowii-batches-3-9(49 files total after excluding one held back) into two reviewer-manageable PRs grouped semantically. The companion PR (#3820) covers theGraphConjecture<N>.leanfiles indexed by individual WOWII conjecture numbers; this PR covers theGraph<InvariantName>.leanfiles where several conjectures around a shared graph invariant are gathered into a single file.Invariants / topics in this PR
Achromatic Number, Arboricity, Bandwidth, Boxicity, Circumference, Crossing Number, Degeneracy, Distance (Odd), Edge Connectivity, Even Mode Min, Frequency Max L, Geodetic Number, Girth Complement, Isoperimetric, Length, Median Degree, Metric Dimension, Min Edge Degree, Mode, Mode Max, Odd Girth, Power, Rainbow Connection, Roman Domination, Thickness, Toughness, Wiener Index.
Guarantees
Related
GraphConjecture<N>files)