-
Notifications
You must be signed in to change notification settings - Fork 1k
experiment: run hammers on Mathlib #30809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
experiment: run hammers on Mathlib #30809
Conversation
PR summary 3eea33ecceImport changes exceeding 2%
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Data.Nat.Bitwise | 384 | 386 | +2 (+0.52%) |
| Mathlib.Data.Int.Bitwise | 392 | 394 | +2 (+0.51%) |
| Mathlib.SetTheory.Nimber.Basic | 757 | 759 | +2 (+0.26%) |
| Mathlib.ModelTheory.FinitelyGenerated | 801 | 803 | +2 (+0.25%) |
Import changes for all files
| Files | Import difference |
|---|---|
| There are 6581 files with changed transitive imports taking up over 283438 characters: this is too many to display! | |
You can run scripts/import_trans_difference.sh all locally to see the whole output. |
Declarations diff
+ LawfulSingleton.insert_empty_eq'
+ check_tactic_support(locations,
+ continuous_function_at
+ count_subsets(tactic_support):
+ extract_suggestions(target):
+ format_subset(subset,
+ instance {K : Type*} [_root_.Field K] [CharZero K] : LawfulOfScientific K
+ main():
+ normalize_tactic(tactic):
+ ofList_eq
+ output_analysis(locations,
+ output_raw(locations):
+ print_table(counts,
+ sequence_tendsto
+ tryAtEachStepGrindSuggestions
+ tryAtEachStepSimpAllSuggestions
- toList_empty
- toList_inj
- tryAtEachStepGrindPremises
- xor_left_inj
- xor_left_injective
- xor_right_inj
- xor_right_injective
-+-+-+ ext
You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for script/declarations_diff.sh contains some details about this script.
Increase in tech debt: (relative, absolute) = (6.00, 0.12)
| Current number | Change | Type |
|---|---|---|
| 50 | 6 | adaptation notes |
Current commit 4f6573b2b9
Reference commit 3eea33ecce
You can run this locally as
./scripts/technical-debt-metrics.sh 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).
Co-authored-by: leanprover-community-mathlib4-bot <[email protected]> Co-authored-by: Rob23oba <[email protected]> Co-authored-by: Markus Himmel <[email protected]> Co-authored-by: Kim Morrison <[email protected]> Co-authored-by: mathlib4-bot <[email protected]> Co-authored-by: Joachim Breitner <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: Henrik Böving <[email protected]> Co-authored-by: Sebastian Ullrich <[email protected]>
|
This pull request has conflicts, please merge |
ec8fa47 to
ef2b965
Compare
ef2b965 to
2c371dd
Compare
|
Moved to leanprover-community#105 |
This PR is just driving CI: we ask (via linters introduced in #30808) for every goal in Mathlib that can be closed by one of
simp_all,aesop, orgrind. We'll use these results as baselines for premise selection algorithm comparisons.