Skip to content

Conversation

@marcusrossel
Copy link
Contributor

@marcusrossel marcusrossel commented May 1, 2025

No description provided.

@marcusrossel marcusrossel mentioned this pull request May 1, 2025
github-merge-queue bot referenced this pull request in leanprover/lean4 May 13, 2025
This PR adds lemmas about the length and use of `[]?` on results of
`List.intersperse`.

This was suggested by @TwoFX as discussed in
https://github.com/TwoFX/human-eval-lean/pull/164#discussion_r2074101914.

I am unsure about the correct naming of `intersperse_getElem?_even` and
`intersperse_getElem?_odd`.
@marcusrossel
Copy link
Contributor Author

The relevant theorems are now in core, so I've updated this PR to be ready when leanprover/lean4@a6a2833 makes it into the next version of Lean.

Copy link
Member

@TwoFX TwoFX left a comment

Choose a reason for hiding this comment

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

Thanks!

@TwoFX
Copy link
Member

TwoFX commented Jun 5, 2025

Ah, I thought the lemmas were already in 4.20.1, not just in 4.21.0. Let's keep this PR open then. Sorry for the noise.

@TwoFX TwoFX merged commit 7fe45c5 into leanprover:master Jul 1, 2025
1 check passed
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.

2 participants