Functions of k-valued logic

Adolf2008

New member
Joined
Dec 24, 2020
Messages
4
Represent the function f (x, y) = min (x, y) as a polynomial modulo 3 (k = 3). How can i do that? Is there a special algorithm?
 
It may be necessary for you to show us what kind of k-valued logic you are learning. In particular, were you given any examples using polynomials mod k?
 
It may be necessary for you to show us what kind of k-valued logic you are learning. In particular, were you given any examples using polynomials mod k?
All i have is theorem and solution for one variable function
I0edYyeeZzc.jpg
JJNJXlsZFPI.jpg
 

Attachments

  • 1608906249006.png
    1608906249006.png
    105.3 KB · Views: 1
Last edited by a moderator:
1) min(x,y) = j1(x)j1(y)+j1(x)j2(y)+j2(x)j1(y)+2j2(x)j2(y), ji(x) = j0(x-i), j0(x) = 1-xk-1
2) min(x,y) = (1-(x-1)2)(1-(y-1)2)+(1-(x-1)2)(1-(y-2)2)+(1-(x-2)2)(1-(y-1)2)+2(1-(x-2)2)(1-(y-2)2) = 5x2y2-16x2y-16xy2+52xy+9x2+9y2-30x-30y+18
Solution: 5x2y2-16x2y-16xy2+52xy+9x2+9y2-30x-30y+18 (mod 3)
 
1) min(x,y) = j1(x)j1(y)+j1(x)j2(y)+j2(x)j1(y)+2j2(x)j2(y), ji(x) = j0(x-i), j0(x) = 1-xk-1
2) min(x,y) = (1-(x-1)2)(1-(y-1)2)+(1-(x-1)2)(1-(y-2)2)+(1-(x-2)2)(1-(y-1)2)+2(1-(x-2)2)(1-(y-2)2) = 5x2y2-16x2y-16xy2+52xy+9x2+9y2-30x-30y+18
Solution: 5x2y2-16x2y-16xy2+52xy+9x2+9y2-30x-30y+18 (mod 3)
Is this a solution you were given, or one you worked out? I don't follow the details of your work.

Of course you could simplify your answer (mod 3) to 2x2y2-x2y-xy2+xy, right? That makes it a little easier to check.
 
Is this a solution you were given, or one you worked out? I don't follow the details of your work.

Of course you could simplify your answer (mod 3) to 2x2y2-x2y-xy2+xy, right? That makes it a little easier to check.
I found it out from the book. How could you simplify this function? I will be grateful for a link to the literature about it
 
Top