• Complain

Gilles Dowek - Introduction to the Theory of Programming Languages [recurso electrónico]

Here you can read online Gilles Dowek - Introduction to the Theory of Programming Languages [recurso electrónico] full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Inglaterra, year: 2011, publisher: Springer London, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Gilles Dowek Introduction to the Theory of Programming Languages [recurso electrónico]
  • Book:
    Introduction to the Theory of Programming Languages [recurso electrónico]
  • Author:
  • Publisher:
    Springer London
  • Genre:
  • Year:
    2011
  • City:
    Inglaterra
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Introduction to the Theory of Programming Languages [recurso electrónico]: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Introduction to the Theory of Programming Languages [recurso electrónico]" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Gilles Dowek: author's other books


Who wrote Introduction to the Theory of Programming Languages [recurso electrónico]? Find out the surname, the name of the author of the book and a list of all author's works by series.

Introduction to the Theory of Programming Languages [recurso electrónico] — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Introduction to the Theory of Programming Languages [recurso electrónico]" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Gilles Dowek and Jean-Jacques Lvy Undergraduate Topics in Computer Science Introduction to the Theory of Programming Languages 10.1007/978-0-85729-076-2_1 Springer-Verlag London Limited 2011
1. Terms and Relations
Gilles Dowek 1
(1)
Labo. dInformatique, cole polytechnique, route de Saclay, 91128 Palaiseau, France
(2)
Centre de Recherche Commun, INRIA-Microsoft Research, Parc Orsay Universit, 28 rue Jean Rostand, 91893 Orsay Cedex, France
Gilles Dowek (Corresponding author)
Email:
Jean-Jacques Lvy
Email:
Abstract
For the book to be really self contained, this chapter introduces all the basic notions about inductive definitions and formal languages in general (variables, expressions, substitution, bound and free variables, sorts, ). Then it introduces to three ways to define the semantics of a programming language: denotational semantics, big-step and small-step operational semantics. This chapter start from scratch and gives many examples.
1.1 Inductive Definitions
Since the semantics of a programming language is a relation, we will start by introducing some tools to define sets and relations.
The most basic tool is the notion of an explicit definition . We can, for example, define explicitly the function that multiplies its argument by : x 2 * x , the set of even numbers: {n | p n = 2 * p} , or the divisibility relation: {(n,m) | p n = m * p} . However, these explicit definitions are not sufficient to define all the objects we need. A second tool to define sets and relations is the notion of an inductive definition . This notion is based on a simple theorem: the fixed point theorem.
1.1.1 The Fixed Point Theorem
Let be an ordering relationthat is, a reflexive, antisymmetric and transitive relationover a set E , and let u , u , u , ... be an increasing sequence, that is, a sequence such that u u u ... The element l of E is called limit of the sequence u , u , u , ... if it is a least upper bound of the set { u , u , u , ...} , that is, if
  • for all i , u i l
  • if, for all i , u i l , then l l .
If it exists, the limit of a sequence ( u i ) i is unique, and we denote it by lim i u i .
The ordering relation is said to be weakly complete if all the increasing sequences have a limit.
The standard ordering relation over the real numbers interval [0, 1] is an example of a weakly complete ordering. In addition, this relation has a least element . However, the standard ordering relation over + is not weakly complete since the increasing sequence 0, 1, 2, 3, ... does not have a limit.
Let A be an arbitrary set. The inclusion relation over the set (A) of all the subsets of A is another example of a weakly complete ordering. The limit of an increasing sequence U , U , U , ... is the set In addition this relation has a least element Let f be a function from E - photo 1 . In addition, this relation has a least element .
Let f be a function from E to E . The function f is increasing if
It is continuous if in addition for any increasing sequence First Fixed - photo 2
It is continuous if, in addition, for any increasing sequence
First Fixed Point Theorem Let be a weakly complete ordering relation over a - photo 3
First Fixed Point Theorem
Let be a weakly complete ordering relation over a set E that has a least element m . Let f be a function from E to E . If f is continuous then p = lim i ( f i m) is the least fixed point of f .
Proof First since m is the smallest element in E m f m The function f is - photo 4
Proof
First, since m is the smallest element in E , m f m . The function f is increasing, therefore f i m f i+1 m . Since the sequence f i m is increasing, it has a limit. The sequence f i+1 m also has p as limit, thus, p = lim i (f ( f i m)) = f ( lim i ( f i m)) = f p . Moreover, p is the least fixed point, because if q is another fixed point, then m q and f i m f i q = q (since f is increasing). Hence p = lim i ( f i m) q .
The second fixed point theorem states the existence of a fixed point for increasing functions, even if they are not continuous, provided the ordering satisfies a stronger property.
An ordering over a set E is strongly complete if every subset A of E has a least upper bound sup A .
The standard ordering relation over the interval [0, 1] is an example of a strongly complete ordering relation. The standard ordering over + is not strongly complete because the set + itself has no upper bound.
Let A be an arbitrary set. The inclusion relation over the set (A) of all the subsets of A is another example of strongly complete ordering. The least upper bound of a set B is the set Introduction to the Theory of Programming Languages recurso electrnico - image 5 .
Exercise 1.1
Show that any strongly complete ordering is also weakly complete.
Is the ordering
Introduction to the Theory of Programming Languages recurso electrnico - image 6
weakly complete? Is it strongly complete?
Note that if the ordering over the set E is strongly complete, then any subset A of E has a greatest lower bound inf A . Indeed, let A be a subset of E , let B be the set {y E | x A y x} of lower bounds of A and l the least upper bound of B . By definition, l is an upper bound of the set B
  • y B y l
and it is the least one
  • ( y B y l) l l
It is easy to show that l is the greatest lower bound of A . Indeed, if x is an element of A , it is an upper bound of B and since l is the least upper bound, l x . Thus, l is a lower bound of A . To show that it is the greatest one, it is sufficient to note that if m is another lower bound of A , it is an element of B and therefore m l .
The greatest lower bound of a set B of subsets of A is, of course, the set Picture 7 .
Second Fixed Point Theorem
Let be a strongly complete ordering over a set E . Let f be a function from E to E . If f is increasing then p = inf {c | f c c} is the least fixed point of f .
Proof Let C be the set c f c c and c be an element of C Then p c because - photo 8
Proof
Let C be the set {c | f c c} and c be an element of C . Then p c because p is a lower bound of C . Since the function f is increasing, we deduce that f p f c . Also, f c c because c is an element of C , so by transitivity f p c .
The element f p is smaller than all the elements in C , it is therefore also smaller than or equal to its greatest lower bound: f p p .
Since the function f is increasing, f (f p) f p , thus f p is an element of C , and since p is a lower bound of C , we deduce p f p . By antisymmetry, p = f p .
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Introduction to the Theory of Programming Languages [recurso electrónico]»

Look at similar books to Introduction to the Theory of Programming Languages [recurso electrónico]. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Introduction to the Theory of Programming Languages [recurso electrónico]»

Discussion, reviews of the book Introduction to the Theory of Programming Languages [recurso electrónico] and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.