Reading preferences
Optional display controls need JavaScript. All reading content and navigation work without it.
Source file content/many-valued-logic/syntax-and-semantics/syntax-and-semantics.tex
Source file content/many-valued-logic/syntax-and-semantics/introduction.tex
Introduction
In classical logic, we deal with formulas that are built from propositional variables using the propositional connectives source, source, source, source, and source. When we define a semantics for classical logic, we do so using the two truth values source and source. We interpret propositional variables in a valuation source, which assigns these truth values source, source to the propositional variables. Any valuation then determines a truth value source for any formula source, and A formula is satisfied in a valuation source, source, iff source.
Many-valued logics are generalizations of classical two-valued logic by allowing more truth values than just source and source. So in many-valued logic, a valuation source is a function assigning to every propositional variable source one of a range of possible truth values. We'll generally call the set of allowed truth values source. Classical logic is a many-valued logic where source, and the truth value source is computed using the familiar characteristic truth tables for the connectives.
Once we add additional truth values, we have more than one natural option for how to compute source for the connectives we read as “and,” “or,” “not,” and “if---then.” So a many-valued logic is determined not just by the set of truth values, but also by the truth functions we decide to use for each connective. Once these are selected for a many-valued logic source, however, the truth value source is uniquely determined by the valuation, just like in classical logic. Many-valued logics, like classical logic, are truth functional.
With this semantic building blocks in hand, we can go on to define the analogs of the semantic concepts of tautology, entailment, and satisfiability. In classical logic, a formula is a tautology if its truth value source for any source. In many-valued logic, we have to generalize this a bit as well. First of all, there is no requirement that the set of truth values source contains source. For instance, some many-valued logics use numbers, such as all rational numbers between source and source as their set of truth values. In such a case, source usually plays the rule of source. In other logics, not just one but several truth values do. So, we require that every many-valued logic have a set source of designated values. We can then say that a formula is satisfied in a valuation source, source, iff source. A formula source is a tautology of the logic, source, iff source for any source. And, finally, we say that source is entailed by a set of formulas, source, if every valuation that satisfies all the formulas in source also satisfies source.
Source file content/many-valued-logic/syntax-and-semantics/connectives.tex
Languages and Connectives
Classical propositional logic, and many other logics, use a set supply of propositional constants and connectives. For instance, we use the following as primitives:
The propositional constant for falsity source.
The logical connectives: source (negation) , source (conjunction) , source (disjunction) , source (conditional)
In addition to the primitive connectives above, we also use symbols defined as abbreviations, such as
source (biconditional)
, source (truth)
The same connectives are used in many-valued logics as well. However, it is often useful to include different versions of, say, conjunction, in the same logic, and that would require different symbols to keep the versions separate. Some many-valued logics also include connectives that have no equivalent in classical logic. So, we'll be a bit more general than usual.
Propositional languages and arities
A propositional language consists of a set source of connectives. Each connective source has an arity; a connective of arity source is said to be source-place. Connectives of arity source are also called constants; connectives of arity source are called unary, and connectives of arity source, binary.
Standard propositional language and alternative operators
The standard language of propositional logic source consists of the following connectives (with associated arities): source (source) source (source), source (source), source (source), source (source). Most logics we consider will use this language. Some logics by tradition an convention use different symbols for some connectives. For instance, in product logic, the conjunction symbol is often source instead of source. Sometimes it is convenient to add a new operator, e.g., the determinateness operator source (source-place).
Source file content/many-valued-logic/syntax-and-semantics/formulas.tex
formula
Inductive definition of formulas
[Formula] The set source of formulas of a propositional language source is defined inductively as follows:
Every propositional variable source is an atomic formula.
Every source-place connective (propositional constant) of source is an atomic formula.
If source is an source-place connective of source, and source, dots, source are formulas, then source is a formula.
Nothing else is a formula.
If source is source-place, then source will often be written simply as source. If source is source-place source will often be written as source.
As usual, we will often silently leave out the outermost parentheses.
Examples of formulas in different languages
In the standard language source, source is a formula. In the language of product logic, it would be written instead as source. If we add the source-place source to the language, we would also have formulas such as source.
Source file content/many-valued-logic/syntax-and-semantics/matrices.tex
Matrices
A many-valued logic is defined by its language, its set of truth values source, a subset of designated truth values, and truth functions for its connective. Together, these elements are called a matrix.
Matrix for a many-valued logic
[Matrix] A matrix for the logic source consists of:
Classical logic as a many-valued matrix
The matrix for classical logic source consists of:
The standard propositional language source with source, source, source, source, source.
The set of truth values source.
For source, we have source. The other truth functions are given by the usual truth tables (see the figure of classical truth functions).
Four truth functions of classical logic
The figure contains four separately linearized tables. The unary table pairs input with output; binary tables use the first argument as the row label and the second argument as the column label. True precedes false on each axis.
Source transcription
Classical negation truth table
Truth table for the negation truth function. Columns are input and output, in that order. Row one, input true: output false. Row two, input false: output true. End of truth table.
| input | output |
|---|---|
| source | source |
| source | source |
quad
Classical conjunction truth table
Truth table for the conjunction truth function. Rows give the first argument; columns give the second argument. Column values, in source order: true, false. Row one, input true: outputs in that column order: true, false. Row two, input false: outputs in that column order: false, false. End of truth table.
| first argument | source | source |
|---|---|---|
| source | source | source |
| source | source | source |
quad
Classical disjunction truth table
Truth table for the disjunction truth function. Rows give the first argument; columns give the second argument. Column values, in source order: true, false. Row one, input true: outputs in that column order: true, true. Row two, input false: outputs in that column order: true, false. End of truth table.
| first argument | source | source |
|---|---|---|
| source | source | source |
| source | source | source |
quad
Classical conditional truth table
Truth table for the conditional truth function. Rows give the first argument; columns give the second argument. Column values, in source order: true, false. Row one, input true: outputs in that column order: true, false. Row two, input false: outputs in that column order: true, true. End of truth table.
| first argument | source | source |
|---|---|---|
| source | source | source |
| source | source | source |
captionTruth functions for classical logic source.
Source file content/many-valued-logic/syntax-and-semantics/valuations-sat.tex
valuation and Satisfaction
Valuation into a truth value set
[Valuations] Let source be a set of truth values. A valuation for source into source is a function source assigning an element of source to the propositional variables of the language, i.e., source.
Evaluation function on all formulas
Given a valuation source into the set of truth values source of a many-valued logic source, define the evaluation function source inductively by:
Satisfaction by designated values
[Satisfaction] The formula source is satisfied by a valuation source, source, iff source, where source is the set of designated truth values of source.
We write source to mean “not source.” If source is a set of formulas, source iff source for every source.
Source file content/many-valued-logic/syntax-and-semantics/semantic-notions.tex
Semantic Notions
Suppose a many-valued logic source is given by a matrix. Then we can define the usual semantic notions for source.
Satisfiability, tautology and entailment
A formula source is satisfiable if for some source, source; it is unsatisfiable if for no source, source;
A formula source is a tautology if source for all valuations source;
If source is a set of formulas, source (“source entails source”) if and only if source for every valuation source for which source.
If source is a set of formulas, source is satisfiable if there is a valuation source for which source, and source is unsatisfiable otherwise.
We have some of the same facts for these notions as we do for the case of classical logic:
General facts about many-valued entailment
Proof
Exercise.
Exercise on semantic facts
In classical logic we can connect entailment and the conditional. For instance, we have the validity of modus ponens: If source and source then source. Another important relationship between source and source in classical logic is the semantic deduction theorem: source if and only if source. These results do not always hold in many-valued logics. Whether they do depends on the truth function source.
Source file content/many-valued-logic/syntax-and-semantics/sublogics.tex
Many-valued logics as sublogics of source
The usual many-valued logics are all defined using matrices in which the value of a truth-function for arguments in source agrees with the classical truth functions. Specifically, in these logics, if source, then source, and for source any one of source, source, source, if source, then source. In other words, the truth functions for source, source, source, source restricted to source are exactly the classical truth functions.
Agreement with classical evaluation on classical inputs
Suppose that a many-valued logic source contains the connectives source, source, source, source in its language, source, and its truth functions satisfy:
Then, for any valuation source into source such that source, source.
Proof
By induction on source.
Consequence relation included in classical consequence
If a many-valued logic satisfies the conditions of the proposition on agreement with classical evaluation, source and source, then source, i.e., if source then source. In particular, every tautology of source is also a classical tautology.
Proof
We prove the contrapositive. Suppose source. Then there is some valuation source such that source for all source and source. Since source, the valuation source is also a valuation for source. By the proposition on agreement with classical evaluation, source for all source and source. Since source and source that means source and source, i.e., source.
Source disclosures
- TR046-SAR-001: Source scope note. The displayed hypothesis restricts the value assigned to one variable p to true or false, but the conclusion concerns an arbitrary formula A. The induction requires every variable occurring in A, or all propositional variables, to receive true or false. The proof also treats formulas built from propositional variables with the four displayed connectives. If the language contains constants or additional connectives, their interpretations need corresponding agreement assumptions before the conclusion can be applied to formulas containing them. The source does not state these further assumptions. source