Skip to content

Reusable layer v0.2.0

Choose a tag to compare

@karlesmarin karlesmarin released this 10 Nov 04:10
· 84 commits to main since this release

Reusable layer v0.2.0: twenty theorems under stable names Formalizations.Reusable.*, ten of them new, and a new area Polynomial.

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.2.0"
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.Polynomial. 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.1

  • New area Polynomial: real roots from alternating signs (R0011), splitting from a root in every gap (R0012), Sturm's theorem (R0013), the Budan–Fourier theorem (R0014), Newton's inequalities (R0015), the Eneström–Kakeya theorem (R0016).
  • Linear algebra: rank (A + B) ≤ rank A + rank B for matrices (R0017), the Cauchy–Binet formula (R0018), Jacobi's formula for the derivative of a determinant (R0019), Kirchhoff's matrix-tree theorem (R0020).
  • A compiled usage example for the new area; 2678 main results, all on the standard axioms only.