Inductive Definitions
Motivation
Many important sets are described inductively: we specify:
- Axioms: certain elements are in the set by fiat
- Rules: ways to derive new elements from existing ones
This is more flexible than explicit enumeration or comprehension.
Axioms and Rules
Axioms
An axiom is a statement of the form: “element is in the set”.
We write axioms as horizontal lines with nothing above:
Rules
A rule states: if are in the set, then is in the set.
We write rules as:
- The are called premises (or hypotheses)
- is called the conclusion
- A rule with no premises is an axiom
Closure Conditions
Given a set of rules , each rule defines a closure condition:
A set satisfies all closure conditions iff it is “closed under the rules.”
Defining Sets Inductively
Method
Given a set and a set of rules :
- Start with the axioms
- Repeatedly apply rules to derive new elements
- The inductively defined set contains all derivable elements
Formal Definition
Let be the collection of all subsets of closed under .
This is the smallest subset of closed under .
Why Smallest?
- itself is closed under (intersection preserves closure)
- Any closed under contains (if not, some element of would be missing from )
Example: Natural Numbers
Define inductively with rules:
Interpretation
- (axiom)
- If , then (successor rule)
- Nothing else is in (smallest such set)
Derived Elements
are all in .
Example: Binary Trees
Define trees with rules:
Derived Elements
Leaf, Node(Leaf, Leaf), Node(Node(Leaf, Leaf), Leaf), …
Example: A Language
Define with rules:
Derived Elements
, so , so , so , …
Inductively Defined Functions
Setup
Given and , define by:
Existence and Uniqueness
The function exists and is unique.
Proof idea: Define as the intersection of all -closed relations, then show it is total and functional.
Summary
- Inductive definition: specify axioms and rules
- The defined set is the smallest set closed under all rules
- Examples: , trees, languages, recursive functions