Documentation

RegexCorrectness.VM.Correspondence.Correctness

theorem Regex.VM.captureNext_soundness {e : Data.Expr} {bufferSize : } {it : String.Iterator} {matchedB : (BufferStrategy bufferSize).Update} (disj : e.Disjoint) (hresB : captureNext (BufferStrategy bufferSize) (NFA.compile e) it = some matchedB) (v : it.Valid) :
theorem Regex.VM.captureNext_completeness {e : Data.Expr} {bufferSize : } {it : String.Iterator} (hresB : captureNext (BufferStrategy bufferSize) (NFA.compile e) it = none) (v : it.Valid) :
¬∃ (it' : String.Iterator) (it'' : String.Iterator) (groups : Data.CaptureGroups), it'.toString = it.toString it.pos it'.pos Data.Expr.Captures it' it'' groups e
Equations
Instances For