Skip to content

GreatestLowerBound ​

The meet of two values in a lattice: the greatest value at or below both.

GreatestLowerBound(a, b)The meet of two values in a lattice: the greatest value at or below both.
Typed signatures
TypePackageApplies
(any, any) -> unknownstructuresalways

Domain: Structures

Details
  • The Lattice protocol's member, and what Min folds when its arguments' type is a lattice.
  • In a linear order it is the smaller of the two; under dominance it takes the partial sums' pointwise minimum.
  • Set partitions: the common refinement, the non-empty pairwise block intersections.
  • Permutations (right weak order): the complement of the transitive closure of the union of the complements of the inversion sets.

Examples

Basic #

In a linear order, the smaller of the two

live ↗
InGreatestLowerBound(3,5)\mathrm{GreatestLowerBound}(3, 5)Out33
Scope #

Under dominance, the meet of two incomparable partitions

live ↗
InGreatestLowerBound(IntegerPartition⁡([3,1,1,1]),IntegerPartition⁡([2,2,2]))\mathrm{GreatestLowerBound}({\operatorname{IntegerPartition}}([3, 1, 1, 1]), {\operatorname{IntegerPartition}}([2, 2, 2]))OutIntegerPartition⁡([2,2,1,1]){\operatorname{IntegerPartition}}([2, 2, 1, 1])

Under refinement, the meet is the common refinement: the non-empty pairwise block intersections

live ↗
InGreatestLowerBound(SetPartition⁡([[1,2],[3]]),SetPartition⁡([[1],[2,3]]))\mathrm{GreatestLowerBound}({\operatorname{SetPartition}}([[1, 2], [3]]), {\operatorname{SetPartition}}([[1], [2, 3]]))OutSetPartition⁡([[1],[2],[3]]){\operatorname{SetPartition}}([[1], [2], [3]])

Known value · Sage SetPartition.inf

Under the right weak order the meet of the two 3-cycles is the identity

live ↗
InGreatestLowerBound(Permutation⁡([2,3,1]),Permutation⁡([3,1,2]))\mathrm{GreatestLowerBound}({\operatorname{Permutation}}([2, 3, 1]), {\operatorname{Permutation}}([3, 1, 2]))OutPermutation⁡([1,2,3]){\operatorname{Permutation}}([1, 2, 3])

Known value · Sage LatticePoset of permutohedron_lequal meet

About
Examples4

See also: LeastUpperBound, Min, Compare