离散数学——Mathematical Logic

Propositional Logic

A proposition is a declarative statement that is either true or false. More complex propositions can be built from elementary statements using logical connectives.

image

image

Two propositions are equivalent if they always have the same truth value.

The propositions p and q are called logically equivalent if p ↔ q is a tautology, denoted by p ≡ q or p ⇔ q.

image

image

image

Predicate Logic

image

A predicate P(x) assigns a value T or F to each x depending on whether the property holds or not for x

image

Two types of quantified statements: universal and existential

The truth values of ∃x P(x) and ∀x P(x) depend on both the propositional function P(x) and the universe.

image

The order of nested quantifiers matters if quantifiers are of different type

The order of nested quantifiers does no matter if quantifiers are of the same type.

nested negation

image

Rules of Inference

For Propositional Logic

image

image

image

image

For Quantified Statements

image

Proving Method

image

image

posted @ 2022-01-12 23:35  wcvanvan  阅读(93)  评论(0)    收藏  举报