QProduct extraction
QProduct and ConstantFactory now live in a separate leancert-qproduct Lake project. LeanCert no longer imports, re-exports, builds, or tests that application. Its mathematical proofs and certificate audits move with it.
Import and namespace changes
| Previous module | Downstream module |
|---|---|
LeanCert.QProduct |
QProduct.LeanCert (full former surface) |
mathematical LeanCert.QProduct.* modules |
QProduct.* |
LeanCert.QProduct.LimitCert |
QProduct.LeanCert.LimitCert |
LeanCert.QProduct.Sparse |
QProduct.LeanCert.Sparse |
LeanCert.ConstantFactory |
QProduct.ConstantFactory |
LeanCert.ConstantFactory.IntervalBank |
QProduct.LeanCert.IntervalBank |
Use QProduct for the Mathlib-only mathematical import surface; use
QProduct.LeanCert to opt into LeanCert-backed certificates. Declaration
names move from LeanCert.QProduct.* to QProduct.* and from
LeanCert.ConstantFactory.* to QProduct.ConstantFactory.*.
Aliases formerly re-exported directly under LeanCert are no longer provided.
Add the downstream package as a dependency before changing imports. Existing
applications cannot obtain these declarations from import LeanCert alone.
It requires LeanCert itself, so a downstream lakefile.toml needs only:
Its first release targets Lean/Mathlib 4.35.0 and pins LeanCert v4.35.0;
keep your toolchain equal to the one it pins.
Ownership
The extracted project owns prime-lambda digit certificates, sparse q-product
regressions, ConstantFactory examples, and their trust audits. It depends on
LeanCert, never the reverse. Generic rational polynomials, Bernstein bounds,
interval arithmetic, and LeanCert.Validity.DirectedLimit remain here.