Decidability of matrix algebra - MathOverflow most recent 30 from http://mathoverflow.net2013-06-20T01:20:55Zhttp://mathoverflow.net/feeds/question/33879http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://mathoverflow.net/questions/33879/decidability-of-matrix-algebraDecidability of matrix algebraRicky Demer2010-07-30T02:03:26Z2010-08-30T15:11:02Z
<p>Take multi-sorted first-order logic with equality, complex scalars, 1xn vectors, nx1 vectors, nxn matrices, addition and multiplication for each pair of sorts they make sense for, and hermitian transpose (which is conjugation on scalars). Is it decidable what sentences are [true for all n]? (there are 4 sorts, what sentences are true simultaneously for all n)</p>
<p>(For each particular n, it is decidable by interpreting in a real ordered field.)</p>
<p>What if we also add real scalars and ≤ for them?</p>
http://mathoverflow.net/questions/33879/decidability-of-matrix-algebra/33886#33886Answer by Joel David Hamkins for Decidability of matrix algebraJoel David Hamkins2010-07-30T02:53:41Z2010-07-30T03:00:37Z<p>If you want to determine truth in this language with real or complex entries, then Yes. All this is expressible in the language of real-closed fields, simply by using components, and is therefore expressible in the complete theory of $\langle\mathbb{R},+,\cdot,0,1,\lt\rangle$, which is decidable by <a href="http://en.wikipedia.org/wiki/Real_closed_field" rel="nofollow">Tarski's theorem on real-closed fields</a>. For example, quantifying over $n\times 1$ vectors is just $n$ quantifiers over reals (or $2n$ if you want complex numbers). </p>
<p>You mentioned that for each particular $n$, it is decidable by interpreting in the real-closed field, but my point is that this algorithm is uniform in $n$, and so you get a full decision procedure for the multi-sorted logic. That is, given a sentence in the multi-sorted language, we can tell which sorts are quantified over, and so we know how to translate it into a question about real-closed fields, which we can then answer. (I assume that you use a set-up as usual in the multi-sorted logic where each sort gets its own variables and quantifiers.)</p>
<p>If you intend to interpret it over the rationals, then No, since even the $1$-dimensional ring theory of $\langle\mathbb{Q},+,\cdot,0,1,\lt\rangle$ is not decidable, as the integers are definable there, and so you can express the halting problem.</p>
http://mathoverflow.net/questions/33879/decidability-of-matrix-algebra/33927#33927Answer by Tsuyoshi Ito for Decidability of matrix algebraTsuyoshi Ito2010-07-30T18:15:45Z2010-08-02T13:29:57Z<p>The second problem (where real scalar variables and the comparison relation are also allowed) is equivalent to the first problem. Here is a standard argument showing this:</p>
<ul>
<li>A complex scalar variable z can be restricted to real values by requiring $z=\bar{z}$.</li>
<li>The comparison x≤y can be replaced by $\exists z.\ x+z\bar{z}=y$, where z is a fresh complex scalar variable.</li>
</ul>
<p>Back to the original question, the following paper may be related (or even answer your question) but I do not have enough knowledge to understand the content completely. Mihai Putinar: Undecidability in a Free *-Algebra, preprint, April 2007, <a href="http://www.ima.umn.edu/preprints/apr2007/2165.pdf" rel="nofollow">http://www.ima.umn.edu/preprints/apr2007/2165.pdf</a>.</p>
http://mathoverflow.net/questions/33879/decidability-of-matrix-algebra/37165#37165Answer by Tsuyoshi Ito for Decidability of matrix algebraTsuyoshi Ito2010-08-30T14:33:48Z2010-08-30T15:11:02Z<p>Although Peter Shor gave a <a href="http://mathoverflow.net/questions/34186/does-the-truth-of-any-statement-of-real-matrix-algebra-stabilize-in-sufficiently/34271#34271" rel="nofollow">proof</a> of the undecidability (as he stated in a comment to the current question), here is another proof. An advantage of this proof is that it gives the undecidability of a very restricted version of the problem.</p>
<p>In an <a href="http://mathoverflow.net/questions/37083/finite-dimensional-version-of-the-word-problem-for-groups/37095#37095" rel="nofollow">answer</a> to my question, Agol told me that the following problem (which I called the Finite-Dimensional Word Problem for Groups (FWP) in the question) is undecidable by a result of Slobodskoi [Slo81].</p>
<p><em>Instance</em>: A finite presentation of a group G and an element w of G as a product of generators and their inverses.<br>
<em>Question</em>: Does every matrix representation of G map w to the identity matrix?</p>
<p>(The result in [Slo81] does not literally talk about this problem, but the result there implies the undecidability of this problem. See the answer by Agol linked above and also the discussion linked from my question.)</p>
<p>This problem can be easily translated into a special case of the current problem, which shows that the problem in question is undecidable even if we only allow a sentence of the form:</p>
<p>∃I.((∀X.IX=X)∧(∀X.XI=X)∧(∀X<sub>1</sub>…∀X<sub>n</sub>.(P<sub>1</sub>(X<sub>1</sub>,…,X<sub>n</sub>)=I∧…∧P<sub>m</sub>(X<sub>1</sub>,…,X<sub>n</sub>)=I→Q(X<sub>1</sub>,…,X<sub>n</sub>)=I)))</p>
<p>where I, X, X<sub>1</sub>, …, X<sub>n</sub> are matrix variables and P<sub>1</sub>(X<sub>1</sub>,…,X<sub>n</sub>), …, P<sub>m</sub>(X<sub>1</sub>,…,X<sub>n</sub>), Q(X<sub>1</sub>,…,X<sub>n</sub>) are products of one or more variables in X<sub>1</sub>, …, X<sub>n</sub> in some order with repetitions allowed. In particular, the problem is undecidable even if we do not allow scalar variables, vector variables, addition or conjugate transpose!</p>
<p>References</p>
<p>[Slo81] A. M. Slobodskoi. Unsolvability of the universal theory of finite groups. <em>Algebra and Logic</em>, 20(2):139–156, March 1981. <a href="http://www.springerlink.com/content/x880g1x17754hq83/" rel="nofollow">http://www.springerlink.com/content/x880g1x17754hq83/</a></p>