Logic and Modeling

Table of Contents

Sets

Recap from logic and sets:

Theorems:

Relations

definitions of properties:

Order types

partial order:

total order:

strict partial order: partial order but irreflexive

strict total order:

equivalence relation:

Natural numbers & induction

Set of natural numbers is N ∈ (0,∞)

Principle of induction: let P be a property of natural numbers. Suppose P holds for zero, and whenever P holds for a natural number n, then it holds for its successor n+1. Then P holds for every natural number.

As a natural deduction rule:

Induction natural deduction rule

Recursive definitions

Let A be any set, suppose a is in A, and g: N × A → A. Then there is a unique function f satisfying:

Typically to prove something about a recursively defined function is to use induction.