Hi all
I need a function that has the following property :
It has any arbitrary inouts ( for example a,b,c,d )
f(a,b,c,d)=A
f(R,b,c,d)=B
f(R,S,c,d)=C
f(R,S,T,d)=D
But
f(R,S,T,U)=A (Note that f(a,b,c,d)=A )
A,B,C,D,R,S,T,U are also arbitrary integers.
also this function must be stateless and no memory.
Regard.
Examine these subportions of your problem statement
f(R,S,T,U)= f(a,b,c,d)=A
A,R,S,T,U are also arbitrary integers.
"arbitrary inouts ( for example a,b,c,d ) "
How can we require
f(R,S,T,U)= f(a,b,c,d)=A
when all the input and output values are delcared "arbitrary:
IF we are given A ahead of time, we could define
f(a,b,c,d)=A
(does not depend on input arguments), and it would satisfy your requirements.