Skip to content

v4.26.0-rc2 - #144

Merged
pandaman64 merged 36 commits into
mainfrom
v4.26.0-rc2
Dec 6, 2025
Merged

v4.26.0-rc2#144
pandaman64 merged 36 commits into
mainfrom
v4.26.0-rc2

Conversation

@pandaman64

@pandaman64 pandaman64 commented Dec 1, 2025

Copy link
Copy Markdown
Owner

Note

Migrates the regex engine and public API from Iterator/Substring to ValidPos/Slice, refactors backtracker/VM and proofs to BVPos-based semantics, updates docs/tests, and bumps Lean/mathlib to v4.26.0-rc2.

  • Core/API:
    • Replace Iterator/Substring with ValidPos/Slice across Regex API (find, matches, captures, transform, split, etc.).
    • Introduce Regex.Data.BVPos and parameterize CapturedGroups/Strategy updates by string.
  • Backtracker/VM:
    • Refactor traversal (captureNext, pushNext, eachStepChar, εClosure) to BVPos; simplify/rename invariants.
    • Update anchors/char/sparse handling to use ValidPos getters and end checks.
  • Semantics/Proofs:
    • Port NFA step/closure/path lemmas to ValidPos/BVPos; remove BoundedIterator proofs.
    • Adapt equivalence/refinement and compile correctness to new types.
  • Docs/Examples:
    • README and example code updated to new Slice-based API and outputs.
  • Tests:
    • Adjust expectations to Slice and position fields; add helpers; keep behavior parity.
  • Tooling:
    • Bump Lean/toolchain and deps (mathlib/proofwidgets/etc.) to v4.26.0-rc2.

Written by Cursor Bugbot for commit e13757d. This will update automatically on new commits. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread correctness/RegexCorrectness/Backtracker/Traversal/Lemmas.lean Outdated
@pandaman64 pandaman64 changed the title Draft: v4.26.0-rc2 v4.26.0-rc2 Dec 6, 2025
@pandaman64
pandaman64 merged commit e2e33d6 into main Dec 6, 2025
3 checks passed
@pandaman64
pandaman64 deleted the v4.26.0-rc2 branch December 6, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant