Skip to content

[Merged by Bors] - feat(Topology/Order): convergence of suprema and infima - #40578

Closed
CoolRmal wants to merge 37 commits into
leanprover-community:masterfrom
CoolRmal:codex/tendsto-finset-sup-isup
Closed

CoolRmal wants to merge 37 commits into
leanprover-community:masterfrom
CoolRmal:codex/tendsto-finset-sup-isup

Conversation

@CoolRmal

@CoolRmal CoolRmal commented Jun 13, 2026 •

Copy link
Copy Markdown
Contributor

The main lemma proved in this PR is that for every function a : ι → α, Tendsto (fun F : Finset ι => F.inf a) atTop (𝓝 (⨅ i, a i)), where α is a complete lattice and a SupConvergenceClass. The corresponding versions for ciSup, iInf, ciInf are also proved. We also prove ciSup_eq_ciSup_finset, which is the analogue of iSup_eq_iSup_finset

Created with the help of codex.


@github-actions

github-actions Bot commented Jun 13, 2026 •

Copy link
Copy Markdown

PR summary 661c14dafc

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ _root_.BddAbove.range_finsetSup
+ antitone_inf
+ ciInf_eq_ciInf_finset
+ ciSup_eq_ciSup_finset
+ monotone_sup
+ tendsto_finsetInf_ciInf
+ tendsto_finsetInf_iInf
+ tendsto_finsetSup_ciSup
+ tendsto_finsetSup_iSup

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 661c14d).

  • +10 new declarations
  • −0 removed declarations
+BddAbove.range_finsetSup
+BddBelow.range_finsetInf
+Finset.antitone_inf
+Finset.monotone_sup
+ciInf_eq_ciInf_finset
+ciSup_eq_ciSup_finset
+tendsto_finsetInf_ciInf
+tendsto_finsetInf_iInf
+tendsto_finsetSup_ciSup
+tendsto_finsetSup_iSup

No changes to strong technical debt.

No changes to weak technical debt.

Current commit 661c14dafc
Reference commit f4fd7f7e24

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/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-topology Topological spaces, uniform spaces, metric spaces, filters label Jun 13, 2026
@CoolRmal CoolRmal changed the title Add finset supremum and infimum convergence lemmas feat(Topology): convergence of finite suprema and infima Jun 13, 2026
@CoolRmal
CoolRmal marked this pull request as ready for review June 13, 2026 20:53
@CoolRmal CoolRmal changed the title feat(Topology): convergence of finite suprema and infima feat(Topology): convergence of suprema and infima Jun 13, 2026
@CoolRmal CoolRmal changed the title feat(Topology): convergence of suprema and infima feat(Topology/Order): convergence of suprema and infima Jun 13, 2026
@CoolRmal
CoolRmal force-pushed the codex/tendsto-finset-sup-isup branch 2 times, most recently from d929f86 to e8c0c31 Compare June 14, 2026 03:20
@CoolRmal
CoolRmal force-pushed the codex/tendsto-finset-sup-isup branch from e8c0c31 to 8708e68 Compare June 14, 2026 03:24
@CoolRmal
CoolRmal force-pushed the codex/tendsto-finset-sup-isup branch from 8708e68 to fd840e6 Compare June 14, 2026 03:36
@github-actions github-actions 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 Jun 14, 2026
@mathlib-bors

mathlib-bors Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

✌️ CoolRmal can now approve this pull request until 2026-08-25 00:46 UTC (in 2 weeks). To approve and merge, reply with bors r+. More detailed instructions are available here.

