Skip to content

[Merged by Bors] - feat(RingTheory/Finiteness): Improve fg_induction#37484

Closed
martinwintermath wants to merge 4 commits intoleanprover-community:masterfrom
martinwintermath:fg-induction
Closed

[Merged by Bors] - feat(RingTheory/Finiteness): Improve fg_induction#37484
martinwintermath wants to merge 4 commits intoleanprover-community:masterfrom
martinwintermath:fg-induction

Conversation

@martinwintermath
Copy link
Copy Markdown
Contributor

@martinwintermath martinwintermath commented Apr 1, 2026

  • include the FG-hypothesis into motive for fg_induction. This is necessary, since it might be that P (M₁ ⊔ M₂) is only provable from P M₁and P M₂ if we can use that M₁ and M₂ are FG. Also, M₁.FG and M₂.FG are not provable from (M₁ ⊔ M₂).FG in general. This also enables the use of the induction tactic with fg_induction.
  • add fg_sup_span_induction that adds one 1-dimensional submodule at a time.
  • give expressive names to the induction start and induction step hypotheses.

Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

PR summary e5c478fa82

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ fg_sup_span_induction

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/reporting/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).

@github-actions github-actions bot added the t-ring-theory Ring theory label Apr 1, 2026
@martinwintermath martinwintermath marked this pull request as ready for review April 1, 2026 11:00
@vihdzp
Copy link
Copy Markdown
Collaborator

vihdzp commented Apr 1, 2026

Copy link
Copy Markdown
Member

@chrisflav chrisflav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this. Could you please mention the fact that this change enables usage of induction with this lemma in the PR description?

@chrisflav chrisflav added the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 14, 2026
@github-actions github-actions bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 14, 2026
Copy link
Copy Markdown
Member

@chrisflav chrisflav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by chrisflav.

@mathlib-triage mathlib-triage bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Apr 14, 2026
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@mathlib-triage mathlib-triage bot added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Apr 14, 2026
mathlib-bors bot pushed a commit that referenced this pull request Apr 14, 2026
- include the FG-hypothesis into motive for `fg_induction`. This is necessary, since it might be that `P (M₁ ⊔ M₂)` is only provable from `P M₁`and `P M₂` if we can use that `M₁` and `M₂` are FG. Also, `M₁.FG` and `M₂.FG` are not provable from `(M₁ ⊔ M₂).FG` in general. This also enables the use of the `induction` tactic with `fg_induction`.
- add `fg_sup_span_induction` that adds one 1-dimensional submodule at a time.
- give expressive names to the induction start and induction step hypotheses.

Co-authored-by: Martin Winter <martin.winter.math@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 14, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(RingTheory/Finiteness): Improve fg_induction [Merged by Bors] - feat(RingTheory/Finiteness): Improve fg_induction Apr 14, 2026
@mathlib-bors mathlib-bors bot closed this Apr 14, 2026
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-ring-theory Ring theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants