Work some more on lattices 2

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2024-05-20 22:46:18 -07:00
parent 84f28ae5ce
commit 4938cdaecd
2 changed files with 37 additions and 1 deletions

View File

@@ -422,7 +422,7 @@ only thing we needed is to be able to check and see if two elements are
equal or not; this is called _decidable equality_. Since that's the only
thing we used, this means that we can define an "above/below" lattice like this
for any type for which we can check if two elements are equal. In Agda, I encoded
this using a parameterized module:
this using a [parameterized module](https://agda.readthedocs.io/en/latest/language/module-system.html#parameterised-modules):
{{< codelines "Agda" "agda-spa/Lattice/AboveBelow.agda" 5 8 >}}