Lemma Lmax_le_eq_r : ∏ x y : X, Lle lat x y → Lmax lat x y = y. Proof. intros x y H. rewrite iscomm_Lmax. now apply Lmax_le_eq_l. Qed.
Require Import UniMath.MoreFoundations.All. Require Import UniMath.Algebra.Monoids. Require Import UniMath.Algebra.Groups.