Documentation

RegexCorrectness.Backtracker.Correctness

theorem Regex.Backtracker.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.Backtracker.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
  • One or more equations did not get rendered due to their size.
Instances For