PartiallyOrderedSets/TransitiveReduction - 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/TransitiveReduction

PartiallyOrderedSets

  

TransitiveReduction

  

returns an adjacency matrix of the transitive reduction of a poset

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

TransitiveReduction(P)

Parameters

P

-

PartiallyOrderedSet

Description

• 

The command TransitiveReduction(P) returns as an adjacency matrix the transitive reduction of the partially ordered set 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. The poset (P, <=) defines a directed graph whose vertices are the elements of P and (a,b) is a directed edge whenever a <= b holds. Conversely, a poset can be defined from a directed graph, assuming that the defined binary relation is anti-symmetric, and transitive, and, either reflexive, or irreflexive.

• 

From now on, we fix a poset (P, <=).

• 

The element a of P is strictly less than the element b of P if a <= b and a \342\211\240 b both hold.

• 

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, <=).

Examples

withPartiallyOrderedSets&colon;

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

S1&comma;2&comma;3&comma;4&comma;5&colon;leq`<=`&colon;poset1PartiallyOrderedSetS&comma;leq

poset1< a poset with 5 elements >

(1)

Display this poset

DrawGraphposet1

Compute an adjacency matrix of the transitive reduction of this partial order

TransitiveReductionposet1

1100001100001100001100001

(2)

Create a poset from a set and a strict partial order

lneq`<`&colon;poset1_1PartiallyOrderedSetS&comma;lneq

poset1_1< a poset with 5 elements >

(3)

Display this poset

DrawGraphposet1_1

Compute an adjacency matrix of the transitive reduction of this partial order, which is itself in this case

TransitiveReductionposet1_1

1100001100001100001100001

(4)

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 >

(5)

Display this poset

DrawGraphposet2

Compute an adjacency matrix of the transitive reduction of this partial order

TransitiveReductionposet2

1001001010001000100000001000000010000000100000001

(6)

Create a poset from a set and a strict partial order

divisibNEx&comma;yiremy&comma;x=0andyx&colon;

poset2_1PartiallyOrderedSetT&comma;divisibNE&comma;reflexive=checkfalse

poset2_1< a poset with 7 elements >

(7)

Display this poset

DrawGraphposet2_1

Compute an adjacency matrix of the transitive reduction of this partial order, which is itself in this case

TransitiveReductionposet2_1

1001001010001000100000001000000010000000100000001

(8)

References

  

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

Compatibility

• 

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

• 

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

See Also

PartiallyOrderedSets[ToGraph]

PartiallyOrderedSets[TransitiveClosure]

PartiallyOrderedSets[TransitiveReduction]

GraphTheory[DrawGraph]