鲜卑人是现在的什么人| 马齿苋煮水喝有什么功效| 什么虎不吃人| 喝黄瓜汁有什么好处| 阎王叫什么| 不着相是什么意思| 3岁小孩说话结巴是什么原因| 宫外孕是什么原因造成的| 胎儿腹围偏大说明什么| 想做肠镜挂什么科| 立秋吃什么| 炒菜锅什么牌子好| 自带bgm是什么意思| sheet是什么意思| 6月18号是什么日子| 什么东西燃烧脂肪最快| 早期教育是什么| 93年属鸡的是什么命| 逆钟向转位什么意思| 血糖低是什么原因引起的| 梦见烙饼是什么意思| 感冒头痛吃什么药| 吃什么可以增加免疫力| 美国报警电话为什么是911| 羊与什么相冲| 黄酮是什么| 四季更迭是什么意思| 尿酸高吃什么肉| 什么是梦| 宫颈口在什么位置| 肛门是什么意思| 河蟹吃什么| 什么行业最赚钱投资小| 为什么吃甲鱼不吃乌龟| 什么是绩效工资| 很容易饿是什么原因| 淋巴结有血流信号预示着什么| 义眼是什么| 木堂念什么| 亭亭净植的亭亭是什么意思| 木羽念什么| 麦字五行属什么| 病毒的遗传物质是什么| 儿童红眼病用什么眼药水| 尿里面有血是什么原因| 左边太阳穴疼是什么原因| 什么是马克杯| 阿拉伯是什么意思| 鼓上蚤是什么意思| 618是什么日子| 手发抖是什么病的先兆| 东北方五行属什么| 1943年属什么生肖| 道德绑架是什么意思| 学前教育学什么| 缺铁吃什么好| 杏林是指什么| 证件照一般是什么底色| 自汗吃什么中成药| 骨扫描是检查什么| 什么不断| 梦见抓龙虾是什么意思| 燕京大学现在叫什么| 脾胃虚寒吃什么药好| 沉不住气什么意思| 北京户口有什么好处| 一语道破什么意思| 为什么要打胰岛素| 焦虑是什么意思| 芈月和嬴政什么关系| 黄芪喝多了有什么副作用| 甲状腺炎有什么症状表现| 部首和偏旁有什么区别| 孔明属什么生肖| 阴道炎用什么洗| 什么叫糖化血红蛋白| 苏轼为什么反对王安石变法| 晚上七点多是什么时辰| 口蘑炒什么好吃| 眼皮为什么会跳| china的形容词是什么| 呼风唤雨的动物是什么生肖| 再生纤维是什么| 晚生是什么意思| 官方旗舰店是什么意思| 割包皮看什么科| 嫁给香港人意味着什么| 香港是什么时候回归的| 沉香是什么味道| 莴笋什么时候种植| 无痕是什么意思| 灵柩是什么意思| 晒伤用什么药膏| 频发室性早搏吃什么药| 唾液酸苷酶阳性什么意思| 梦见苍蝇是什么预兆| 鸡骨草有什么功效| 将军是什么生肖| 纳豆是什么豆子| 内膜厚是什么原因引起的| 为什么不一样| 气血不足吃什么补得快| 什么是同素异形体| samedelman是什么牌子| 抗组胺药是什么意思| 霍金是什么病| 孕妇适合喝什么牛奶| 什么是翻墙软件| 左眼皮跳跳好事要来到是什么歌| 试管移植后吃什么容易着床| 痔疮为什么不建议手术| asd什么意思| 退步是什么意思| 西瓜禁忌和什么一起吃| 梦见梳头发是什么意思| 爸爸的姐姐应该叫什么| 发蒙是什么意思| 口且念什么| 纹眉失败擦什么淡化| 大宗物品是什么意思| ip是什么意思| 打三个喷嚏代表什么| 铁皮石斛治什么病| sassy是什么意思| 正县级是什么级别| 奀是什么意思| 太阳花是什么花| 九华山求什么最灵验| 胃糜烂是什么原因引起的| 十一月二十四是什么星座| 尿酸高吃什么中药能降下来| 3月16号是什么星座的| gbm是什么意思| 蝎子喜欢吃什么| 姜文和姜武是什么关系| 福瑞祥和是什么意思| 2月18什么星座| 药店最怕什么样的举报| 李子有什么功效与作用| 津液不足吃什么中成药| 鱼漂什么牌子的好| 三险一金是什么| 心脏支架是什么病| 早泄吃什么补| 表达什么意思| 胸导联低电压什么意思| 辩证思维是什么意思| 是什么为什么怎么办| 黄色有什么黄| 引以为傲是什么意思| 阴虚内热吃什么药| 仓鼠突然死了是为什么| 苏轼号什么| 乔迁送什么| 开车穿什么鞋子| 手指头脱皮是什么原因| 秉字五行属什么| 孤魂野鬼是什么生肖| 血糖偏高能吃什么水果| 胆汁反流是什么原因引起的| 石女是什么样子的| 25是什么意思| 什么是阳萎| 脑供血不足用什么药| 囊肿是什么东西| 西瓜配什么榨汁好喝| 毒奶粉是什么游戏| 小猫起什么名字好听| 发烧不能吃什么水果| 嘉字属于五行属什么| 蒲公英泡水喝有什么效果| 一什么冰雹| 密度灶是什么意思| veromoda是什么牌子| 分泌物是褐色是什么原因| 西米是什么字| 头孢属于什么类药物| 口且念什么| 移动电源和充电宝有什么区别| 暗的反义词是什么| 红豆相思是什么动物| 开心的动物是什么生肖| ivu是什么检查| 龟头上抹什么药能延时| 83年属什么| 硬不起来吃什么好| 白切鸡用什么鸡做好吃| 避孕药是什么原理| 妹控是什么意思| 吹空调头疼吃什么药| 什么是肛漏| 淋球菌阳性是什么意思| 什么可以祛斑| 乙肝45阳性什么意思| 2024年属龙的是什么命| 巨蟹男喜欢什么类型的女生| 地贫是什么意思| 胃暖气是什么症状| 音什么笑什么成语| 诸什么意思| 老流鼻血是什么原因引起的| 摩登女郎是什么意思| 山的五行属什么| sm什么意思| 燥湿是什么意思| 心疼是什么意思| 羊吃什么食物| 磨牙是什么原因引起的| d3和ad有什么区别| 牙肿了吃什么消炎药| 决明子有什么作用| 石人工念什么| 阴道出血是什么原因引起的| 沉香什么味道| 低压高吃什么中成药| 霉菌性阴炎用什么药好得快| 养寇自重什么意思| 六月十三日是什么星座| 晚上难以入睡是什么原因| 莞尔是什么意思| 阳历8月份是什么星座| 房颤有什么症状| 9.23号是什么星座| 脚底有黑痣有什么说法| 什么水果补气血| 927是什么意思| 为什么听力会下降| 红痣是什么原因引起的| 乙肝抗体是什么意思| 遗精是什么感觉| 右肺下叶纤维灶是什么意思| 白细胞阳性是什么意思| 影像是什么意思| 清点是什么意思| 感冒为什么会全身酸痛无力| 糖化血红蛋白是什么意思| 日照香炉生紫烟的香炉是什么意思| 河南有什么特色美食| 本来无一物何处惹尘埃是什么意思| 发际线是什么| 匡威属于什么档次| 低血钾是什么病| 睚眦欲裂什么意思| 出阁宴是什么意思| 带状疱疹挂什么科室| 扁桃体结石长什么样| 闺房之乐是什么意思| 喉咙痛吃什么药效果最好| 福寿延绵是什么意思| 道德经适合什么人看| 什么药可以催月经来| 农历五月初五是什么节日| 面目狰狞是什么意思| 男生染头发什么颜色好看| 什么人生病不看医生| 焗油是什么意思| 按摩spa是什么意思| 脚底拔罐对女人有什么好处| 感冒吃什么菜比较好| 耳鸣是什么原因导致的| 胡萝卜什么时候种| 腰疼是什么病的前兆| 感染是什么症状| 吃什么能解酒| 百度

