Skip to content

[Merged by Bors] - feat: monotone function Cardinal → α is eventually constant#37344

Closed
vihdzp wants to merge 25 commits into
leanprover-community:masterfrom
vihdzp:monorange
Closed

[Merged by Bors] - feat: monotone function Cardinal → α is eventually constant#37344
vihdzp wants to merge 25 commits into
leanprover-community:masterfrom
vihdzp:monorange

Conversation

@vihdzp

@vihdzp vihdzp commented Mar 29, 2026

Copy link
Copy Markdown
Collaborator

@github-actions

github-actions Bot commented Mar 29, 2026

Copy link
Copy Markdown

PR summary e0aaae81da

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.SetTheory.Cardinal.EventuallyConst (new file) 771

Declarations diff (regex)

+ Antitone.isChain_image
+ Antitone.isChain_range
+ IsChain.linearOrder
+ of_antitone_of_lt_cof
+ of_monotone_of_lt_cof
+ of_not_isCofinal_rangeSplitting
+ small_orderDual
++ eventuallyConst_of_antitone
++ eventuallyConst_of_monotone

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

  • +11 new declarations
  • −0 removed declarations
+Antitone.isChain_image
+Antitone.isChain_range
+Cardinal.eventuallyConst_of_antitone
+Cardinal.eventuallyConst_of_monotone
+Filter.EventuallyConst.of_antitone_of_lt_cof
+Filter.EventuallyConst.of_monotone_of_lt_cof
+Filter.EventuallyConst.of_not_isCofinal_rangeSplitting
+IsChain.linearOrder
+Ordinal.eventuallyConst_of_antitone
+Ordinal.eventuallyConst_of_monotone
+small_orderDual

No changes to strong technical debt.

No changes to weak technical debt.

Current commit e0aaae81da
Reference commit 7516f8d024

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

Comment thread Mathlib/SetTheory/Cardinal/EventuallyConst.lean
@vihdzp vihdzp added t-order Order theory t-set-theory Set theory labels Mar 29, 2026

@YaelDillies YaelDillies left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Doesn't this generalise to maps α → β where α is a non-small linear order and β is a small preorder?

@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 9, 2026
@vihdzp

vihdzp commented May 28, 2026

Copy link
Copy Markdown
Collaborator Author

This actually generalizes to maps α → β where #β < cof α. I'll prove this generalization shortly.

@vihdzp vihdzp removed the awaiting-author A reviewer has asked the author a question or requested changes. label May 28, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 28, 2026
@YaelDillies YaelDillies removed their assignment May 28, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 28, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

@vihdzp
vihdzp requested a review from YaelDillies June 9, 2026 11:09
Comment thread Mathlib/SetTheory/Cardinal/EventuallyConst.lean Outdated
Comment thread Mathlib/SetTheory/Cardinal/EventuallyConst.lean Outdated

@YaelDillies YaelDillies left a comment

Copy link
Copy Markdown
Contributor

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

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 18, 2026
Comment thread Mathlib/Data/Set/Monotone.lean Outdated
@b-mehta b-mehta added the awaiting-author A reviewer has asked the author a question or requested changes. label Jun 18, 2026
@vihdzp vihdzp removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jun 19, 2026
@vihdzp
vihdzp requested a review from b-mehta June 21, 2026 21:34

@b-mehta b-mehta left a comment

Copy link
Copy Markdown
Contributor

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 Jun 21, 2026
@mathlib-bors

mathlib-bors Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: monotone function Cardinal → α is eventually constant [Merged by Bors] - feat: monotone function Cardinal → α is eventually constant Jun 21, 2026
@mathlib-bors mathlib-bors Bot closed this Jun 21, 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-order Order theory t-set-theory Set theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants