Processing math: 100%

Lecture Notes: Structural Induction

Preliminaries

Course Content

Tuesday Review

Question: Consider the function: f(x)=1|x| for f:?R

Answer:

Thursday Review

Review Written Assignment 6.

Definition of Structural Induction

Return of the Thue Sequence

Defining Strings

Defining String Operations

1100=1,1,λ0,0,λ=1,1,λ0,0,λ (by SC2)=1,1,λ0,0,λ (by SC2)=1,1,0,0,λ (by SC1)=1100

String Associativity by Structural Induction

(λt)u=(t)u=tu (by SC1)=λ(tu) (by SC1) (st)u=(a,st)u (substituting)=a,stu (by SC2)=a,(st)u (by SC2)=a,s(tu) (by IH)=a,s(tu) (by SC2)=s(tu) (substituting)

Structural Induction Schema

Balanced Strings of Parentheses (BSPs)

Known BSPs{λ} by base case{λ,()} by applying C1{λ,(),()()} by applying C2{λ,(),()(),(()())} by applying C1

BSP Proof 1

BSP Proof 2