Macaulay2 » Documentation
Packages » Posets :: isAntichain
next | previous | forward | backward | up | index | toc

isAntichain -- determines if a given list of vertices is an antichain of a poset

Description

A set of elements of $P$ is called an antichain if no two distinct elements of the set are comparable.

i1 : D = divisorPoset 12;
i2 : isAntichain(D, {2,3})

o2 = true
i3 : isAntichain(D, {2,6})

o3 = false

See also

Ways to use isAntichain:

  • isAntichain(Poset,List)

For the programmer

The object isAntichain is a method function.


The source of this document is in Posets.m2:4809:0.