Skip to content
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

[Merged by Bors] - feat: make spanning condition in RootSystem symmetric for roots and coroots. #20564

Closed
wants to merge 1 commit into from

Conversation

ocfnash
Copy link
Contributor

@ocfnash ocfnash commented Jan 8, 2025

The key change here is the additional axiom which I have added to root systems demanding span R (range coroot) = ⊤.

This means that certain root pairings no longer qualify as root systems. We're in uncharted territory here (the informal literature only considers more specialised situations and so avoids this issue) but I claim the most useful definition will be one with a perfect symmetry between roots and coroots.


Open in Gitpod

@ocfnash ocfnash added the t-algebra Algebra (groups, rings, fields, etc) label Jan 8, 2025
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Jan 8, 2025
Copy link

github-actions bot commented Jan 8, 2025

PR summary 21586cb511

Import changes exceeding 2%

% File
+3.46% Mathlib.LinearAlgebra.RootSystem.Basic

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.LinearAlgebra.RootSystem.Basic 1389 1437 +48 (+3.46%)
Mathlib.Algebra.Lie.Weights.RootSystem 1561 1585 +24 (+1.54%)
Import changes for all files
Files Import difference
Mathlib.Algebra.Lie.Weights.RootSystem 24
Mathlib.LinearAlgebra.RootSystem.Basic 48

Declarations diff

+ rootSpan_eq_top_iff

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 relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@ocfnash
Copy link
Contributor Author

ocfnash commented Jan 8, 2025

The "large import" change is not really avoidable: we need these extra dependencies in Rootsystem.mk' to derive the fact that the coroots span from the fact that the roots span, and this is a slightly non-trivial result.

@jcommelin
Copy link
Member

Thanks 🎉

If CI passes, please remove the label awaiting-CI and merge this yourself, by adding a comment bors r+.

bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 8, 2025

✌️ ocfnash can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ocfnash
Copy link
Contributor Author

ocfnash commented Jan 9, 2025

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Jan 9, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jan 9, 2025
… coroots. (#20564)

The key change here is the additional axiom which I have added to root systems demanding `span R (range coroot) = ⊤`. 

This means that certain root pairings no longer qualify as root systems. We're in uncharted territory here (the informal literature only considers more specialised situations and so avoids this issue) but I claim the most useful definition will be one with a perfect symmetry between roots and coroots.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 9, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: make spanning condition in RootSystem symmetric for roots and coroots. [Merged by Bors] - feat: make spanning condition in RootSystem symmetric for roots and coroots. Jan 9, 2025
@mathlib-bors mathlib-bors bot closed this Jan 9, 2025
@mathlib-bors mathlib-bors bot deleted the ocfnash/fix_rs branch January 9, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated large-import Automatically added label for PRs with a significant increase in transitive imports ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants