JCA Round 46: Two compatible input-only implications are NEXP-complete
Theorem. Over finite trees with one binary constructor and one constant, parameter-free equational JCA is NEXP-complete with two implications, prefix \(\forall H\,\exists Y\), and jointly unifiable premises involving only \(H\). This is the ordinary per-branch consistency condition in the quantified problem. Prefix validity guarantees a row of the answer at their common input. The two premises and conclusions can all consist of equations of depth at most one. The lower bound still holds if the answer must cover an explicitly supplied full ground tuple represented as a DAG. One input-only implication with this prefix is P-complete. Any number of input premises ordered by containment is also P-complete. Nested-premise algorithm Common-witness upper bound · One-implication bounds
Round 45 encoded exponential torus tiling by shaped arrays, pointwise maps on their leaf labels, and equations on their binary structure. Its five modes separately checked shapes, expansion and the two projections. Here each input port has a pair of prescribed values, one in each premise. A term in the ports has two observations. We use equality between observations in the same branch to check the same tiling with two implications. Tiling source and array construction
Store arrays in the second observation
For every stored array \(S\) of alphabet \(A\) and depth \(d\), introduce distinct universal color names \(r_{A,t}\) for its labels. Arrays of the same alphabet use the same names. Their values in the second branch will be ordinary perfect terms over those names. This permits the structural requirements of Round 45, including \(T_{j+1}=f(L_j,R_j)\), subtree decompositions, and the initial-word equations, to appear verbatim in the second conclusion.
The maps have source arrays \(P\) over pairs, target arrays \(S\) over tiles, and images \(m(t)\) in the right colors of \(S\). A rotation expansion maps \((l,r)\) to \(f(r_{j,l},r_{j,r})\). A projection maps it to one right color. In every map, the source pair alphabet and target tile alphabet are disjoint.
For each occurrence \(e\) of a map make a separate first-observation array of the same depth as \(P\), with private left colors \(l_{e,t}\). Use two ports per source label with these ordered observations:
| Port | First observation | Second observation |
|---|---|---|
| Copy of label \(t\) | \(l_{e,t}\) | \(r_{A,t}\) for the source alphabet |
| Map of label \(t\) | \(l_{e,t}\) | \(m(t)\) in the target alphabet |
A port is a universal input variable \(h\). An observation table entry \((u,v)\) puts \(h=u\) in the first premise and \(h=v\) in the second premise. All left and right color names are separate and are themselves universal inputs. Within either premise the colors occurring in the table’s images are independent.
Two existential outputs represent the copy and the map. In the first conclusion require both to equal the private left array. In the second conclusion require their outputs to equal the stored source and target respectively. The following test enforces the alphabet and depth of each left or right array, including when a proposed answer uses a probe register as an input.
Two independent tests per array, in the same two branches
Suppose the array is to be stored on side \(i\). In the other branch introduce a private probe \(b_0\) and registers \(b_{k+1}=f(b_k,b_k)\) up to its depth \(d\). For every allowed label create a port whose side-\(i\) observation is that label’s color and whose other observation is \(b_0\). Ask an output \(U\) to equal \(b_d\) in the other conclusion. Make two copies with disjoint probes, registers and ports. Require their outputs equal in the side-\(i\) conclusion and use their common observation for the stored array.
At the shape test for copy one, a term evaluating to \(f\) iterated perfectly on its probe can use a constructor or one of its own label ports at a leaf. It might also use its literal probe or one of its registers, each occupying a whole perfect subtree of the required shape. These exhaust the possibilities. All other ports evaluate to different colors or markers, or to a fork with other colors as children. Other independent inputs cannot equal subtrees of this probe tree in the generic premise unifier. No original constant occurs in it.
On the storage side, any shortcut leaves that copy’s own register or probe as a bare independent input. Copy two’s array can contain only its storage colors, binary constructors and its own private register names. The required equality of the two storage observations excludes every shortcut in both. Thus the common stored array really has the declared full binary shape with exactly the allowed leaves. The argument works in both directions and uses only universal inputs before the existential outputs.
Why every map is genuine
Consider its copy output at the first observation. A possible constructor follows the fixed shape of the typed left array. None of the first-observation port values is a compound subtree of that array: port images on this side are bare colors or shape markers. A raw register defined in this premise contains its own marker, which is absent from the left array. Therefore each leaf of the output body must be a name whose first observation is the left color \(l_{e,t}\) at that address.
The name could be the raw left color, a shape-test port of this left array, its copy port for \(t\), or its map port for \(t\). In the second observation these alternatives respectively give a raw left color, a private marker, the right source color, or the specified right target image. The typed stored source has only source labels at that depth, so the copy output must use the copy port. For the map output the typed target has only target labels there, or a fork of two target labels in the expansion case. Only the map port gives such an observation. The private left alphabet distinguishes different occurrences of maps even when their two target arrays share a tile alphabet.
It follows that the stored source determines the label at every position in the left array. The stored target then implements exactly the prescribed map. The second conclusion also supplies all structural equations. The array proof now recovers a tiling. Conversely a tiling fills each stored array with its labels, each check output with the appropriate check ports, and each copy or map output with the corresponding ports for its source. Both implications hold for these term strategies.
Give every raw color and shape probe its array alphabet’s rank from Round 45, and give each register one more level per doubling. Both entries of each port table have the same ground value at that assignment, including a map’s binary expansion. Each existential output takes the perfect ground tree of its source rank plus its depth. The complete public tuple points into \(g_0=a,\ g_{k+1}=f(g_k,g_k)\) for \(0\le k<3n\). Hence both ordinary premises hold simultaneously independent of the instance word. This proves the stated standard-input and supplied-DAG lower bounds.
For any other fixed finite signature with a branching constructor \(F\) and a constant \(a\), use \(F(x,y,a,\ldots,a)\) for \(f(x,y)\). The shape tests force the same skeleton with the prescribed padding. Projecting an arbitrary strategy by keeping the first two children at \(F\), preserving input leaves, and sending other constructors to \(a\) commutes with all substitutions and sends the prescribed observations back to their binary versions. The binary converse applies. The upper bound is Round 44. On a nontrivial monadic signature the common-witness upper bound is NP for an arbitrary prefix. Signature transfer for finite trees
Semantic feasibility and the size of an answer
The hard instances have a true semantic sentence \(\forall H\,\exists Y.\bigwedge_i(D_i\Rightarrow C_i)\) even when the given domino system has no tiling. For two input-only premises semantic feasibility can be checked at the three generic input unifiers for \(D_1\), \(D_2\), and \(D_1\land D_2\). At each consistent input unifier solve the active conclusions for \(Y\) treating the residual input names as rigid. Necessity follows because each listed subset of conclusions applies on its whole input intersection. For sufficiency choose the actual set of active premises at the given inputs. The case of no active premise is immediate.
In the first branch alone, choose the required register values for shape outputs and give each private left array and its two associated mapping outputs a common value. In the second branch alone, the left shape tests and the equations on stored right arrays can be met separately. Each tile board may use arbitrary tiles subject to its initial pins. Splitting its tree supplies its subtrees and halves. Copy and map outputs merely take their respective stored values. At the joint premise the check ports identify every color of each alphabet with its private probes. The copy and map ports equate the resulting source leaf to the correct target leaf or fork of leaves. Assign every array its perfect tree over its common color, every shape output the corresponding register tree, and each transfer output that common observation. All structural equations then hold, on every simultaneous input, without selecting a tiling. The fixed source domino system has nonempty alphabets. Thus recognizing a uniform equational answer remains NEXP-hard even under a promise of pointwise semantic feasibility.
There are also polynomial-size positive instances for which every term strategy needs at least \(2^n\) distinct DAG nodes. Use tiles \((c,p)\) of two bits. A horizontal neighbor must have previous bit \(p'=c\), and an upper neighbor must have current bit \(c'=p\). In the first row require just one current bit at \(x=0\) to be one. The tile sequence starts \((1,0),(0,1)\) and all other tiles are \((0,0)\). Specify this row in the \(y\)-first array at prefix \(0^n\). A repeated zero block has the equations \(Z_0=r_{(0,0)}\), \(Z_{i+1}=f(Z_i,Z_i)\). A block with a single exceptional tile \(t\) at its all-zero address uses \(U_0^t=r_t\), \(U_{i+1}^t=f(U_i^t,Z_i)\). The two lowest-\(x\)-bit halves of row zero are \(U_{n-1}^{(1,0)}\) and \(U_{n-1}^{(0,1)}\). The auxiliary output definitions need only the second conclusion and their ground values still use the same chain of perfect trees.
The unique current-bit pattern in successive rows shifts cyclically by one. In the \(x\)-first board the subtree at each of the \(2^n\) fixed \(x\) addresses contains its one current bit at a different \(y\). These subtrees are all distinct. Its checker can contain only its color ports, so its term body already has that many distinct subterms. This gives a concrete obstruction to the polynomial-DAG bound used for one implication. One-branch DAG bound
The two-branch compiler checks valid and invalid grids against an independent finite-tree unifier. Its 36 cases include wraparound failures, initial-word failures, and boards of side eight. It verifies each explicit ground tuple, tests semantic feasibility, rejects the attempted register shortcut, and checks the forced diagonal at three sizes. Lean verifies the two-probe typing argument at arbitrary depth, given the possible port observations. The equivalence of the full reduction is proved above.