8
$\begingroup$

Say that a $k$-ring is a ring in which $x^k=x$ for all $x$, and write $m\trianglelefteq n$ iff every $m$-ring is an $n$-ring. It's not hard to show (see the end of this answer) that $\trianglelefteq$ is computable, and I think in terms of time complexity I can get it down to $O(n\cdot 2^{(2^m)})$; I'd like to know if we can do better.

To see that $\trianglelefteq$ is decidable, first note that by the completeness theorem for first-order, or even equational, logic) $\trianglelefteq$ is c.e., so it will be enough to show that $\not\trianglelefteq$ is c.e. as well. This in turn will follow from an appropriate finite model property: I claim that if $m\not\trianglelefteq n$ then there is a finite $m$-ring which is not an $n$-ring. To see this, suppose $\mathcal{R}$ is an $m$-ring which is not an $n$-ring. Let $\alpha\in\mathcal{R}$ with $\alpha^n-\alpha\not=0$, and let $\mathcal{S}$ be the subring of $\mathcal{R}$ generated by $\alpha$. This subring is a commutative one-element-generated $m$-ring, and so is in fact finite; moreover, since $\alpha\in\mathcal{S}$ we have that $\alpha$ is not an $n$-ring. And so we're done.

Now looking towards complexity, we can bound the size of a putative finite counterexample to $a\trianglelefteq b$ (so that the appeal to the completeness theorem at the outset is unnecessary after all). Every $m$-ring has characteristic at most $2^m-2$. Since the ring $\mathcal{S}$ is a one-element-generated $a$-ring, it has at most $(2^m-2)(m+1)$-many elements. There are doubly-exponentially-many-in-$m$ such rings, and checking whether a ring of size $\approx 2^m$ is an $n$-ring takes time roughly $2^m\cdot n$ (I think? there might be some subtleties around how the ring is presented here), so at a glance the whole process takes time $O(n2^{(2^m)})$.

$\endgroup$
2
  • $\begingroup$ Why is the characteristic at most $2^m - 2$? $\endgroup$ Commented Oct 27 at 2:24
  • 2
    $\begingroup$ Apply the rule $x^m=x$ (i.e. $x^m-x=0$) to $x=1+1$. $\endgroup$ Commented Oct 27 at 2:26

1 Answer 1

11
$\begingroup$

It happens that $m\trianglelefteq 1$ for each integer $m\geq 1$. Also, $1\not\trianglelefteq n$ for each integer $n>1$. This allows us to reduce to the case that $m,n>1$.

By Corollary 3.3 in Martin Brandenburg's preprint https://arxiv.org/pdf/2310.05301, $m\trianglelefteq n$ if and only if $q-1|m-1 \Longrightarrow q-1|n-1$, for all prime powers $q$. Up to some very relatively quick computations (since it is very easy to recognize perfect powers, and since checking primality is polynomial time), this can be checked by factoring $m-1$ (which is not currently very fast, but should beat your current bound).

$\endgroup$
3
  • 1
    $\begingroup$ Ah, I missed that corollary! $\endgroup$ Commented Oct 27 at 5:23
  • 3
    $\begingroup$ The bottleneck here may actually be enumerating divisors, and not just the factorization. The number of divisors can grow like $2^{\frac{\log m}{\log \log m}}$, compared to GNFS (the best known factorization algorithm) whose runtime grows like $e^{(64/9)^{1/3} \log^{1/3} m \log^{2/3} \log m}$ $\endgroup$ Commented Oct 27 at 9:19
  • $\begingroup$ Even so, the test can be done in coNP (when $m$, $n$ is given in binary), which is much better than the triply exponential (in terms of the input length) bound in the question. $\endgroup$ Commented Oct 27 at 10:34

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.