Prove the theory of equality with a finite number of unary predicates is decidable

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Let the signature have $n$ unary predicate symbols $P_1, dots, P_n$ and a single binary predicate $=$. Consider the theory of equality with the following axioms:



  1. $forall x (x = x)$

  2. $forall x forall y (x = y rightarrow y = x)$

  3. $forall x forall y forall z (x = y land y = z rightarrow x = z)$

  4. For each $i$, $forall x forall y (x = y land P_i(x) rightarrow P_i(y))$.

Is the set of formulas of this theory decidable?



The solution is somewhat intuitive if the predicates are omitted. In this case it's fairly easy to show that



  1. all [normal] models with domains of the same power are equivalent, and,

  2. for a closed formula that is $k$ quantifiers deep, all models having more than $k$ elements are equivalent.

Given this, for a formula that is $k$ quantifiers deep it's sufficient to check some $k + 1$ normal models with domains of $1, dots, k + 1$ elements respectively. If the formula is true in all of those, then it's true in every model of the theory, then it's deducible, otherwise it's not. So, we got an algorithm, and thus the set in question is decidable!



But how to prove this considering the unary predicates?







share|cite|improve this question



















  • So how do you decide $exists xexists y(x neq y)$?
    – Rob Arthan
    Jul 22 at 1:25










  • Its quantifier depth is 2, so I consider normal models with domains having 1, 2 and 3 elements (the last one is probably unnecessary, but it's easier to check it than prove the inequality is non-strict). 1-element model immediately shows this formula is false thus it's not a formula of this theory.
    – 0xd34df00d
    Jul 22 at 4:38











  • What is a "normal model?"
    – Noah Schweber
    Jul 22 at 17:48














up vote
0
down vote

favorite












Let the signature have $n$ unary predicate symbols $P_1, dots, P_n$ and a single binary predicate $=$. Consider the theory of equality with the following axioms:



  1. $forall x (x = x)$

  2. $forall x forall y (x = y rightarrow y = x)$

  3. $forall x forall y forall z (x = y land y = z rightarrow x = z)$

  4. For each $i$, $forall x forall y (x = y land P_i(x) rightarrow P_i(y))$.

Is the set of formulas of this theory decidable?



The solution is somewhat intuitive if the predicates are omitted. In this case it's fairly easy to show that



  1. all [normal] models with domains of the same power are equivalent, and,

  2. for a closed formula that is $k$ quantifiers deep, all models having more than $k$ elements are equivalent.

Given this, for a formula that is $k$ quantifiers deep it's sufficient to check some $k + 1$ normal models with domains of $1, dots, k + 1$ elements respectively. If the formula is true in all of those, then it's true in every model of the theory, then it's deducible, otherwise it's not. So, we got an algorithm, and thus the set in question is decidable!



But how to prove this considering the unary predicates?







share|cite|improve this question



















  • So how do you decide $exists xexists y(x neq y)$?
    – Rob Arthan
    Jul 22 at 1:25










  • Its quantifier depth is 2, so I consider normal models with domains having 1, 2 and 3 elements (the last one is probably unnecessary, but it's easier to check it than prove the inequality is non-strict). 1-element model immediately shows this formula is false thus it's not a formula of this theory.
    – 0xd34df00d
    Jul 22 at 4:38











  • What is a "normal model?"
    – Noah Schweber
    Jul 22 at 17:48












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Let the signature have $n$ unary predicate symbols $P_1, dots, P_n$ and a single binary predicate $=$. Consider the theory of equality with the following axioms:



  1. $forall x (x = x)$

  2. $forall x forall y (x = y rightarrow y = x)$

  3. $forall x forall y forall z (x = y land y = z rightarrow x = z)$

  4. For each $i$, $forall x forall y (x = y land P_i(x) rightarrow P_i(y))$.

Is the set of formulas of this theory decidable?



The solution is somewhat intuitive if the predicates are omitted. In this case it's fairly easy to show that



  1. all [normal] models with domains of the same power are equivalent, and,

  2. for a closed formula that is $k$ quantifiers deep, all models having more than $k$ elements are equivalent.

Given this, for a formula that is $k$ quantifiers deep it's sufficient to check some $k + 1$ normal models with domains of $1, dots, k + 1$ elements respectively. If the formula is true in all of those, then it's true in every model of the theory, then it's deducible, otherwise it's not. So, we got an algorithm, and thus the set in question is decidable!



But how to prove this considering the unary predicates?







share|cite|improve this question











Let the signature have $n$ unary predicate symbols $P_1, dots, P_n$ and a single binary predicate $=$. Consider the theory of equality with the following axioms:



  1. $forall x (x = x)$

  2. $forall x forall y (x = y rightarrow y = x)$

  3. $forall x forall y forall z (x = y land y = z rightarrow x = z)$

  4. For each $i$, $forall x forall y (x = y land P_i(x) rightarrow P_i(y))$.

Is the set of formulas of this theory decidable?



The solution is somewhat intuitive if the predicates are omitted. In this case it's fairly easy to show that



  1. all [normal] models with domains of the same power are equivalent, and,

  2. for a closed formula that is $k$ quantifiers deep, all models having more than $k$ elements are equivalent.

Given this, for a formula that is $k$ quantifiers deep it's sufficient to check some $k + 1$ normal models with domains of $1, dots, k + 1$ elements respectively. If the formula is true in all of those, then it's true in every model of the theory, then it's deducible, otherwise it's not. So, we got an algorithm, and thus the set in question is decidable!



But how to prove this considering the unary predicates?









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Jul 21 at 15:30









0xd34df00d

387212




387212











  • So how do you decide $exists xexists y(x neq y)$?
    – Rob Arthan
    Jul 22 at 1:25










  • Its quantifier depth is 2, so I consider normal models with domains having 1, 2 and 3 elements (the last one is probably unnecessary, but it's easier to check it than prove the inequality is non-strict). 1-element model immediately shows this formula is false thus it's not a formula of this theory.
    – 0xd34df00d
    Jul 22 at 4:38











  • What is a "normal model?"
    – Noah Schweber
    Jul 22 at 17:48
















  • So how do you decide $exists xexists y(x neq y)$?
    – Rob Arthan
    Jul 22 at 1:25










  • Its quantifier depth is 2, so I consider normal models with domains having 1, 2 and 3 elements (the last one is probably unnecessary, but it's easier to check it than prove the inequality is non-strict). 1-element model immediately shows this formula is false thus it's not a formula of this theory.
    – 0xd34df00d
    Jul 22 at 4:38











  • What is a "normal model?"
    – Noah Schweber
    Jul 22 at 17:48















So how do you decide $exists xexists y(x neq y)$?
– Rob Arthan
Jul 22 at 1:25




So how do you decide $exists xexists y(x neq y)$?
– Rob Arthan
Jul 22 at 1:25












Its quantifier depth is 2, so I consider normal models with domains having 1, 2 and 3 elements (the last one is probably unnecessary, but it's easier to check it than prove the inequality is non-strict). 1-element model immediately shows this formula is false thus it's not a formula of this theory.
– 0xd34df00d
Jul 22 at 4:38





Its quantifier depth is 2, so I consider normal models with domains having 1, 2 and 3 elements (the last one is probably unnecessary, but it's easier to check it than prove the inequality is non-strict). 1-element model immediately shows this formula is false thus it's not a formula of this theory.
– 0xd34df00d
Jul 22 at 4:38













What is a "normal model?"
– Noah Schweber
Jul 22 at 17:48




What is a "normal model?"
– Noah Schweber
Jul 22 at 17:48










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










This is a good example of a situation where Ehrenfeucht-Fraisse games are quite useful. I claim that in fact the general satisfiability problem for this language - that is, the problem of whether an arbitrary sentence in the language is satisfiable - is decidable; since your theory is finitely axiomatized, its decidability also follows since your theory proves a sentence $theta$ iff the sentence $psiwedgenegtheta$ is unsatisfiable where $psi$ is the conjunction of the axioms in your theory.




Note that if $mathcalM$ is a structure in your language, then $mathcalM$ is completely determined by $2^n$ numbers, namely how many elements satisfy each of the Boolean combinations of the $P_i$s. Put another way, an element $a$ of $mathcalM$ is determined up to "automorphism orbit" by $i: P^mathcalM_i(a)$, and there are only $2^n$ many possible such sets.



This suggests that something like your equality-only analysis might also work here: that since there are only a fixed number of "possible behaviors," for every sentence $sigma$ we can effectively find a number $n$ such that if $sigma$ is satisfiable then it has a model of cardinality $le n$. We can prove this with some syntactic work, or - much more slickly - via EF-games:



  • Let $Struc(m_1,..., m_2^n)$ denote the unique-up-to-isomorphism structure with $m_k$-many elements in the $k$th Boolean combination of the $P_i$s. (Here the $m_k$s are allowed to be infinite.) Note that every structure in your language is isomorphic to exactly one of this form.


  • Given a structure $mathcalM$ and a number $k$, let $mathcalM[n]=Struc(maxk, m_1, ..., maxk, m_2^n)$ where $mathcalM=Struc(m_1,..., m_2^n)$.


  • Now show that regardless of what $k$ is, Duplicator wins the game $EF_k(mathcalM,mathcalM[k])$.


  • Finally, show that the previous bulletpoint implies that any satisfiable $k$-quantifier sentence has a model of size at most $k2^n$.






share|cite|improve this answer





















  • That's indeed a great application of EF games, thanks! And I also noticed that the structure is defined by the behaviour on predicates, but in my vague and clumsy proof sketch it only worked for finite (or at most countable) $m_k$s, and this one overcomes it easily!
    – 0xd34df00d
    Jul 23 at 13:01










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2858595%2fprove-the-theory-of-equality-with-a-finite-number-of-unary-predicates-is-decidab%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










This is a good example of a situation where Ehrenfeucht-Fraisse games are quite useful. I claim that in fact the general satisfiability problem for this language - that is, the problem of whether an arbitrary sentence in the language is satisfiable - is decidable; since your theory is finitely axiomatized, its decidability also follows since your theory proves a sentence $theta$ iff the sentence $psiwedgenegtheta$ is unsatisfiable where $psi$ is the conjunction of the axioms in your theory.




Note that if $mathcalM$ is a structure in your language, then $mathcalM$ is completely determined by $2^n$ numbers, namely how many elements satisfy each of the Boolean combinations of the $P_i$s. Put another way, an element $a$ of $mathcalM$ is determined up to "automorphism orbit" by $i: P^mathcalM_i(a)$, and there are only $2^n$ many possible such sets.



This suggests that something like your equality-only analysis might also work here: that since there are only a fixed number of "possible behaviors," for every sentence $sigma$ we can effectively find a number $n$ such that if $sigma$ is satisfiable then it has a model of cardinality $le n$. We can prove this with some syntactic work, or - much more slickly - via EF-games:



  • Let $Struc(m_1,..., m_2^n)$ denote the unique-up-to-isomorphism structure with $m_k$-many elements in the $k$th Boolean combination of the $P_i$s. (Here the $m_k$s are allowed to be infinite.) Note that every structure in your language is isomorphic to exactly one of this form.


  • Given a structure $mathcalM$ and a number $k$, let $mathcalM[n]=Struc(maxk, m_1, ..., maxk, m_2^n)$ where $mathcalM=Struc(m_1,..., m_2^n)$.


  • Now show that regardless of what $k$ is, Duplicator wins the game $EF_k(mathcalM,mathcalM[k])$.


  • Finally, show that the previous bulletpoint implies that any satisfiable $k$-quantifier sentence has a model of size at most $k2^n$.






share|cite|improve this answer





















  • That's indeed a great application of EF games, thanks! And I also noticed that the structure is defined by the behaviour on predicates, but in my vague and clumsy proof sketch it only worked for finite (or at most countable) $m_k$s, and this one overcomes it easily!
    – 0xd34df00d
    Jul 23 at 13:01














up vote
1
down vote



accepted










This is a good example of a situation where Ehrenfeucht-Fraisse games are quite useful. I claim that in fact the general satisfiability problem for this language - that is, the problem of whether an arbitrary sentence in the language is satisfiable - is decidable; since your theory is finitely axiomatized, its decidability also follows since your theory proves a sentence $theta$ iff the sentence $psiwedgenegtheta$ is unsatisfiable where $psi$ is the conjunction of the axioms in your theory.




Note that if $mathcalM$ is a structure in your language, then $mathcalM$ is completely determined by $2^n$ numbers, namely how many elements satisfy each of the Boolean combinations of the $P_i$s. Put another way, an element $a$ of $mathcalM$ is determined up to "automorphism orbit" by $i: P^mathcalM_i(a)$, and there are only $2^n$ many possible such sets.



This suggests that something like your equality-only analysis might also work here: that since there are only a fixed number of "possible behaviors," for every sentence $sigma$ we can effectively find a number $n$ such that if $sigma$ is satisfiable then it has a model of cardinality $le n$. We can prove this with some syntactic work, or - much more slickly - via EF-games:



  • Let $Struc(m_1,..., m_2^n)$ denote the unique-up-to-isomorphism structure with $m_k$-many elements in the $k$th Boolean combination of the $P_i$s. (Here the $m_k$s are allowed to be infinite.) Note that every structure in your language is isomorphic to exactly one of this form.


  • Given a structure $mathcalM$ and a number $k$, let $mathcalM[n]=Struc(maxk, m_1, ..., maxk, m_2^n)$ where $mathcalM=Struc(m_1,..., m_2^n)$.


  • Now show that regardless of what $k$ is, Duplicator wins the game $EF_k(mathcalM,mathcalM[k])$.


  • Finally, show that the previous bulletpoint implies that any satisfiable $k$-quantifier sentence has a model of size at most $k2^n$.






share|cite|improve this answer





















  • That's indeed a great application of EF games, thanks! And I also noticed that the structure is defined by the behaviour on predicates, but in my vague and clumsy proof sketch it only worked for finite (or at most countable) $m_k$s, and this one overcomes it easily!
    – 0xd34df00d
    Jul 23 at 13:01












up vote
1
down vote



accepted







up vote
1
down vote



accepted






This is a good example of a situation where Ehrenfeucht-Fraisse games are quite useful. I claim that in fact the general satisfiability problem for this language - that is, the problem of whether an arbitrary sentence in the language is satisfiable - is decidable; since your theory is finitely axiomatized, its decidability also follows since your theory proves a sentence $theta$ iff the sentence $psiwedgenegtheta$ is unsatisfiable where $psi$ is the conjunction of the axioms in your theory.




Note that if $mathcalM$ is a structure in your language, then $mathcalM$ is completely determined by $2^n$ numbers, namely how many elements satisfy each of the Boolean combinations of the $P_i$s. Put another way, an element $a$ of $mathcalM$ is determined up to "automorphism orbit" by $i: P^mathcalM_i(a)$, and there are only $2^n$ many possible such sets.



This suggests that something like your equality-only analysis might also work here: that since there are only a fixed number of "possible behaviors," for every sentence $sigma$ we can effectively find a number $n$ such that if $sigma$ is satisfiable then it has a model of cardinality $le n$. We can prove this with some syntactic work, or - much more slickly - via EF-games:



  • Let $Struc(m_1,..., m_2^n)$ denote the unique-up-to-isomorphism structure with $m_k$-many elements in the $k$th Boolean combination of the $P_i$s. (Here the $m_k$s are allowed to be infinite.) Note that every structure in your language is isomorphic to exactly one of this form.


  • Given a structure $mathcalM$ and a number $k$, let $mathcalM[n]=Struc(maxk, m_1, ..., maxk, m_2^n)$ where $mathcalM=Struc(m_1,..., m_2^n)$.


  • Now show that regardless of what $k$ is, Duplicator wins the game $EF_k(mathcalM,mathcalM[k])$.


  • Finally, show that the previous bulletpoint implies that any satisfiable $k$-quantifier sentence has a model of size at most $k2^n$.






share|cite|improve this answer













This is a good example of a situation where Ehrenfeucht-Fraisse games are quite useful. I claim that in fact the general satisfiability problem for this language - that is, the problem of whether an arbitrary sentence in the language is satisfiable - is decidable; since your theory is finitely axiomatized, its decidability also follows since your theory proves a sentence $theta$ iff the sentence $psiwedgenegtheta$ is unsatisfiable where $psi$ is the conjunction of the axioms in your theory.




Note that if $mathcalM$ is a structure in your language, then $mathcalM$ is completely determined by $2^n$ numbers, namely how many elements satisfy each of the Boolean combinations of the $P_i$s. Put another way, an element $a$ of $mathcalM$ is determined up to "automorphism orbit" by $i: P^mathcalM_i(a)$, and there are only $2^n$ many possible such sets.



This suggests that something like your equality-only analysis might also work here: that since there are only a fixed number of "possible behaviors," for every sentence $sigma$ we can effectively find a number $n$ such that if $sigma$ is satisfiable then it has a model of cardinality $le n$. We can prove this with some syntactic work, or - much more slickly - via EF-games:



  • Let $Struc(m_1,..., m_2^n)$ denote the unique-up-to-isomorphism structure with $m_k$-many elements in the $k$th Boolean combination of the $P_i$s. (Here the $m_k$s are allowed to be infinite.) Note that every structure in your language is isomorphic to exactly one of this form.


  • Given a structure $mathcalM$ and a number $k$, let $mathcalM[n]=Struc(maxk, m_1, ..., maxk, m_2^n)$ where $mathcalM=Struc(m_1,..., m_2^n)$.


  • Now show that regardless of what $k$ is, Duplicator wins the game $EF_k(mathcalM,mathcalM[k])$.


  • Finally, show that the previous bulletpoint implies that any satisfiable $k$-quantifier sentence has a model of size at most $k2^n$.







share|cite|improve this answer













share|cite|improve this answer



share|cite|improve this answer











answered Jul 22 at 18:01









Noah Schweber

111k9140261




111k9140261











  • That's indeed a great application of EF games, thanks! And I also noticed that the structure is defined by the behaviour on predicates, but in my vague and clumsy proof sketch it only worked for finite (or at most countable) $m_k$s, and this one overcomes it easily!
    – 0xd34df00d
    Jul 23 at 13:01
















  • That's indeed a great application of EF games, thanks! And I also noticed that the structure is defined by the behaviour on predicates, but in my vague and clumsy proof sketch it only worked for finite (or at most countable) $m_k$s, and this one overcomes it easily!
    – 0xd34df00d
    Jul 23 at 13:01















That's indeed a great application of EF games, thanks! And I also noticed that the structure is defined by the behaviour on predicates, but in my vague and clumsy proof sketch it only worked for finite (or at most countable) $m_k$s, and this one overcomes it easily!
– 0xd34df00d
Jul 23 at 13:01




That's indeed a great application of EF games, thanks! And I also noticed that the structure is defined by the behaviour on predicates, but in my vague and clumsy proof sketch it only worked for finite (or at most countable) $m_k$s, and this one overcomes it easily!
– 0xd34df00d
Jul 23 at 13:01












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2858595%2fprove-the-theory-of-equality-with-a-finite-number-of-unary-predicates-is-decidab%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?