前置
命题逻辑
simple statement (简单命题): a declarative sentence(a subject with a predicate) that is either true or false
connective (联结词): a symbol that connects two statements to form a new statement
compound statement (复合命题): a statement that is formed by connecting two or more simple statements using connectives
statement (命题): simple statement or compound statement
truth values (真值): T(true) or F(false)
connective symbol Negation(否定) ¬ Conjunction(合取) ∧ Disjunction(析取) ∨ Implication(蕴含) → Equivalence(等价) ⟺
A statement form (命题形式,命题公式) is an expression involving statement variables and connectives, which can be formed using the rules:
(i) Any statement variable is a statement form.
(ii) if A and B are statements forms, then ¬ A , A ∧ B , A ∨ B , A → B , and A ⟺ B are also statement forms.
tautology (重言式): a statement form that is true for all possible values of its statement variables
contradiction (矛盾式): a statement form that is false for all possible values of its statement variables
logically implies (逻辑蕴含): A logically implies B if A → B is a tautology, denoted as A ⟹ B
logically equivalent (逻辑等价): A and B are logically equivalent if A ⟺ B is a tautology, denoted as A ⟺ B
restricted statement forms :在 statement form的基础上限制联结词¬ ,∧ ,∨
adequate connectives (完备联结词):An adequate set of connectives is a set such that every truth function canbe represented by a statement form containing only connectives from that set.
Argument (论证):An argument is a sequence of statements,A 1 , ⋯ , A n , A ,A 1 , ⋯ , A n are premises(前提),A is conclusion(结论)
invalid argument (无效论证):A argument is invalid if it is possible to assign truth values to the statement variables occurring in such a way as to make each of A 1 , ⋯ , A n take value T and to make A take value F; Otherwise the argument form is valid .
性质
若A 和A → B 都是重言式,则B 也是重言式
用任意statement form替换重言式A 中的命题变量所得到的statement form仍是重言式。
若C 是A 中的命题公式,B 是与C 等价的命题公式,则用B 替换A 中的C 后得到的命题公式A ′ 与A 逻辑等价。
常见完备联结词:{ ¬ , ∧ } , { ¬ , ∨ } , { ¬ , → }
一个论证是有效的当且仅当(( A 1 ∧ ⋯ ∧ A n ) → A ) 是重言式。
常用的logically equivalent
双重否定:¬¬ p ⟺ p
合取交换律:p ∧ q ⟺ q ∧ p
合取结合律:( p ∧ q ) ∧ r ⟺ p ∧ ( q ∧ r )
合取德摩根律:¬ ( p ∧ q ) ⟺ ¬ p ∨ ¬ q
合取吸收律:p ∧ ( p ∨ q ) ⟺ p
析取交换律:p ∨ q ⟺ q ∨ p
析取结合律:( p ∨ q ) ∨ r ⟺ p ∨ ( q ∨ r )
析取德摩根律:¬ ( p ∨ q ) ⟺ ¬ p ∧ ¬ q
析取吸收律:p ∨ ( p ∧ q ) ⟺ p
析取对合取的分配律:p ∨ ( q ∧ r ) ⟺ ( p ∨ q ) ∧ ( p ∨ r )
合取对析取的分配律:p ∧ ( q ∨ r ) ⟺ ( p ∧ q ) ∨ ( p ∧ r )
蕴含:p → q ⟺ ¬ p ∨ q
等价:( p ⟺ q ) ⟺ ( p → q ) ∧ ( q → p )
逆否:( p → q ) ⟺ ( ¬ q → ¬ p )