Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
1

Obtaining the free distributive lattice in Sage

asked 5 years ago

klaaa gravatar image

updated 4 years ago

slelievre gravatar image

Is there a way to obtain the free distributive lattice on n generators with Sage (empty joins and empty meets are disallowed would be preferable, but the other case is also fine)? See

I'm especially interested in the case n=4, where this lattice would have 166 points.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

FrédéricC gravatar image

Like this

sage: P = posets.BooleanLattice(4)
sage: P.order_ideals_lattice()
Finite lattice containing 168 elements
Preview: (hide)
link

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: 376 times

Last updated: Aug 16 '20