Repository navigation
refactor(RepresentationTheory): add API lemmas in Representation.induced for making IndV.mk a def - #41808
refactor(RepresentationTheory): add API lemmas in Representation.induced for making IndV.mk a def#41808JX-Mo wants to merge 81 commits into
Conversation
…lemmas for induced representations
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary fb1a9249c0Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| 4120 | -7 | backward.defeqAttrib.useBackward |
| 2285 | -10 | backward.isDefEq.respectTransparency.types |
| 389 | -1 | adaptation notes |
Current commit fb1a9249c0
Reference commit 27726143a6
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).
|
This pull request has conflicts, please merge |
|
!radar |
|
Benchmark results for 7c6585f against e76467f are in. There are significant results. @JX-Mo
Large changes (2✅)
Small changes (1🟥)
|
|
!radar |
|
Benchmark results for af280c0 against 8accc04 are in. There are significant results. @JX-Mo
Large changes (1✅)
Medium changes (1✅)
Small changes (5✅)
|
|
!radar |
|
Benchmark results for 87be841 against 8accc04 are in. There are significant results. @JX-Mo
Large changes (1✅)
Medium changes (1✅)
Small changes (5✅, 1🟥)
|
Refactor definitions of ind.unit and ind.counit to use def instead of abbrev, and add simp lemmas for their applications.
|
!radar |
|
Benchmark results for 7cc3d08 against 516d312 are in. There are significant results. @JX-Mo
Large changes (1✅)
Medium changes (1✅)
Small changes (5✅, 1🟥)
|
|
!radar |
|
Benchmark results for a655b28 against 516d312 are in. There are significant results. @JX-Mo
Large changes (1✅)
Medium changes (1✅)
Small changes (5✅)
|
|
!radar |
|
Benchmark results for 77e975d against 516d312 are in. There are significant results. @JX-Mo
Large changes (1✅)
Medium changes (1✅)
Small changes (5✅)
|
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
…mmunity#44073) This file has nothing to do with category theory so we can use Type* safely. `α` and `W` sharing the same universe `w'` aroud `finsuppTensor` is problematic. I found this from CI leanprover-community#41808 [68fe33a](leanprover-community@68fe33a)
The current
IndV.mkis an abbrev andindhas an @[simp] lemmaind_apply, sosimpwould expose the implementation and unfold the simple representation theoretic expressions into nasty linear algebra compounds consisting of MonoidAlgebra.single/TensorProduct/Coinvariant/.lift/.mk. The purpose of this PR is to sealIndV.mkand the oldind_applyoff so that we can use simpler API lemmas and say goodbye to 20+ lines goals in the InfoView.We address the issue by making
IndV.mka def and adding a new core defIndV.lift:Making
IndV.mka def will allow the desired API lemmasIndV.mk_map_mulIndV.mk_map_inv_mulIndV.mk_map_mem_eqIndV.mk_map_inv_eqto have the desired @[simp] behaviour (previously simp would unfoldIndV.mk, so @[simp] would not invoke these lemmas). We also add a usefulIndV.induction_onlemma for reducing Prop to elementary generators and addition.IndV.lift, which is a def, gives a way to construct a linear map from a family of linear maps on elementary generators. It unifies the previous constructions inindindMapindResHomEquivandcoinvariantsTensorInd. Moreover, it turns out a single @[simp] lemmaIndV.lift_apply_IndVMkis good enough to replace a whole system of linear algebra simp lemmas, while previously we had the annoying @[simps] aboveindunfolding several linear algebra layers at once which brings big trouble if simp does not close the goal.The new
indis an easy def building uponIndV.liftand the old confusingind_applyis replaced by a clean simp computation lemmaind_apply_mk. Moreover,indMapbecomes an abbrev.As an immediate payoff, the definitions and proofs around
ind,indResHomEquivandcoinvariantTensorIndbecome cleaner and the whole file complies 20% faster (6.6s to 5.4s on my computer as well as radar), despite the refactored code being longer. Usingind.lift, we give a much better way to doindCoindIsowhich reports double speed up onFiniteIndex.lean