AI-contributed lemmas help prove square-grid tree maximality

For every n>0n>0 and every set of n2n^{2} lattice points, the induced square-grid graph has at most as many spanning trees as the n×nn\times n square. Equality holds exactly for translates of that square.

At equal count four, the square grid cycle has four spanning trees, while the line is already a tree and has one.
Deleting any one of the square’s four edges yields a spanning tree. The four-site line has just one. The general formally stated result says every set of n2n^2 square-lattice sites has at most the spanning-tree count of the nn-by-nn square, with equality exactly for its translates. The illustration uses unit lattice spacing in both graphs.

What was already known

Procaccia and Tucker-Foltz posed square maximality. Zhang had proved a rectangular balancing theorem; a grid-graph estimate by Tapp is another input.

How the result developed

  1. 22 Aug 2026 · Human checking [1]

    Jiechen Zhang reported completing a specification audit covering the square-maximality inequality, equality case and their correspondence to Lean.

  2. 23 Aug 2026 · Registry publication [2]

    Palomar published the result proving the square rectangle maximizes the spanning-tree count at fixed area.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-centered
ImportanceNotable
Human understandingFew

AI involvement

Zhang led and checked the tree-maximality proof. The project attributes central lemmas to GPT 5.6 Sol Ultra and credits Sloan Nietert with help devising prompts. Model output was especially influential for the rectangular area penalty and normalized hull lemmas.

Importance

Resolves the square-grid spanning-tree conjecture with its equality case.

Technical verification

The cited record reports sorry-free Lean proofs with standard axioms and Comparator/NanoDa checking of both headline statements. Zhang explicitly checked the mathematical argument and performed a detailed source-to-Lean specification audit. These are distinct machine and human methods, reported by the source rather than reproduced here.

Checking evidence

Sorry-free kernel proof, standard-axiom audit and independent statement/proof replay

Checker
Lean kernel, Comparator and NanoDa in Zhang's pinned repository
Scope
SquareMaximalityPalomar.squareMaximality and equality_iff_latticeSquare
Basis
Source-reported

Checking evidence

Checked definitions, hypotheses, intermediate arguments, cited results and conclusions; completed specification audit on 22 August 2026

Checker
Jiechen Zhang
Scope
Square-maximality inequality, equality case and paper-to-Lean correspondence
Basis
Source-reported

Human understanding

Default for missing evidence of human explanation: Zhang checked the argument and source alignment, but this documented check does not itself establish that a person can explain the model-supplied area-penalty and normalized-hull mechanism.

Other useful sources

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Resolves the square-grid spanning-tree conjecture with its equality case.

The square has four spanning trees

Open SVG

At equal count four, the square grid cycle has four spanning trees, while the line is already a tree and has one.
Deleting any one of the square’s four edges yields a spanning tree. The four-site line has just one. The general formally stated result says every set of n2n^2 square-lattice sites has at most the spanning-tree count of the nn-by-nn square, with equality exactly for its translates. The illustration uses unit lattice spacing in both graphs.Jiechen Zhang led the proof. The project credits GPT-5.6 Sol with the area penalty and normalized-hull steps, and Sloan Nietert with help designing the prompt.