II.4 Formal semantics of Propositional Logic

Formal Semantics [Slide 32]

Formal (denotational) semantics of Propositional Logic:

Propositions ×State  ↦  Bool

Formal Semantics [Slide 33]

Example 3.

proposition: P ∧ (P ∨ Q)

state σ: semantic value of P is tt and of Q is ff

P
Q
(P ∨ Q)
P ∧ (P ∨ Q)
tt
ff
tt
tt

State [Slide 34]

A state is a mapping State from the set of propositional variables Varb to the set of Boolean values Bool ≜{tt,ff}.

State : Varb  ↦  Bool

We will use σ0,σ1,σ2,… to denote states and Σ to denote the set of all possible states.

Example 4.

Let σ0 be a state such that

σ0(P) = tt
σ0(Q) = ff

2024-08-02
Contact | Home | ITL home | Course | Proofs | Algebra | FL
© 1996-2024