教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 范文大全 > 行业范文 >

Eliminating Disjunction from Propositional Logic Programs un

来源:网络收集 时间:2026-09-29
导读: eiter,michael,tompits,stefan¢ Abstract. In general, disjunction is considered to add expressive power to propositional logic programs under stable model semantics, and to enlarge the range of problems which can be expressed. However, from

eiter,michael,tompits,stefan¢ Abstract. In general, disjunction is considered to add expressive power to propositional logic programs under stable model semantics, and to enlarge the range of problems which can be expressed. However, from a semantical poi

EliminatingDisjunctionfromPropositionalLogicProgramsunderStableModelPreservation

ThomasEiter,MichaelFink,HansTompits,andStefanWoltran

Institutf¨urInformationssysteme184/3,TechnischeUniversit¨atWien,

Favoritenstraße9-11,A-1040Vienna,Austria

eiter,michael,tompits,stefan@kr.tuwien.ac.at

Abstract.Ingeneral,disjunctionisconsideredtoaddexpressivepowertopropo-sitionallogicprogramsunderstablemodelsemantics,andtoenlargetherangeofproblemswhichcanbeexpressed.However,fromasemanticalpointofview,disjunctionisoftennotreallyneeded,inthatanequivalentprogramwithoutdis-junctioncanbegiven.Wethusconsiderthequestion,givenadisjunctivelogicprogram,doesthereexistanequivalentnormal(i.e.,disjunction-free)logicprogram?Infact,weconsiderthisissuefordifferentnotionsofequivalence,namelyforordinaryequivalence(regardingthecollectionsofallstablemodelsoftheprograms)aswellasforthemorerestrictivenotionsofstronganduniformequivalence.Weresolvetheissueforpropositionalprograms,andpresentasim-ple,appealingsemanticcriterionfortheprogramsfromwhichalldisjunctionscanbeeliminatedunderstrongequivalence;testingthiscriterioniscoNP-complete.Wealsoshowthatunderordinaryanduniformequivalence,thiseliminationisalwayspossible.Inallcases,thereareconstructivemethodstoachievethis.Ourresultsextendandcomplementrecentresultsonsimplifyinglogicprogramsun-derdifferentnotionsofequivalence,andaddtothefoundationsofimprovingimplementationsofAnswerSetSolvers.

1Introduction

Disjunctivelogicprogrammingisanextensiontonormallogicprogrammingwhichisgenerallyconsideredtoaddexpressivepowertologicprogramsunderstablemodelse-mantics,andtoenlargetherangeofproblemswhichcanbeexpressed.Thisviewissupportedbyresultsontheexpressivenessofdisjunctivelogicprograms(DLPs)over nitestructures,whichshowthatpropertiesatthesecondlevelofthePolynomialHi-erarchy(PH)canbeexpressedbyinferencefromfunction-free(Datalog)DLPs[11],whilebynormallogicprogramsonlypropertiesatthe rstlevelcanbeexpressed[28].However,fromasemanticalpointofview,disjunctionisoftennotreallyneeded,inthatanequivalentnormallogicprogram(NLP,i.e.,withoutdisjunction)canbegiven.Forexample,in[10],itwasshownthatinthepresenceoffunctionssymbols,DLPshaveoverHerbrandmodelsthesameexpressivepowerasNLPs,namely.

WiththeriseofAnswerSetProgrammingasaprogramsolvingparadigm,inwhichsolutionsarecomputedintheanswersetsresp.stablemodelsofalogicprogram,at-tentionhasbeendirectedtotheexpressivenessoflogicprogramsintermsofthewhole

eiter,michael,tompits,stefan¢ Abstract. In general, disjunction is considered to add expressive power to propositional logic programs under stable model semantics, and to enlarge the range of problems which can be expressed. However, from a semantical poi

152ThomasEiteretal.

collectionoftheiranswersetsperseratherthantheirintersection(resp.union)asincautiousandbravereasoning,respectively),cf.[20];relatedtothisispreliminaryworkontheexpressivenessofformalismssuchasdefaultlogicandcircumscription[13,19].

Inparticular,equivalenceoflogicprogramsintermsoftheircollectionsofstablemodelshasbeenconsidered,aswellasthere nednotionsofstrongequivalence,cf.

[16,29,30,24,17,4],anduniformequivalence[7,8,25],whichdatesbackto[27,18].

andarestronglyequivalent(resp.,uniformlyequivalent),if,foranyTwoDLPs

setofrules(resp.,setofatoms),theprogramsandareequivalentunderthestablesemantics,i.e.,havethesamesetofstablemodels.

Stronganduniformequivalencecanbeutilizedforprogramoptimization,cf.[30,22,8],takingintoaccountpossibleincompletenessofaprogram,wherenotallrulesareknownatthetimeofoptimization,respectivelyvaryinginputdatagivenbyatomicfactsarerespected.Thisisinparticularhelpfulforoptimizingcomponentswhichareembeddedintoamorecomplexlogicprogram.NotethatasrecentlydiscussedbyPearceandValverde[25],uniformandstrongequivalenceareessentiallytheonlyconceptsofequivalenceobtainedbyvaryingthelogicalformoftheprogramextensions.

Anaturalissueinthiscontextistheexpressivenessofdisjunctioninruleheads,i.e.,whetheritreallyaddsexpressivepower.Thisisindeedthecase,ascanbeseenonthesimpleexampleoftheprogram:Thisprogramisnotstronglyequivalenttoanynormallogicprogram(cf.[30]).However,aseasilyseenisequivalenttotheNLPsinceforboththestablemodelsareand,andfurthermoreisalsouniformlyequivalentto(thisisimmediatefromtheresultthatrewritingahead-cyclefreeprogramtoanormallogicprogrambystandardshiftingpreservesuniformequivalence[7]).Ontheotherhand,theenrichedprogramisstronglyequivalenttotheprogram.Thisraisesthequestionofacriterionwhichtellswhendisjunctionscanbeelimi-nated,andamethodfordeciding,givenadisjunctivelogicprogram,doesthereexistanequivalentnormal(i.e.,disjunction-free)program?Westudythisissueforpropo-sitionalprograms,onwhichwefocushere,andmakethefollowingcontributions:

–Wepresentasimple,appealingsemanticcharacterizationoftheprogramsfromwhichalldisjunctionscanbeeliminatedunderstrongequivalence.Thecharac-terizationisbasedonthestrong-equivalencemodels(SE-models)[29,30]whichrephrasemodelsinthemoregenerallogicofhere-and-there[16]inlogicprogram-mingterms.Infact,weshowthatthispropertyholdsforaprogramifandonlyifthecollectionofSE-modelsofisclosedunderhere-intersection,i.e.,wheneverandareSE-modelsof,thenalsoisanSE-modelof.Inmorefamiliarterms,thisconditionisequivalenttotheprop-ertythatforeachclassicalmodelof,theGelfond-LifschitzreductofissemanticallyHornifmodelsnotcontainedinaredisregarded.–Wefurthershowthatunderordinaryanduniformequivalence,thiseliminationisalwayspossible.Inallthreecases,weobtainaconstructivemethodtorewriteaDLPtoanequivalentnormallogicprogram.Ingeneral,therewritingwillbeofexponentialsize(ifitexists),butthiswillbeunavoidableinpractice.

–Finally,weshowthattestingwhetherf …… 此处隐藏:32422字,全部文档内容请下载后查看。喜欢就下载吧 ……

Eliminating Disjunction from Propositional Logic Programs un.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/fanwen/989766.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150份
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150份
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)