← Back
NotesComplete set

Slides

Complete course materials for Algebra and Mathematical Logic in the Computer Engineering degree programme at Politecnico di Milano. The document covers: 1 Propositional logic Propositional logic 2 Language Language Propositional logic 3 Language Definition 1. A propositional alphabet is assigned by: 1. A set 𝑋 = {π‘₯0, π‘₯1, …}of variables. 2. The symbols ⊀ (true) and βŠ₯ (false). 3. The propositional connectives Connective Name

Algebra and Mathematical LogicComplete set

Document information

What's included in this study material

Complete course materials for Algebra and Mathematical Logic in the Computer Engineering degree programme at Politecnico di Milano. The document covers: 1 Propositional logic Propositional logic 2 Language Language Propositional logic 3 Language Definition 1. A propositional alphabet is assigned by: 1. A set 𝑋 = {π‘₯0, π‘₯1, …}of variables. 2. The symbols ⊀ (true) and βŠ₯ (false). 3. The propositional connectives Connective Name

Import quality: text was extracted directly from the original document.

Extracted content from the document

Representative passages recognised in different parts of the material. The full extracted text remains available to search, while this compact preview makes the page easier to read.

Page 1

1 Propositional logic Propositional logic 2 Language Language Propositional logic 3 Language Definition 1. A propositional alphabet is assigned by: 1. A set 𝑋 = {π‘₯0, π‘₯1, …}of variables. 2. The symbols ⊀ (true) and βŠ₯ (false). 3. The propositional connectives Connective Name Pronunciation Β¬ negation not ∧ conjunction and ∨ disjunction or β†’ implication implies ↔ biimplication if and only if 4. The auxiliary simbols ( and ). Remark 2. The only freedom in the choice of the alphabet is the set of variables, which can be infinite . Propositional logic 4 Language Definition 3. The language generated by a propositional alphabet is the smallest set 𝐿 containing all formulas, which are recursively defined by a finite application of the following formation rules: 1. all variables are formulas, 2. ⊀ and βŠ₯ are formulas, 3. if πœ‘ is a formula, then (Β¬πœ‘)is a formula, 4. if πœ‘ and πœ“ are formulas, so are (πœ‘ ∧ πœ“), (πœ‘ ∨ πœ“), (πœ‘ β†’ πœ“)and (πœ‘ ↔ πœ“). Remark 4. β€’ The symbols πœ‘ and πœ“ are metalinguistic variables representing finite strings of symbols from the alphabet. β€’ Formulas generated by rules 1 and 2 are called atomic. β€’ Formulas are strings of finite length. In particular, each of them has finitely many variables. β€’ Parentheses can not be omitted: without them we can not tell how π‘₯ ∧ 𝑦 ∨ 𝑧 was formed. β€’ We will use β–‘ as a metalinguistic variable ranging over ∧, ∨, β†’ or ↔. β€’ The formation rules can be succintly described by the context-free grammar πœ‘ :≔ π‘₯ | ⊀ | βŠ₯ | (Β¬πœ‘) | (πœ‘ ∧ πœ“) | (πœ‘ ∨ πœ“) | (πœ‘ β†’ πœ“) | (πœ‘ ↔ πœ“) Propositional logic 5 Language Remark 5. The language 𝐿 generated by a propositional alphabet exists and is a set because 1. Finite sequences of symbols from the alphabet form a set 𝑆 which satisfies conditions 1–4. 2. Subsets of 𝑆 which satisfy conditions 1–4 are closed under…

Preview

First page of the document.

First page: Slides