Uke
- 3
- 0
Hello,
I am looking for a formal way to represent an n-ary relation as a combination of binary relations and logical connectives.
Suppose we have a set A, a set B = \{b: b\subseteq A^2\} of binary relations over A, and a set of logical connectives C = \{\neg, \wedge, \vee\}.
We define a set of propositional variables V=\{b(a_i, a_j): b \in B, a_i, a_j \in A\}. We denote the set of all well-formed formulas over V \cup C as F.
Given a propositional function f \in F and using it as an indicator function, we can define an n-ary relation R=\{(a_0, a_1, ... , a_n) \in A^n | I(f(a_0, a_1, ... , a_n))=1: f \in F\}.
Does it make any sense?
I am looking for a formal way to represent an n-ary relation as a combination of binary relations and logical connectives.
Suppose we have a set A, a set B = \{b: b\subseteq A^2\} of binary relations over A, and a set of logical connectives C = \{\neg, \wedge, \vee\}.
We define a set of propositional variables V=\{b(a_i, a_j): b \in B, a_i, a_j \in A\}. We denote the set of all well-formed formulas over V \cup C as F.
Given a propositional function f \in F and using it as an indicator function, we can define an n-ary relation R=\{(a_0, a_1, ... , a_n) \in A^n | I(f(a_0, a_1, ... , a_n))=1: f \in F\}.
Does it make any sense?