Mercurial > hg > Members > kono > Proof > automaton
view agda/non-regular.agda @ 179:f226c21d61bf
halting problem done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 18 Mar 2021 00:16:42 +0900 |
parents | b3f05cd08d24 |
children |
line wrap: on
line source
module non-regular where open import Data.Nat open import Data.List open import Relation.Binary.PropositionalEquality hiding ( [_] ) open import logic open import automaton open import finiteSet open import Relation.Nullary inputnn : ( n : ℕ ) → { Σ : Set } → ( x y : Σ ) → List Σ → List Σ inputnn zero {_} _ _ s = s inputnn (suc n) x y s = x ∷ ( inputnn n x y ( y ∷ s ) ) lemmaNN : { Q : Set } { Σ : Set } → ( x y : Σ ) → ¬ (x ≡ y) → FiniteSet Q → (M : Automaton Q Σ) (q : Q) → ¬ ( (n : ℕ) → accept M q ( inputnn n x y [] ) ≡ true ) lemmaNN = {!!}