Reader route · Lean
Import a topic, then narrow to a theorem.
FormalSLT v0.3.0 provides four supported topic imports. The API policy lists the 19 declarations with patch-level signature guarantees and the additional results available in v0.3.0.
Topic imports
import FormalSLT.PACBayesPAC-Bayes change of measure, empirical-Bernstein bounds, and posterior-risk endpoints.
import FormalSLT.SequentialSequential processes, filtrations, conditional means, and anytime-valid components.
import FormalSLT.StochasticDynamicsHistory-dependent trajectories, Markov risk, Poisson corrections, and empirical kernels.
import FormalSLT.VCVC dimension, growth functions, and finite-class learning bounds.
Worked applications are opt-in. Use import FormalSLT.Applications for the checked 20-state random-refresh load receipt. Application-specific declarations are not in the 19-name v0.2 compatibility allowlist.
Pin the dependency
Add this dependency to your lakefile.lean to use v0.3.0.
require «formal-slt» from git
"https://github.com/Robby955/FormalSLT.git" @ "v0.3.0"
To use the exact source shown in these docs, pin its commit.
require «formal-slt» from git
"https://github.com/Robby955/FormalSLT.git" @
"b335f002a79d9d980efada37bdbd438094fc4ec1"
The downstream predictor example applies the trajectory theorem to a model selected using the observed losses.
Reuse discipline
- Start from the fully qualified declaration shown in doc-gen. Long names are deliberate: they carry the scope and mechanism.
- Check the theorem’s type before relying on prose. Finiteness, measurability, adaptation, boundedness, and positivity premises remain explicit arguments or typeclass assumptions.
- Use the stable-import examples as executable API receipts for the four umbrellas.
- For public capstone endpoints, inspect the associated
#print axiomsreceipt. The intended public profile is[propext, Classical.choice, Quot.sound].
Compatibility is scoped. The release tag and API stability policy cover the four topic imports and the named declaration allowlist, not every implementation module.
Inspection tools
- Declaration search
Search the generated Lean API by declaration or module name.
- Concept-keyed theorem index
Find declarations by mathematical vocabulary, with every source link pinned to this build.
- Module tree
Traverse the generated namespace and import hierarchy.
- Stable-import receipts
Concrete compile targets that import one public topic umbrella at a time.
Next step
Open one umbrella and check one endpoint.
The API search is the authoritative generated surface for this exact documentation build.