| Wikipedia has related information atFirst-order logic. |
We only give a very rough summary of FO here. An introduction can be found at FO.
Syntax is 'just' about sequences of signs.Thealphabet of FO consists of:
The handling of parenthesis is done the 'usual' way and is not formally described further.
For a given set of symbols S, variables and constant symbols are said to be S-Terms.
S-Expressions are obtained by the multiple application of the following rules:
where is a term and an expression.
So additional connectives for OR, IMPLICATION, EQUIVALENCE etc. can be defined as well as the FOR ALL quantifier.
Semantics adds the meaning to the language in three steps:
1st we assume theLogical Symbols to have the usual meaning.
2nd a S-Structure is a pair (A,a) of
3rd an Interpretation is a pair where = (A,a) is a S-Structure and is a mapping from all free variables to an element ofA.
An Interpretation is said to be aModel of a set of S-expressions () iff all of the following hold
| Wikipedia has related information atgame theory. |
A game is described by
More formal, it's a tuple (P, T, m, u) where
We assume here and in the following that every player has perfect information (so the above definition is incomplete), i.e. all moves of all players made so far, and we don't consider move by chance. Common knowledge about the rules and players is assumed anyway. The above is called the extensive form representation of a game. Others like the normal form reptresentation make simplifying assumptions on this (e.g. about the information) and use the concept of strategy instead of single moves.
Notice that different moves can lead to the same 'position', i.e. a position can be represented more than once in a game-tree. And, the same payoffs can have different meanings to different players.
Counting a set can get messy due to
...
Fix enumerations (without repetition) of the underlying sets:
Now we construct a one-to-one correspondence betweenA andB that is strictly increasing. Initially no member ofA is paired with any member ofB.
It still has to be checked that the choice required in step(1) and(2) can actually be made in accordance to the requirements. Using step(1) as an example:
If there are alreadyap andaq inA corresponding tobp andbq inB respectively such that and, we choosebj in betweenbp andbq usingdensity. Otherwise, we choose a suitable large or small element ofB using the fact thatB hasneither a maximum nor a minimum. Choices made in step(2) are dually possible. Finally, the construction ends after countably many steps becauseA andBare countably infinite. Note that we had to use all the prerequisites.
If we iterated only step(1), rather than going back and forth, then the resulting pairing would fail to be bijective.