Mercurial > hg > Members > kono > Proof > automaton
view automaton-in-agda/src/regex.agda @ 214:906b43b94228
gcd-dividable done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Jun 2021 09:40:52 +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 _&_ _||_