Zulip Chat Archive

Stream: Is there code for X?

Topic: Order on `Nat.Partition`?


Anne Baanen (Feb 09 2024 at 15:18):

Do we have anything about the order on docs#Nat.Partition, where x ≤ y if y can be given by further splitting up some of the parts of x?

I don't know how to give a nice precise definition. For docs#Composition it would be:

def Composition.le (x y : Composition n) :=
   l : List (List )), l.length = x.blocks.length  l.join = y.blocks 
   i < l.length, IsComposition (l !! i) (x.blocks !! i)

Yaël Dillies (Feb 09 2024 at 16:36):

Yes, but not quite how you expect it: docs#Finpartition is equipped with the refinement order, and we've shown it has an inf. We haven't yet managed to show it has a sup.

Anne Baanen (Feb 09 2024 at 17:18):

We can probably make that work, or translate it to the Nat.Partition case. Thanks!


Last updated: May 02 2025 at 03:31 UTC