Definition latticedec (X : hSet) := ∑ lat : lattice X, istotal (Lle lat) × (isdecrel (Lle lat)).
Require Import UniMath.MoreFoundations.All. Require Import UniMath.Algebra.Monoids. Require Import UniMath.Algebra.Groups.