A version of Rosser's trick in computability
Import du
Cette question était classée sans réponse par le forum à la collecte. Cela ne certifie pas qu’elle est un problème ouvert de recherche ; consultez les réponses et l’historique de la source.
Les énoncés et les résumés sont en anglais. Les repères ci-dessous et les articles Wikipédia disponibles en français vous aident à les lire. La source permet de retrouver la formulation complète et les discussions.
Énoncé du problème (anglais)
While thinking about various problems in computability, I have twice encountered the following “trick” which I can illustrate on a simple but amusing proposition:
Proposition: Let be a partial computable function such that (for all ), implies (but note that when then is allowed be defined and there are no constraints on it). Then there exists total computable such that for all (meaning that the LHS is defined iff the RHS is, and then they are equal).
^([The are just there because it's unconventional to talk about computable functions of 0 arguments, of course.])
Proof. The trick is the following. Given a program , define a program as follows. Run two processes in parallel: one of them (call it ①) attempts to compute , and one (call it ②) attempts to compute where the reference to the program we are defining is legitimate thanks to Kleene's recursion theorem; if either one of ① or ② terminates, return the value computed (by whichever one terminates first). And of course, if neither ① nor ② terminates, then necessarily fails to terminate.
Now observe that it is impossible for the process ② to terminate first: indeed, if it did, we would have by definition of (and ②), which implies by the assumption on , a contradiction. So in fact terminates iff ① terminates, and then returns the same value: that is, .
This shows that if then . On the other hand, if then process ② would eventually terminate, which guarantees , so again . So we have shown .
Finally, observe that is computable (indeed, primitive recursive) as we have constructed explicitly using and the self-referential (or “Quine”) trick, and we have , as announced. ∎
Another example of the same trick is in the proof the the lemma in this self-answer I wrote, where it is explicitly connected to Rosser's trick regarding Gödel's theorem.
I also recently re-encountered the above trick in order to prove the following:
Proposition: Say that is “simulatable”¹ when there is partial computable such that whenever satisfies for all , then we have and . Then is computably enumerable iff the set of all maps having image is simulatable.
^(1. In the notations of this other question, this means: .)
Sketch of proof: The “only if” is easy (any which contains a computable function is simulatable), and the the key is to “if” is to alter so as to make sure that if then it is necessarily one of the for which (then we can apply to a program that searches for a given value in the image of ). We do this as in the previous proposition, by defining so that computes and in parallel and returns the result of whichever one terminates first. Then if , we have for all , so is for one such , and it is then also equal to which terminates. ∎
To summarize, the trick consists roughly of running two computations in parallel, one of which (“②” above) is manufactured using the self-referential trick so that a diagonal argument prevents it from return the computation result, so the computation result can only come from the other process. And the point of the trick is essentially to ensure that a computation which in principle might terminate with a bogus value actually does not do this.
I am tentatively calling this “a version of Rosser's trick”, because it seems similar to the proof of the Gödel-Rosser theorem (compare the different answers to this previously linked question for an illustration). But maybe it has a different name or history in the context of computability?
Question: Are there some other instances of the above trick being used in the literature? Have you seen it elsewhere? Does it have a specific name in the context of computability? Does it buy us any other interesting results?
Énoncé et contexte adaptés de MathOverflow · Gro-Tsen
CC BY-SA 4.0 · Mise en forme adaptée ; formules conservées · Historique de la source
Sources et statut d’origine
- MathOverflow Statut dans la source : unanswered at collection
Dernière activité sur la question :
Couverture, sources et méthode
Ce compteur mesure les fiches importées, y compris des variantes distinctes. Il ne mesure pas le nombre total de questions mathématiques ouvertes dans le monde. Une même fiche peut appartenir à plusieurs domaines et sources.
Le répertoire n’est ni exhaustif ni actualisé en temps réel. « Signalé ouvert » décrit le classement observé dans la source à la date d’import ; chaque fiche importée n’a pas fait l’objet d’une vérification scientifique indépendante. Les 32 fiches expliquées ont été examinées séparément.
Formal Conjectures : seuls les énoncés « research open » sans preuve formelle signalée sont retenus ; leur balise est contrôlée dans une version précise du dépôt. Les variantes restent distinctes. Un « sorry » ne suffit pas à établir qu’un problème est ouvert.
Erdős : les problèmes résolus, indépendants ou accompagnés d’une solution Lean sont exclus, y compris « open (Lean) ». Les correspondances exactes avec les énoncés principaux de Formal Conjectures sont fusionnées.
Open Problem Garden : l’index des problèmes ouverts est croisé avec celui des résolus ; le spam, les clones identifiés et certains statuts obsolètes sont écartés. Les énoncés et leurs définitions sont attribués aux pages originales ; les formules sont conservées et le contenu reste sous GFDL. Les doublons reconnus entre sources sont regroupés, sans prétendre résoudre toutes les équivalences mathématiques.
OEIS : extraction directe des commentaires et formules conjecturaux, une fiche par suite, avec exclusion des résolutions mentionnées. MathOverflow et Math Stack Exchange : questions classées sans réponse par leur API, hors publications fermées et rubriques non scientifiques. Ces questions restent distinctes des conjectures signalées ouvertes. La collecte est partielle et datée ; les auteurs et licences figurent sur chaque fiche.
Des exclusions documentées tiennent compte des annonces récentes et des conflits de statut. Une variante plus forte ou un cas particulier peut rester ouvert après la résolution d’un autre énoncé.
Attribution : The Formal Conjectures Authors ; teorth/erdosproblems et ses contributeurs ; Open Problem Garden et ses contributeurs. Chaque source conserve sa licence.
- 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)