Ask Your Question

Lattice of antichains in SAGE

asked 2020-01-14 14:40:09 -0600

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.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2020-01-15 02:11:37 -0600

FrédéricC gravatar image

Like this

sage: P = posets.PentagonPoset()
sage: P.order_ideals_lattice?
edit flag offensive delete link more


Thank you very much! This command seems not to be in the manual of SAGE for lattices yet:

klaaa gravatar imageklaaa ( 2020-01-15 02:45:59 -0600 )edit

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


Asked: 2020-01-14 14:40:09 -0600

Seen: 66 times

Last updated: Jan 15 '20