Ask Your Question
1

Lattice of antichains in SAGE

asked 5 years ago

klaaa gravatar image

Given a finite poset P in SAGE. Can one obtain the lattice of antichains or the lattice of order ideals of P as a lattice in SAGE? I just saw how to obtain those things as sets but not as posets.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 5 years ago

FrédéricC gravatar image

Like this

sage: P = posets.PentagonPoset()
sage: P.order_ideals_lattice?
Preview: (hide)
link

Comments

Thank you very much! This command seems not to be in the manual of SAGE for lattices yet: http://doc.sagemath.org/html/en/refer...

klaaa gravatar imageklaaa ( 5 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 5 years ago

Seen: 247 times

Last updated: Jan 15 '20