Skip to content

Reusable layer v0.1.1

Choose a tag to compare

@karlesmarin karlesmarin released this 09 Nov 12:18
· 86 commits to main since this release

Reusable layer v0.1.1: ten theorems under stable names Formalizations.Reusable.*, now with prebuilt archives.

Use it

lake +leanprover/lean4:v4.35.0 new myproject std.toml   # the std template, not math: Mathlib comes with this package
[[require]]
name = "formalizations"
git = "https://github.com/karlesmarin/formalizations"
rev = "v0.1.1"
lake update            # also fetches the Mathlib cache
lake lean Example.lean # builds the imports; downloads this release's prebuilt archive when available

Import only the area you need, e.g. import Formalizations.Reusable.LinearAlgebra. Each theorem has a page with its statement, Lean signature and a worked example: https://karlesmarin.github.io/blueprints/reusable/

What is new since v0.1.0

  • One usage example per area with the minimal import, compiled in CI.
  • role in the manifest: API (lemmas to build other proofs) or showcase (classical theorems).
  • Prebuilt archives for Linux, macOS and Windows attached to this release (preferReleaseBuild = true).
  • The block-rank bounds live in their own module Formalizations.LinearAlgebra.Matrix.BlockRank.
  • README: usage recipe, stability policy, Reservoir status.

Tested with Lean v4.35.0, Mathlib f0b4c81. Names under Formalizations.Reusable are not removed within 0.x.