PartiallyOrderedSets/TransitiveReduction - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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

> 

with⁡PartiallyOrderedSets&colon;

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

> 

S≔1&comma;2&comma;3&comma;4&comma;5&colon;leq≔`<=`&colon;poset1≔PartiallyOrderedSet⁡S&comma;leq

poset1≔< a poset with 5 elements >

(1)

Display this poset

> 

DrawGraph⁡poset1

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

> 

TransitiveReduction⁡poset1

1100001100001100001100001

(2)

Create a poset from a set and a strict partial order

> 

lneq≔`<`&colon;poset1_1≔PartiallyOrderedSet⁡S&comma;lneq

poset1_1≔< a poset with 5 elements >

(3)

Display this poset

> 

DrawGraph⁡poset1_1

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

> 

TransitiveReduction⁡poset1_1

1100001100001100001100001

(4)

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

> 

divisibility≔x&comma;y↦irem⁡y&comma;x=0&colon;T≔3&comma;4&comma;5&comma;6&comma;7&comma;8&comma;9&colon;

> 

poset2≔PartiallyOrderedSet⁡T&comma;divisibility

poset2≔< a poset with 7 elements >

(5)

Display this poset

> 

DrawGraph⁡poset2

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

> 

TransitiveReduction⁡poset2

1001001010001000100000001000000010000000100000001

(6)

Create a poset from a set and a strict partial order

> 

divisibNE≔x&comma;y↦irem⁡y&comma;x=0andy≠x&colon;

> 

poset2_1≔PartiallyOrderedSet⁡T&comma;divisibNE&comma;reflexive=checkfalse

poset2_1≔< a poset with 7 elements >

(7)

Display this poset

> 

DrawGraph⁡poset2_1

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

> 

TransitiveReduction⁡poset2_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]