Skip to content

Chain ​

The poset 1<2<⋯<n1 < 2 < \cdots < n, on which MoebiusFunction is 11 on a point, −1-1 on a cover, and 00 on anything longer.

Chain(n)the chain 1<2<⋯<n1 < 2 < \cdots < n
Typed signatures
TypePackageApplies
(integer) -> expression<Chain>incidencealways

Domain: Incidence algebras

Examples

Basic #
live ↗
InPosetElements(Chain(4))\mathrm{PosetElements}(\mathrm{Chain}(4))Out[1,2,3,4]\bigl\lbrack1, 2, 3, 4\bigr\rbrack

Zero beyond a cover

live ↗
InMoebiusFunction(Chain(4),1,3)\mathrm{MoebiusFunction}(\mathrm{Chain}(4), 1, 3)Out00
About
Examples2

See also: IncidenceAlgebra, PosetElements, MoebiusFunction