Repository navigation
WIP Sturm-Tarski based real_root_count tactic - #45289
paulcadman wants to merge 1 commit into
Conversation
paulcadman
commented
Oct 26, 2026
PR summary 2ff868e9e3
|
| Files | Import difference |
|---|---|
Mathlib.Tactic.RealRootCount.CoeffList (new file) |
170 |
Mathlib.Algebra.Polynomial.Sturm.Tarski (new file) |
1487 |
Mathlib.Algebra.Polynomial.Sturm.RootCount (new file) |
1488 |
Mathlib.Tactic.RealRootCount.Lemmas (new file) |
1492 |
Mathlib.Tactic.RealRootCount (new file) |
1500 |
Declarations diff (regex)
+ RootCountCert
+ RootCountCert.card_rootSet
+ abs_lt_of_checkBound
+ add
+ chain
+ checkBound
+ checkSturm
+ derivative
+ divMod
+ eval
+ lead
+ mapLemmas
+ monomialOf
+ mul
+ neg
+ parsePoly
+ proveCardRootSet
+ provePolyEq
+ ratOf
+ rem
+ rootBound
+ rootsIn
+ sturm
+ sturmSeq_of_check
+ sturmSignVariations
+ sturm_tarski
+ sturm_tarski'
+ toReal
+ trim
+ variations
+ variations_of_check
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
Declarations diff (Lean -- pending)
Computed after the build finishes.
No changes to strong technical debt.
Increase in weak tech debt: (relative, absolute) = (4.00, 0.00)
| Current number | Change | Type (weak) |
|---|---|---|
| 5103 | 4 | exposed public sections |
Current commit 2ff868e9e3
Reference commit 6e2da0379d
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
🚨 PR Title Needs FormattingPlease update the title to match our commit style conventions. Errors from script: Details on the required title formatThe title should fit the following format:
|