## How to define a function that has these specific properties?

Suppose x=(x1,x2,…,xK)∈ZK≥0. For x,y∈ZK≥0, we write x≻y or y≺x if x≠y and xi(x,y)>yi(x,y), where i(x,y):=max{i:xi≠yi}. That is, for any two vectors x and y that are not equal, we let i(x,y) be the last position on which they differ and say that x≻y if the coordinate of x at i(x,y) is larger than the corresponding coordinate of … Read more