Documentation

RegexCorrectness.Strategy.Materialize.Naturality

theorem Regex.NFA.EquivUpdate.materialize {s : String} {e : Data.Expr} {n : } {pos pos' : s.ValidPos} {groups : Data.CaptureGroups s} {updates : List ( × s.ValidPos)} (c : Data.Expr.Captures pos pos' groups e) (disj : e.Disjoint) (eqv : EquivUpdate groups updates) :

Under suitable conditions, the equivalence between capture groups and NFA buffer updates can be naturally transformed into a materialized version.