Sentential Logic/Induction and Recursion on Formulas

Lesson 2.41,207 words

Induction and Recursion on Formulas

Two principles govern any set generated from initial elements by operations: prove a property of all its members by covering the initial elements and the closure steps, and define a function on it by recursion on structure. The recursion theorem needs the set to be freely generated, and unique readability supplies that condition for the well-formed formulas.

╌╌╌╌

Three constructions so far share a shape. The set of wffs is generated from sentence symbols by the formula-building operations; a property is proved of all wffs by checking the atoms and the operations; and the truth valuation is defined by recursion on a formula's structure. Treated abstractly, the pattern yields an induction principle and a recursion theorem that apply to any generated set at once. The abstraction isolates the precise condition — free generation — under which definition by recursion is legitimate, and shows that wffs meet that condition precisely because they are uniquely readable.1

Generated sets

Fix a set , a subset of initial elements, and a class of operations on . To keep notation light, take with a binary and a unary ; the general case is the same. The set generated from by , written , is meant to contain everything reachable from by applying and finitely often. Two definitions make this precise, one descending and one ascending.

  • Top-down. Call inductive iff and is closed under and . Let be the intersection of all inductive subsets of . Then is itself inductive, and is the smallest inductive set: iff belongs to every inductive set.
  • Bottom-up. A construction sequence is a finite sequence in which each is in , or equals for some , or equals for some . Let be the set of endpoints of construction sequences. Writing for the endpoints of sequences of length , we have and with .

The common value is written , the set generated from by the operations.

operationsgenerated
realssuccessor naturals
realssuccessor and predecessorintegers
real functionsidentity, constants, rootsalgebraic functions
expressionssentence symbolswffs

The induction principle

Every generated set carries a proof method, generalizing the wff version from the formation lesson.

For wffs, is the set of sentence symbols and there are five operations, so a proof by induction has one base case and five inductive steps.

The shape of an induction on wffs: establish the property for the atoms, then show each formula-building operation preserves it; the induction principle closes the loop to all wffs.

Definition by recursion

The harder direction is defining a function on . Suppose we want on specified by rules: a value for when , a rule computing from and , and a rule computing from . The truth valuation follows this pattern, with the atoms and the rules the connective clauses.

At most one function can satisfy such rules — that is a quick induction. But existence can fail. The rules may contradict each other when an element of is reachable by two different constructions demanding two different values.

The trouble is that is built in two incompatible ways, and the two rules disagree there. Recursion needs each element of to have essentially one construction.

Why recursion can fail without free generation: an element reachable both as a product and as a successor gets two conflicting values, one from each rule, and no single function can satisfy both.

Free generation

The condition that rules out conflict is that the operations never collide.

Freeness says every element of arises in exactly one way — as an initial element, or as of a unique pair, or as of a unique element, never two of these at once. The naturals are freely generated from by the successor alone ( is injective and is not a successor), but the integers are not freely generated by successor and predecessor: and also , so the earlier example's failure is generic.

The recursion theorem

Read algebraically, the conclusion says any map of the generators into extends uniquely to a homomorphism from (with operations ) into (with operations ). The value at each element is computed by climbing its construction and applying or at each step; freeness guarantees the answer does not depend on which construction is chosen, because there is only one.

The recursion theorem as unique extension: a map on the generators lifts to a homomorphism on the whole generated set, sending each built element f(x,y) to the value F applied to the values of its parts.

The proof builds as the union of all acceptable partial functions — those defined on part of and consistent with the rules where defined. Set-theoretically one checks four claims: the union is single-valued (an induction), it is itself acceptable, its domain is all of (here freeness is used, to extend it past any or ), and it is unique (the set where two solutions agree is inductive). Freeness enters exactly at the domain step: it is what lets a partial solution be extended without contradiction.1

Wffs are freely generated

The abstract theorem applies to sentential logic through one fact, which is unique readability restated.

With free generation in hand, the recursion theorem delivers the results the earlier lessons assumed.

  • The truth valuation exists. Applying the recursion theorem with , , and the connective clauses as and yields a unique on all wffs — the missing existence half of the unique-extension theorem.
  • Length is well defined. With , , , and (similarly for the other binaries), computes the number of symbols in a wff.

The dependency is a short chain: unique readability makes the wffs freely generated; free generation makes the recursion theorem apply; the recursion theorem makes well defined.

The chain of dependence behind a well-defined truth valuation, each step licensing the next.

Induction on formulas and recursion on formulas now stand on a rigorous footing, free to be used without further comment.

Footnotes

  1. Enderton, §1.4 — generated sets (top-down and bottom-up), the induction principle, the recursion theorem with its freeness hypothesis and proof by acceptable approximating functions, the non-freely-generated failure, and the unique readability theorem identifying wffs as freely generated. 2

╌╌ END ╌╌