Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Can we “encrypt” in the Turing degrees?

Mathematical logic

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Definitions:

If M,C⊆NM,C\subseteq\mathbb{N}M,C⊆N, let us say that a function f ⁣:N→Nf\colon\mathbb{N}\to\mathbb{N}f:N→N is an encoding of MMM by CCC when f−1(C)=Mf^{-1}(C) = Mf−1(C)=M (i.e., for all m∈Nm\in\mathbb{N}m∈N we have m∈Mm\in Mm∈M iff f(m)∈Cf(m) \in Cf(m)∈C).

If M,C⊆NM,C\subseteq\mathbb{N}M,C⊆N, let us say that CCC can successfully encrypt MMM when the infemum of Turing degrees of all encodings of MMM by CCC exists and equals 0\mathbf{0}0, i.e.

∀d>0.  ∃f ⁣:N→N.  (f−1(C)=M and deg⁡T(f)≱d)\forall\mathbf{d}>\mathbf{0}.\;\exists f\colon\mathbb{N}\to\mathbb{N}.\; (f^{-1}(C) = M \text{ and }\deg_{\mathrm{T}}(f)\not\ge\mathbf{d})∀d>0.∃f:N→N.(f−1(C)=M and degT​(f)≥d)

If C⊆NC\subseteq\mathbb{N}C⊆N, let us say that CCC is a cipher when it can successfully encrypt any subset M⊆NM\subseteq\mathbb{N}M⊆N.

QUESTIONS:

Does a cipher exist?

If a cipher exist: is any sufficiently generic (resp. random) set a cipher? (I.e., is the set of ciphers, seen as a subset of {0,1}N\{0,1\}^{\mathbb{N}}{0,1}N a dense GδG_\deltaGδ​ resp. a set of full measure)?

Also: is there a cipher that is arithmetical? Is, perhaps, the set Tot:={e∈N:φe is total}\mathrm{Tot} := \{e \in \mathbb{N} : \varphi_e\text{ is total}\}Tot:={e∈N:φe​ is total} of codes of total computable functions a cipher?

(Of course, ideally my question would be “characterize ciphers”, but I suspect there is no reasonable characterization — unless perhaps they don't exist at all — but of course I welcome any refutation of this suspicion!)

Motivation / intuition: The idea I'm trying to convey here is that MMM is a(n infinite) message, which we're trying to communicate to someone who “knows” CCC, while revealing as little information as possible to someone who does not. We encode MMM by the function fff: then if you can answer the question n∈Cn\in Cn∈C you can decide whether m∈Mm\in Mm∈M by simply applying fff. We'd like the Turing degree deg⁡T(f)\deg_{\mathrm{T}}(f)degT​(f) of fff to be “as small as possible” so as not to reveal too much to someone who doesn't know CCC. Obviously, deg⁡T(f)\deg_{\mathrm{T}}(f)degT​(f) can only be 0\mathbf{0}0 when MMM is many-to-one reducible to CCC (by definition), so this is too strong, but the next best thing is to wonder whether we can get inf⁡ {deg⁡T(f):f−1(C)=M}\inf\,\{\deg_{\mathrm{T}}(f) : f^{-1}(C) = M\}inf{degT​(f):f−1(C)=M} to be 0\mathbf{0}0, so we reveal “as little as we want” about MMM.

Examples / silly remarks:

A computable set is obviously not a cipher since if CCC is computable then deg⁡T(f)≥deg⁡T(M)\deg_{\mathrm{T}}(f) \geq \deg_{\mathrm{T}}(M)degT​(f)≥degT​(M) whenever fff is an encoding of MMM by CCC.

Slightly less obviously, a semicomputable (= c.e.) set is also not a cipher: for given any E⊆NE\subseteq\mathbb{N}E⊆N we can form the set M:=(N∖E)⊕EM := (\mathbb{N}\setminus E) \oplus EM:=(N∖E)⊕E consisting of the ⟨0,n⟩\langle 0,n\rangle⟨0,n⟩ such that n∉En\not\in En∈E and ⟨1,n⟩\langle 1,n\rangle⟨1,n⟩ such that n∈En\in En∈E, and then given an encoding fff of MMM by CCC as oracle we can decide whether n∈En\in En∈E by enumerating CCC until we find f(⟨0,n⟩)f(\langle 0,n\rangle)f(⟨0,n⟩) or f(⟨1,n⟩)f(\langle 1,n\rangle)f(⟨1,n⟩): this shows that deg⁡T(f)≥deg⁡T(E)\deg_{\mathrm{T}}(f) \geq \deg_{\mathrm{T}}(E)degT​(f)≥degT​(E).

The complement of a cipher is also a cipher (since an encoding of MMM by N∖C\mathbb{N}\setminus CN∖C is the same as an encoding of N∖M\mathbb{N}\setminus MN∖M by CCC).

(The present question is inspired by this previous one, in an effort to make it less rambling. There is no clear logical implication between the two, however, as far as I can tell.)

Update (2025-11-05): As a partial result, and to answer a comment by Jean Abou Samra, let me show:

Proposition: For any Turing degrees a,b\textbf{a},\textbf{b}a,b with b>0\textbf{b}>0b>0, there is a set CCC having Turing degree ≱b\not\geq\textbf{b}≥b which can successfully encrypt every MMM of degree ≤a\leq\textbf{a}≤a. Indeed:

there exists a Xa⊆P(N)\mathscr{X}_{\textbf{a}} \subseteq \mathcal{P}(\mathbb{N})Xa​⊆P(N) of full measure such that, for any XXX in Xa\mathscr{X}_{\textbf{a}}Xa​, the set (N∖X)⊕X:={⟨0,n⟩:n∉X}∪{⟨1,n⟩:n∈X}(\mathbb{N}\setminus X) \oplus X := \{\langle 0,n\rangle : n\not\in X\} \cup \{\langle 1,n\rangle : n\in X\}(N∖X)⊕X:={⟨0,n⟩:n∈X}∪{⟨1,n⟩:n∈X} can successfully encrypt every MMM with deg⁡T(M)≤a\deg_{\mathrm{T}}(M) \leq \textbf{a}degT​(M)≤a, and

there exists a Yb⊆P(N)\mathscr{Y}_{\textbf{b}} \subseteq \mathcal{P}(\mathbb{N})Yb​⊆P(N) of full measure such that, for any XXX in Ya\mathscr{Y}_{\textbf{a}}Ya​, the set XXX (or equivalently, (N∖X)⊕X(\mathbb{N}\setminus X) \oplus X(N∖X)⊕X) has Turing degree ≱b\not\geq\textbf{b}≥b.

Idea of proof. For XXX sufficiently random, we can use the even bits or the odd bits of XXX as a “one-time pad” to XOR with the message MMM. Since the even and odd bits are “independent”, there is no information revealed by both sets simultaneously.

Proof. The second point (concerning Yb\mathscr{Y}_{\textbf{b}}Yb​) is a standard result due to Sacks: see, e.g., Downey & Hirschfeldt, Algorithmic Randomness and Complexity (2010), corollary 8.2.12. So we need only prove the one concerning Xa\mathscr{X}_{\textbf{a}}Xa​.

For X∈P(N)X \in \mathcal{P}(\mathbb{N})X∈P(N), let X0:={n:2n∈X}X_0 := \{n : 2n\in X\}X0​:={n:2n∈X} and X1:={n:(2n+1)∈X}X_1 := \{n : (2n+1)\in X\}X1​:={n:(2n+1)∈X} be the even and odd parts of XXX. If C:=(N∖X)⊕X:={⟨0,n⟩:n∉X}∪{⟨1,n⟩:n∈X}C := (\mathbb{N}\setminus X) \oplus X := \{\langle 0,n\rangle : n\not\in X\} \cup \{\langle 1,n\rangle : n\in X\}C:=(N∖X)⊕X:={⟨0,n⟩:n∈X}∪{⟨1,n⟩:n∈X}, then an encoding of (an arbitrary) MMM by CCC is given by f0f_0f0​ which takes nnn to ⟨0,2n⟩\langle 0,2n\rangle⟨0,2n⟩ when n∈Mn\in Mn∈M XOR n∈X0n\in X_0n∈X0​ and to ⟨1,2n⟩\langle 1,2n\rangle⟨1,2n⟩ when n∉Mn\not\in Mn∈M XOR n∈X0n\in X_0n∈X0​; similarly, an encoding of MMM by CCC is given by f1f_1f1​ which takes nnn to ⟨0,2n+1⟩\langle 0,2n+1\rangle⟨0,2n+1⟩ when n∈Mn\in Mn∈M XOR n∈X1n\in X_1n∈X1​ and to ⟨1,2n+1⟩\langle 1,2n+1\rangle⟨1,2n+1⟩ when n∉Mn\not\in Mn∈M XOR n∈X0n\in X_0n∈X0​.

(Here, “ppp XOR qqq” means “either ppp or qqq but not both”, of course.)

Now clearly f0f_0f0​ resp. f1f_1f1​ has the Turing degree of the symmetric difference X0△MX_0 \triangle MX0​△M resp. X1△MX_1 \triangle MX1​△M. Let M♯M^\sharpM♯ be the set {2n:n∈M}∪{2n+1:n∈M}\{2n : n\in M\} \cup \{2n+1 : n\in M\}{2n:n∈M}∪{2n+1:n∈M}, so that (Xi△M)=(X△M♯)i(X_i\triangle M) = (X\triangle M^\sharp)_i(Xi​△M)=(X△M♯)i​ for i∈{0,1}i\in\{0,1\}i∈{0,1}.

Now by a result of Stillwell the set of Z∈P(N)Z \in \mathcal{P}(\mathbb{N})Z∈P(N) such that Z0Z_0Z0​ and Z1Z_1Z1​ form a minimal pair is of full measure (Downey & Hirschfeldt, op. cit., corollary 8.12.5), and since the involution X↦X△M♯X \mapsto X\triangle M^\sharpX↦X△M♯ on P(N)\mathcal{P}(\mathbb{N})P(N) preserves measure, the set XM\mathscr{X}_MXM​ of XXX such that X0△MX_0\triangle MX0​△M and X1△MX_1\triangle MX1​△M form a minimal pair (equivalently, f0f_0f0​ and f1f_1f1​ form a minimal pair, implying that CCC can successfully encrypt MMM) is of full measure. This is true for every M⊆NM \subseteq \mathbb{N}M⊆N, and in particular the intersection Xa\mathscr{X}_{\textbf{a}}Xa​ of the XM\mathscr{X}_MXM​ for MMM ranging over the countably many sets of Turing degree ≤a\leq \textbf{a}≤a is still of full measure, which is what we wanted to prove. ∎

Statement and context adapted from MathOverflow · Gro-Tsen

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : lo.logic · computability-theory · turing-degrees

Authors listed by the source : Gro-Tsen

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : November 5, 2025

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni