Mercurial > hg > Members > kono > Proof > automaton
view automaton-in-agda/src/regex.agda @ 253:012f79b51dba
... prime version
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 29 Jun 2021 23:24:03 +0900 |
parents | 3fa72793620b |
children | a5c874396cc4 |
line wrap: on
line source
module regex where data Regex ( Σ : Set) : Set where ε : Regex Σ -- empty φ : Regex Σ -- fail _* : Regex Σ → Regex Σ _&_ : Regex Σ → Regex Σ → Regex Σ _||_ : Regex Σ → Regex Σ → Regex Σ <_> : Σ → Regex Σ infixr 40 _&_ _||_