First order logic - help with translation algorithm between

In summary: This will allow you to translate \phi to \psi over \Sigma' using the intermediate dictionary \Sigma''.
  • #1
75
0
given a dictionary [tex]\Sigma = \left \{f(),g(),R(,),c_0,c_1,c_2 \right \}[/tex] and a sentence [itex]\phi[/itex] over [itex]\Sigma[/itex], I need to find an algorithm to translate [itex]\phi[/itex] to [itex]\psi[/itex] over [itex]\Sigma'[/itex] where [itex]\Sigma' = \left \{Q(,,,), = \right \}[/itex] (Q is a 4-place relation symbol), so that [itex]\psi[/itex] is valid iff [itex]\phi[/itex] is valid.

I understand that I am supposed to eliminate function symbols using the equality relation in [itex]\Sigma'[/itex], so that [itex] f()[/itex] in [itex]\Sigma[/itex] is translated to a relation symbol [itex]\ F(,) [/itex] , so that [itex]\ F(a,b)[/itex] holds iff [itex]\ f(a)=b [/itex] (and likewise for [itex] g() [/itex]).

the constants can be translated to 1-ary relation symbols.

Therefore, I have an intermediate dictionary
[tex]\Sigma'' = \left \{F(,),G(,),R(,),C_0(),C_1(),C_2(), = \right \}[/tex]

I need to somehow encode the six relation symbols (3 binary and 3 unary) in [itex] Q(,,,) [/itex]. Is there a particular way to do this, is this related to equivalence classes?

thank you.
 
Physics news on Phys.org
  • #2


Yes, you can encode the six relation symbols in Q(,,,) by using equivalence classes. This means that you can use Q(a,b,c,d) to represent the relation symbols F(a,b), G(a,b), R(a,b), C_0(a), C_1(b), and C_2(c). For example, if Q(a,b,c,d) represents F(a,b), then Q(a,b,c,d) holds if and only if F(a,b) holds. Similarly, if Q(a,b,c,d) represents G(a,b), then Q(a,b,c,d) holds if and only if G(a,b) holds. This way, you can use Q(,,,) to represent all six relation symbols in \Sigma''.

To ensure that \psi is valid if and only if \phi is valid, you can use the properties of equivalence classes. For example, if Q(a,b,c,d) represents F(a,b), then Q(a,b,c,d) holds if and only if F(a,b) holds. This means that if \psi is valid, then Q(a,b,c,d) holds for some values of a,b,c,d, which means that F(a,b) holds for those values as well. Similarly, if \phi is valid, then F(a,b) holds for some values of a,b, which means that Q(a,b,c,d) holds for those values as well, making \psi valid.

In summary, you can use equivalence classes to encode the six relation symbols in Q(,,,) and ensure that \psi is valid if and only if \phi is valid.
 

Suggested for: First order logic - help with translation algorithm between

Replies
26
Views
2K
Replies
1
Views
943
Replies
24
Views
2K
Replies
2
Views
2K
Replies
4
Views
888
Replies
9
Views
1K
Replies
2
Views
987
Replies
3
Views
2K
Back
Top