You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

1.4 Introduction to formal systems

2 min readjuly 22, 2024

are the backbone of mathematical logic, providing a structured approach to reasoning and proof. They consist of an , , , and that work together to create a framework for deriving .

Understanding formal systems is crucial for grasping the foundations of mathematical logic. By exploring components like and completeness, we can appreciate the power and limitations of these systems in proving mathematical truths.

Formal Systems

Components of formal systems

Top images from around the web for Components of formal systems
Top images from around the web for Components of formal systems
  • Alphabet represents a finite set of symbols used to construct well-formed formulas () in the system (, , parentheses)
  • define the syntax of the formal system by specifying how to construct valid wffs from the alphabet (rules for combining propositional variables and logical connectives)
  • Axioms serve as the foundational statements of the formal system that are accepted as true without requiring proof ((P(QP))(P \rightarrow (Q \rightarrow P)), ((P(QR))((PQ)(PR)))((P \rightarrow (Q \rightarrow R)) \rightarrow ((P \rightarrow Q) \rightarrow (P \rightarrow R))))
  • Inference rules allow the derivation of new wffs (theorems) from existing wffs by specifying the allowed logical steps (, , )

Axioms and inference rules

  • Axioms form the starting point for deriving theorems in the formal system by serving as the basic assumptions accepted as true ( in arithmetic, in set theory)
  • Inference rules enable the creation of theorems from axioms and previously derived theorems by defining the valid logical steps that can be applied (, )
  • Theorems represent new knowledge generated within the formal system through the application of inference rules to axioms and other theorems ( in geometry, )

Consistency vs completeness

  • Consistency ensures that no contradiction can be derived from the axioms, meaning it is impossible to prove both a wff and its negation within the system (consistent systems prevent logical paradoxes)
  • Completeness guarantees that every true statement can be proven within the system, implying that for every wff, either the wff or its negation can be derived using the system's axioms and inference rules (complete systems can prove all true statements)
  • implies that every derived within the system is true, which entails consistency but not necessarily completeness (sound systems have only true theorems but may not be able to prove all true statements)

Proof construction in formal systems

  1. Begin with the axioms of the formal system as the foundation for the proof
  2. Apply inference rules to the axioms and previously derived wffs to generate new wffs
  3. Repeat step 2, applying inference rules until the desired theorem is successfully derived

Example proof using modus ponens :

  • 1: PQP \rightarrow Q
  • Axiom 2: PP
  • Modus ponens inference rule: If PQP \rightarrow Q and PP are true, then QQ must be true
  • Theorem: QQ (derived by applying modus ponens to Axioms 1 and 2)
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary