Samplinglib
Lean gate passed 2026-08-19T02:44:35.241747+00:00 · 70b4b852cf36
Verified sampling theory in Lean

Samplinglib

A readable formal library for sampling theory: Sinho Chewi's Log-Concave Sampling, a live SampleWiki frontier, and the shared Lean proof graph beneath both.

Primary textbook

Log-Concave Sampling

Sinho Chewi's book, reconstructed section by section with beginner explanations, hidden analytic contracts, source correspondence, and Lean evidence.

12chapters
Live research frontier

SampleWiki

Current sampling results become source-pinned cases, then reviewed Lean targets and reusable proof-technique nodes in the same formal graph.

Livehourly source watch
StudyHow to read the book UnderstandProof Atlas AuditImplementation map
Progressive disclosure

Three zoom levels, one proof.

01

Mathematics

Definitions, theorem statements, intuition, and proof route in natural language.

02

Proof graph

Shared lemmas and proof-technique nodes show what really carries the argument.

03

Lean

Exact declarations, hypotheses, dependencies, consumers, source lines, and tests.

ASTIS principle. A compiled leaf is evidence for that leaf only. Chapters and source cases turn blue only when their own mathematical route and source-fidelity gates are closed.