• Keine Ergebnisse gefunden

BLM N = L(M(N)) Exercise 2: [Number presentations] Let the following number presentations in theλ-calculus be given: 1

N/A
N/A
Protected

Academic year: 2021

Aktie "BLM N = L(M(N)) Exercise 2: [Number presentations] Let the following number presentations in theλ-calculus be given: 1"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

WS 2011-2012 24.01.2011 Exercises to the Lecture FSVT

Prof. Dr. Klaus Madlener sheet 12

Exercise 1: [standard combinators]

Prove the following equations to be valid for the standard combinators Iλx.x,Kλxy.x,Bλxyz.x(yz), Kλxy.y,Sλxyz.xz(yz):

1. IM = M, 2. KM N = M, 3. KM N = N, 4. SM N L = M L(N L), 5. BLM N = L(M(N))

Exercise 2: [Number presentations]

Let the following number presentations in theλ-calculus be given:

1. c0λf x.x,cn+1λf x.fn+1(x) 2. d0I,dn+1 ≡[false, dn]

3. z0KI,zn+1SBzn,

whereF0(M)≡M,Fn+1(M)≡F(Fn(M)), true≡K, falseK, [M, N]≡λz.zM N.

Prove:

1. There are termsT, T−1 withT cndnand T−1dncn for all n.

2. There are termsR, R−1 withRdnzn and R−1zndn for alln.

Exercise 3: [properties of redexes]

1. Make yourself familiar with the notation used in chapter 11 of the lecture. Use the following paper: Bergstra, Klop :: Conditional Rewrite Rules: Confluence and Termination. JCSS 32 (1986)

2. Prove the following Lemma (Lemma 11.5 on slide 361).

Let D be an elementary reduction’s diagram for orthogonal sys- tems,RiMi(i= 0,2,3) redexes withR0−.−.→R2−.−.→R3

i.e R2 is Rest of R0 and R3 is Rest of R2. Then there is a unique redexR1M1 withR0..R1..R3, i.e.

M0 M1

M2 M3 R0 R2 R3

R1 *

*

Delivery: until 31.01.2011,

by E-Mail to huechting@informatik.uni-kl.de

Referenzen

ÄHNLICHE DOKUMENTE

To prove the general case, assume (without loss of generality) that C is the shortest cycle satisfying the hypotheses of the statement.. Try arguing

This article shows how to find all vector partitions of any positive integral values of n , but only all vector partitions of 4, 5, and 6 are shown by algebraically.. These must

In einer Art Editorial des ersten ARS MEDICI-Hefts, das im Januar 1911 erschien, schrieb Isaak Segel: «Die ARS MEDICI hat sich die Aufgabe gestellt, aus der gesamten

As a first step towards understanding the higher-dimensional picture, we determine in the present paper the Seshadri constants of principally polarized abelian threefolds.. Our

1. The firmware must recognize and decode the input SelBUS transfer that has occurred. If the input transfer requested Con- troller or Peripheral Device status,

Mathematische Grundlagen der Informatik RWTH

Mathematische Grundlagen der Informatik RWTH

(1994) studied finite, complete, string rewriting systems for monoids and proved that the existence of such a system presenting a monoid M implies a homotopical