Mercurial > hg > Papers > 2021 > soto-thesis
view prepaper/src/AgdaInstance.agda.replaced @ 0:3dba680da508
init-test
author | soto |
---|---|
date | Tue, 08 Dec 2020 19:06:49 +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_}