Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from master #1367

Merged
merged 14 commits into from Jan 6, 2023
Merged

merge from master #1367

merged 14 commits into from Jan 6, 2023

Conversation

qawbecrdtey
Copy link
Collaborator

No description provided.

xroblot and others added 14 commits January 5, 2023 18:22
Co-authored-by: Johan Commelin <johan@commelin.net>
Adds a new positivity extension to handle integer exponents of value 0.
Corresponds to [this piece of logic](https://github.com/leanprover-community/mathlib/blob/09258fb7f75d741b7eda9fa18d5c869e2135d9f1/src/tactic/positivity.lean#L582-L584) in mathlib3.

This lets us uncomment another test case.
Adds `positivity` extensions for inversion, absolute value, and natAbs.

Compare the the mathlib3 versions [here](https://github.com/leanprover-community/mathlib/blob/3813d4ea1c6a34dbb472de66e73b8c6855b03964/src/tactic/positivity.lean#L535-L546), [here](https://github.com/leanprover-community/mathlib/blob/3813d4ea1c6a34dbb472de66e73b8c6855b03964/src/tactic/positivity.lean#L616-L631), and [here](https://github.com/leanprover-community/mathlib/blob/09258fb7f75d741b7eda9fa18d5c869e2135d9f1/src/tactic/positivity.lean#L633-L650).

For the absolute value case, I got stuck trying to make it work in the fully `Qq`-ified style, so I fell back to the `AppBuilder` style that's closer to how mathlib3 does it.
Co-authored-by: zeramorphic <50671761+zeramorphic@users.noreply.github.com>
Re-submit pull#1307 as a branch of mathlib4
Co-authored-by: Scott Morrison <scott@tqft.net>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Possible since leanprover/lean4#1984.  Thank you, Lean devs!
This should fix the problems in [#1319](#1319)
* Fixes a bug where `tauto` could try to work on a recursive auxiliary `LocalDecl`, potentially causing an error about well-founded recursion.
* Updates Data/Set/Intervals/UnorderedInterval.lean to use tauto, as per TODOs. The `not_mem_intervalOC` theorem is where I noticed the bug.
* Adds a test case isolated from `not_mem_intervalOC`.
@qawbecrdtey qawbecrdtey merged commit ddf036e into port/Algebra.Star.Basic Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet