Skip to content

[Merged by Bors] - feat(LinearAlgebra/{FiniteDimensional|Dimension/DivisionRing}): relax condition of some results#12963

Closed
acmepjz wants to merge 6 commits intomasterfrom
acmepjz_division_ring_to_free_module
Closed

[Merged by Bors] - feat(LinearAlgebra/{FiniteDimensional|Dimension/DivisionRing}): relax condition of some results#12963
acmepjz wants to merge 6 commits intomasterfrom
acmepjz_division_ring_to_free_module

Conversation

@acmepjz
Copy link
Copy Markdown
Collaborator

@acmepjz acmepjz commented May 16, 2024

... from requiring F being a field to F satisfying StrongRankCondition and S being a free F-module. This makes the original statement a special case.

Changed results:

In DivisionRing.lean:

  • Basis.ofRankEqZero[_apply]
  • le_rank_iff_exists_linearIndependent[_finset]
  • rank[_submodule]_le_one_iff, rank_submodule_le_one_iff'
  • newly added result: rank[_submodule]_eq_one_iff
  • Submodule.rank_le_one_iff_isPrincipal, Module.rank_le_one_iff_top_isPrincipal

In FiniteDimensional.lean:

  • finrank_eq_one_iff, finrank_eq_one_iff', finrank_le_one_iff
  • Submodule.finrank_le_one_iff_isPrincipal, Module.finrank_le_one_iff_top_isPrincipal
  • cardinal_mk_eq_cardinal_mk_field_pow_rank, cardinal_lt_aleph0_of_finiteDimensional

All of them are moved to a separated file.


Open in Gitpod

@acmepjz acmepjz added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-algebra Algebra (groups, rings, fields, etc) labels May 16, 2024
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label May 16, 2024
@riccardobrasca
Copy link
Copy Markdown
Member

@erdOne What do you think? Asking because IIRC you wanted to do a systematic generalization of this kind of results.

Anyway this LGTM, thanks!

@riccardobrasca
Copy link
Copy Markdown
Member

Does it make sense to move these declarations elsewhere? They're not about a division ring anymore.

@acmepjz
Copy link
Copy Markdown
Collaborator Author

acmepjz commented May 17, 2024

Does it make sense to move these declarations elsewhere? They're not about a division ring anymore.

Let me see later if they can be moved to an earlier file, e.g. Mathlib.LinearAlgebra.Dimension.StrongRankCondition.

@erdOne
Copy link
Copy Markdown
Member

erdOne commented May 17, 2024

The stuff I put into DivisionRing.lean were the results I didn't plan to generalize.
Yeah the results should be moved but otherwise LGTM. Thanks!

@riccardobrasca
Copy link
Copy Markdown
Member

OK, good. @acmepjz do you mind moving the result in this PR?

@acmepjz
Copy link
Copy Markdown
Collaborator Author

acmepjz commented May 17, 2024

do you mind moving the result in this PR?

It's OK for me. But I think I have to postpone this a little bit, since in fact the changes in this PR are not used in my linearly disjoint PR; only #12849 is used. I have to tackle other PRs first.

It's best if someone could help me to move such contents; but if you're busy I can do it later anyway.

@acmepjz acmepjz added awaiting-author A reviewer has asked the author a question or requested changes. and removed awaiting-review labels May 17, 2024
@acmepjz
Copy link
Copy Markdown
Collaborator Author

acmepjz commented May 21, 2024

Done moving results to a separated file.

@acmepjz acmepjz added awaiting-review and removed awaiting-author A reviewer has asked the author a question or requested changes. labels May 21, 2024
@github-actions
Copy link
Copy Markdown

+ rank_eq_one_iff
+ rank_submodule_eq_one_iff


You can run this locally as follows

## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

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

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels May 22, 2024
mathlib-bors bot pushed a commit that referenced this pull request May 22, 2024
… condition of some results (#12963)

... from requiring `F` being a field to `F` satisfying `StrongRankCondition` and `S` being a free `F`-module. This makes the original statement a special case.

Changed results:

In `DivisionRing.lean`:

- `Basis.ofRankEqZero[_apply]`
- `le_rank_iff_exists_linearIndependent[_finset]`
- `rank[_submodule]_le_one_iff`, `rank_submodule_le_one_iff'`
- newly added result: `rank[_submodule]_eq_one_iff`
- `Submodule.rank_le_one_iff_isPrincipal`, `Module.rank_le_one_iff_top_isPrincipal`

In `FiniteDimensional.lean`:

- `finrank_eq_one_iff`, `finrank_eq_one_iff'`, `finrank_le_one_iff`
- `Submodule.finrank_le_one_iff_isPrincipal`, `Module.finrank_le_one_iff_top_isPrincipal`
- `cardinal_mk_eq_cardinal_mk_field_pow_rank`, `cardinal_lt_aleph0_of_finiteDimensional`

All of them are moved to a separated file.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented May 22, 2024

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request May 22, 2024
… condition of some results (#12963)

... from requiring `F` being a field to `F` satisfying `StrongRankCondition` and `S` being a free `F`-module. This makes the original statement a special case.

Changed results:

In `DivisionRing.lean`:

- `Basis.ofRankEqZero[_apply]`
- `le_rank_iff_exists_linearIndependent[_finset]`
- `rank[_submodule]_le_one_iff`, `rank_submodule_le_one_iff'`
- newly added result: `rank[_submodule]_eq_one_iff`
- `Submodule.rank_le_one_iff_isPrincipal`, `Module.rank_le_one_iff_top_isPrincipal`

In `FiniteDimensional.lean`:

- `finrank_eq_one_iff`, `finrank_eq_one_iff'`, `finrank_le_one_iff`
- `Submodule.finrank_le_one_iff_isPrincipal`, `Module.finrank_le_one_iff_top_isPrincipal`
- `cardinal_mk_eq_cardinal_mk_field_pow_rank`, `cardinal_lt_aleph0_of_finiteDimensional`

All of them are moved to a separated file.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented May 22, 2024

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request May 22, 2024
… condition of some results (#12963)

... from requiring `F` being a field to `F` satisfying `StrongRankCondition` and `S` being a free `F`-module. This makes the original statement a special case.

Changed results:

In `DivisionRing.lean`:

- `Basis.ofRankEqZero[_apply]`
- `le_rank_iff_exists_linearIndependent[_finset]`
- `rank[_submodule]_le_one_iff`, `rank_submodule_le_one_iff'`
- newly added result: `rank[_submodule]_eq_one_iff`
- `Submodule.rank_le_one_iff_isPrincipal`, `Module.rank_le_one_iff_top_isPrincipal`

In `FiniteDimensional.lean`:

- `finrank_eq_one_iff`, `finrank_eq_one_iff'`, `finrank_le_one_iff`
- `Submodule.finrank_le_one_iff_isPrincipal`, `Module.finrank_le_one_iff_top_isPrincipal`
- `cardinal_mk_eq_cardinal_mk_field_pow_rank`, `cardinal_lt_aleph0_of_finiteDimensional`

All of them are moved to a separated file.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented May 22, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(LinearAlgebra/{FiniteDimensional|Dimension/DivisionRing}): relax condition of some results [Merged by Bors] - feat(LinearAlgebra/{FiniteDimensional|Dimension/DivisionRing}): relax condition of some results May 22, 2024
@mathlib-bors mathlib-bors bot closed this May 22, 2024
@mathlib-bors mathlib-bors bot deleted the acmepjz_division_ring_to_free_module branch May 22, 2024 08:30
acmepjz added a commit that referenced this pull request May 22, 2024
callesonne pushed a commit that referenced this pull request Jun 4, 2024
… condition of some results (#12963)

... from requiring `F` being a field to `F` satisfying `StrongRankCondition` and `S` being a free `F`-module. This makes the original statement a special case.

Changed results:

In `DivisionRing.lean`:

- `Basis.ofRankEqZero[_apply]`
- `le_rank_iff_exists_linearIndependent[_finset]`
- `rank[_submodule]_le_one_iff`, `rank_submodule_le_one_iff'`
- newly added result: `rank[_submodule]_eq_one_iff`
- `Submodule.rank_le_one_iff_isPrincipal`, `Module.rank_le_one_iff_top_isPrincipal`

In `FiniteDimensional.lean`:

- `finrank_eq_one_iff`, `finrank_eq_one_iff'`, `finrank_le_one_iff`
- `Submodule.finrank_le_one_iff_isPrincipal`, `Module.finrank_le_one_iff_top_isPrincipal`
- `cardinal_mk_eq_cardinal_mk_field_pow_rank`, `cardinal_lt_aleph0_of_finiteDimensional`

All of them are moved to a separated file.
js2357 pushed a commit that referenced this pull request Jun 18, 2024
… condition of some results (#12963)

... from requiring `F` being a field to `F` satisfying `StrongRankCondition` and `S` being a free `F`-module. This makes the original statement a special case.

Changed results:

In `DivisionRing.lean`:

- `Basis.ofRankEqZero[_apply]`
- `le_rank_iff_exists_linearIndependent[_finset]`
- `rank[_submodule]_le_one_iff`, `rank_submodule_le_one_iff'`
- newly added result: `rank[_submodule]_eq_one_iff`
- `Submodule.rank_le_one_iff_isPrincipal`, `Module.rank_le_one_iff_top_isPrincipal`

In `FiniteDimensional.lean`:

- `finrank_eq_one_iff`, `finrank_eq_one_iff'`, `finrank_le_one_iff`
- `Submodule.finrank_le_one_iff_isPrincipal`, `Module.finrank_le_one_iff_top_isPrincipal`
- `cardinal_mk_eq_cardinal_mk_field_pow_rank`, `cardinal_lt_aleph0_of_finiteDimensional`

All of them are moved to a separated file.
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-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants