Skip to content

Where should (Semi)Lattices be? #439

@HuStmpHrrr

Description

@HuStmpHrrr

There are a few implementations of semilattices/lattices:

https://github.com/agda/agda-stdlib/blob/master/src/Algebra/Structures.agda#L410
https://github.com/agda/agda-stdlib/blob/master/src/Relation/Binary/Lattice.agda

The ones implemented in Relation.Binary.* are more general, and one can show that the Relation.Binary.Lattice induces ones from Algebra.Structures. However, I do not understand why semilattices/lattices are defined in Relation.Binary? I tend to understand them to be abstract algebras, but with order theoretic settings. Shall we move them to Algebra? Since order theory is rich, we can probably put them in Algebra.OrderTheory.*. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions