计算机代写|计算复杂度理论代写Computational complexity theory代考|FIT2014

相信许多留学生对数学代考都不陌生,国外许多大学都引进了网课的学习模式。网课学业有利有弊,学生不需要到固定的教室学习,只需要登录相应的网站研讨线上课程即可。但也正是其便利性,线上课程的数量往往比正常课程多得多。留学生课业深重,时刻名贵,既要学习知识,又要结束多种类型的课堂作业,physics作业代写,物理代写,论文写作等;网课考试很大程度增加了他们的负担。所以,您要是有这方面的困扰,不要犹疑,订购myassignments-help代考渠道的数学代考服务,价格合理,给你前所未有的学习体会。

我们的数学代考服务适用于那些对课程结束没有掌握,或许没有满足的时刻结束网课的同学。高度匹配专业科目,按需结束您的网课考试、数学代写需求。担保买卖支持,100%退款保证,免费赠送Turnitin检测报告。myassignments-help的Math作业代写服务,是你留学路上忠实可靠的小帮手!


计算机代写|计算复杂度理论代写Computational complexity theory代考|Undecidability of the Halting Problem

The Halting Problem asks whether it is possible to construct a Turing Machine $H$ that, given a representation $\llcorner M\lrcorner$ of a Turing machine $M$, and an input $x$, accepts if $M(x)$ halts and rejects if $M(x)$ runs forever. Turing’s argument involves constructing a machine that provably does the opposite of what $H$ predicts [Tur37].

This is the equivalent of demonstrating that your local fortune-teller can’t really predict the future because they can’t tell whether the next thing you say is going to be “yes” or “no.” In both cases, the trick only works if you can wait for the prediction before choosing what to do. But if $H$ exists, we can do this.

The bad machine $M$ we are going to construct takes as input a description $\left\llcorner M^{\prime}\right\lrcorner$ of some machine $M^{\prime}$, runs $H\left(\left\llcorner M^{\prime}\right\lrcorner,\left\llcorner M^{\prime}\right\lrcorner\right)$, then halts if and only if it observes that $H\left(\left\llcorner M^{\prime}\right\lrcorner,\left\llcorner M^{\prime}\right\lrcorner\right)$ rejects. It’s not hard to see that we can implement $M$ given $H$, since the extra work is just a matter of copying the input twice, and instead of halting when $H$ does, using the halting state of $H$ to decide whether to really halt (if $H$ rejects) or not to halt at all (if $H$ accepts), say by moving to a state that just moves one of the tape heads off to the right forever.

So what happens if we $\operatorname{run} H(\llcorner M\lrcorner,\llcorner M\lrcorner)$ ? This should accept only if and only if $M(\llcorner M\lrcorner)$ halts. But $M(\llcorner M\lrcorner)$ halts if and only if $H(\llcorner M\lrcorner,\llcorner M\lrcorner)$ rejects. This means that $w$ we’ve managed to construct a specific machine $M$ and input $\llcorner M\lrcorner$ where $H$ gives the wrong answer, and we can do this for any $H$ that allegedly solves the halting problem. This gives:

Theorem 6.1.1 (Halting Problem). There does not exist a Turing machine $H$ that always halts, such that $H(\llcorner M\lrcorner, x)$ accepts if and only if $M(x)$ halts.
In other words, the Halting Problem is undecidable there is no Turing machine that decides it.

This turns out to have consequences that go beyond just testing if a machine halts or not. Just as polynomial-time reductions from know NPhard problems can show that other problems are NP-hard, computable reductions from the Halting Problem can show that other problems are also undecidable.

计算机代写|计算复杂度理论代写Computational complexity theory代考|The Time Hierarchy Theorem

The Time Hierarchy Theorem is similar to the Space Hierarchy Theorem, but the gap is wider:

Theorem 6.2.2. If $g(n)$ is a time-constructible function, and $f(n)=o(g(n))$, then $\mathbf{T I M E}(f(n)) \subsetneq \mathbf{T I M E}(g(n) \log g(n))$.

