[Merged by Bors] - feat(Computability/TuringDegree): define oracle computability and Turing degrees #22884
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.33) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 143 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.297
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #22884"
general
weight: 0.35
tannerduve
Define a model of oracle computability, introducing Turing reducibility (
≤ᵀ), Turing equivalence (≡ᵀ), and Turing degrees as the quotient under Turing equivalence.RecursiveIn O f: A functionfis recursive in a set of oraclesOif it can be computed usingOvia basic operations (zero, successor, pairing, composition, primitive recursion, and μ-recursion).TuringReducible: The relation thatfis recursive in{g}, i.e.,f ≤ᵀ g.TuringEquivalent: A relation defining Turing equivalence between partial functions.TuringDegree: The set of equivalence classes underTuringEquivalent, forming a partially ordered structure.Additionally:
TuringReducibleis a preorder (reflexive, transitive).TuringEquivalentis an equivalence relation.This formalization follows classical recursion theory (Odifreddi, Soare) and extends previous work by Carneiro.
Co-authored-by: Elan Roth
---
Breaking Changes
None.
Dependencies
None.