Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Formal Languages and Computability
[go: Go Back, main page]


Formal Languages and Computability
INF3 Semester

Lecture 9


Syntax and Semantics

The Information on this Page is Preliminary!

Topics

The lectures we had last Friday were devoted to an introduction to propositional (aka Boolean) logic and its uses as a problem solving and modelling tool in Computer Science. We saw that propositional logic and satisfiability checking were general-purpose problem solving tools in Computer Science that can be applied with success in many situations.

There are, however, cases in which it is not very natural to describe some statements formally using propositional logic. Consider, for instance, the statement

"All students will pass the exam in Formal Languages and Computability."

If we know precisely what students are taking the course in question, say Hanne, Steen and Frank, we could express this statement in propositional logic using the formula

Hanne_Passes AND Steen_Passes and Frank_Passes

where X_Passes is a variable that is intended to be true if X passes the exam. Note that if we have lots of students, the formula grows in size, and that for different sets of students we need different formulae.

What we would like to write here is a formula like

For all X, Follows(X,Formal Languages and Computability) implies Passes(X,Formal Languages and Computability).

Here X is a variable that ranges over the collection of students. The so-called first-order logic is an extension of propositional logic that allows us to write formulae like the one above. This lecture is devoted to a brief introduction to this important logic.

Time and Location

Monday, 27 September, 2004 at 10:15 in A4-106.

Reading Material

All the reading material for the lectures devoted to logic is available on line in the Base Logic module of the TeachLogic project. In particular, for this lecture you should read Part IV: Quantifiers (first-order logic).

Exercises


Luca Aceto, Department of Computer Science, Aalborg University.
Last modified: