Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 6 years ago

FrédéricC gravatar image

This is because all these posets are "facade". Try something like that :

sage: P=Posets(4)
sage: Q=next(iter(P))
sage: Q._is_facade
True
sage: Permutation(x+1 for x in Q.linear_extension())
[4, 3, 2, 1]
click to hide/show revision 2
No.2 Revision

This is because all these posets are "facade". Try something like that :

sage: P=Posets(4)
P = Posets(4)
sage: Q=next(iter(P))
Q = next(iter(P))
sage: Q._is_facade
True
sage: Permutation(x+1 for x in Q.linear_extension())
[4, 3, 2, 1]