ages

BeiträgePosts / Logic

  • Rice’s Theorem via the Fixed Point Theorem (and why static analyzers have to approximate)

    All non-trivial semantic properties of programs are undecidable. Using Kleene’s Fixed Point Theorem gives a clean five-step proof, and explains why tools like Rust’s borrow checker and #[must_use] have to draw a line between syntax and semantics.

  • Incompleteness and the limits of proof systems

    First-order sequent calculus is complete, yet adding arithmetic makes any sound system incomplete. Using the Gödel-Tarski (GT1) formulation with diagonalization and the star operator, we walk through the proof step by step.

  • Countability, enumerating programs, and the limits of logic

    Because programs and formulas are finite strings over a finite alphabet, they are countable while decision problems are uncountable. Following that gap leads from trivial incompleteness to the Enumeration Theorem, the Halting Problem, and Post’s Theorem.