thys3/README.md
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 30 Apr 2022 00:50:08 +0100
changeset 496 f493a20feeb3
parent 495 f9cdc295ccf7
permissions -rw-r--r--
updated to include the paper

# POSIX Lexing with Bitcoded Regular Expressions

Run the code with

```isabelle build -c -v -d . Posix```

Generate the paper with

```isabelle build -c -v -d . Paper```

Tested with Isabelle2021-1.


* RegLangs.thy (contains basic definitions for Regular Languages)

* PosixSpec.thy (contains values and POSIX definitions)

* Positions.thy (shows the equivalence of our POSIX spec and the definition by Okui & Suzuki)

* PDerivs.thy (Partial Derivatives according to Antimirov, size bounds of pderivs)

* Lexer.thy (first algorithm by Sulzmann & Lu without simplification)

* LexerSimp.thy (correctness for simple-minded simplification rules)

* Blexer.thy (second algorithm by Sulzmann & Lu without simplification)

* BlexerSimp.thy (correctness for aggressive simplification rules)

* Finite Bound Result: BasicIdentidies.thy, ClosedForms.thy, GeneralRegexBound, ClosedFormBounds.thy (Section 5 in the paper)