First-party checked source

Source for Friendship Theorem

This pinned Lean source formalizes the following mathematical result: In a finite graph with at least two vertices, exactly one common neighbor for every distinct pair forces a universal hub; every other vertex has exactly one neighbor other than the hub. Download the complete checked closure or open its single Lean endpoint to study the proof or develop an extension.

Immutable source commit: 70779d98e1e26126da69054fb7d4b1039129a007

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
3
First-party Lean files
1
Lean source lines
1,032
Main recorded file
1,032 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

Friendship Theorem

AtlasKnownTheorems.FriendshipTheorem.friendshipTheorem, AtlasKnownTheorems.FriendshipTheorem.FriendshipTheoremStatement, AtlasKnownTheorems.FriendshipTheorem.exists_hub_of_unique

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

Commit
70779d98e1e26126da69054fb7d4b1039129a007
Main Lean file
AtlasKnownTheorems/FriendshipTheorem/Basic.lean
Main-file footprint
1,032 lines
File SHA-256
sha256:0792d4e00ae14d0f1b3fb8dd78882aad083acae64731fc2c6d38215a3d8243b0
Complete Lean closure
1 file · 1,032 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: 1,032 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.