⚠️ This delegation only covers changes within Archive/**, Counterexamples/**, docs/**, DownstreamTest/**, Mathlib/**, MathlibTest/**, widget/**, Archive.lean, Counterexamples.lean, docs.lean, Mathlib.lean; an author commit touching anything else will revoke it. Bors also revokes it if a later push changes too many files for it to check the full list — even if it stays within scope.

@mathlib-bors mathlib-bors Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Aug 11, 2026
@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 11, 2026
@CoolRmal

Copy link
Copy Markdown
Contributor Author

bors r+

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Aug 11, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Aug 11, 2026
The main lemma proved in this PR is that for every function `a : ι → α`, `Tendsto (fun F : Finset ι => F.inf a) atTop (𝓝 (⨅ i, a i))`, where `α` is a complete lattice and a SupConvergenceClass. The corresponding versions for `ciSup`, `iInf`, `ciInf` are also proved. We also prove `ciSup_eq_ciSup_finset`, which is the analogue of [iSup_eq_iSup_finset](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Order/CompleteLattice/Finset.html#iSup_eq_iSup_finset)

Created with the help of codex.

Co-authored-by: Yongxi Lin <[email protected]>
@mathlib-bors mathlib-bors Bot added bors-staging This PR is currently being built by bors on the staging branch. awaiting-requeue This PR was on the bors queue but came off after a build failure or other issue. labels Aug 11, 2026
@mathlib-bors

mathlib-bors Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Build failed:

  • ci (staging) / Post-CI job

Fix if necessary, and then someone with permission can run bors r+ or bors retry.

@mathlib-bors mathlib-bors Bot removed ready-to-merge This PR has been sent to bors. bors-staging This PR is currently being built by bors on the staging branch. labels Aug 12, 2026
@CoolRmal

Copy link
Copy Markdown
Contributor Author

bors r+

@mathlib-bors mathlib-bors Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-requeue This PR was on the bors queue but came off after a build failure or other issue. labels Aug 12, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Aug 12, 2026
The main lemma proved in this PR is that for every function `a : ι → α`, `Tendsto (fun F : Finset ι => F.inf a) atTop (𝓝 (⨅ i, a i))`, where `α` is a complete lattice and a SupConvergenceClass. The corresponding versions for `ciSup`, `iInf`, `ciInf` are also proved. We also prove `ciSup_eq_ciSup_finset`, which is the analogue of [iSup_eq_iSup_finset](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Order/CompleteLattice/Finset.html#iSup_eq_iSup_finset)

Created with the help of codex.

Co-authored-by: Yongxi Lin <[email protected]>
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Aug 12, 2026
@mathlib-bors

mathlib-bors Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat(Topology/Order): convergence of suprema and infima [Merged by Bors] - feat(Topology/Order): convergence of suprema and infima Aug 12, 2026
@mathlib-bors mathlib-bors Bot closed this Aug 12, 2026
@mathlib-bors mathlib-bors Bot removed the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Aug 12, 2026
rosborn added a commit to rosborn/mathlib4 that referenced this pull request Aug 12, 2026
* origin/master: (417 commits)
  feat(CategoryTheory/Presentable): more basic API for κ-filtered categories (leanprover-community#41184)
  feat(Tactic/Linter/UnusedTactic): mark `isIgnoreTacticKind` and `addIgnoreTacticKind` as public (leanprover-community#41993)
  doc: sync area READMEs with the directory tree (leanprover-community#42224)
  feat(CategoryTheory/Presentable): new constructor for `IsCardinalFilteredGenerator` (leanprover-community#41183)
  feat(Data/Finset): `insert a (s.erase a) = insert a s` (leanprover-community#40775)
  feat(CategoryTheory/Limits): morphisms between filtered limits are initially level-wise (leanprover-community#41009)
  chore: fix more linter warnings encountered by `scripts/rm_set_option.py` (leanprover-community#42659)
  chore(Algebra/Module/Submodule/Pointwise): remove `@[simp]` (leanprover-community#42643)
  feat(Algebra/QuadraticAlgebra): change of generator (leanprover-community#42209)
  chore(Condensed): reduce imports (leanprover-community#42022)
  chore: remove @[expose] from def-free public sections (leanprover-community#39388)
  feat: make `TFAE.out` 1-indexed (leanprover-community#42663)
  feat(Topology/Order): convergence of suprema and infima (leanprover-community#40578)
  feat: composition of Fredholm operators (leanprover-community#41601)
  chore: remove unused open declarations (leanprover-community#42235)
  chore(Algebra/Order/GroupWithZero/Canonical): remove unnecessary typeclass assumptions (leanprover-community#42539)
  chore(Algebra/Homology): make `HomologicalComplex.eval` `implicit_reducible` (leanprover-community#42648)
  chore: update Mathlib dependencies 2026-08-11 (leanprover-community#42651)
  chore: improve `Set` / `Finset` congruence API (leanprover-community#42640)
  feat(Geometry/Convex): a topology on StdSimplex (leanprover-community#42131)
  ...

# Conflicts:
#	Mathlib/Tactic/Linter/DirectoryDependency.lean
attilavjda pushed a commit to attilavjda/mathlib4 that referenced this pull request Sep 5, 2026
…ommunity#40578)

The main lemma proved in this PR is that for every function `a : ι → α`, `Tendsto (fun F : Finset ι => F.inf a) atTop (𝓝 (⨅ i, a i))`, where `α` is a complete lattice and a SupConvergenceClass. The corresponding versions for `ciSup`, `iInf`, `ciInf` are also proved. We also prove `ciSup_eq_ciSup_finset`, which is the analogue of [iSup_eq_iSup_finset](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Order/CompleteLattice/Finset.html#iSup_eq_iSup_finset)

Created with the help of codex.

Co-authored-by: Yongxi Lin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. 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.

3 participants