Skip to content

[Merged by Bors] - feat(NumberTheory/ModularForms): tweak def of slash-action - #29804

Closed
loefflerd wants to merge 4 commits into
leanprover-community:masterfrom
loefflerd:DL_det_neg_action
Closed

loefflerd wants to merge 4 commits into
leanprover-community:masterfrom
loefflerd:DL_det_neg_action

Conversation

@loefflerd

@loefflerd loefflerd commented Sep 19, 2025 •

Copy link
Copy Markdown
Contributor

This PR adjusts the definition of the weight k slash action on modular forms to include an absolute-value sign, which makes some formulae slightly nicer later on.

It also removes some junk accidentally left in the definition of a SlashAction. The definition originally required it to have some linearity property, which was removed in a PR several months ago; but the constructor still takes a useless extra type argument γ (originally, the ring that the action is linear over) which should have been removed in that PR but wasn't.


(NB: This PR also puts a private flag on ModularForm.slash, an internal implementation detail which was never intended to be used directly. In accordance with deprecation policy, rather than just removing it, I added a new private declaration with a modified name; and made the existing name into a public, but deprecated, alias of the private declaration.)

Open in Gitpod

@github-actions github-actions Bot added the t-number-theory Number theory (also use t-algebra or t-analysis to specialize) label Sep 19, 2025
@github-actions

github-actions Bot commented Sep 19, 2025 •

Copy link
Copy Markdown

PR summary 432a037a7f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ instance : SlashAction ℤ (GL (Fin 2) ℝ) (ℍ → ℂ)
- instance : SlashAction ℤ (GL (Fin 2) ℝ) (ℍ → ℂ) ℂ

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).

@riccardobrasca riccardobrasca self-assigned this Sep 19, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Sep 19, 2025
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@CBirkbeck

Copy link
Copy Markdown
Collaborator

LGTM! thanks!

@riccardobrasca

Copy link
Copy Markdown
Member

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Sep 22, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Sep 22, 2025
This PR adjusts the definition of the weight k slash action on modular forms to include an absolute-value sign, which makes some formulae slightly nicer later on.

It also removes some junk accidentally left in the definition of a `SlashAction`. The definition originally required it to have some linearity property, which was removed in a PR several months ago; but the constructor still takes a useless extra type argument `γ` (originally, the ring that the action is linear over) which should have been removed in that PR but wasn't.
@mathlib-bors

mathlib-bors Bot commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(NumberTheory/ModularForms): tweak def of slash-action [Merged by Bors] - feat(NumberTheory/ModularForms): tweak def of slash-action Sep 22, 2025
@mathlib-bors mathlib-bors Bot closed this Sep 22, 2025
@loefflerd
loefflerd deleted the DL_det_neg_action branch September 28, 2025 16:12
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
…r-community#29804)

This PR adjusts the definition of the weight k slash action on modular forms to include an absolute-value sign, which makes some formulae slightly nicer later on.

It also removes some junk accidentally left in the definition of a `SlashAction`. The definition originally required it to have some linearity property, which was removed in a PR several months ago; but the constructor still takes a useless extra type argument `γ` (originally, the ring that the action is linear over) which should have been removed in that PR but wasn't.
zhuyizheng pushed a commit to zhuyizheng/mathlib4 that referenced this pull request Oct 2, 2025
…r-community#29804)

This PR adjusts the definition of the weight k slash action on modular forms to include an absolute-value sign, which makes some formulae slightly nicer later on.

It also removes some junk accidentally left in the definition of a `SlashAction`. The definition originally required it to have some linearity property, which was removed in a PR several months ago; but the constructor still takes a useless extra type argument `γ` (originally, the ring that the action is linear over) which should have been removed in that PR but wasn't.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-number-theory Number theory (also use t-algebra or t-analysis to specialize)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants