I am wondering if there is an example of the following form. It seems highly plausible that there should be but I am struggling to come up with one.
Consider $T \subseteq \mathbb{N}^2$, a set representing a total order. That is we have some total order $\preceq$ such that $i \preceq j$ iff $(i, j) \in T$.
Does there exist $T$ and a subset $S \subseteq T$ such that:
- The decision problem $(i, j) \in T$ is "probably not in P". e.g. is NP-hard or is provably not in P.
- The decision problem $(i, j) \in S$ is in P
- $T$ is the transitive closure of $S$ (i.e. the smallest set $M$ containing $S$ such that if $(i, j), (j, k) \in M$ then $(i, k) \in M$)
Note that if e.g. there's some polynomial $p$ such that for all $(i, j) \in S$ there exists some $k \leq p(i, j)$ with $(i, k), (k, j) \in T$ then the decision problem for $S$ is necessarily in NP (because you can provide such a k and verifying that it works is polynomial in $i, j$), but I suspect there are examples which don't satisfy this.