First-party checked source

Source for Erdős–Szekeres Monotone Subsequence Theorem

This pinned Lean source formalizes the following mathematical result: Any injective sequence of r · s + 1 values in a linear order contains either a strictly increasing subsequence of length r + 1 or a strictly decreasing one of length s + 1. Download the complete checked closure or open its single Lean endpoint to study the proof or develop an extension.

Immutable source commit: 2fb78eb22ead655a7e9b1777176f17722a3a2546

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

Erdős–Szekeres Monotone Subsequence Theorem

AtlasKnownTheorems.ErdosSzekeresMonotone.erdosSzekeresMonotone

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

Commit
2fb78eb22ead655a7e9b1777176f17722a3a2546
Main Lean file
AtlasKnownTheorems/ErdosSzekeresMonotone/Basic.lean
Main-file footprint
251 lines
File SHA-256
sha256:2ee4620af331274349121a9289f036255eeae7da8409e5e839ad92cb717e0464
Complete Lean closure
1 file · 251 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: 251 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.