Ask Your Question
1

Saturated chains

asked 2018-09-01 02:16:47 +0100

Stiven gravatar image

updated 2019-01-09 19:50:25 +0100

FrédéricC gravatar image

I know there is a command to take all maximal chains and all cover relations of a poset. I am working with a ranked poset and I am wondering if there is a command for all saturated chains in a poset. I appreciate any help given.

edit retag flag offensive close merge delete

Comments

This is not my field so I can ask a silly question: Is every saturated chain a subchain of a maximal chain?

rburing gravatar imagerburing ( 2018-09-02 16:26:07 +0100 )edit
1
slelievre gravatar imageslelievre ( 2018-09-03 11:41:38 +0100 )edit

Yes. Every saturated chain is a maximal chain of a subposet.

Stiven gravatar imageStiven ( 2018-09-03 15:08:34 +0100 )edit

My naive idea was to take all subchains of all maximal chains. This works, but it is inefficient because you get duplicates.

rburing gravatar imagerburing ( 2018-09-03 16:38:39 +0100 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2018-09-03 10:56:59 +0100

FrédéricC gravatar image

Like that

sage: p = posets.DiamondPoset(6)
sage: h = p.hasse_diagram()
sage: [h.all_paths(x,y) for x in h for y in p.principal_order_filter(x)]
[[[0]],
 [[0, 1]],
 [[0, 2]],
 [[0, 3]],
 [[0, 4]],
 [[0, 1, 5], [0, 2, 5], [0, 3, 5], [0, 4, 5]],
 [[1]],
 [[1, 5]],
 [[2]],
 [[2, 5]],
 [[3]],
 [[3, 5]],
 [[4]],
 [[4, 5]],
 [[5]]]
edit flag offensive delete link more

Comments

I would wrap the last command in sum(..., []) to get a single list of chains.

rburing gravatar imagerburing ( 2018-09-03 16:30:28 +0100 )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

Stats

Asked: 2018-09-01 02:16:47 +0100

Seen: 715 times

Last updated: Sep 03 '18