A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Properties of Recursively Enumerable Languages

College Depth 92 in the knowledge graph I know this Set as goal
8topics build on this
528prerequisites beneath it
See this on the map →
Decidable and Semi-Decidable LanguagesRecursively Enumerable and Co-RE Languages+1 moreTime Hierarchy TheoremTuring Degrees+1 more
r.e.-languages closure-properties computability

Core Idea

The class RE of recursively enumerable languages is closed under union and intersection but not complement (unless the language is also in co-RE, i.e., decidable). This asymmetry—verification closure without complement closure—reflects the asymmetry between 'semi-deciding' and 'deciding' and motivates the study of the recursion-theoretic hierarchy.

Explainer

You already know the essential picture: a language L is recursively enumerable (RE) if some Turing machine semi-decides it — halting and accepting on every string in L, but possibly running forever on strings not in L. A language is decidable (recursive) if there is a machine that always halts, accepting or rejecting every input. The gap between these classes is precisely the asymmetry in closure properties you are now studying.

Union is closed in RE. If M₁ semi-decides L₁ and M₂ semi-decides L₂, you can semi-decide L₁ ∪ L₂ by running M₁ and M₂ in parallel (dovetailing their steps). If either machine accepts, you accept. If neither accepts, you run forever — exactly the right behavior, since a string outside both L₁ and L₂ will never be accepted. Intersection is also closed: run M₁ and M₂ in parallel and accept only when both accept. Both constructions preserve the semi-deciding contract because acceptance is a positive event you can detect when it happens.

Complement breaks this. To semi-decide the complement of L, you need to recognize strings not in L. But "not accepted by M" could mean M rejects (which is fine) or M loops forever (which you cannot detect). You can never observe a non-terminating loop as a positive event — you would have to wait forever. Formally, RE is not closed under complement because the halting problem's complement is not RE: there is no machine that accepts exactly those (M, x) pairs for which M does not halt on x. If RE were closed under complement, the halting problem would be decidable (run a machine for L and a machine for co-L in parallel; one will halt), contradicting undecidability.

The deep structural point is that RE ∩ co-RE = decidable languages. A language is decidable if and only if both it and its complement are RE — meaning you can verify both membership and non-membership. This gives a clean picture of what semi-decidability buys you: you can accumulate positive evidence forever but cannot convert finite non-evidence into a rejection. The recursion-theoretic arithmetical hierarchy extends this idea: define Σ₁ = RE, Π₁ = co-RE, and then alternate quantifiers to produce Σₙ and Πₙ classes each strictly harder than the last. Every level is closed under union and intersection, and the gap to the next level is precisely the inability to take complements. RE's closure properties are thus not a quirk — they are the opening chapter of a rich structural theory of computational complexity beyond decidability.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesBoolean AlgebraIntroduction to Propositional LogicIntroduction to Predicate Logic (First-Order Logic)First-Order Logic SyntaxZFC Axioms OverviewAxiom Schema of SeparationAxiom Schema of ReplacementVon Neumann OrdinalsHereditarily Finite SetsRecursive Definitions on Finite SetsWell-Founded Relations and Transfinite RecursionThe Axiom of Choice and Equivalent FormulationsAxiom of ChoiceWell-Ordering TheoremInfinite Cardinal NumbersCantor's TheoremUncountability and the Diagonal ArgumentThe Cantor Set: An Uncountable Nowhere Dense ExampleUncountable Sets and Cantor DiagonalizationThe Halting ProblemComputability ReductionsPost Correspondence ProblemRice's TheoremRecursively Enumerable and Co-RE LanguagesProperties of Recursively Enumerable Languages

Longest path: 93 steps · 528 total prerequisite topics

Prerequisites (3)

Leads To (3)