Definition propPosetMixin :=
  PosetMixin prop_refl prop_asym prop_trans.Canonical propPoset := Eval hnf in Poset Prop propPosetMixin.Record class_of (T : Type) := Class {
  base : Poset.class_of T;
  mixin : mixin_of (Poset.Pack base T)}.Record class_of (T : Type) := Class {
  base : Poset.class_of T;
  mixin : mixin_of (Poset.Pack base T)}.Record class_of (T : Type) := Class {
  base : Poset.class_of T;
  mixin : mixin_of (Poset.Pack base T)}.Record class_of (T : Type) := Class {
  base : Poset.class_of T;
  mixin : mixin_of (Poset.Pack base T)}.Structure type : Type := Pack {sort : Type; _ : class_of sort; _ : Type}.Structure type : Type := Pack {sort : Type; _ : class_of sort; _ : Type}.Structure type : Type := Pack {sort : Type; _ : class_of sort; _ : Type}.Definition clone c of phant_id class c := @Pack T c T.Definition sup (s : Pred cT) : cT := mx_sup (mixin class) s.Definition poset := Poset.Pack class cT.Notation lattice := Lattice.type.Notation LatticeMixin := Lattice.Mixin.Notation Lattice T m := (@pack T _ _ m id).Notation "[ 'lattice' 'of' T 'for' cT ]" := (@clone T cT _ id)
  (at level 0, format "[ 'lattice'  'of'  T  'for' cT ]") : form_scope.Notation "[ 'lattice' 'of' T ]" := (@clone T _ _ id)
  (at level 0, format "[ 'lattice'  'of'  T ]") : form_scope.Notation sup := Lattice.sup.Definition lbot : T := sup Pred0.

Lemma sup_clos_sub (s : Pred T) : s <=p sup_closure s.