湖南福彩1500万元派奖活动开启——新华网——湖南

百度 眼干是什么原因

In computability theory and computational complexity theory, a reduction is an algorithm for transforming one problem into another problem. A sufficiently efficient reduction from one problem to another may be used to show that the second problem is at least as difficult as the first.

Example of a reduction from the boolean satisfiability problem (AB) ∧ (?A ∨ ?B ∨ ?C) ∧ (?ABC) to a vertex cover problem. The blue vertices form a minimum vertex cover, and the blue vertices in the gray oval correspond to a satisfying truth assignment for the original formula.

Intuitively, problem A is reducible to problem B, if an algorithm for solving problem B efficiently (if it exists) could also be used as a subroutine to solve problem A efficiently. When this is true, solving A cannot be harder than solving B. "Harder" means having a higher estimate of the required computational resources in a given context (e.g., higher time complexity, greater memory requirement, expensive need for extra hardware processor cores for a parallel solution compared to a single-threaded solution, etc.). The existence of a reduction from A to B can be written in the shorthand notation Am B, usually with a subscript on the ≤ to indicate the type of reduction being used (m : many-one reduction, p : polynomial reduction).

The mathematical structure generated on a set of problems by the reductions of a particular type generally forms a preorder, whose equivalence classes may be used to define degrees of unsolvability and complexity classes.

Introduction

edit

There are two main situations where we need to use reductions:

  • First, we find ourselves trying to solve a problem that is similar to a problem we've already solved. In these cases, often a quick way of solving the new problem is to transform each instance of the new problem into instances of the old problem, solve these using our existing solution, and then use these to obtain our final solution. This is perhaps the most obvious use of reductions.
  • Second: suppose we have a problem that we've proven is hard to solve, and we have a similar new problem. We might suspect that it is also hard to solve. We argue by contradiction: suppose the new problem is easy to solve. Then, if we can show that every instance of the old problem can be solved easily by transforming it into instances of the new problem and solving those, we have a contradiction. This establishes that the new problem is also hard.

A very simple example of a reduction is from multiplication to squaring. Suppose all we know how to do is to add, subtract, take squares, and divide by two. We can use this knowledge, combined with the following formula, to obtain the product of any two numbers:

 

We also have a reduction in the other direction; obviously, if we can multiply two numbers, we can square a number. This seems to imply that these two problems are equally hard. This kind of reduction corresponds to Turing reduction.

However, the reduction becomes much harder if we add the restriction that we can only use the squaring function one time, and only at the end. In this case, even if we're allowed to use all the basic arithmetic operations, including multiplication, no reduction exists in general, because in order to get the desired result as a square we have to compute its square root first, and this square root could be an irrational number like   that cannot be constructed by arithmetic operations on rational numbers. Going in the other direction, however, we can certainly square a number with just one multiplication, only at the end. Using this limited form of reduction, we have shown the unsurprising result that multiplication is harder in general than squaring. This corresponds to many-one reduction.

Properties

edit

