7

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)

(For each particular n, it is decidable by interpreting in a real ordered field.)

What if we also add real scalars and ≤ for them?

Tadashi
  • 1,580
  • Ricky, I think you need to restate the question without multisorted logic: There is no quantification over "sorts"! For example, how about the simpler question: "Is the theory of all $n\times n$ matrix rings with complex coefficients decidable?" – Sidney Raffer Jul 30 '10 at 03:22
  • What there is, is quantification within "sorts". The answer to the simpler question is yes by interpreting in a real ordered field. –  Jul 30 '10 at 03:34
  • 3
    A related question would be whether there is a 0-1 law for your 4-sorted statements as the dimension increases. In other words, is it true that for every statement about matrices, vectors & scalars, the truth is the same in all sufficiently high dimensions? A simple example: matrix multiplication is commutative in dimension 1, but not in all higher dimensions. Do you know if such a phenomenon holds for all statements? – Joel David Hamkins Jul 30 '10 at 03:57
  • Which constant symbols can appear in the given sentence? I assume that the scalars 0 and 1 are allowed, but is the identity matrix allowed to appear in the sentence? 2. I think that this is a problem in a field called the noncommutative real algebraic geometry. How about adding the [real-algebraic-geometry] tag?
  • – Tsuyoshi Ito Aug 01 '10 at 14:44
  • 1
    The scalars 0 and 1 are definable, as is any algebraic number, so they don't have to be in the language, but you can freely use them anyway. The same for the identity matrix and the 0 matrix. – Joel David Hamkins Aug 02 '10 at 01:03
  • @Joel: Thank you, I did not realize that. – Tsuyoshi Ito Aug 02 '10 at 01:13
  • A related problem is to decide whether a given sentence holds for all choices of complex Hilbert space, where “matrix” is interpreted as a bounded linear operator. The definition of sentences is the same as before, but some sentences which are true in finite dimension become false if we allow infinite dimension. – Tsuyoshi Ito Aug 02 '10 at 13:39
  • An easy observation is that the original problem is in coRE, i.e., the complement of the problem is recursively enumerable, because the truth of a given sentence for any fixed n is decidable. – Tsuyoshi Ito Aug 02 '10 at 17:46
  • 3
    The question is undecideable: see the answers for this Math Overflow question: http://mathoverflow.net/questions/34186/does-the-truth-of-any-statement-of-real-matrix-algebra-stabilize-in-sufficiently/34271#34271 – Peter Shor Aug 02 '10 at 21:40
  • Moreover, if Peter’s construction works (I cannot tell because I do not know enough about representation theory), I think that it implies that the original problem is undecidable even without hermitian transpose. – Tsuyoshi Ito Aug 02 '10 at 22:01
  • Can't you get Hermitian transpose even if you don't have it? Given $v$, there's a unique projection ($P^2=P$) matrix of rank 1 so that $v$ is a left eigenvector with eigenvalue 1. The Hermitian transpose $v^*$ is the right eigenvector with eigenvalue 1. And given Hermitian transpose for vectors, you can define it for matrices. – Peter Shor Aug 03 '10 at 04:05
  • I must be missing something, but I do not think that the projection P is unique without stating that P is hermitian. Another issue is that it seems to me that we have to state that the right eigenvector has the same norm as the given vector, which I cannot see how to achieve without hermitian transpose. – Tsuyoshi Ito Aug 03 '10 at 12:50
  • You're right ... without Hermitian transpose the projection is not unique. – Peter Shor Aug 05 '10 at 05:03
  • As for my comment on Aug 2 at 13:39 UTC: the problem with matrices replaced by bounded linear operators is also undecidable because it includes the word problem for groups as a special case. – Tsuyoshi Ito Aug 30 '10 at 14:36