Repository navigation
Releases
Reusable layer v0.15.0
Reusable layer v0.15.0 adds ten verified theorems in two groups, R0073–R0082.
Dilogarithms: Euler reflection, Landen's formula, duplication, the Rogers five-term identity, and the complex value at the imaginary unit in terms of Catalan's constant.
Matching polynomials and Ihara: a vertex-deletion derivative identity, the tree-like walk count below extended girth, Hashimoto power traces, the matching-root trace gap, and an explicit Ihara trace generating function from Bass's determinant identity.
The README documents the stable names and area imports. The layer now contains 82 theorems. The full layer and usage examples compile with Lean v4.35.0 and the pinned Mathlib. The axiom audit reports 2758 results depending only on propext, Classical.choice, and Quot.sound. Excovery's local preview generated 82 cards without errors.
Use the tagged package in a Lake project:
[[require]]
name = "formalizations"
git = "https://github.com/karlesmarin/formalizations"
rev = "v0.15.0"Reusable layer v0.14.0
Reusable layer v0.14.0 adds ten verified theorems in two related groups, R0063–R0072.
Fibonacci and modular arithmetic: a positive Pisano period, parity of periods for moduli above two, the prime-index Fibonacci congruence with the Legendre symbol, Flynn–Connolly divisibility of Fibonacci sums (including infinitely many odd indices), and Amiot's cyclic interval lemma.
Matching polynomials: the forest characteristic-polynomial identity, real-rootedness and the Heilmann–Lieb root bound, Godsil's path-tree identity, and the matching-root moment identity in terms of path-tree walks.
The README documents the stable names and area imports. The layer now contains 72 theorems. The full layer and usage examples compile with Lean v4.35.0 and the pinned Mathlib. The axiom audit reports 2748 results depending only on propext, Classical.choice, and Quot.sound. Excovery's local preview generated 72 cards without errors.
Use the tagged package in a Lake project:
[[require]]
name = "formalizations"
git = "https://github.com/karlesmarin/formalizations"
rev = "v0.14.0"Reusable layer v0.13.0
Reusable layer v0.13.0 adds five verified theorems, R0058–R0062:
- A polarized Cayley–Hamilton identity for two-by-two matrices over a commutative ring.
- An L¹ Mandelstam–Tamm quantum speed limit.
- The order 168 of the Fano plane's collineation group.
- A diagonal resolvent series identity for the reversed characteristic polynomial.
- The kurtosis and nonnegative excess kurtosis of Gaussian variance mixtures.
Import the relevant Formalizations.Reusable.Analysis, GroupTheory, or LinearAlgebra module. The README lists the stable names and compiled examples; the manifest records each theorem's source and scope.
The full Reusable layer now contains 62 theorems. Local compilation of the layer and examples passed. The axiom audit reports 2738 results with only propext, Classical.choice, and Quot.sound. Excovery found no counterpart among 251205 declarations in the pinned Mathlib index; its local catalogue preview generated 62 cards without errors.
Use the tagged package in a Lake project:
[[require]]
name = "formalizations"
git = "https://github.com/karlesmarin/formalizations"
rev = "v0.13.0"Reusable layer v0.12.0
Reusable layer v0.12.0 adds R0057, Formalizations.Reusable.reverse_cyclotomic.
For n ≥ 2, the cyclotomic polynomial over ℝ equals its coefficient reversal. Import Formalizations.Reusable.NumberTheory; the result re-exposes the verified archive theorem CycloParity.reverse_cyclotomic. The area example uses n = 6.
This release contains 57 reusable theorems. The Lean build and usage example passed locally. The axiom audit reports 2733 main results with only propext, Classical.choice, and Quot.sound. The local preview of the Reusable catalogue generated 57 cards without errors.
Use the tagged package in a Lake project:
[[require]]
name = "formalizations"
git = "https://github.com/karlesmarin/formalizations"
rev = "v0.12.0"Reusable layer v0.11.0
Reusable layer v0.11.0: fifty-six theorems under stable names Formalizations.Reusable.*.
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.11.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.Analysis. 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.10.0
- Analysis: the Margolus–Levitin quantum speed limit (
ℏ = 1): if the autocorrelation of a state vanishes at timeτ ≥ 0, thenπ ≤ 2 ⟨E⟩ τ(R0054). - Group theory: Praeger's theorem on bounded movement:
Ωis finite, with at most2m − 1orbits, orbits of size at most3mand|Ω| ≤ 3m + t − 1(R0055). - Linear algebra: Schur's bound on commutative subspaces of
M_n(K)is sharp: forn ≥ 1a commutative subspace of dimension⌊n²/4⌋ + 1exists (R0056, companion of R0042). - A compiled usage example for each new piece, including non-vacuity checks for R0054 and R0055 (their hypotheses can all hold).
- Comparator challenge for R0054 and R0055 (
FormalizationsTest/Comparator/): statements written from the classical sources, withsorryby design, outside every build target. - 2732 main results, all on the standard axioms only (checked by CI on this commit).
- Isabelle: two new sessions,
ZeroNNCriterionandRowsColumnsKernel(seeIsabelle/README.md).
Reusable layer v0.10.0
Reusable layer v0.10.0: fifty-three theorems under stable names Formalizations.Reusable.*.
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.10.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.Analysis. 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.9.0
- Analysis: the Zieliński–Zych inequality,
x^α − π^α/2 + (π^α/2) cos x + α π^(α−1) sin x ≥ 0for everyα > 0andx ≥ 0, the analytic core of the fractional-moment quantum speed limit (R0051). - Group theory: the separation lemma for pretransitive actions,
#A · #B < #Ω⇒ somegmovesAoffB(R0052). - Linear algebra: Newton's identity for traces,
d/dX (charpolyRev M) = − charpolyRev M · Σₖ trace(Mᵏ⁺¹) Xᵏover any commutative ring (R0053). - A compiled usage example for each new piece; 2729 main results, all on the standard axioms only (checked by CI on this commit).
Earlier versions v0.4.0–v0.9.0 were published as tags only; their contents are listed in the README.
Reusable layer v0.3.0
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.
Reusable layer v0.2.0
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.
Reusable layer v0.1.1
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.
rolein 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.