recursion theorem은 몰라도 되는 부분입니다. 주어진 operations들에 대해서 닫혀있는 함수를 단일하게 생성할 수 있다는 것이 요지이지만(즉, PL에 대한 모든 formula들은 unique하게 구성됨), 다른 것들을 이해하는데는 크게 연관이 없습니다. recursion은 가급적이면 생략하시는 게 (정신건강에) 좋습니다.
Recursion Theorem : Assume that the subset of C of U is freely generated from B by f and g, where
f:U×U→U and g:U→U. Let V be a set and F, G, and h be any functions such that h:B→V, F:V×V→V, and G:V→V. Then there is unique function ˉh:C→V such that
(i) For x in B, ˉh(x)=h(x) and
(ii) For x, y in C, ˉh(f(x,y))=F(ˉh(x),ˉh(y)) and ˉh(g(x))=G(ˉh(x)).
before proving this, define some ideas.
1. a set C is closed under f and g iff x,y∈C→f(x,y)∈C∧g(x)∈C
2. a set C inductive iff for a given set B⊆U, B⊆C and C is closed under f and g.
3. if C=∩S where S⊆U is any inductive set, then we'll call C is generated from B by f and g.
4. C is freely generated from B by f and g iff C is generated from B by f and g, and satisfies (a), (b).
(a) B, ranfC and rangC(restriction domain to the C) are pairwise disjoint;
(b) fC, gC are one-to-one.
Proof of the theorem
define vi:Ai(⊆C)→Di(⊆V) is acceptable if it meets (i') and (ii').
for x,y∈C
(i') For x in B∩domv, v(x)=h(x) and
(ii') if f(x,y)∈domv, then x,y does and v(f(x,y))=F(v(x),v(y)). if g(x)∈domv, then so does x and v(g(x))=G(v(x)).
Let K be the collection of all acceptable functions and ˉh=∪K.
then <x,z>∈ˉh iff <x,z>∈vi for some i iff vi(x)=z for some i.
we'll show that (1) ˉh is a function, (2) ˉh is acceptable, (3) ˉh is defined throughout C, and (4) ˉh is unique.
(1) Let S={x∈C|for at most one z,<x,z>∈ˉh}={x∈C|all acceptable functions defined at x agree there}
we'll show that S=C by proving S is inductive. if then, since domˉh⊆C and C=S, all elemetns in domˉh should be single-valued. thus ˉh is a singled-valued function.
Consider x∈B. suppose vi(x) and vj(x) is defined at x. since vi and vj are acceptable, they must meet (i'). thus vi(x)=vj(x). thus B⊆S.
now we've to show that S is closed under f and g. Let x,y∈S. suppose f(x,y) is defined at vi and vj. by (ii'), vi(f(x,y))=F(vi(x),vj(y)) and vj(f(x,y))=F(vj(x),vj(y)). and since x,y∈S, vi(x)=vj(x) and vi(y)=vj(y). thus vi(f(x,y))=vj(f(x,y)). and you can check similarly S is closed under g. now we showed S is inductive. since S⊆C and C⊆S, S=C. thus ˉh is a single-valued function.
(2) ˉh is acceptable.
since ˉh=∪K is a function and every x-coordinate of ∪K belongs to C and every y-coordinate of ∪K belongs to V, domˉh⊆C and ranˉh⊆V(think about union of acceptable functions).
about (i'), let x∈B. then x∈S. thus <x,z>∈ˉh iff <x,z>∈vi. thus vi(x)=ˉh(x). and since vi is acceptable, vi(x)=h(x). thus ˉh(x)=h(x)
about (ii'), think about ˉh(f(x,y))=F(ˉh(x),ˉh(y)). let f(x,y)∈domˉh. then ˉh(f(x,y))=v(f(x,y)) for some acceptable v. since v meets (ii'), v(f(x,y))=F(v(x),v(y)). F(v(x),v(y)) means x and y is defined v. thus by definition of acceptable function, v(x)=ˉh(x) and v(y)=ˉh(y). thus ˉh(f(x,y))=F(ˉh(x),ˉh(y)). we can check about g simiarly. now we proved ˉh is acceptable.
(3) ˉh is defined throughout C.
for this, we've to show that domˉh=C. since domˉh⊆C, it sufficies to show that domˉh is inductive.
Let x∈B. then <x,h(x)>∈h. we'll show that {<x,h(x)>} is acceptable thus domh⊆domˉh. (i') is clear. and since C is freely generated by f and g, the range of fC, gC, and B is pairwise disjoint. thus f(x,y) and g(x) cannot belong to domh=B. thus vacuously (ii') is satisfied.
now let x,y∈domˉh. we'll check whether f(x,y)∈domˉh. suppose not. define v=ˉh∪{<f(x,y),F(ˉh(x),ˉh(y))>}. we'll show v is acceptable, so f(x,y)∈domv⊆domˉh.
trivially v is a function.
Consider x∈B∩domv. since C is freely generated, x≠f(x,y)∈domˉh⊆C. thus x∈domˉh. rest of this is trivial.
Consider (ii'). assume f(ˉx,ˉy)∈domv. the case that f(ˉx,ˉy)∈domˉh is trivial. so let f(ˉx,ˉy)=f(x,y). x,y∈C trivially. by freeness, fC is one-to-one. thus ˉx=x and ˉy=y. then v(f(ˉx,ˉy))=v(f(x,y))=F(ˉh(x),ˉh(y))=F(v(x),v(y))=F(v(ˉx),v(ˉy)). the case of g is easy.
now we proved v is acceptable function. then since v is acceptable, domv⊆domˉh. thus f(x,y)∈domˉh which is contraction to our supposition. thus f(x,y)∈domˉh.
about g, you can check same as f.
consequently, since domˉh is inductive, and domˉh⊆C, domˉh=C.
(4) ˉh is unique.
assume that ¯h1 and ¯h2 satisfy the recursion theorem.
define S={x∈C|¯h1(x)=¯h2(x)}. by showing S is inductive(that is, S=C), we know that ¯h1(x)=¯h2(x) for all x∈C=domˉh. thus ˉh is unique.
Let x∈B. domains of ¯h1 and ¯h2 are C⊇B. since ¯h1 and ¯h2 is acceptable, ¯h1(x)=h(x)=¯h2(x). thus x∈S.
second condition. let x,y∈S. we've to prove f(x,y)∈S; ¯h1(f(x,y))=¯h2(f(x,y)) and g(x)∈S;¯h1(g(x))=¯h2(g(x)).
since x,y∈S⊆C, f(x,y),g(x)∈C=dom¯h1=dom¯h2 by generating property. then ¯h1(f(x,y))=F(¯h1(x),¯h2(y))=F(¯h2(x),¯h2(y))=¯h2(f(x,y)) since x,y∈S↔¯h1(x)=¯h2(x)∧¯h1(y)=¯h2(y).
now consider g(x)∈S. ¯h1(g(x))=G(¯h1(x))=G(¯h2(x))=¯h2(g(x)) since x∈S↔¯h1(x)=¯h2(x).
consequently, S is inductive. thus ¯h1=¯h2=ˉh. hence, uniqueness is proved.
now recursion theorem is fully proved.
'학문 > 수리논리학' 카테고리의 다른 글
compactness theorem for PL(3) (0) | 2015.01.23 |
---|---|
compactness theorem for PL(2) (0) | 2015.01.23 |
compactness theorem for PL(1) (0) | 2015.01.23 |
Propositional Logic(2) (0) | 2015.01.18 |
Propositional Logic(1) (5) | 2015.01.18 |