Mercurial > hg > Papers > 2023 > soto-master
view Paper/src/agda/abridgement.agda.replaced @ 32:4915eaa51ee0 default tip
Add front
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 23 Feb 2023 18:39:56 +0900 |
parents | c28e8156a37b |
children |
line wrap: on
line source
module abridgement where open import Data.Nat record env : Set where field a : !$\mathbb{N}$! b : !$\mathbb{N}$! c : !$\mathbb{N}$! open env patternmatch-default : env !$\rightarrow$! !$\mathbb{N}$! patternmatch-default record { a = a ; b = b ; c = c } = c patternmatch-extraction : env !$\rightarrow$! !$\mathbb{N}$! patternmatch-extraction env with c env patternmatch-extraction env | c = c patternmatch-extraction!$\prime$! : env !$\rightarrow$! !$\mathbb{N}$! patternmatch-extraction!$\prime$! env with c env ... | c = c