PartiallyOrderedSets/MinimalElements - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : PartiallyOrderedSets/MinimalElements

PartiallyOrderedSets

  

MinimalElements

  

returns the minimal elements of a poset

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

MinimalElements(P)

Parameters

P

-

PartiallyOrderedSet

Description

• 

The command MinimalElements(P) returns the set of minimal elements of the partially ordered set P.

Remarks

• 

MinimalElements will generate and store the transitive closure of P.

Terminology

• 

A partially ordered set, or poset for short, is a pair (P, <=) where P is a set and <= is a partial order on P.

• 

From now on, we fix a poset (P, <=). Two elements a and b of P are said comparable if either a <= b or  b <= a holds, otherwise a and b are said incomparable.

• 

The element b  of P covers the element a of P if a  is strictly less than b and for no element c of P, distinct from both a and b, both a <= c and c <= b hold.

• 

The relation b covers a defines a homogeneous binary relation on P which is the transitive reduction of (P, <=). This is also a directed acyclic graph on P often refers as the Hasse diagram of (P, <=).

• 

The element a of P is a maximal element of (P, <=) if for no element b  of P the element a is strictly less than b.  The element a of P is a minimal element of (P, <=) if no element b  of P is strictly less than a.  Observe that if P is not empty then it necessarily admits at least one maximal element and at least one minimal element.

Examples

withPartiallyOrderedSets&colon;

leq`<=`&colon;

Create a poset from a set and a non-strict partial order

S1&comma;2&comma;3&comma;4&comma;5&colon;poset1PartiallyOrderedSetS&comma;leq

poset1< a poset with 5 elements >

(1)

Display this poset

DrawGraphposet1

Compute the minimal elements of this poset

MinimalElementsposet1

1

(2)

Create a poset from a set and a non-strict partial order

divisibilityx&comma;yiremy&comma;x=0&colon;T3&comma;4&comma;5&comma;6&comma;7&comma;8&comma;9&colon;

poset2PartiallyOrderedSetT&comma;divisibility

poset2< a poset with 7 elements >

(3)

Display this poset

DrawGraphposet2

Compute the minimal elements of this poset

MinimalElementsposet2

3&comma;4&comma;5&comma;7

(4)

Create a poset from a set and an adjacency matrix of a partial order regarded as a directed graph

adjMatrix4Matrix1&comma;1&comma;1&comma;1&comma;1&comma;0&comma;1&comma;1&comma;1&comma;1&comma;0&comma;0&comma;1&comma;1&comma;1&comma;0&comma;0&comma;0&comma;1&comma;1&comma;0&comma;0&comma;0&comma;0&comma;1

adjMatrix41111101111001110001100001

(5)

poset4PartiallyOrderedSetconvertS&comma;list&comma;adjMatrix4

poset4< a poset with 5 elements >

(6)

Display this poset

DrawGraphposet4

Compute the minimal elements of this poset

MinimalElementsposet4

1

(7)

Create a poset from a set and an adjacency list of a partial order regarded as a directed graph

adjList5map2map&comma;`+`&comma;Array1&comma;4&comma;7&comma;2&comma;6&comma;3&comma;4&comma;5&comma;6&comma;7&comma;2

adjList53&comma;6&comma;94&comma;856789

(8)

poset5PartiallyOrderedSetconvertT&comma;list&comma;adjList5

poset5< a poset with 7 elements >

(9)

Display this poset

DrawGraphposet5

Compute the minimal elements of this poset

MinimalElementsposet5

3&comma;4&comma;5&comma;7

(10)

Create a poset from a set and a directed graph

GGraphTheory:-Graphdirected&comma;1&comma;2&comma;3&comma;4&comma;5&comma;6&comma;1&comma;1&comma;1&comma;2&comma;1&comma;3&comma;1&comma;4&comma;1&comma;5&comma;1&comma;6&comma;2&comma;2&comma;2&comma;4&comma;2&comma;6&comma;3&comma;3&comma;3&comma;5&comma;3&comma;6&comma;4&comma;4&comma;4&comma;6&comma;5&comma;5&comma;5&comma;6&comma;6&comma;6

