Skip to content

feat: lemmas for String.split by a character or character predicate#12723

Merged
TwoFX merged 6 commits intoleanprover:masterfrom
TwoFX:split-api
Feb 27, 2026
Merged

feat: lemmas for String.split by a character or character predicate#12723
TwoFX merged 6 commits intoleanprover:masterfrom
TwoFX:split-api

Conversation

@TwoFX
Copy link
Copy Markdown
Member

@TwoFX TwoFX commented Feb 27, 2026

This PR relates String.split to List.splitOn and List.splitOnP, provided that we are splitting by a character or character predicate.

Also included: some more lemmas about List.splitOn, and a refactor of the generic split verification to get rid of the awkward SlicesFrom constuct.

@TwoFX TwoFX requested a review from kim-em as a code owner February 27, 2026 09:34
@TwoFX TwoFX added the changelog-library Library label Feb 27, 2026
@TwoFX TwoFX enabled auto-merge February 27, 2026 09:34
@TwoFX TwoFX added this pull request to the merge queue Feb 27, 2026
Merged via the queue into leanprover:master with commit 9843794 Feb 27, 2026
21 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