Skip to content

Reusable layer v0.3.0

Choose a tag to compare

@karlesmarin karlesmarin released this 10 Nov 09:32
· 81 commits to main since this release

Reusable layer v0.3.0: thirty theorems under stable names Formalizations.Reusable.*, ten of them new, and two new areas, NumberTheory and GroupTheory.

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.3.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.GroupTheory. 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.2.0

  • Polynomial: real-rootedness is stable under differentiation (R0021) and under reversal (R0022).
  • Linear algebra: rank A + rank D ≤ rank of the block upper-triangular matrix (R0023), the rank of a Kronecker product is the product of the ranks (R0024), the diagonal entries of the adjugate are principal minors (R0025).
  • New area NumberTheory: Wolstenholme's theorem, C(2p − 1, p − 1) ≡ 1 mod p³ for a prime p ≥ 5 (R0026).
  • New area GroupTheory: the Pólya–Redfield enumeration theorem in weighted form (R0027).
  • Combinatorics: the neighbourhood function of a set family is submodular (R0028), tight sets of a Hall family form a lattice (R0029), Bondy's theorem on induced subsets (R0030).
  • A compiled usage example for each new piece; 2688 main results, all on the standard axioms only.