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

[Merged by Bors] - add minimum_of_length_pos_mem #7974

Closed
wants to merge 4 commits into from

Conversation

Seasawher
Copy link
Collaborator

add minimum_of_length_pos_mem to Mathlib/Data/List

Co-authored-by: Eric Wieser wieser.eric@gmail.com


Open in Gitpod

simp only [coe_maximum_of_length_pos]

theorem minimum_of_length_pos_mem (h : 0 < l.length) :
minimum_of_length_pos h ∈ l := by
Copy link
Member

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! it is done.

Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors d+

Thanks!

@bors
Copy link

bors bot commented Oct 27, 2023

✌️ Seasawher can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@Seasawher
Copy link
Collaborator Author

bors r+

@bors
Copy link

bors bot commented Oct 27, 2023

👎 Rejected by label

@Seasawher
Copy link
Collaborator Author

bors r+

bors bot pushed a commit that referenced this pull request Oct 27, 2023
add `minimum_of_length_pos_mem` to `Mathlib/Data/List`

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link

bors bot commented Oct 27, 2023

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.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title add minimum_of_length_pos_mem [Merged by Bors] - add minimum_of_length_pos_mem Oct 27, 2023
@bors bors bot closed this Oct 27, 2023
@bors bors bot deleted the minimum_of_length_pos_mem branch October 27, 2023 11:44
grunweg pushed a commit that referenced this pull request Nov 1, 2023
add `minimum_of_length_pos_mem` to `Mathlib/Data/List`

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants