Skip to content

[Merged by Bors] - feat(Analysis/Asymptotics): if u is eventually positive and u ~ v then v is eventually positive#37621

Closed
vasnesterov wants to merge 7 commits intoleanprover-community:masterfrom
vasnesterov:equivalent_eventually_pos
Closed

[Merged by Bors] - feat(Analysis/Asymptotics): if u is eventually positive and u ~ v then v is eventually positive#37621
vasnesterov wants to merge 7 commits intoleanprover-community:masterfrom
vasnesterov:equivalent_eventually_pos

Conversation

@vasnesterov
Copy link
Copy Markdown
Collaborator

@vasnesterov vasnesterov commented Apr 3, 2026

Prove that Asymptotics.IsEquivalent respects (non)positivity and (non)negativity of functions.


Open in Gitpod

@vasnesterov vasnesterov added the t-analysis Analysis (normed *, calculus) label Apr 3, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

PR summary 1ba90ab6bb

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ IsEquivalent.eventually_neg
+ IsEquivalent.eventually_nonneg
+ IsEquivalent.eventually_nonpos
+ IsEquivalent.eventually_pos
+ IsEquivalent.exists_pos_eq_mul

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

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

@vihdzp
Copy link
Copy Markdown
Collaborator

vihdzp commented Apr 3, 2026

Can we also have the versions for ≤, and for eventually negative?

@vasnesterov
Copy link
Copy Markdown
Collaborator Author

Can we also have the versions for ≤, and for eventually negative?

Sure, done.

Comment thread Mathlib/Analysis/Asymptotics/AsymptoticEquivalent.lean Outdated
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

@mathlib-triage mathlib-triage bot added the ready-to-merge This PR has been sent to bors. label Apr 14, 2026
mathlib-bors bot pushed a commit that referenced this pull request Apr 14, 2026
… then `v` is eventually positive (#37621)

Prove that `Asymptotics.IsEquivalent` respects (non)positivity and (non)negativity of functions.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 14, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Analysis/Asymptotics): if u is eventually positive and u ~ v then v is eventually positive [Merged by Bors] - feat(Analysis/Asymptotics): if u is eventually positive and u ~ v then v is eventually positive Apr 14, 2026
@mathlib-bors mathlib-bors bot closed this Apr 14, 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-analysis Analysis (normed *, calculus)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants