On Sat, 22 Aug 2015, Nathann Cohen wrote:
> - I don't think that we have any code to handle infinite posets
Well, we kind of have...
from sage.categories.examples.posets import PositiveIntegersOrderedByDivisibilityFacade
P = PositiveIntegersOrderedByDivisibilityFacade()
P.le(4,5)
returns False. But for example P.lower_covers(10) says NotImplementedType,
not [2,5].
We have category for posets and category for finite posets --- no category
for locally finite posets.
It is not hard to implement, say, mobius function for
PositiveIntegersOrderedByDivisibilityFacade. And it is possible to make a
class of cartesian product of posets and have a le() method there. But is
there anything interesting in those?
--
Jori Mäntysalo