Skip to content

[Merged by Bors] - refactor(LinearAlgebra/LinearIndependent): generalize some LinearIndepOn theorems - #27096

Closed
staroperator wants to merge 2 commits into
leanprover-community:masterfrom
staroperator:linearIndepOn_refactor
Closed

staroperator wants to merge 2 commits into
leanprover-community:masterfrom
staroperator:linearIndepOn_refactor

Conversation

@staroperator

Copy link
Copy Markdown
Collaborator

A lot of APIs and theorems for LinearIndepOn are stated only for id. This PR tries to generalize some of them to be non id, keeping the old id APIs as special cases.


Open in Gitpod

@github-actions

Copy link
Copy Markdown

PR summary 96f881c550

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ LinearIndepOn.id_insert
+ LinearIndepOn.image_subset_span_image_extend
+ LinearIndepOn.span_image_extend_eq_span_image
+ exists_linearIndepOn_extension

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

@alreadydone

Copy link
Copy Markdown
Contributor

LGTM
maintainer merge

@github-actions

Copy link
Copy Markdown

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

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jul 14, 2025

@jcommelin jcommelin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@ghost ghost 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 Jul 15, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Jul 15, 2025
…epOn` theorems (#27096)

A lot of APIs and theorems for `LinearIndepOn` are stated only for `id`. This PR tries to generalize some of them to be non `id`, keeping the old `id` APIs as special cases.
@mathlib-bors

mathlib-bors Bot commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title refactor(LinearAlgebra/LinearIndependent): generalize some LinearIndepOn theorems [Merged by Bors] - refactor(LinearAlgebra/LinearIndependent): generalize some LinearIndepOn theorems Jul 15, 2025
@mathlib-bors mathlib-bors Bot closed this Jul 15, 2025
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Jul 16, 2025
…epOn` theorems (leanprover-community#27096)

A lot of APIs and theorems for `LinearIndepOn` are stated only for `id`. This PR tries to generalize some of them to be non `id`, keeping the old `id` APIs as special cases.
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
…epOn` theorems (leanprover-community#27096)

A lot of APIs and theorems for `LinearIndepOn` are stated only for `id`. This PR tries to generalize some of them to be non `id`, keeping the old `id` APIs as special cases.
hrmacbeth pushed a commit to szqzs/mathlib4 that referenced this pull request Jul 28, 2025
…epOn` theorems (leanprover-community#27096)

A lot of APIs and theorems for `LinearIndepOn` are stated only for `id`. This PR tries to generalize some of them to be non `id`, keeping the old `id` APIs as special cases.
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants