Skip to content

feat: lemmas about String.Pos.nextn#13106

Merged
TwoFX merged 2 commits intoleanprover:masterfrom
TwoFX:nextn-lemmas
Mar 24, 2026
Merged

feat: lemmas about String.Pos.nextn#13106
TwoFX merged 2 commits intoleanprover:masterfrom
TwoFX:nextn-lemmas

Conversation

@TwoFX
Copy link
Copy Markdown
Member

@TwoFX TwoFX commented Mar 24, 2026

This PR verifies String.Pos.nextn by providing the low-level API nextn_zero/nextn_add_one as well as a Splits lemma.

The Splits lemma trivially implies, for a string s, the statement (s.drop n).copy.toList = s.toList.drop n, to be included in a later PR.

@TwoFX TwoFX requested a review from kim-em as a code owner March 24, 2026 15:58
@TwoFX TwoFX added the changelog-library Library label Mar 24, 2026
@TwoFX TwoFX enabled auto-merge March 24, 2026 15:58
@TwoFX TwoFX added this pull request to the merge queue Mar 24, 2026
Merged via the queue into leanprover:master with commit dec394d Mar 24, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant