-
Notifications
You must be signed in to change notification settings - Fork 234
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
[Merged by Bors] - add minimum_of_length_pos_mem #7974
Conversation
Mathlib/Data/List/MinMax.lean
Outdated
simp only [coe_maximum_of_length_pos] | ||
|
||
theorem minimum_of_length_pos_mem (h : 0 < l.length) : | ||
minimum_of_length_pos h ∈ l := by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a final trick; you should be able to prove this using the (α := αᵒᵈ)
trick the minimum lemmas in the rest of the file use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! it is done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors d+
Thanks!
✌️ Seasawher can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ |
👎 Rejected by label |
bors r+ |
add `minimum_of_length_pos_mem` to `Mathlib/Data/List` Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
add `minimum_of_length_pos_mem` to `Mathlib/Data/List` Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
add
minimum_of_length_pos_mem
toMathlib/Data/List
Co-authored-by: Eric Wieser wieser.eric@gmail.com