2024 · 11 citations · 11 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSemanticsData-flow AnalysisDeductive VerificationFormal Language FoundationsFormal SemanticsProof AssistantsRegular LanguagesLeanPattern MatchingPattern Matching SemanticsRegular Expression MatchingRegular ExpressionsRewriting Systems
We present a formalization of a matching algorithm for extended regular expression matching based on locations and symbolic derivatives which supports intersection, complement and lookarounds and whose implementation mirrors an extension of the recent .NET NonBacktracking regular expression engine. The formalization of the algorithm and its semantics uses the Lean 4 proof assistant. The proof of its correctness is with respect to standard matching semantics.
11
Derivatives of Regular Expressions
Janusz Brzozowski · Journal of the ACM · 1964 · 931 citations · Full text
Gérard Huet · Journal of Functional Programming · 1997 · 310 citations
Regular-expression derivatives re-examined
Scott Owens, John Reppy, Aaron Turon · Journal of Functional Programming · 2009 · 126 citations · Full text
A metaprogramming framework for formal verification
Gabriel Ebner, Sebastian Ullrich, Jared Roesch et al. · Proceedings of the ACM on Programming Languages · 2017 · 79 citations · Full text