A reduction is a preordering, that is a reflexive and transitive relation, on P(NP(N), where P(N) is the power set of the natural numbers.

Types and applications of reductions

edit

As described in the example above, there are two main types of reductions used in computational complexity, the many-one reduction and the Turing reduction. Many-one reductions map instances of one problem to instances of another; Turing reductions compute the solution to one problem, assuming the other problem is easy to solve. The many-one reduction is a stronger type of Turing reduction, and is more effective at separating problems into distinct complexity classes. However, the increased restrictions on many-one reductions make them more difficult to find.

A problem is complete for a complexity class if every problem in the class reduces to that problem, and it is also in the class itself. In this sense the problem represents the class, since any solution to it can, in combination with the reductions, be used to solve every problem in the class.

However, in order to be useful, reductions must be easy. For example, it's quite possible to reduce a difficult-to-solve NP-complete problem like the boolean satisfiability problem to a trivial problem, like determining if a number equals zero, by having the reduction machine solve the problem in exponential time and output zero only if there is a solution. However, this does not achieve much, because even though we can solve the new problem, performing the reduction is just as hard as solving the old problem. Likewise, a reduction computing a noncomputable function can reduce an undecidable problem to a decidable one. As Michael Sipser points out in Introduction to the Theory of Computation: "The reduction must be easy, relative to the complexity of typical problems in the class [...] If the reduction itself were difficult to compute, an easy solution to the complete problem wouldn't necessarily yield an easy solution to the problems reducing to it."

Therefore, the appropriate notion of reduction depends on the complexity class being studied. When studying the complexity class NP and harder classes such as the polynomial hierarchy, polynomial-time reductions are used. When studying classes within P such as NC and NL, log-space reductions are used. Reductions are also used in computability theory to show whether problems are or are not solvable by machines at all; in this case, reductions are restricted only to computable functions.

In case of optimization (maximization or minimization) problems, we often think in terms of approximation-preserving reduction. Suppose we have two optimization problems such that instances of one problem can be mapped onto instances of the other, in a way that nearly optimal solutions to instances of the latter problem can be transformed back to yield nearly optimal solutions to the former. This way, if we have an optimization algorithm (or approximation algorithm) that finds near-optimal (or optimal) solutions to instances of problem B, and an efficient approximation-preserving reduction from problem A to problem B, by composition we obtain an optimization algorithm that yields near-optimal solutions to instances of problem A. Approximation-preserving reductions are often used to prove hardness of approximation results: if some optimization problem A is hard to approximate (under some complexity assumption) within a factor better than α for some α, and there is a β-approximation-preserving reduction from problem A to problem B, we can conclude that problem B is hard to approximate within factor α/β.

Examples

edit

Detailed example

edit

The following example shows how to use reduction from the halting problem to prove that a language is undecidable. Suppose H(M, w) is the problem of determining whether a given Turing machine M halts (by accepting or rejecting) on input string w. This language is known to be undecidable. Suppose E(M) is the problem of determining whether the language a given Turing machine M accepts is empty (in other words, whether M accepts any strings at all). We show that E is undecidable by a reduction from H.

To obtain a contradiction, suppose R is a decider for E. We will use this to produce a decider S for H (which we know does not exist). Given input M and w (a Turing machine and some input string), define S(M, w) with the following behavior: S creates a Turing machine N that accepts only if the input string to N is w and M halts on input w, and does not halt otherwise. The decider S can now evaluate R(N) to check whether the language accepted by N is empty. If R accepts N, then the language accepted by N is empty, so in particular M does not halt on input w, so S can reject. If R rejects N, then the language accepted by N is nonempty, so M does halt on input w, so S can accept. Thus, if we had a decider R for E, we would be able to produce a decider S for the halting problem H(M, w) for any machine M and input w. Since we know that such an S cannot exist, it follows that the language E is also undecidable.

See also

edit

References

edit
  • Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein, Introduction to Algorithms, MIT Press, 2001, ISBN 978-0-262-03293-3
  • Hartley Rogers, Jr.: Theory of Recursive Functions and Effective Computability, McGraw-Hill, 1967, ISBN 978-0-262-68052-3.
  • Peter Bürgisser: Completeness and Reduction in Algebraic Complexity Theory, Springer, 2000, ISBN 978-3-540-66752-0.
  • E.R. Griffor: Handbook of Computability Theory, North Holland, 1999, ISBN 978-0-444-89882-1.
九月24日是什么星座 摸不到心跳是什么情况 梦见猪是什么意思 中药包煎是什么意思 火六局是什么意思
莎莎舞是什么意思 心慌心悸吃什么药 泡芙是什么 牛肉和什么蔬菜搭配好 肚脐周围是什么肠
瀹是什么意思 画画用什么铅笔 甲状腺应该多吃什么 孕前检查挂什么科室 清宫和刮宫有什么区别
舒张压偏高是什么原因造成的 apm是什么品牌 小乌龟吃什么东西 essence是什么意思 数字1代表什么意思
IA是什么hcv7jop5ns1r.cn 胃肠感冒吃什么食物比较好hcv9jop0ns2r.cn 翠绿的什么hcv8jop2ns9r.cn 近视是什么hcv8jop8ns0r.cn 斐然是什么意思hcv8jop7ns6r.cn
狮子座上升星座是什么hcv9jop1ns1r.cn 白露节气的含义是什么hcv9jop6ns4r.cn 软组织密度影什么意思hcv7jop6ns9r.cn 鼻子出油多是什么原因hcv8jop4ns6r.cn 痔疮用什么药治最好效果最快hcv7jop4ns6r.cn
鞋履是什么意思hcv9jop1ns7r.cn 7月16是什么星座hcv8jop7ns1r.cn 为什么会得梅毒hcv8jop7ns7r.cn 黄色搭配什么颜色hcv8jop5ns1r.cn 狗属于什么科hcv9jop2ns5r.cn
honor是什么牌子hcv7jop6ns4r.cn pa是什么hcv8jop8ns0r.cn 唐人是什么意思0297y7.com 辅酶q10什么时候吃hcv7jop7ns2r.cn 风餐露宿是什么生肖hcv8jop4ns5r.cn
百度