当前位置:网站首页>Discrete mathematics: Main Normal Form (main disjunctive normal form, main conjunctive normal form)
Discrete mathematics: Main Normal Form (main disjunctive normal form, main conjunctive normal form)
2022-07-05 00:58:00 【Xiaobai Xiaozheng】
Solve the main disjunctive normal form 、 Principal conjunctive normal form method
1、 Truth table method
① List all possible values of arguments in the table
② Look up the table to judge the proposition
Propositional result really , The argument value corresponds to Principal disjunctive normal form
Propositional result false , The argument value corresponds to The main conjunctive paradigm
2、 Equivalent algorithm
① Propositional simplification
Implication equivalence :A→B ¬A∨B( effect : Go to →)
Law of contradiction :A ∧¬A( effect : Complement argument )
Distributive law :(A∧B)∨C (A∨C)∧(B∨C)、(A∨B)∧C (A∧C)∨(B∧C)
② Judgement proposition
Propositional result really , The argument value corresponds to Principal disjunctive normal form
Propositional result false , The argument value corresponds to The main conjunctive paradigm
Example
Find the formula (p→q)∧(q→r) Principal disjunctive normal form and principal conjunctive normal form of 、 True assignment .
Explain :
1、 Truth table method
p | q | r | p→q | q→r | (p→q)∧(q→r) |
---|---|---|---|---|---|
0 | 0 | 0 | 1 | 1 | 1 |
0 | 0 | 1 | 1 | 1 | 1 |
0 | 1 | 0 | 1 | 0 | 0 |
0 | 1 | 1 | 1 | 1 | 1 |
1 | 0 | 0 | 0 | 1 | 0 |
1 | 0 | 1 | 0 | 1 | 0 |
1 | 1 | 0 | 1 | 0 | 0 |
1 | 1 | 1 | 1 | 1 | 1 |
Look up the table
True assignment :000、001、011、111
Principal disjunctive normal form :∑(0,1,3,7)
False assignment :010、100、101、110
The main conjunctive paradigm :∏(2,4,5,6)
2、 Equivalent algorithm
(p→q)∧(q→r)
= (¬p∨q)∧(¬q∨r) -----------------------------( Implication equivalence : Simplification →)
= ((¬p∨q)∨(¬r∧r)))∧((¬q∨r)∨(¬p∧p))----( Law of contradiction : Complement argument )
= (¬p∨q∨¬r)∧(¬p∨q∨r)∧(¬p∨¬q∨r)∧(p∨¬q∨r)—( Distributive law : Simplification )
M5M4M6M2
According to the calculation results The main conjunctive paradigm :∏(2,4,5,6)
False assignment :010、100、101、110
be Principal disjunctive normal form :∑(0,1,3,7)
True assignment :000、001、011、111
边栏推荐
- What you learned in the eleventh week
- Research Report on the overall scale, major producers, major regions, products and application segmentation of agricultural automatic steering system in the global market in 2022
- RB technology stack
- Introduction to the gtid mode of MySQL master-slave replication
- 1189. Maximum number of "balloons"
- PyTorch: In-place Operation
- [selenium automation] common notes
- [pure tone hearing test] pure tone hearing test system based on MATLAB
- 2022.07.03 (lc_6111_counts the number of ways to place houses)
- leetcode494,474
猜你喜欢
【C】 (written examination questions) pointer and array, pointer
两个数相互替换
Apifox (postman + swagger + mock + JMeter), an artifact of full stack development and efficiency improvement
dotnet-exec 0.6.0 released
There is a new Post-00 exam king in the testing department. I really can't do it in my old age. I have
Hill sort of sorting
SAP ui5 application development tutorial 106 - how to improve the readability of SAP ui5 application routing URL trial version
What happened to those who focused on automated testing?
leetcode518,377
Sorting selection sorting
随机推荐
Binary conversion problem
Grabbing and sorting out external articles -- status bar [4]
Digital DP template
【FPGA教程案例9】基于vivado核的时钟管理器设计与实现
4. Scala writes HelloWorld in idea, in-depth analysis of accompanying objects, and association of source packages
分布式BASE理论
[pure tone hearing test] pure tone hearing test system based on MATLAB
【Unity】InputSystem
Relationship between classes and objects
Sorting selection sorting
Open3d uses GICP to register point clouds
lambda expressions
const、volatile和restrict的作用和用法总结
【C】 (written examination questions) pointer and array, pointer
Distributed base theory
【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
Arbitrum: two-dimensional cost
Hill sort of sorting
PyTorch: In-place Operation
Chia Tai International Futures: what is the master account and how to open it?