当前位置:网站首页>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
边栏推荐
- Single step debugging of master data reading of SAP commerce cloud products
- BGP comprehensive experiment
- SAP ui5 application development tutorial 106 - how to improve the readability of SAP ui5 application routing URL trial version
- 2022.07.03 (LC 6109 number of people who know secrets)
- Open3d uses GICP to register point clouds
- [Yocto RM]10 - Images
- [pure tone hearing test] pure tone hearing test system based on MATLAB
- 小程序直播 + 电商,想做新零售电商就用它吧!
- Complete knapsack problem (template)
- 4. Scala writes HelloWorld in idea, in-depth analysis of accompanying objects, and association of source packages
猜你喜欢
Hill sort of sorting
Learning of basic amplification circuit
I was beaten by the interviewer because I didn't understand the sorting
Paper notes multi UAV collaborative monolithic slam
[wave modeling 2] three dimensional wave modeling and wave generator modeling matlab simulation
【Unity】InputSystem
【海浪建模1】海浪建模的理论分析和matlab仿真
Database performance optimization tool
Basic concept and usage of redis
Oracle case: SMON rollback exception causes instance crash
随机推荐
Open3d uses GICP to register point clouds
2022.07.03 (lc_6111_counts the number of ways to place houses)
【海浪建模3】三维随机真实海浪建模以及海浪发电机建模matlab仿真
【C】 (written examination questions) pointer and array, pointer
每日刷题记录 (十三)
dotnet-exec 0.6.0 released
[untitled]
College degree, what about 33 year old Baoma? I still sell and test, and my monthly income is 13K+
潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)
BGP comprehensive experiment
P4408 [noi2003] truant children (tree diameter)
Introduction to the gtid mode of MySQL master-slave replication
Daily question brushing record (13)
实战模拟│JWT 登录认证
LeetCode周赛 + AcWing周赛(T4/T3)分析对比
Several simplified forms of lambda expression
How to use words to describe breaking change in Spartacus UI of SAP e-commerce cloud
I was beaten by the interviewer because I didn't understand the sorting
2022.07.03(LC_6111_统计放置房子的方式数)
The difference between string STR and new string