0 Review of First Order Logic
0.1 Languages
|
Example.
-
,
with example sentences ,
.
-
:
.
-
:
.
Convention: all languages include .
0.2 Structures
Definition.
Given a language ,
an -structure
is a triple
is an underlying set.
Convention: .
:
for every -ary
we have
a function .
:
for every -ary
,
we have ,
which is a subset of .
: for every
, we
have ĉ,
with ĉ.
-
and
are both -structures.
-
and
are both -structures.
0.3 Formulas / sentences
-
Terms: made of variables, constant symbols and function symbols in a ‘sensible way’
-
Atomic formulas: Plugging terms into one relation symbol
-
Formulas:
-
Boolean combinations ()
-
Quantifiers ()
in a ‘sensible way’:
|
A formula with free
variables defines a subset of .
Example.
-structure
.
Formulas with no free variables are called sentences.
In an -structure
, these
are either:
In formula with free
variables, we can plug a tuple .
We say
satisfies at
, and we write
(models /
satisfies) if
is true in .
Definition.
A set of sentences
is satisfiable in
if for all ,
.
Theorem (Compactness Theorem).
Let
be a set of -sentences.
is satisfiable if and only
if every finite subset of
is satisfiable.
( is satisfiable if there
is an -structure
such
that is
satisfiable in )
Corollary (Upward Löwenheim Skolem).
Any theory that has either:
has arbitrarily large models.