Encodings, diagonal arguments and limits of algorithms
Encode finite descriptions unambiguously, construct diagonal counterexamples with the correct domain, and prove why no total algorithm decides every halting question. Finite demonstrations and idealized computation have explicit limits.
Open any lesson. Completion records participation; automatic practice checks and human judgment of written arguments are separate. This unit retains its own versioned requirements.
Readiness and preparation
Check your starting point
Try these short questions on paper, then compare your reasoning. They are optional self-checks, not a placement score or a navigation requirement. Use a targeted review when useful and return with your browser’s Back control.
What must a bijection prove beyond showing a few pairs?
An encoding must recover every allowed object without collisions.
Compare reasoning and find a refresher
It must be both injective and surjective onto its stated target. A two-sided inverse proves both; a decoder only on valid codes proves injectivity, but not that every arbitrary string is a valid code.
Does a simulation reaching its step limit prove nontermination?
Deciding a property for all programs is stronger than testing finitely many steps.
Compare reasoning and find a refresher
No. The program might halt later. A valid rank proof or an exact repeatable deterministic cycle can settle particular cases, while a general halting decider would need a correct answer for every allowed program and input.
Prove a diagonal obstruction for infinite binary sequences, transfer it to subsets and languages, and diagnose failed domain and computability arguments.
Prove that every proposed natural-number listing of all infinite binary sequences misses an explicitly defined sequence.
Translate between sequences, subsets and languages while preserving the indexing domain.
Distinguish a valid diagonal construction from one leaving a restricted domain or assuming a total program evaluator.
Prove the impossibility of a universal halting decider in an explicit program model, then transfer that impossibility by an effective program construction.
Distinguish a total correct decision procedure from a recognizer and a bounded simulation report.
Construct a finite diagonal program and prove the contradiction in both answer cases without assuming magical self-knowledge.
Prove a mapping reduction with an effective finite construction and both directions of its membership equivalence.