当前位置:网站首页>[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
边栏推荐
- Answer to the homework assessment of advanced English reading (II) of the course examination of Fuzhou Normal University in February 2022
- A day's work list of an ordinary programmer
- Squid 服务启动脚本
- One brush 145 force deduction hot question-2 sum of two numbers (m)
- 数仓任务里面 跑SQL任务的时候用的数据库账号是在哪里配置的
- The largest matrix (H) in a brush 143 monotone stack 84 histogram
- September, 19, "cam principle and application" online assignment [Full Score answer]
- Swm32 series Tutorial 4 port mapping and serial port application
- Life is still confused? Maybe these subscription numbers have the answers you need!
- 鸿蒙第四次培训
猜你喜欢
![Luogu: p1155 [noip2008 improvement group] double stack sorting (bipartite graph, simulation)](/img/be/4ef38f711e7319a2cc83db2bee3a07.jpg)
Luogu: p1155 [noip2008 improvement group] double stack sorting (bipartite graph, simulation)

Golang unit test, mock test and benchmark test

问题随记 —— 在 edge 上看视频会绿屏

1164 Good in C

Depth first search of graph
![[try to hack] active detection and concealment technology](/img/43/d48f851268fec566ce0cc83bd9557e.png)
[try to hack] active detection and concealment technology

Great changes! National housing prices fell below the 10000 yuan mark
![Luogu: p2685 [tjoi2012] Bridge](/img/f5/f77027288a211ae466781b09ce650f.jpg)
Luogu: p2685 [tjoi2012] Bridge

【RT-Thread】nxp rt10xx 设备驱动框架之--rtc搭建和使用

Free data | new library online | cnopendata complete data of China's insurance intermediary outlets
随机推荐
Define a structure fraction to represent a fraction, which is used to represent fractions such as 2/3 and 5/6
Luogu: p2685 [tjoi2012] Bridge
Qt调节Win屏幕亮度和声音大小
How do large consumer enterprises make digital transformation?
【JokerのZYNQ7020】DDS_ Compiler。
设计电商秒杀
1147_ Makefile learning_ Target files and dependent files in makefile
One brush 144 force deduction hot question-1 sum of two numbers (E)
Vs2013 has blocked the installer, and ie10 needs to be installed
Unity notes unityxr simple to use
1164 Good in C
The largest matrix (H) in a brush 143 monotone stack 84 histogram
One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
How to train mask r-cnn model with your own data
Javescript variable declaration -- VaR, let, const
【RT-Thread】nxp rt10xx 设备驱动框架之--hwtimer搭建和使用
c# .net 工具生态
SWM32系列教程4-端口映射及串口应用
[RT thread] construction and use of --hwtimer of NXP rt10xx device driver framework
鸿蒙第四次培训