Most general order-preserving function

In summary, the conversation discusses the concept of order-preserving functions and finding a class of functions that can generate uniformly random pairs of numbers. The conversation also mentions the need for a function that is efficiently computable and can be decomposed into two parts in order to solve a specific problem. The conversation ends with the mention of a new protocol for Yao's Millionaires' Problem.
  • #1
Dragonfall
1,030
4
Is there an easy description for all the real to real functions that are order-preserving? I can only think of linear functions
 
Mathematics news on Phys.org
  • #2
Dragonfall said:
Is there an easy description for all the real to real functions that are order-preserving? I can only think of linear functions
What do you mean by "order-preserving?" Is it the idea that if a < b, then f(a) < f(b)? If so any function that is strictly increasing satisfies the latter inequality. If you mean something different, you need to clarify your question.
 
  • #3
What I need is a class of functions that is strictly increasing, very efficient to compute, and when one is selected uniformly and applied to x < y, the pair (f(x), f(y)) is uniformly distributed.
 
  • #4
For every x,y? Then your class of functions has to be uncountable. What do you mean with "selected uniformly"? There is no clear definition of this on an arbitrary uncountable set.
Also, uniform distributions over the full real line do not exist.

f(x)=mx+c with suitable distributions of m and c can give a uniform distribution of (f(x),f(y)) in some finite range, or give nice non-uniform distributions as well.
 
  • #5
OK the domain is integers [1, ..., n], forget about what the range is for now, we can decide that after. I have a pair of numbers (a, b). I want to apply a function at random from this class so that (f(a), f(b)) is uniformly random and f(a) < f(b).

f has to be efficiently computable. It also has to be "decomposable" into two parts f_1, f_2 such that f(x) = f_2 ( f_1 (x) ). Knowing ONLY ONE of f_1 or f_2, and given f(x), it should be infeasible to compute x.

I'm thinking Ax + B for A > 0 and random B. Knowing Ax+B, and only one of A or B doesn't tell you anything about x.
 
  • #6
Uniformly random where?

Every f is "decomposable" that way, simply set f_1(x)=f(x), f_2(x)=x (or vice versa).
Knowing only one of an arbitrary and unknown "decomposition" makes the task impossible - see my example, one of the functions could be just the identify function.

I think it would really help if you give more context. What do you actually want to do?
 
  • #7
mfb said:
Uniformly random where?

Every f is "decomposable" that way, simply set f_1(x)=f(x), f_2(x)=x (or vice versa).
Knowing only one of an arbitrary and unknown "decomposition" makes the task impossible - see my example, one of the functions could be just the identify function.

I think it would really help if you give more context. What do you actually want to do?

No. If f_1 = f then knowing f_1 and knowing f(x) gives you x, assuming it's not one-way and is one to one.

You know that zero-knowledge proof of graph isomorphism? You have two permutations. Composition gives you the permutation. Knowing just one gives you nothing. I'm trying to come up with something similar for two ordered committed numbers.
 
  • #8
Dragonfall said:
I'm trying to come up with something similar for two ordered committed numbers.
So who is supposed to know what? What is the protocol you want to use, and what is the result?
 
  • #9
You're not supposed to know that. I'm supposed to come up with it. And I have! Thanks for the inputs.
 

1. What is a general order-preserving function?

A general order-preserving function is a mathematical function that preserves the order of elements in a set. This means that if two elements in the input set are in a certain order, the resulting output set will also have those elements in the same order.

2. How is a general order-preserving function different from a regular function?

A general order-preserving function differs from a regular function in that it specifically focuses on preserving the order of elements. Regular functions may not necessarily maintain the order of elements in the input set when producing the output set.

3. What are some examples of general order-preserving functions?

Some examples of general order-preserving functions include sorting algorithms like bubble sort, selection sort, and insertion sort. These algorithms rearrange elements in a set while preserving their original order.

4. Why is preserving order important in mathematics?

Preserving order is important in mathematics because it allows us to accurately compare and analyze sets of data. By maintaining the order of elements, we can make meaningful conclusions about the relationships between different elements in a set.

5. Are all order-preserving functions considered general order-preserving functions?

No, not all order-preserving functions are considered general order-preserving functions. A general order-preserving function must preserve the order of elements in all possible inputs, while other order-preserving functions may only preserve order in certain cases or for specific types of inputs.

Similar threads

Replies
9
Views
1K
  • General Math
Replies
5
Views
844
Replies
6
Views
2K
Replies
12
Views
1K
  • General Math
Replies
2
Views
742
  • General Math
Replies
7
Views
1K
  • General Math
Replies
0
Views
814
Replies
8
Views
1K
Back
Top