Skip to content

[Merged by Bors] - chore(Algebra/InfiniteSum/Order): weaken typeclass assumptions#18742

Closed
b-mehta wants to merge 1 commit intomasterfrom
tprod-generalise
Closed

[Merged by Bors] - chore(Algebra/InfiniteSum/Order): weaken typeclass assumptions#18742
b-mehta wants to merge 1 commit intomasterfrom
tprod-generalise

Conversation

@b-mehta
Copy link
Copy Markdown
Contributor

@b-mehta b-mehta commented Nov 7, 2024

Generalise the typeclass assumptions on three lemmas, with no other changes.

  • Remove any assumptions relating the order and the algebra on hasProd_le_of_prod_le, also weaken OrderClosedTopology to ClosedIicTopology
  • Remove any assumptions relating the order and the algebra on le_hasProd_of_le_prod, also weaken OrderClosedTopology to ClosedIciTopology
  • Remove the T2 assumption on tprod_le_of_prod_range_le, also weaken OrderClosedTopology to ClosedIicTopology

The first two changes mean these lemmas can now be used for infinite products of reals.


Open in Gitpod

@b-mehta b-mehta added the easy < 20s of review time. See the lifecycle page for guidelines. label Nov 7, 2024
@github-actions github-actions bot added the t-topology Topological spaces, uniform spaces, metric spaces, filters label Nov 7, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 7, 2024

PR summary 0bc1143979

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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.

@b-mehta b-mehta requested review from j-loreaux and urkud November 7, 2024 23:35
Copy link
Copy Markdown
Contributor

@j-loreaux j-loreaux 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 the ready-to-merge This PR has been sent to bors. label Nov 11, 2024
mathlib-bors bot pushed a commit that referenced this pull request Nov 11, 2024
Generalise the typeclass assumptions on three lemmas, with no other changes.

- Remove any assumptions relating the order and the algebra on `hasProd_le_of_prod_le`, also weaken OrderClosedTopology to ClosedIicTopology
- Remove any assumptions relating the order and the algebra on `le_hasProd_of_le_prod`, also weaken OrderClosedTopology to ClosedIciTopology
- Remove the T2 assumption on `tprod_le_of_prod_range_le`, also weaken OrderClosedTopology to ClosedIicTopology

The first two changes mean these lemmas can now be used for infinite products of reals.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 11, 2024

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Nov 11, 2024
Generalise the typeclass assumptions on three lemmas, with no other changes.

- Remove any assumptions relating the order and the algebra on `hasProd_le_of_prod_le`, also weaken OrderClosedTopology to ClosedIicTopology
- Remove any assumptions relating the order and the algebra on `le_hasProd_of_le_prod`, also weaken OrderClosedTopology to ClosedIciTopology
- Remove the T2 assumption on `tprod_le_of_prod_range_le`, also weaken OrderClosedTopology to ClosedIicTopology

The first two changes mean these lemmas can now be used for infinite products of reals.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 11, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Algebra/InfiniteSum/Order): weaken typeclass assumptions [Merged by Bors] - chore(Algebra/InfiniteSum/Order): weaken typeclass assumptions Nov 11, 2024
@mathlib-bors mathlib-bors bot closed this Nov 11, 2024
@mathlib-bors mathlib-bors bot deleted the tprod-generalise branch November 11, 2024 16:44
Jun2M pushed a commit that referenced this pull request Nov 17, 2024
Generalise the typeclass assumptions on three lemmas, with no other changes.

- Remove any assumptions relating the order and the algebra on `hasProd_le_of_prod_le`, also weaken OrderClosedTopology to ClosedIicTopology
- Remove any assumptions relating the order and the algebra on `le_hasProd_of_le_prod`, also weaken OrderClosedTopology to ClosedIciTopology
- Remove the T2 assumption on `tprod_le_of_prod_range_le`, also weaken OrderClosedTopology to ClosedIicTopology

The first two changes mean these lemmas can now be used for infinite products of reals.
TobiasLeichtfried pushed a commit that referenced this pull request Nov 21, 2024
Generalise the typeclass assumptions on three lemmas, with no other changes.

- Remove any assumptions relating the order and the algebra on `hasProd_le_of_prod_le`, also weaken OrderClosedTopology to ClosedIicTopology
- Remove any assumptions relating the order and the algebra on `le_hasProd_of_le_prod`, also weaken OrderClosedTopology to ClosedIciTopology
- Remove the T2 assumption on `tprod_le_of_prod_range_le`, also weaken OrderClosedTopology to ClosedIicTopology

The first two changes mean these lemmas can now be used for infinite products of reals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors. t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants