EDB — 1YS

view in whole PDF view in whole HTML

View

English

3.1 Logic[1YS]

[23H]

Propositions

Definition 1

[1VW]

Example 2

[1VX]

[23J]

A proposition may depend on some variables. Examples:

  • ”the person x by trade is a baker”,

  • ”the number x is greater than 9”.

We write

\[ P(x)≐\text{``the number x is larger than 9'} \]

to say that \(P(x)\) is the symbol that summarizes the proposition written on the right.

Remark 3

[23K]

Propositional logic

Definition 4

[00D]

[ [00F]]
Definition 5

[00G]

[1YK]
Remark 6

[228]

[ [00H]]
Definition 7

[00J]

So a well-formed formula is a ”logical proposition” as it takes on the value of truth or falsehood, depending on the value given to its free variables. We can broaden the definition by adding that the propositions seen in the previous section they are ”atomic formulas”; For example,

”\(x\) is a number less than 3” \(∧\) ”\(y\) is an even number”

it will also be a ”well-formed formula”.

For convenience, in this Section, we also add to the language the constants \(V\) and \(F\) which are respectively always true and always false, in every evaluation.  1 In the construction of well-formed formulas they are treated as variables. Note that we have not introduced the equality connective ”\(=\)”. When all variables can only take true/false values, the equality \(a=b\) can be interpreted as \(a\iff b\). In more general contexts (as in the case of set theory) instead, ”equality” needs a precise definition.

E7

[1VY]

E7

[00K]

E7

[00N]

E7

[22C]

E7

[2G8]

First-order logic

In the first order logic we add the connectives \(∀\), which reads ”for each” and \(∃\), which reads ”exists”. We must therefore enlarge the family of well-formed formulas.

Definition 8

[00Q]

In every part of a formula where a variable is quantified this variable can be replaced with every other variable.
Remark 9

[1X1]

Remark 10

[2DC]

Note that, in many examples, quantified variables are assumed to be elements of a ”set”.

Definition 11

[1X2]

Definition 12

[00R]

We use the term ”together” informally here, see footnote [01J].

Remark 13

[00S]

Since an element of a set may not have a truth/falsehood value, we enrich the language by adding the ”logical propositions”.
Definition 14

[00T]

An example of a logical proposition would be: ”\(n\) is an even number”. We can use logical propositions as atoms in the construction of well-formed formulas.

E14

[00V]

E14

[00X]

E14

[00Z]

E14

[011]

E14

[016]

E14

[013]

  1. We can get rid of constants \(V\) and \(F\) by defining them as \(V=A∨ ¬ A\) and \(F=¬ V\).
Download PDF
Bibliography
Book index
  • formula, well-formed —
  • atom
  • equality
  • proposition (logic)
Managing blob in: Multiple languages
This content is available in: Italian English