数学中国

 找回密码
 注册
搜索
热搜: 活动 交友 discuz
楼主: 云南玉龙之

计算机停机问题与千禧年难题PNP的证明

[复制链接]
 楼主| 发表于 2022-7-1 11:27 | 显示全部楼层
由天气预报建立的逻辑真值表可归化为 P(解决,NP(验证)难题的逻辑框架的逻辑真值表
图灵机读写头向左动一格为 S-1,向右移动一格 S+1
表三
P NP
F F S+1
F L S-1
L L S+1
L F S-1
表四
P NP
1 1 1
1 0 0
0 0 1
0 1 0
由逻辑表真值表可得出
在 S 赋值为 1 的情况下 P=NP 记作 PNP
对于所有类 P 及所有类 NP
由电路开关有开和关两种状态,有 2^n 的表达式
构造多项式
存在 S=1+2+2^2+2^3+2^4+……+2^n
有 2S=2+2^2+2^3+2^4+……+2^(n+1)
S=2S-S
则 S=2^(n+1)-1
因为高阶逻辑 2^(n+1)=1
即 S=2^(n+1)-1
S=1-1
S=0
可得出一个逻辑值表
P NP
F F 0+1
F L 0-1
L L 0+1
L F 0-1
即不存在 P=NP 的表达式,为 P≠NP
对于单次 S=1 或 S=0
构建新的逻辑表及逻辑式
S₂ =0 表示读写头保持当前状态,将当前状态改写为另一状态逻辑表达式为 S₂ +1(S₂ =0)

点评

逻辑是生命  发表于 2023-2-16 17:41
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-7-1 11:39 | 显示全部楼层
P NP
F F 1
F L 0
L L 1
L F 0
P NP
F F
S₂ +1
F L
S₂
L L
S₂ +1
L F
S₂
P NP
F F 1
F L 1
L L 1
L F 1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-7-1 11:40 | 显示全部楼层
S=0 则布尔代数 S+1=1
S₂ =0 S₂ +1=1
可知在单次 S₂ =0 下也有 P=NP 即 PNP
S=1 则为,S+1=1,S=1
S₂ =1 则 S₂ +1=1 S₂ =1
S₂ =1 则 P≠NP
综合以上的逻辑表格
可以得出结论除了图灵停机问题外
有类 p 问题等于类 NP 问题,也有类 p 问题不等于类 NP 问题。
参考文献
1、《形式逻辑》金岳霖
2、《虚实世界》 约翰.L.卡斯蒂.P52,P128

点评

布尔代数,不明白  发表于 2023-2-16 17:41
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-7-1 13:25 | 显示全部楼层
发的是表格,复制过来表格没有了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-7-30 22:16 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-7-30 22:16 | 显示全部楼层
千禧年难题PNP的逻辑证明
作者杨艳红  云南省丽江市玉龙县杨雨宁  上海师范大学
13312690681m@sina.cn
关健词:逻辑真值表,布尔代数,高阶逻辑,图灵机读写头
摘要
存在前提S=1,则有存在至少有一个P问题(计算机可解决的问题)等于NP问题(解是计算机可验证的问题)即
P←→NP(P=NP)
结论:对所有的类P及类NP问题,则有P=NP,也有P≠NP
P和NP[编辑]
类P即为所有由计算机可解决的问题
类NP即为所有解可以验证解是否正确的问题
演绎:由假设和普遍原理得出特殊事件的推断和预测,利用逻辑规则分析时,演绎推断依赖于一组最初假设即(公理),假如最初假设为真同时分析中不存在逻辑矛盾,依照逻辑规则,则结论就必定为真:
计算机可以处理的问题包括图像处理,语音输入,数值计算,三者的交集就是二进制:0,1
对0,1有[0,0] [0,1] [1,0] [1,1]四种
有布尔代数0+1=1,
则可知1-1=0是一个逻辑表达式为同一事物同时即存在又不存在是不可能的
讨论一个特殊问题
计算机天气预报显而易见是一个类P问题
天气预报如果是有雨或者天睛
定义
有雨是[1]
天睛是[0]
从实际经验来看,计算机天气预报是类P,而天气预报的实际验证是类NP
①预报有雨,实际天气也是下雨,则计算机天气预报是准的。
②预报有雨,实际天气是睛,则计算机天气预报是不准。
③预报天睛,实际天气也是天晴,则计算机天气预报是准:的
④预报天睛,实际天气是下雨,则计算机天气预报是不准
⑤天气预报结果准加一分(S+1),天气预报结果不准减一分(S-1)
⑥逻辑为S+1(准),S-1(不准)……S赋值
可得到逻辑真值表
表一
            
  
1
  
  
1
  
  
S+1
  
  
1
  
  
0
  
  
S-1
  
  
0
  
  
0
  
  
S+1
  
  
0
  
  
1
  
  
S-1
  

由布尔代数S+1=1+1=1
S-1=1-1=0
表二
  
1
  
  
1
  
  
1
  
  
1
  
  
0
  
  
0
  
  
0
  
  
0
  
  
1
  
  
0
  
  
1
  
  
0
  
            



由天气预报建立的逻辑真值表可归化为P(解决,NP(验证)难题的逻辑框架的逻辑真值表
图灵机读写头向左动一格为S-1,向右移动一格S+1
表三
  
P
  
  
NP
  
  
  
  
F
  
  
F
  
  
S+1
  
  
F
  
  
L
  
  
S-1
  
  
L
  
  
L
  
  
S+1
  
  
L
  
  
F
  
  
S-1
  

表四
  
P
  
  
NP
  
  
  
  
1
  
  
1
  
  
1
  
  
1
  
  
0
  
  
0
  
  
0
  
  
0
  
  
1
  
  
0
  
  
1
  
  
0
  
由逻辑表真值表可得出
在S赋值为1的情况下P=NP记作PßàNP
对于所有类P及所有类NP
由电路开关有开和关两种状态,有2^n的表达式
构造多项式
存在S=1+2+2^2+2^3+2^4+……+2^n
  有2S=2+2^2+2^3+2^4+……+2^(n+1)
  S=2S-S
则S=2^(n+1)-1
因为高阶逻辑2^(n+1)=1
  即S=2^(n+1)-1
   S=1-1
S=0
可得出一个逻辑值表
  
P
  
  
NP
  
  
  
  
F
  
  
F
  
  
0+1
  
  
F
  
  
L
  
  
0-1
  
  
L
  
  
L
  
  
0+1
  
  
L
  
  
F
  
  
0-1
  
即不存在P=NP的表达式,为P≠NP
对于单次S=1或S=0
构建新的逻辑表及逻辑式   
S₂=0表示读写头保持当前状态,将当前状态改写为另一状态逻辑表达式为S₂+1(S₂=0)        







  
P
  
  
NP
  
  
  
  
F
  
  
F
  
  
1
  
  
F
  
  
L
  
  
0
  
  
L
  
  
L
  
  
1
  
  
L
  
  
F
  
  
0
  

  
P
  
  
NP
  
  
  
  
F
  
  
F
  
  
S₂+1
  
  
F
  
  
L
  
  
S₂
  
  
L
  
  
L
  
  
S₂+1
  
  
L
  
  
F
  
  
S₂
  







  
P
  
  
NP
  
  
  
  
F
  
  
F
  
  
1
  
  
F
  
  
L
  
  
1
  
  
L
  
  
L
  
  
1
  
  
L
  
  
F
  
  
1
  













S=0则布尔代数S+1=1
S₂=0  S₂+1=1
可知在单次S₂=0下也有P=NP即PßàNP
S=1则为,S+1=1,S=1
S₂=1则S₂+1=1  S₂=1
S₂=1则P≠NP
综合以上的逻辑表格
可以得出结论除了图灵停机问题外
有类p问题等于类NP问题,也有类p问题不等于类NP 问题。
参考文献
1、《形式逻辑》金岳霖
2、《虚实世界》  约翰.L.卡斯蒂.P52,P128

点评

大学师范毕业,文化高  发表于 2023-2-16 17:42
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-8-4 22:22 | 显示全部楼层
机器翻译
The logical proof of the Millennium puzzle PNP by 13312690681m@sina.cn, Yulong County, Lijiang City, Yunnan Province, Yang Yanhong Key words: logical truth table, Boolean algebra, higher-order logic, Turing machine read-write head abstract existence premise S=1, Then there is at least one P problem (computer-solvable problem) equal to NP problem (solution is computer-verifiable problem), that is, P←→NP(P=NP). Conclusion: For all P-like and NP-like problems, there is P=NP, There are also P≠NPP and NP[ edit] classes. P is all the problems that can be solved by computers. NP is all the problems whose solutions can verify whether the solutions are correct. Deduction and prediction of special events are obtained from assumptions and general principles. When using logical rules for analysis, deduction and inference depend on a set of initial assumptions (axioms). If the initial assumptions are true and there are no logical contradictions in the analysis, according to logical rules, Then the conclusion must be true: the problems that the computer can handle include image processing, voice input and numerical calculation. The intersection of the three is binary: 0, 1 for 0, 1 with [0, 0] [0, 1] [1, 0] [1, 1] and four Boolean algebras with 0+1=1, It can be seen that 1-1=0 is a logical expression that the same thing exists and does not exist at the same time. It is impossible to discuss a special problem. The computer weather forecast is obviously a P-like problem. If there is rain or the sky is defined as rain [1] and the sky is [0], from the practical experience, the computer weather forecast is P-like, and the actual verification of the weather forecast is NP-like. If the forecast is rainy and the actual weather is rainy, the computer weather forecast is accurate. ② if rain is forecast and the actual weather is sunny, the computer weather forecast is inaccurate. ③ If the weather forecast is clear and the actual weather is fine, the computer weather forecast is accurate. ④ If the forecast is clear and the actual weather is rainy, the computer weather forecast is inaccurate. ⑤ The weather forecast results must be increased by one point (S+1) and decreased by one point (S-1). ⑥ The logic is S+1 (accurate). S-1 (not allowed) ... S assignment can get the logical truth table Table 1 The logical truth table established by Boolean algebra S+1=1+1=1S-1=1-1=0 Table 2 The logical truth table established by weather forecast can be reduced to the logical framework of P (solving, NP (verifying) puzzle. The reading and writing head of Turing machine moves one frame to the left as S-1, Move one grid to the right, S+1, table 3, table 4. From the truth table of the logic table, it can be concluded that when s is assigned to 1, P=NP is recorded as PNP. For all classes p and all classes NP, there are two states of on and off by the circuit switch. The expression construction polynomial with 2 n exists s = 1+2+2 2+2 3+2 4+…+2 n and 2s = 2+2 2 3+2 4+…+2 (n+1) s = 2s-s, then s = 2. Formula, P≠NP. For single S=1 or S=0, a new logic table is constructed, and the logic formula s = 0 means that the read-write head keeps the current state, and the current state is rewritten to another state. The logic expression is s+1 (s = 0) s = 0, then Boolean algebra s+1 = 1s = 0s+1 = 1. It can be seen that there is also P=NP in single s = 0, that is S = 1s = 1, then S+1 = 1s = 1s = 1, then P≠NP. Synthesizing the above logical tables, it can be concluded that there are P-like problems equal to NP-like problems except Turing shutdown problems, and there are also P-like problems not equal to NP-like problems. Reference "Formal Logic" Jin Yuelin "Virtual and Real World" John L. Casty P52,P128
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-8-4 22:25 | 显示全部楼层
2556个阅读者
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-12-31 10:28 | 显示全部楼层
由图灵机读写头存在左移一格表示S-1,右移一格表示为S+1,组成P,NP逻辑框架的逻辑真值表组可以归约为天气预报的逻辑真值表(即本论文的基本出发点),好像是表述得逻辑上是成立的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-1-14 23:03 | 显示全部楼层
关于新冠的预言诗大概2003年梦到
五谷唱尽六安绝,
职务还在定兴亡,
只为非典再倡行,
五行星环尽数王,
五行数怀尽星王。
分析如下:五谷(Gu)即5G,五G时代的到来发生了非典2(再),②五谷是否有武汉  ​的意思?五行星即五星红旗,③尽六安绝,有3个尽(晋),安()晋3之死。从五的数字来看疫情要发展到2025年了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|数学中国 ( 京ICP备05040119号 )

GMT+8, 2025-6-22 15:19 , Processed in 0.098783 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表