Mercurial > hg > Papers > 2015 > atton-thesis
annotate src/delta.agda @ 41:8fc2ac1f901f
Add delta definition in agda
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 13 Feb 2015 11:48:40 +0900 |
parents | |
children |
rev | line source |
---|---|
41
8fc2ac1f901f
Add delta definition in agda
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 data Delta {l : Level} (A : Set l) : (Nat -> (Set l)) where |
8fc2ac1f901f
Add delta definition in agda
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 mono : A -> Delta A (S O) |
8fc2ac1f901f
Add delta definition in agda
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 delta : {n : Nat} -> A -> Delta A (S n) -> Delta A (S (S n)) |