GGraph 1: a directed graph with 6 vertices, 11 arcs, and 6 self-loops

(11)

poset6PartiallyOrderedSetG

poset6< a poset with 6 elements >

(12)

Display this poset

DrawGraphposet6

Compute the minimal elements of this poset

MinimalElementsposet6

1

(13)

Define a polyhedral set and get its dimension

tPolyhedralSets:-ExampleSets:-Octahedron

t&lcub;Coordinates&colon;x1&comma;x2&comma;x3Relations&colon;x1x2x31&comma;x1x2+x31&comma;x1+x2x31&comma;x1+x2+x31&comma;x1x2x31&comma;x1x2+x31&comma;x1+x2x31&comma;x1+x2+x31

(14)

dPolyhedralSets:-Dimensiont

d3

(15)

Collect the faces of this polyhedral set

t_facesseqopPolyhedralSets:-Facest&comma;dimension=i&comma;i=0..d&colon;

t_facest_facesunionPolyhedralSets:-ExampleSets:-EmptySetd&colon;

FLconvertt_faces&comma;list&colon;

Construct the face lattice of that polyhedral set

inclusion := proc(x,y) PolyhedralSets:-`subset`(FL[x],FL[y]) end proc:

polyhedral_posetPartiallyOrderedSetseqi&comma;i=1..nopsFL&comma;inclusion

polyhedral_poset< a poset with 28 elements >

(16)

Display this poset

DrawGraphpolyhedral_poset

Compute the minimal elements of this poset

MinimalElementspolyhedral_poset

9

(17)

Create a poset from a set and an adjacency matrix of a partial order regarded as a directed graph

MMatrix1&comma;1&comma;1&comma;1&comma;1&comma;0&comma;1&comma;1&comma;0&comma;1&comma;0&comma;0&comma;1&comma;0&comma;1&comma;0&comma;0&comma;0&comma;1&comma;1&comma;0&comma;0&comma;0&comma;0&comma;1&colon;

poset9PartiallyOrderedSetseq1..5&comma;M

poset9< a poset with 5 elements >

(18)

Display this poset

DrawGraphposet9

Compute the minimal elements of this poset

MinimalElementsposet9

1

(19)

 

Create a poset from a set and a non-strict partial order

Z1&comma;2&comma;3&comma;4&comma;5&comma;6&comma;10&comma;12&comma;15&comma;20&comma;30&comma;60

Z1&comma;2&comma;3&comma;4&comma;5&comma;6&comma;10&comma;12&comma;15&comma;20&comma;30&comma;60

(20)

poset10PartiallyOrderedSetZ&comma;divisibility

poset10< a poset with 12 elements >

(21)

Display this poset

DrawGraphposet10

Compute the minimal elements of this poset

MinimalElementsposet10

1

(22)

Create a poset from a set and a non-strict partial order

ZZ1&comma;2&comma;3&comma;4&comma;5&comma;6&comma;12&comma;15&comma;60

ZZ1&comma;2&comma;3&comma;4&comma;5&comma;6&comma;12&comma;15&comma;60

(23)

poset11PartiallyOrderedSetZZ&comma;divisibility

poset11< a poset with 9 elements >

(24)

Display this poset

DrawGraphposet11

Compute the minimal elements of this poset

MinimalElementsposet11

1

(25)

References

  

Richard P. Stanley: Enumerative Combinatorics 1. 1997, Cambridge Studies in Advanced Mathematics. Vol. 49. Cambridge University Press.

Compatibility

• 

The PartiallyOrderedSets[MinimalElements] command was introduced in Maple 2025.

• 

For more information on Maple 2025 changes, see Updates in Maple 2025.

See Also

PartiallyOrderedSets[Height]

PartiallyOrderedSets[IsAntichain]

PartiallyOrderedSets[IsChain]

PartiallyOrderedSets[LessEqual]

PartiallyOrderedSets[MaximalAntichains]

PartiallyOrderedSets[MaximalChains]

PartiallyOrderedSets[PartiallyOrderedSet]

PartiallyOrderedSets[Width]