1 / 6

Alternation

Giorgi Japaridze Theory of Computability. Alternation. Section 10.3. 10.3.a. Giorgi Japaridze Theory of Computability. Alternating Turing machines. Definition 10.16 An alternating Turing machine is a nondeterministic TM with an additional

mariel mariel
Download Presentation

Alternation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Giorgi Japaridze Theory of Computability Alternation Section 10.3

  2. 10.3.a Giorgi JaparidzeTheory of Computability Alternating Turing machines Definition 10.16 An alternating Turing machine is a nondeterministic TM with an additional feature. Its states, except for the accept and reject states, are divided into universal states and existential states. When we run an alternating TM on an input string, we label each node of its nondeterministic computation tree with∧ or ∨, depending on whether the corresponding configuration contains a universal or existential state. We determine acceptance by designating a node to be accepting if it is labeled with ∧and all of its children are accepting or if it is labeled with∨ and at least one of its children is accepting. ∨ ∨ ∨ ∨ ∨ ∧ ∨ ∧ ∨ reject ∨ ∨ reject ∨ ∨ ∨ reject reject accept reject reject accept nondeterministic computation tree alternating computation tree

  3. 10.3.b Giorgi JaparidzeTheory of Computability ATIME and ASPACE defined ATIME(t(n)) =def {L | L is decided by an O(t(n)) time alternating TM} ASPACE(t(n)) =def {L | L is decided by an O(t(n)) space alternating TM} We further define AP, APSPACE and AL to be the classes of languages that are decided by alternating polynomial time, alternating polynomial space, and alternating logarithmic space TMs, respectively. Example 10.19 Here is an alternating polynomial time algorithm for the UNSATISFIABILITY problem for Boolean formulas: “On input <>: 1. Universally select all assignments to the variables of . 2. For a particular assignment, evaluate . 3. If  evaluates to 0, accept; otherwise reject.”

  4. 10.3.c Giorgi JaparidzeTheory of Computability MIN-FORMULA is in AP Example 10.20 This example features a language in AP that isn’t known to be in NP or coNP. Two Boolean formulas are said to be equivalent iff they evaluate to the same value on all assignments to their variables. A minimal formula is one that has no shorter equivalent. Let MIN-FORMULA = { <> |  is a minimal Boolean formula}. The following is an alternating polynomial time algorithm for this language. “On input <>: 1. Universally select a formula  that is shorter than . 2. Existentially select an assignment to all relevant variables. 3. Evaluate both  and  on this assignment. 4. Accept if the formulas evaluate to different values. Reject otherwise.”

  5. 10.3.d Giorgi JaparidzeTheory of Computability Main theorems Theorem 10.21 a) For f(n) ≥ n we have ATIME(f(n))  SPACE(f(n))  ATIME(f2(n)) . b) For f(n) ≥ log n we have ASPACE(f(n)) = TIME(2O(f(n))). Corollary AL = P AP = PSPACE APSPACE = EXPTIME

  6. 10.3.e Giorgi JaparidzeTheory of Computability Alternating machines provide a way to define a natural hierarchy of problems within the class PSPACE. The polynomial time hierarchy Definition 10.27 Let i be a natural number. A i-alternating TM is an alternating TM that contains at most i runs of universal or existential steps, starting with existential steps. A i-alternating TM is similar except that it starts with universal steps. iTIME(f(n)) is defined as the class of languages that a i-alternating TM can decide in O(f(n)) time. Similarly for iTIME(f(n)). Similarly for iSPACE(f(n)) and iSPACE(f(n)). The polynomial time hierarchy is the collection of classes iP = iTIME(nk) and iP = iTIME(nk) k k PH is defined as iP, which can be seen to be the same as iP. i i Clearly NP =1P and coNP = 1P. Also, MIN-FORMULA 2P.

More Related

玻璃钢生产厂家银川商场美陈雕塑淄博玻璃钢人物雕塑设计公司河北玻璃钢雕塑售价泰州商场美陈费用三明玻璃钢抽象雕塑黑龙江景区玻璃钢雕塑多少钱永州玻璃钢雕塑品牌哪家好玻璃钢雕塑凳子厂家选哪家腾冲市玻璃钢雕塑设计公司宁夏动物玻璃钢雕塑哪家好东莞黑色小型玻璃钢花盆安庆玻璃钢雕塑市场淮安玻璃钢龙雕塑设计玻璃钢发光雕塑制作过程玻璃钢猪妈妈雕塑玻璃钢雕塑有多好常州玻璃钢仿铜雕塑厂家供应玻璃钢雕塑头像闺蜜成都火烈鸟玻璃钢雕塑定做淮南彩绘玻璃钢雕塑敦煌玻璃钢长颈雕塑湖北创意玻璃钢雕塑江苏玻璃钢雕塑茶几玻璃钢雕塑骨架九江景区玻璃钢雕塑河北室内商场美陈批发价赣州商场美陈价格玻璃钢传统人物雕塑在哪里买长兴玻璃钢雕塑铜陵抽象玻璃钢雕塑销售厂家香港通过《维护国家安全条例》两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”19岁小伙救下5人后溺亡 多方发声单亲妈妈陷入热恋 14岁儿子报警汪小菲曝离婚始末遭遇山火的松茸之乡雅江山火三名扑火人员牺牲系谣言何赛飞追着代拍打萧美琴窜访捷克 外交部回应卫健委通报少年有偿捐血浆16次猝死手机成瘾是影响睡眠质量重要因素高校汽车撞人致3死16伤 司机系学生315晚会后胖东来又人满为患了小米汽车超级工厂正式揭幕中国拥有亿元资产的家庭达13.3万户周杰伦一审败诉网易男孩8年未见母亲被告知被遗忘许家印被限制高消费饲养员用铁锨驱打大熊猫被辞退男子被猫抓伤后确诊“猫抓病”特朗普无法缴纳4.54亿美元罚金倪萍分享减重40斤方法联合利华开始重组张家界的山上“长”满了韩国人?张立群任西安交通大学校长杨倩无缘巴黎奥运“重生之我在北大当嫡校长”黑马情侣提车了专访95后高颜值猪保姆考生莫言也上北大硕士复试名单了网友洛杉矶偶遇贾玲专家建议不必谈骨泥色变沉迷短剧的人就像掉进了杀猪盘奥巴马现身唐宁街 黑色着装引猜测七年后宇文玥被薅头发捞上岸事业单位女子向同事水杯投不明物质凯特王妃现身!外出购物视频曝光河南驻马店通报西平中学跳楼事件王树国卸任西安交大校长 师生送别恒大被罚41.75亿到底怎么缴男子被流浪猫绊倒 投喂者赔24万房客欠租失踪 房东直发愁西双版纳热带植物园回应蜉蝣大爆发钱人豪晒法院裁定实锤抄袭外国人感慨凌晨的中国很安全胖东来员工每周单休无小长假白宫:哈马斯三号人物被杀测试车高速逃费 小米:已补缴老人退休金被冒领16年 金额超20万

玻璃钢生产厂家 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化