Mercurial > hg > Members > kono > Proof > automaton
view agda/regex.agda @ 0:e5aa1cf746cb
automaton lecture
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 13 Aug 2018 22:38:05 +0900 |
parents | |
children | 3c6de7cf2a95 |
line wrap: on
line source
module regex where open import Level renaming ( suc to succ ; zero to Zero ) open import Data.Fin open import Data.List open import Data.Bool using ( Bool ; true ; false ) open import Relation.Binary.PropositionalEquality data Regex ( Σ : Set ) : Set where _* : Regex Σ → Regex Σ _&_ : Regex Σ → Regex Σ → Regex Σ <_> : List Σ → Regex Σ -- data In2 : Set where -- a : In2 -- b : In2 open import automaton regex2nfa : Regex In2 → NAutomaton ? In2 ? ? ? ? regex2nfa = ?