Definition interlacing {X : hSet} (op : binop X) (R : hrel X) := ∏ x y z : X, R x y -> R (op x z) (op y z).
Require Import UniMath.OrderTheory.Prebilattice.Prebilattice. Require Import UniMath.OrderTheory.Lattice.Lattice. Require Import UniMath.Foundations.Sets. Require Import UniMath.MoreFoundations.Subtypes. Require Import UniMath.Algebra.BinaryOperations.