Languages
Vocabulary: A vocabulary or language is a set which contains the following: i) A set of function symbols and positive integers for each ii) A set of relation symbols and positive integers for each iii) A set of constant symbols The numbers and tell us a function is a function of variables and a relation is a relation of variables.
Let denote the the vocabulary or language, then trivially , , and . The vocabulary is often denoted as (and sort symbols for many-sorted logic).
The empty language , is the language of equality.
Formulas and Sentences
-terms: i) Constant symbols are -terms ii) Variable are -terms iii) If are -terms and is a function symbol, then are -terms
We say that is an atomic formula if is either of the form: i) where and are terms ii) , where and are terms
We say that is a -formula if is atomic and i) If is an -formula, then so it ii) If and are atomic, then and are -formulas iii) and are -formulas, where (index)
Note: ‘Complex’ formulas (ones where no logical connectives: are involved) may be logically equivalent to atomic formulas. E.g., Let be an atomic formula, then the complex formula (as the connective '' is applied twice) is equivalent to as according to double negation elimination, this is denoted as . Logical connectives themselves are ‘truth function’ as they may be represented via truth tables (intakes truth values of atomic formulas and outputs the truth state of the entire complex formula)
Free variables: A formula has free variables if and only if some variables in it are not bound by quantifiers. E.g., of a bound variable , the expression "" has the quantifier '' attached to it.
Sentence: A sentence is a formula with no free variables (i.e., a formula is given by , while a sentence is given by ). For a sentence , we write if is true (or satisfied) in the structure .
Clarification
Let be a formula w/ free variables from and let . is defined inductively as follows: i) If is , then if ii) If is , then if iii) If is , then if iv) If is , then if and v) If is , then if and vi) If is , then if there is such that vii) If is , then if for all
The vocabulary/signature is the set of non-logical symbols as defined above, the language is the set of logical & non-logical symbols, and so . The set of logical symbols (for first-order logic) contains connectives, logical constants, parentheses, equality relation ,quantifiers and variables (i.e., ), these deal with the general syntax of the logic. There are a countably infinite number of logical symbols (unless one includes extensions to the logic w/ an uncountable amount of logical symbols) as there are an countably infinite number of variables. Thus, , even when the vocabulary is finite, and hence, . ‘Extensions’ to first-order logic deal with the set of logical symbols and sentence formation rules, (i.e., in second-order logic we add infinitely-many second-order variables or predicates etc. to the language).
Note: Sometimes the -formulas are used interchangeably with -formulas especially is the logic (and set of logical symbols) has been fixed. Even though this isn’t precise.
Structures
Structures: An -structure is given by the following: i) A nonempty set , which is the domain or underlying set of the structure ii) A function for each iii) A set for each iv) A element for each and denote the interpretation of the symbols in the vocabulary w/in the structure. A structure is often denoted , the domain and interpretations of non-logical symbol (which are syntactic objects) are semantic objects as they live in the model.
Let '' denote the vocabulary of the logic (set of non-logical symbols). The following are examples: E.g., - The vocabulary/language of set theory is - The language of graph theory is where is a binary relation - The language of arithmetic - The language of rings - The language of ordered rings - The language of pure set It can be observed that expanding the vocabulary to an expansion will further increase the expressive power of the language as you are now able to talk about further intricacies of structure with the added function and relation symbols. It can also be observed that in this expanded language, the type of structure is further specified. i.e., every non-empty vocabulary describes sets with additional attached structure, thus, the empty language , describes the most general type of structure of pure sets.
Model: A model of nonempty set of sentences (i.e., a theory) is a structure for which is true in , denoted , ” satisfies .”
Notation:
- or denotes the class of -sentences of vocabulary
- denotes the class of -formulas of vocabulary
- denotes the logic of the vocabulary
- Str denotes the class of -structures (if you want to specify the logic, then let Str denote the class of -structures)
- Mod for is an -sentence (in the vocabulary ), this notation can be generalized to sets of sentences , consider Mod.
Logics
Definition of a Logic: A logic can be defined as a pair where is a mapping defined on vocabularies such that is the class of -sentences of vocabulary , and , the satisfaction relation, is a (satisfaction) relation between structures and -sentences. i.e., i) and ii) is a relation on () Moreover, the following hold: i) if , then ii) if then where denotes the vocabulary of the structure iii) Isomorphism Property: if and , then iv) Reduct Property: if and , then v) Renaming Property: Let be a renaming. Then for each there is a sentence, such that for all -structures , then (i.e., allows for variables to be replaced to produce logically equivalent formulas, e.g., some simple examples are if then or ).
Reducts: Consider two such that vocabularies and a -structure , the -reduct of , denoted , is the structure obtained by the domain\underlying set interpreting the symbols in , a subset of the full vocabulary . i.e., You are removing the symbol in \ and retaining the domain and the interpretation of symbols in E.g., Consider the field , and some sub-vocabulary (the language of rings), then the -reduct of , a ring (minus the constant symbols, constraints)
Similarly you may also define an ‘expansion’ by adding symbols to the vocabulary to obtain a new vocabulary , and for a -structure , the expansion to the vocabulary is (not to be confused with an elementary extension).
E.g., From the example above, consider the ring , then the expansion to the vocabulary is the structure
Many-Sorted Logic
Many-sorted logic introduces sort symbols for every ‘sort’ of object. These symbols are added to the vocabulary of the logic. A vocabulary of many-sorted logic would look as follows: for , the set of sorts, , the set of relation symbols, , the set of function symbols, , the set of constant symbols (-ary function symbols). As above, . Sort symbols are assigned…
A many-sorted structure is given as follows: Where is the domain of each sort .
Let be a binary relation equipped w/ sort symbols , a unary function symbol equipped w/ sort symbol whose argument place is equipped w/ and be a constant equipped w/ . Then and so , , and .
Reducts may also be defined on many-sorted structures, and there may also remove sort symbols as well as relation, function and constant symbols.
E.g.,
Notion of (Model) Classes
Model Class
A ‘model class’ is a general term for classes of structures (models) of a given vocabulary, these classes may be arbitrary and not definable within the logic.
Elementary Class
Let be a logic and a class of -structures ( Str), is an elementary class (or is elementary in ) iff there is a such that Mod. That is,
Elementary classes are closed under isomorphisms (i.e., if and then ).
From the above fact, elementary classes may also equivalently be defined as a union of isomorphism types/classes.
Where {} and
Can also be seen as a union of sub-model classes (see below)
Note: Every Elementary class is a Model Class
Projective Class
Given a logic and a vocabulary , we say that is a projective class in (more precisely, ) iff there is a vocabulary , having the same sort symbols as in the many-sorted case, and a -elementary class such that , the class of -reducts of
Notes:
- A -elementary class (or projective class), is a class of -structures elementary in the logic
- If a class is elementary in , then it is projective in i.e., elementary class projective class
Relative Projective Classes
Given a logic and a vocabulary , a class of -structures is a relative projective class (RPC) in iff there is a vocabulary , a unary predicate / and a class elementary in such that: In the many-sorted case
Every RPC is a projective class
Summary: RPC Projective class Elementary class model class
Expressive Power
The Notion of Expressive Power:
- A logic is at least as strong as , , iff for every sentences ( is some arbitrary vocabulary), there is a sentence of such that {} = {}. That is, for any -sentence there is a -sentence which has the same ‘meaning’ (semantically) as
- Structures that can be distinguished in can be distinguished in
More formally, Let be logics, we say that is at least as strong as , denoted , iff every elementary class in is an elementary class in . and are equivalently strong, denoted , if both and is stronger than , denoted , if and
A logic is equivalently as strong as if for every -structure , if then where is the relation asserting “satisfy the same -sentences” i.e., If for every sentence then there is a sentence which has the same meaning as .
The strongest logic is one which characterizes all model classes, that is, the logic has a sentence for every for every isomorphism-closed class of structures (a sentence for each model class) For any structure , there is a sentence such that
Such a logic would form a proper-class as already a logic which characterizes all structures is proper-classed size (e.g., characterizes all structures up to isomorphism, ).
Note: Characterizing all model classes characterizing all structure Consider the following model class
{}, the model class of a single isomorphism type To characterize a structure means to define the structure up to isomorphism (i.e., defining the isomorphism type)
For logics iff every class that is in , is in
Other
Beth’s Definability Theorem: For a first-order theory in the language and a formula , then the following are equivalent: i) For any two model such that , it is the case that for all -tuples . ii) is equivalent modulo to a formula i.e., a property is implicitly definable in a theory of the language via a formula of the extended language only if that property is explicitly definable in the theory by a formula in the original language .
References
Model Theoretic Logics.pdf Model Theory D.Marker.pdf Beth definability - Wikipedia