Repository navigation
Conversation
PR summary 7f192e6c9fImport changes exceeding 2%
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Order.Notation | 50 | 86 | +36 (+72.00%) |
| Mathlib.Order.Defs.PartialOrder | 62 | 93 | +31 (+50.00%) |
| Mathlib.Order.Basic | 127 | 145 | +18 (+14.17%) |
| Mathlib.Combinatorics.Quiver.Basic | 143 | 158 | +15 (+10.49%) |
Import changes for all files
| Files | Import difference |
|---|---|
| There are 6774 files with changed transitive imports taking up over 293088 characters: this is too many to display! | |
You can run scripts/import_trans_difference.sh all locally to see the whole output. |
Declarations diff
+ GuessNameData
+ List.swapFirstTwo
+ TranslateData
+ abbreviationDict
+ elabTranslationAttr
+ findRelevantArg
+ instTransGE
+ instTransGEGT
+ instTransGT
+ instTransGTGE
+ instTransLE
+ instTransLELT
+ instTransLT
+ instTransLTLE
+ min_le_left
+ min_self
+ shouldTranslate
+ translateLemmas
++ data
++ max_comm'
- _root_.List.swapFirstTwo
- additiveTest
- additivizeLemmas
- elabToAdditive
- findMultiplicativeArg
- ge_antisymm
- ge_of_eq
- ge_trans
- gt_trans
- instance (priority := 100) bot_nonempty (α : Type*) [Bot α] : Nonempty α
- instance : @Trans α α α GE.ge GE.ge GE.ge := ⟨ge_trans⟩
- instance : @Trans α α α GE.ge GT.gt GT.gt := ⟨lt_of_le_of_lt'⟩
- instance : @Trans α α α GT.gt GE.ge GT.gt := ⟨lt_of_lt_of_le'⟩
- instance : @Trans α α α GT.gt GT.gt GT.gt := ⟨gt_trans⟩
- instance : @Trans α α α LE.le LE.le LE.le := ⟨le_trans⟩
- instance : @Trans α α α LE.le LT.lt LT.lt := ⟨lt_of_le_of_lt⟩
- instance : @Trans α α α LT.lt LE.le LT.lt := ⟨lt_of_lt_of_le⟩
- instance : @Trans α α α LT.lt LT.lt LT.lt := ⟨lt_trans⟩
- lt_of_le_of_lt'
- lt_of_le_of_ne'
- lt_of_lt_of_le'
- lt_or_eq_of_le'
- ne_of_gt
-++ nameDict
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.
No changes to technical debt.
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).
|
This PR has quite a large increase in imports. Some of this will hopefully go away when I get back to #21965, which avoids importing |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
|
After merging master, the file Frontend.lean now exceeds 1500 lines. In a follow up PR I will split the file to fix this. (Doing that in this PR will complicate the git diff) |
|
This pull request has conflicts, please merge |
|
Can you rename |
|
Thanks! bors d+ |
|
✌️ JovanGerb can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
This PR defines the `to_dual` attribute for translating lemmas to their dual. This is useful in order theory and in category theory. It is built on top of the `to_additive` machinery. This PR only adds `@[to_dual]` tags in files that directly need to import `ToDual`, namely `Order/Defs/PartialOrder`, `Order/Notation` and `Combinatorics/Quiver/Basic`. Further tagging is left for (many) future PRs. This PR continues the work from #21719 Related (mathlib3) issues: - leanprover-community/mathlib3#13461 - leanprover-community/mathlib3#7691 Co-authored-by: @bryangingechen Co-authored-by: Bryan Gin-ge Chen <[email protected]>
|
Build failed: |
|
Needs a (no)shake, it seems |
|
bors r+ |
This PR defines the `to_dual` attribute for translating lemmas to their dual. This is useful in order theory and in category theory. It is built on top of the `to_additive` machinery. This PR only adds `@[to_dual]` tags in files that directly need to import `ToDual`, namely `Order/Defs/PartialOrder`, `Order/Notation` and `Combinatorics/Quiver/Basic`. Further tagging is left for (many) future PRs. This PR continues the work from #21719 Related (mathlib3) issues: - leanprover-community/mathlib3#13461 - leanprover-community/mathlib3#7691 Co-authored-by: @bryangingechen Co-authored-by: Bryan Gin-ge Chen <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
to_dual attributeto_dual attribute
This PR defines the `to_dual` attribute for translating lemmas to their dual. This is useful in order theory and in category theory. It is built on top of the `to_additive` machinery. This PR only adds `@[to_dual]` tags in files that directly need to import `ToDual`, namely `Order/Defs/PartialOrder`, `Order/Notation` and `Combinatorics/Quiver/Basic`. Further tagging is left for (many) future PRs. This PR continues the work from leanprover-community#21719 Related (mathlib3) issues: - leanprover-community/mathlib3#13461 - leanprover-community/mathlib3#7691 Co-authored-by: @bryangingechen Co-authored-by: Bryan Gin-ge Chen <[email protected]>
This PR defines the
to_dualattribute for translating lemmas to their dual. This is useful in order theory and in category theory. It is built on top of theto_additivemachinery.This PR only adds
@[to_dual]tags in files that directly need to importToDual, namelyOrder/Defs/PartialOrder,Order/NotationandCombinatorics/Quiver/Basic. Further tagging is left for (many) future PRs.This PR continues the work from #21719
Related (mathlib3) issues:
to_framework mathlib3#13461Co-authored-by: @bryangingechen