First-party checked source

Source for Cayley’s Formula for Labeled Trees

This pinned Lean source formalizes the following mathematical result: For every n ≥ 1, the number of labeled unrooted trees on the vertex set Fin n is exactly n^(n − 2). Download the complete checked closure or open its single Lean endpoint to study the proof or develop an extension.

Immutable source commit: f31d011b2b8860bfc9990007697b773f9bc96831

Each ZIP contains the checked first-party local Lean import closure, exact statements and boundaries, license, notice, evidence, a source-footprint manifest, and an agent continuation file. Mathlib and other third-party dependencies are not bundled; this is not a portable whole-repository release.

Formalization at a glance

What is checked—and how much source supports it

Browse the counted source
Declarations covered by evidence
2
First-party Lean files
1
Lean source lines
2,756
Main recorded file
2,756 lines

How counting works: Line counts exclude blank lines; comments and documentation count. The total is the deduplicated, commit-pinned first-party Lean import closure; Mathlib and other third-party dependencies are excluded. Declaration count means names covered by the artifact's recorded evidence; it is not a count of every declaration in the source. Source footprint is not a difficulty or proof-quality score.

Exact theorem evidence

Cayley’s Formula for Labeled Trees

AtlasKnownTheorems.CayleyTreeFormula.cayleyTreeFormula, AtlasKnownTheorems.CayleyTreeFormula.CayleyTreeFormulaStatement

This hash-matched file is the complete first-party Lean closure for the theorem.

Commit
f31d011b2b8860bfc9990007697b773f9bc96831
Main Lean file
AtlasKnownTheorems/CayleyTreeFormula/Basic.lean
Main-file footprint
2,756 lines
File SHA-256
sha256:cfc1fd6a9e8f7575f0a09f669b2b5843db8c957f4057403fb30a0fe4bf52eed6
Complete Lean closure
1 file · 2,756 lines
Toolchain
leanprover/lean4:v4.29.1

Deduplicated checked source

Complete Lean import closure

This closure supports the theorem evidence record above.

This theorem's complete first-party Lean closure is the single main file shown above: 2,756 lines. External Mathlib modules remain dependency-locked separately.

Source hashMatches checked record
Lean buildPassed in recorded evidence
LicenseApache-2.0 · Advameg, Inc.

Provenance and reproducibility

Exact checked source, with reuse terms

The endpoint and every listed local import come from the exact recorded Git commit, and the endpoint matches the stored source hash byte for byte. The locally authored package material is licensed under Apache-2.0 by Advameg, Inc.; Mathlib and cited third-party material remain under their own terms. Machine-readable checker evidence is included.