当前位置:网站首页>[mathematical logic] equivalent calculus and reasoning calculus of predicate logic (individual word | predicate | quantifier | predicate logic formula | two basic formulas | proposition symbolization
[mathematical logic] equivalent calculus and reasoning calculus of predicate logic (individual word | predicate | quantifier | predicate logic formula | two basic formulas | proposition symbolization
2022-07-03 17:28:00 【Programmer community】
List of articles
- One 、 Predicate logic related concepts
- 1、 Individual words
- 2、 The predicate
- 3、 quantifiers
- Two 、 First order predicate logic formula
- 3、 ... and 、 Two basic formulas
- 1、 Formula 1
- 2、 Formula 2
- Four 、 Propositional symbolization skills
- 1、 Propositional Symbolization Method
- 2、 Predicate logical combination
- 3、 If and only if predicate logic
- 5、 ... and 、 Examples of propositional symbolization
Reference blog :
- 【 Mathematical logic 】 Predicate logic ( Individual words | Individual domain | The predicate | Full name quantifier | There are quantifiers | Predicate formula | exercises )
- 【 Mathematical logic 】 Predicate logic ( First order predicate logic formula | Example )
- 【 Mathematical logic 】 Predicate logic ( Judge whether the first-order predicate logic formula is true or false | explain | Example | Predicate logic formula type | Yongzhen style | Permanent falsehood | Satisfiability | Equivalent formula )
- 【 Mathematical logic 】 Predicate logic ( Basic equivalence of predicate logic | Eliminate quantifier equivalents | The quantifier negates the equivalent | The scope of quantifier is shrinking and expanding | The equivalent of quantifier distribution )
- 【 Mathematical logic 】 Predicate logic ( The toe in paradigm | The method of toe in normal form transformation | Basic equivalence of predicate logic | Name change rules | Predicate logic inference law )
One 、 Predicate logic related concepts
1、 Individual words
Individual words :
① individual source : First order predicate logic in , take Atomic proposition Divide into The subject and Predicate , Here we have Individual words And The predicate Of Concept ;
② individual Concept : take Independent object , Concrete things , Abstract things ( Concept ) be called individual or Individual words ;
③ individual Argument : Use
a
,
b
,
c
a,b,c
a,b,c Represents an individual argument ;
④ individual Changyuan : Use
x
,
y
,
z
x, y, z
x,y,z Represents individual constant ;
⑤ Individual domain Concept : individual Argument The value of be called Individual domain ;
⑥ Individual domain Value : Individual domain Sure Value Finite set or Infinite set ;
⑦ Total individual domain : Everything in the universe Composed of Individual domain be called Total individual domain ;
A proposition is a statement , The declarative sentence is composed of The subject , Predicate , The object form , The subject object is the individual , Predicate is predicate ;
Predicate logic from individual , The predicate , quantifiers form ;
2、 The predicate
The predicate :
① Predicate concept : Will represent Individual nature or Relationship between each other Of word be called The predicate ;
② The predicate indicates : Use
F
,
G
,
H
F, G, H
F,G,H Representation predicate Changyuan or Argument ;
③ The individual property predicate indicates :
F
(
x
)
F(x)
F(x) Express
x
x
x have nature
F
F
F , Such as
F
(
x
)
F(x)
F(x) Express
x
x
x It's black ;
④ Examples of relational property predicates :
F
(
x
,
y
)
F(x, y)
F(x,y) Express
x
,
y
x, y
x,y have Relationship F , Such as :
F
F
F
G
(
x
,
y
)
G(x, y)
G(x,y) Express
x
x
x Greater than
y
y
y ;
There are quantifiers :Exist Medium E Turn left and right, then turn upside down ;
① Language correspondence : Corresponding Natural language in “ There is one ” , “ There is a ” , “ yes , we have ” etc. ;
② Representation : Using symbols
∃
\exist
∃ Express ;
③ Reading 1 :
∃
x
\exist x
∃x Represents the individual domain There are
x
x
x ;
④ Reading 2 :
∃
x
(
F
(
x
)
)
\exist x( F(x) )
∃x(F(x)) Express , In the individual domain There is
x
x
x Have the quality of
F
F
F ;
3、 quantifiers
Full name quantifier :Any Medium A Upside down ;
① Language correspondence : Corresponding Natural language in “ arbitrarily ” , “ be-all ” , “ every last ” etc. ;
② Representation : Using symbols
∀
\forall
∀ Express ;
③ Reading 1 :
∀
x
\forall x
∀x Represents the individual domain be-all
x
x
x ;
④ Reading 2 :
∀
x
(
F
(
x
)
)
\forall x( F(x) )
∀x(F(x)) Express , All in the individual domain
x
x
x All have properties
F
F
F ;
Reference blog : 【 Mathematical logic 】 Predicate logic ( Individual words | Individual domain | The predicate | Full name quantifier | There are quantifiers | Predicate formula | exercises )
Two 、 First order predicate logic formula
Propositional formula : Basic proposition ( Propositional constant / Argument ) and A number of Conjunctions Form a finite length string ;
① Single Propositional argument / Propositional constant Is a proposition formula ;
② If
A
A
A Is a proposition formula , be
(
¬
A
)
(\lnot A)
(¬A) It is also a propositional formula ;
③ If
A
,
B
A,B
A,B Is a proposition formula , be
(
A
∧
B
)
,
(
A
∨
B
)
,
(
A
→
B
)
,
(
A
B
)
(A \land B) , (A \lor B), (A \to B), (A \leftrightarrow B)
(A∧B),(A∨B),(A→B),(AB) It is also a propositional formula ;
④ A limited number of times application ① ② ③ Formed symbol string Is a proposition formula ; ( Infinite times cannot )
First order predicate logic formula : stay Propositional formula On the basis of , Add a condition :
If
A
A
A It's the formula , be
∀
x
A
\forall x A
∀xA and
∃
x
A
\exist x A
∃xA Is also a formula
Related concepts of first-order predicate logic formula : With
∀
x
A
\forall x A
∀xA ,
∃
x
A
\exist x A
∃xA Take the formula as an example ;
Guide arguments :
∀
,
∃
\forall , \exist
∀,∃ After quantifier
x
x
x be called Guide arguments
Jurisdiction :
A
A
A be called The scope of the corresponding quantifier ;
Constraints appear : stay
∀
x
\forall x
∀x ,
∃
x
\exist x
∃x Jurisdiction
A
A
A in ,
x
x
x All appearances are constrained , This is called constraint occurrence ;
Free to appear : Jurisdiction
A
A
A in , It is not the argument of the constraint , Are free to appear ;
Reference blog : 【 Mathematical logic 】 Predicate logic ( First order predicate logic formula | Example )
3、 ... and 、 Two basic formulas
1、 Formula 1
In the individual domain all There is a quality
F
F
F Of individual , all have nature
G
G
G ;
Use predicate logic to express :
①
F
(
x
)
F(x)
F(x) :
x
x
x Have the quality of
F
F
F ;
②
G
(
x
)
G(x)
G(x) :
x
x
x Have the quality of
G
G
G ;
③ The proposition is symbolized as :
∀
x
(
F
(
x
)
→
G
(
x
)
)
\forall x ( F(x) \rightarrow G(x) )
∀x(F(x)→G(x))
2、 Formula 2
Individual domain in Existence has nature
F
F
F At the same time, it has the nature of
G
G
G The individual of ;
Use predicate logic to express :
①
F
(
x
)
F(x)
F(x) :
x
x
x Have the quality of
F
F
F ;
②
G
(
x
)
G(x)
G(x) :
x
x
x Have the quality of
G
G
G ;
③ The proposition is symbolized as :
∃
x
(
F
(
x
)
∧
G
(
x
)
)
\exist x ( F(x) \land G(x) )
∃x(F(x)∧G(x))
Four 、 Propositional symbolization skills
1、 Propositional Symbolization Method
Propositional Symbolization Method :
① Write individual fields : The first Individual domain Write clearly , namely indicate
∀
x
\forall x
∀x , representative Everything , If it's everything , Then it must be indicated that it is the total individual domain ;
② Write a relational predicate : Use
F
,
G
,
H
F , G , H
F,G,H indicate Individual nature or Relationship ;
③ Propositional symbols : take Proposition symbolization result Indicate the , It's best to bring a detailed explanation ;
2、 Predicate logical combination
from Full name quantifier or There are quantifiers Individual words The predicate Combined Predicate logic , You can also think of it as One Predicate logic
F
(
x
)
F(x)
F(x) or
G
(
x
,
y
)
G(x, y)
G(x,y) parts Combine again ;
as follows Predicate logic :
∀
x
(
F
(
x
)
→
∀
y
(
G
(
y
)
→
H
(
x
,
y
)
)
)
\forall x (F(x) \rightarrow \forall y ( G(y) \rightarrow H(x,y) ))
∀x(F(x)→∀y(G(y)→H(x,y)))
among
∀
y
(
G
(
y
)
→
H
(
x
,
y
)
)
\forall y ( G(y) \rightarrow H(x,y) )
∀y(G(y)→H(x,y)) It's already assembled Predicate logic , Now think of it as a nature , perhaps Predicate logic unit
A
A
A , Combine again more complex and Gigantic Predicate logic , Get the following :
∀
x
(
F
(
x
)
→
A
)
\forall x (F(x) \rightarrow A)
∀x(F(x)→A)
therefore , Above Predicate logic After deployment , You get the first
∀
x
(
F
(
x
)
→
∀
y
(
G
(
y
)
→
H
(
x
,
y
)
)
)
\forall x (F(x) \rightarrow \forall y ( G(y) \rightarrow H(x,y) ))
∀x(F(x)→∀y(G(y)→H(x,y)))
3、 If and only if predicate logic
If and only if Predicate logic Symbolization :
( 1 ) The third variable : Make sure to introduce The third party The variable of ;
( 2 ) nature or Relationship positive Deduce : The general pattern is
① For all
x
x
x And There is a
y
y
y Yes A certain quality or relationship ,
② For all
x
x
x and be-all
z
z
z There is a certain nature or relationship ;
③
y
y
y And
z
z
z Having equal attributes ;
( 3 ) nature or Relationship Back to back : The general pattern is
① For all
x
x
x And There is a
y
y
y Yes A certain quality or relationship ,
②
y
y
y And be-all
z
z
z There is another property or Relationship , Generally equal or Unequal Relationship ,
③ Can be launched
x
x
x and
z
z
z Yes perhaps No, some nature or Relationship ;
5、 ... and 、 Examples of propositional symbolization
Reference resources : 【 Mathematical logic 】 Predicate logic ( Individual words | Individual domain | The predicate | Full name quantifier | There are quantifiers | Predicate formula | exercises ) 3、 ... and . Proposition symbolization exercises
边栏推荐
- Kubernetes resource object introduction and common commands (4)
- [combinatorics] recursive equation (the non-homogeneous part is an exponential function and the bottom is the characteristic root | example of finding a special solution)
- Type conversion, variable
- 数仓任务里面 跑SQL任务的时候用的数据库账号是在哪里配置的
- Stm32h7 Hal library SPI DMA transmission has been in busy solution
- PS screen printing brush 131, many illustrators have followed suit
- vs code 插件 koroFileHeader
- 【RT-Thread】nxp rt10xx 设备驱动框架之--Audio搭建和使用
- c# .net 工具生态
- kubernetes资源对象介绍及常用命令(三)
猜你喜欢
Swm32 series Tutorial 4 port mapping and serial port application
人生还在迷茫?也许这些订阅号里有你需要的答案!
大消费企业怎样做数字化转型?
Notes on problems -- watching videos on edge will make the screen green
Depth first search of graph
Test your trained model
[combinatorics] recursive equation (summary of the solution process of recursive equation | homogeneous | double root | non-homogeneous | characteristic root is 1 | exponential form | the bottom is th
Thread pool: the most common and error prone component of business code
Type conversion, variable
Wechat applet for the first time
随机推荐
[UE4] brush Arctic pack high quality Arctic terrain pack
How to train mask r-cnn model with your own data
Golang unit test, mock test and benchmark test
List of financial products in 2022
How to purchase Google colab members in China
Stm32h7 Hal library SPI DMA transmission has been in busy solution
Svn full backup svnadmin hotcopy
新库上线 | CnOpenData中国保险机构网点全集数据
Where is the monitoring page of RDS database?
Financial management (Higher Vocational College) financial management online Assignment 1 in autumn 20
Y is always discrete and can't understand, how to solve it? Answer: read it several times
[RT thread] NXP rt10xx device driver framework -- Audio construction and use
Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing
AcWing 3438. 数制转换
i++与++i的区别:通俗易懂的讲述他们的区别
Redis: operation commands for list type data
[combinatorics] recursive equation (solution of linear non-homogeneous recursive equation with constant coefficients | standard form and general solution of recursive equation | proof of general solut
New library online | cnopendata China bird watching record data
[RT thread] construction and use of --hwtimer of NXP rt10xx device driver framework
kubernetes资源对象介绍及常用命令(四)