By analogy to the proof of the Space Hierarchy Theorem, a first try at a language for this one would be
$L={\langle\llcorner M\lrcorner, x\rangle \mid M$ rejects $\langle\llcorner M\lrcorner, x\rangle$ using at most $g(n)$ time and a tape alphabet of size
This will give us something to start with, but getting the full-blown theorem will require some more tinkering. The main issue is that building a time-efficient universal Turing machine is harder than building a spaceefficient one (this also explains the extra $\log g(n)$ factor). We’ve learned from the SHT proof that the diagonalization side of the argument is pretty robust to small changes in $L$, so it will be helpful to adjust the definition of $L$ a bit after we see the hard parts of the upper bound argument in order to make that argument easier.

First, though, the diagonalization part. Suppose $M$ decides $L$, and $M$ runs in $o(g(n))$ time, then running $M(\langle\llcorner M\lrcorner, x\rangle)$ gives a contradiction when $x$ is large enough that $R^{\prime} s$ running time drops below $g(n)$ exactly. If $M(\langle\llcorner M\lrcorner, x\rangle)$ rejects in such a case, then $\langle\llcorner M\lrcorner, x\rangle$ is in $L$ (by the definition of $L$ ), meaning that $M$ just gave the wrong answer on this input. But the same thing happens if it rejects. So we get a contradiction either way, and $M$ either does not decide $L$ or it doesn’t run in $o(g(n))$ time.

But now we need to show that there is a machine that does decide $L$ that also runs in a reasonable amount of time. We’ll start with a simple, direct simulation of the input machine $M$, and then worry about improving the running time later. ${ }^2$

计算机代写|计算复杂度理论代写Computational complexity theory代考|FIT2014

计算复杂度理论代考

计算机代写|计算复杂度理论代写Computational complexity theory代考|Undecidability of the Halting Problem

停机问题询问是否有可能构造图灵机H那,给定一个表示⌞M⌟图灵机的M, 和一个输入x, 接受如果M(x)停止并拒绝如果M(x)永远运行。图灵的论点涉及构建一台机器,该机器可证明做相反的事情H预测 [Tur37]。

这相当于证明您当地的算命先生无法真正预测未来,因为他们无法判断您接下来说的是“是”还是“否”。在这两种情况下,只有当您可以在选择做什么之前等待预测时,该技巧才有效。但是如果H存在,我们可以做到这一点。

坏机器M我们将构建一个描述作为输入⌞M′⌟一些机器M′, 运行H(⌞M′⌟,⌞M′⌟),然后当且仅当它观察到H(⌞M′⌟,⌞M′⌟)拒绝。不难看出我们可以实现M给予H,因为额外的工作只是将输入复制两次,而不是在H确实,使用的停止状态H决定是否真的停止(如果H拒绝)或根本不停止(如果H接受),比如移动到一种状态,即永远将其中一个磁带头移到右边。

那么如果我们会发生什么run⁡H(⌞M⌟,⌞M⌟)?只有当且仅当M(⌞M⌟)停止。但M(⌞M⌟)停止当且仅当H(⌞M⌟,⌞M⌟)拒绝。这意味着w我们已经设法建造了一台特定的机器M并输入⌞M⌟在哪里H给出了错误的答案,我们可以对任何H据称这解决了停止问题。这给出:

定理 6.1.1(停机问题)。不存在图灵机H总是停下来,这样H(⌞M⌟,x)接受当且仅当M(x)停止。
换句话说,停机问题是不可判定的,没有图灵机可以判定它。

事实证明,这会产生超出仅测试机器是否停机的后果。正如已知 NPhard 问题的多项式时间缩减可以表明其他问题是 NP-hard 问题一样,停机问题的可计算缩减可以表明其他问题也是不可判定的。

计算机代写|计算复杂度理论代写Computational complexity theory代考|The Time Hierarchy Theorem

时间层次定理与空间层次定理类似,但差距更大:

定理 6.2.2。如果g(n)是时间可构造的函数,并且f(n)=o(g(n)), 然后TIME(f(n))⊊TIME(g(n)log⁡g(n)).

通过类比空间层次定理的证明,第一次尝试使用这种语言的语言是
在我们看到上限参数的困难部分之后稍微 L$ 以使该参数更容易。

不过,首先是对角化部分。认为M决定L, 和M跑进o(g(n))时间,然后运行M(⟨⌞M⌟,x⟩)给出矛盾时x足够大R′s运行时间低于g(n)确切地。如果M(⟨⌞M⌟,x⟩)在这种情况下拒绝,那么⟨⌞M⌟,x⟩在L(根据定义L), 意思是M只是对此输入给出了错误的答案。但如果它拒绝,同样的事情也会发生。所以无论哪种方式我们都会遇到矛盾,并且M要么不决定L或者它没有运行o(g(n))时间。

但现在我们需要证明确实有一台机器可以决定L这也在合理的时间内运行。我们将从输入机器的简单直接模拟开始M,然后担心稍后会提高运行时间。2

计算机代写|计算复杂度理论代写Computational complexity theory代考

myassignments-help数学代考价格说明

1、客户需提供物理代考的网址,相关账户,以及课程名称,Textbook等相关资料~客服会根据作业数量和持续时间给您定价~使收费透明,让您清楚的知道您的钱花在什么地方。

2、数学代写一般每篇报价约为600—1000rmb,费用根据持续时间、周作业量、成绩要求有所浮动(持续时间越长约便宜、周作业量越多约贵、成绩要求越高越贵),报价后价格觉得合适,可以先付一周的款,我们帮你试做,满意后再继续,遇到Fail全额退款。

3、myassignments-help公司所有MATH作业代写服务支持付半款,全款,周付款,周付款一方面方便大家查阅自己的分数,一方面也方便大家资金周转,注意:每周固定周一时先预付下周的定金,不付定金不予继续做。物理代写一次性付清打9.5折。

Math作业代写、数学代写常见问题

留学生代写覆盖学科?

代写学科覆盖Math数学,经济代写,金融,计算机,生物信息,统计Statistics,Financial Engineering,Mathematical Finance,Quantitative Finance,Management Information Systems,Business Analytics,Data Science等。代写编程语言包括Python代写、Physics作业代写、物理代写、R语言代写、R代写、Matlab代写、C++代做、Java代做等。

数学作业代写会暴露客户的私密信息吗?

我们myassignments-help为了客户的信息泄露,采用的软件都是专业的防追踪的软件,保证安全隐私,绝对保密。您在我们平台订购的任何网课服务以及相关收费标准,都是公开透明,不存在任何针对性收费及差异化服务,我们随时欢迎选购的留学生朋友监督我们的服务,提出Math作业代写、数学代写修改建议。我们保障每一位客户的隐私安全。

留学生代写提供什么服务?

我们提供英语国家如美国、加拿大、英国、澳洲、新西兰、新加坡等华人留学生论文作业代写、物理代写、essay润色精修、课业辅导及网课代修代写、Quiz,Exam协助、期刊论文发表等学术服务,myassignments-help拥有的专业Math作业代写写手皆是精英学识修为精湛;实战经验丰富的学哥学姐!为你解决一切学术烦恼!

物理代考靠谱吗?

靠谱的数学代考听起来简单,但实际上不好甄别。我们能做到的靠谱,是把客户的网课当成自己的网课;把客户的作业当成自己的作业;并将这样的理念传达到全职写手和freelancer的日常培养中,坚决辞退糊弄、不守时、抄袭的写手!这就是我们要做的靠谱!

数学代考下单流程

提早与客服交流,处理你心中的顾虑。操作下单,上传你的数学代考/论文代写要求。专家结束论文,准时交给,在此过程中可与专家随时交流。后续互动批改

付款操作:我们数学代考服务正常多种支付方法,包含paypal,visa,mastercard,支付宝,union pay。下单后与专家直接互动。

售后服务:论文结束后保证完美经过turnitin查看,在线客服全天候在线为您服务。如果你觉得有需求批改的当地能够免费批改,直至您对论文满意为止。如果上交给教师后有需求批改的当地,只需求告诉您的批改要求或教师的comments,专家会据此批改。

保密服务:不需求提供真实的数学代考名字和电话号码,请提供其他牢靠的联系方法。我们有自己的工作准则,不会泄露您的个人信息。

myassignments-help擅长领域包含但不是全部:

myassignments-help服务请添加我们官网的客服或者微信/QQ,我们的服务覆盖:Assignment代写、Business商科代写、CS代考、Economics经济学代写、Essay代写、Finance金融代写、Math数学代写、report代写、R语言代考、Statistics统计学代写、物理代考、作业代写、加拿大代考、加拿大统计代写、北美代写、北美作业代写、北美统计代考、商科Essay代写、商科代考、数学代考、数学代写、数学作业代写、physics作业代写、物理代写、数据分析代写、新西兰代写、澳洲Essay代写、澳洲代写、澳洲作业代写、澳洲统计代写、澳洲金融代写、留学生课业指导、经济代写、统计代写、统计作业代写、美国Essay代写、美国代考、美国数学代写、美国统计代写、英国Essay代写、英国代考、英国作业代写、英国数学代写、英国统计代写、英国金融代写、论文代写、金融代考、金融作业代写。

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Scroll to Top