当前位置:网站首页>[discrete mathematics review series] i. propositional logic
[discrete mathematics review series] i. propositional logic
2022-06-10 14:05:00 【Ape, it's you】
1、 What is a proposition
The only statement to judge the result
(1) True proposition : A proposition whose result is true
(2) False proposition : The judgment result is a false proposition
(3) paradox : Contradictory statements
for example : What I am saying is a lie
So how to judge a proposition ?
(1) First look at whether it is a declarative sentence . An imperative sentence , Rhetorical questions , Exclamation sentence … It's not a proposition
(2) See if the truth value is unique
example :x>1 It's not a proposition
Tomorrow is a sunny day : Declarative sentence , Result only : It's either sunny or rainy
2、 What is a simple proposition ( Atomic proposition )
The sentence can't be broken down
Proposition symbolization : Symbolize a proposition ,p,q,r etc.
Propositional constant ( Propositional constant ): A statement with a definite truth value
Propositional variables ( Propositional argument ): A statement whose truth value can vary example :x>2 x Different assignment results in different results , It is not a proposition
Compound proposition : A proposition that is connected by connectives
3、 What is a conjunction
(1)¬: Negative connectives translate : No , Not
(2)∧: Conjunctions translate : Both … also …, Not only … and …, although … however …
(3)∨: Disjunctive connectives translate : or
1) Compatibility or : You can send it at the same time
2) Repulsion or : Can't send at the same time
example : I either eat or sleep pVq Exclusion or both cannot occur at the same time
Choose Xiao Wang and Xiao Ming as monitor (¬p∧q)∨(p∧¬q)
(4) Contains connectives : Here are p->q
(5)<–>: Equivalent connectives : translate : If and only if 
4.(1) Propositional formula ( The resultant formula ):
A correct representation of a finite number of propositions and connectives example :pVq correct pq Incorrect
(2)n Layer proposition formula :

5. assignment ( explain )
Assign a value to the propositional variable of the propositional formula , If the result is true, assign a value to it , Otherwise, assign false values example pVq 11 It's true 00 For false .
The number of assignments :n There are three propositional variables in common 2^n Assignments
6.(1) Tautology ( Yongzhen style ): Any assignment result is true
(2) Paradoxical ( Permanent falsehood ): Any assignment result is false
(3) Satisfiability : There is at least one set of true assignments
Truth table :

7.(1)n Meta truth function ( Truth table ): One n(n≥1) Cartesian product of order {0,1}” To {0,1} The function of is called a n Meta truth function F Write it down as
F: {0,1}"→{0,1 }
(2)n There are three propositional variables 2n Assignments , Yes 22^n A truth function ( Truth table )
example p q There are four kinds of assignment , You can write 16 A truth function with different results

8. proposition A And proposition B equivalence :
Equivalency AB It's tautology , That is, both assignment results are the same ,A<=>B
Judge whether it is equivalent :
(1) Compare and judge with the truth table
(2) Equivalent calculus
The formula of equivalent calculus :

purpose : Equivalent calculus
1) Verify that the equivalents are equal 
(2) Determine the type of formula 
10.(1) Disjunctive normal form : A disjunctive form consisting only of a finite number of simple conjunctions
(2) Conjunctive paradigm : A conjunctive form consisting only of a finite number of simple disjunctions
(3) The existence theorem of normal form : Any propositional formula has its equivalent disjunctive normal form and conjunctive normal form . And not unique
11.(1) minterm : In the simple conjunctive, each propositional variable and its negation only appear once ,n Propositional variables produce 2^n minterm ( Syntaxis , True assignment )
(2) The maximal term : In simple disjunctions, each propositional variable and its negation only appear once ,n Propositional variables produce 2^n The maximal term ( Disjunction , False assignment )
The opposite of the minimal term is the maximal term
n The propositional formula of propositional variables contains 2 Of n The minimal or maximal term of the power
12.(1) Principal disjunctive normal form : The formula A The simple conjunctives in the disjunctive normal form of are all minimal terms and unique
(2) The main conjunctive paradigm : The formula A The simple disjunctions in the conjunctive normal form of are all maximal terms and unique
(3) How to find the principal disjunctive normal form
a. First find the disjunctive normal form
b. Then find the principal disjunctive normal form
c. Truth table Find the real assignment 
(4) Main disjunctive normal form uses :
(1) Judge whether the two propositional formulas are equivalent
If two propositions are equivalent, their principal disjunctions must be the same 
(2) Judge the type of propositional formula
if A It's tautology , If and only if its main disjunction contains all minimal terms ( Because the minimal term is a real assignment )
if A It is contradictory , If and only if its main disjunction does not contain any minimal term
if A To satisfy the formula , If and only if its main disjunction contains at least one minimal term 
(3) Find the true assignment and false assignment of propositions
A minimal term is a real assignment
Negating the minimal term is the maximal term
13. Full feature set : set up S Is a set of connectives , If any truth value function can be used, it only contains S The propositional formula of the connectives in
Basic full feature set :{¬,∧,∨}、{¬,∧}、{¬,∨}、{¬,→}、
14.(1)p↑q: And non form Equivalent to ¬(p∧q) Referred to as "p And q The negation of "
(2)p↓q: Or not : Equivalent to ¬(p∨q) Referred to as "p or q The negation of "
(3){↑},{↓} Is a full feature set 
15. Combinational circuit : The logic operation is physically realized by electronic components , Form a propositional formula 
16. Reasoning theory
What is reasoning ?
Reasoning is the thinking process of withdrawing the conclusion from the premise .
A premise is a known propositional formula
The conclusion is that the propositional formula proposed before to use some inference rules to exit
if (A1,A2…Ak)→B It's tautology , said A1,A2 ,…,Ak Draw conclusions B My reasoning is correct ,B yes A1 ,A2 ,…,Ak A logical or valid conclusion . call (A1,A2…Ak)→B For the premise A1,A2,…,Ak Draw conclusions B The formal structure of reasoning .
example : If the weather is cool , Xiao Wang won't go swimming . It's cool . So Xiao Wang didn't go swimming .
Using truth table method

Use the equivalent algorithm 
To judge whether a reasoning is correct or not, it mainly depends on whether its implication is tautological
It can be used :
1) Truth table method
2) Equivalent algorithm
3) The main disjunctive normal form sends
To judge
16.(1) The law of reasoning
The following reasoning theorems are established under the premise that the premise and conclusion are true 

(2) Reasoning problem solving method :
1) Ask directly : Through known premises , Judge whether the conclusion is tenable 
2) Additional premises : If the conclusion is implicative , The left side of the arrow can be used as the premise , To the right of the judgment arrow is the conclusion
You can put the antecedent of the conclusion into the premise , It is sufficient to prove that this formula is tautological 
3) Reduction to absurdity : Suppose the conclusion is false , As a precondition , Judge whether the result is contradictory 
other : When it is tautological , The results of the principal disjunctive normal form and the principal conjunctive normal form are 1
Chapter one common question types
1. Judge whether it is a proposition , Simple proposition , Compound proposition , True false proposition
2. Judge whether the proposition is tautological or contradictory : Truth table method , Equivalent calculus
3. Change principal conjunctive normal form and principal disjunctive normal form
4. Reasoning , Known premises , Draw a conclusion : Reasoning formula
5. Full feature set conversion
6. Know the truth value of propositional variable , Find the truth value of the constructed proposition
边栏推荐
- 什么是CAS 以及 CAS 中的 ABA 问题
- 格力手机叫板苹果手机?除了嘴硬之外,恐怕再无其他
- 一次主从表集成流程开发过程
- Allan方差与随机误差辨识
- 二叉树和图2
- Analysis on the use of coordinatorlayout
- 40 necessary methodologies for large factories
- P3379 [template] nearest common ancestor (LCA)
- Can qiniu open an account? Can the security of securities companies be directly opened on the app
- 618. How to prepare for the great promotion
猜你喜欢

SIGIR 2022 | 港大、武大提出KGCL:基于知识图谱对比学习的推荐系统
![[notes] some records of 74hc573](/img/52/f6afb71ba1d7dd239c0a02d8a1f41f.png)
[notes] some records of 74hc573

Ue5 Comment convertir les coordonnées de l'écran en coordonnées du monde et en direction du monde

2022山东省安全员C证复训题库及在线模拟考试

2022年制冷与空调设备运行操作理论题库模拟考试平台操作

单例模式和特殊类设计
![[note] about the problem of insufficient compilation mapping memory in keil](/img/0d/789c7629823600dbc77e62744ef5a1.png)
[note] about the problem of insufficient compilation mapping memory in keil

【专题介绍】圆桌论坛——AI与音视频技术的融合之路

2022年危险化学品生产单位安全生产管理人员考试模拟100题及在线模拟考试

New features mail GPU counter module adds GPU primitive processing and GPU shader cycles
随机推荐
Implementation of VGA protocol based on FPGA
Simulated 100 questions and online simulated examination for safety production management personnel of hazardous chemical production units in 2022
1
Leetcode-56-merge interval
苹果生产线迁离,说明5G工业互联、智能制造对中国制造帮助有限
大厂必备的40个方法论
技术分享| 快对讲,全球对讲
还在说大学排名是笑话?最新规定:世界top50大学可以直接落户上海!
UE5如何将屏幕坐标转为世界坐标和世界方向
C#多线程学习笔记二
net core天马行空系列-可用于依赖注入的,数据库表和c#实体类互相转换的接口实现
[golang] when creating a structure with configuration parameters, how should the optional parameters be transferred?
NC|王军/宋默识结合三代测序解析肠道菌群结构变异和功能
Record common functions in MySQL at work
[vue/js] realize local caching of variables and objects through localstorage browser (text + full source code)
Can qiniu open an account? Can the security of securities companies be directly opened on the app
【笔记】C语言数组指针、结构体+二维数组指针小记
Gree mobile phone challenge Apple mobile phone? I'm afraid there's nothing else but hard talk
「大模型」之所短,「知识图谱」之所长
Win10 virtual machine download and installation process