Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/AgdaInstance.agda.replaced @ 2:c7acb9211784
add code, figure. and paper fix content
author | ryokka |
---|---|
date | Mon, 27 Jan 2020 20:41:36 +0900 |
parents | |
children |
line wrap: on
line source
_==Nat_ : Nat @$\rightarrow$@ Nat @$\rightarrow$@ Bool zero ==Nat zero = true (suc n) ==Nat zero = false zero ==Nat (suc m) = false (suc n) ==Nat (suc m) = n ==Nat m instance natHas== : Eq Nat natHas== = record { _==_ = _==Nat_}