Advanced Logic
Once we have the rules of deduction, we must ask ourselves about the power and reliability of the system itself. This is the domain of Meta-logic.
Soundness and Completeness
- Soundness: A logic system is sound if everything that can be proved is actually true. If you can derive from , then is a tautology.
- Completeness: A logic system is complete if everything that is true can be proved. If is a tautology, there exists a sequence of steps to derive from .
Propositional logic is both sound and complete. This means the “mechanical” process of manipulation perfectly matches the “semantic” truth of the universe.
Model Theory
Model theory studies the relationship between formal languages and their interpretations. A Model is a mathematical structure that makes the statements of a theory true.
If a set of statements has at least one model, it is Satisfiable. If it is true in all models, it is Valid.
Let’s use Python to check if a simple set of constraints is satisfiable (the SAT problem).
In computer science, solving this efficiently ( vs ) is one of the most important open questions in mathematics.