Skip to content

feat: lemmas about String.contains#12783

Merged
TwoFX merged 8 commits intoleanprover:masterfrom
TwoFX:string-contains-string
Mar 4, 2026
Merged

feat: lemmas about String.contains#12783
TwoFX merged 8 commits intoleanprover:masterfrom
TwoFX:string-contains-string

Conversation

@TwoFX
Copy link
Copy Markdown
Member

@TwoFX TwoFX commented Mar 4, 2026

This PR adds user-facing API lemmas for s.contains t, where s and t are both a string or a slice.

Under the hood these lemmas are backed by the correctness proof for KMP that was added a few weeks ago.

@TwoFX TwoFX requested a review from kim-em as a code owner March 4, 2026 09:24
@TwoFX TwoFX added the changelog-library Library label Mar 4, 2026
@TwoFX TwoFX enabled auto-merge March 4, 2026 09:24
@TwoFX TwoFX added this pull request to the merge queue Mar 4, 2026
Merged via the queue into leanprover:master with commit 59711e5 Mar 4, 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