ebook img

Efficient Solving of Large Arithmetic Constraint Systems with Complex Boolean Structure: Proof Engines for the Analysis of Hybrid Discrete-Continuous Systems PDF

182 Pages·2011·0.91 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Efficient Solving of Large Arithmetic Constraint Systems with Complex Boolean Structure: Proof Engines for the Analysis of Hybrid Discrete-Continuous Systems

Christian Herde Efficient Solving of Large Arithmetic Constraint Systems with Complex Boolean Structure VIEWEG+TEUBNER RESEARCH Christian Herde Efficient Solving of Large Arithmetic Constraint Systems with Complex Boolean Structure Proof Engines for the Analysis of Hybrid Discrete-Continuous Systems With a foreword by Prof. Dr. Martin Fränzle VIEWEG+TEUBNER RESEARCH Bibliographic information published by the Deutsche Nationalbibliothek The Deutsche Nationalbibliothek lists this publication in the Deutsche Nationalbibliografie; detailed bibliographic data are available in the Internet at http://dnb.d-nb.de. Dissertation Universität Oldenburg, 2010 1st Edition 2011 All rights reserved © Vieweg+Teubner Verlag | Springer Fachmedien Wiesbaden GmbH 2011 Editorial Office: Ute Wrasmann | Anita Wilke Vieweg+Teubner Verlag is a brand of Springer Fachmedien. Springer Fachmedien is part of Springer Science+Business Media. www.viewegteubner.de No part of this publication may be reproduced, stored in a retrieval system or transmitted, in any form or by any means, electronic, mechanical, pho- toc opying, recording, or otherwise, without the prior written permission of the copyright holder. Registered and/orindustrial names,trade names,trade descriptions etc.cited in this publica- tionare part of the law for trade-mark protection and may not be used free in any form or by any means even if this is not specifically marked. Cover design: KünkelLopka Medienentwicklung, Heidelberg Printed on acid-free paper Printed in Germany ISBN 978-3-8348-1494-4 Foreword Over the past decades, we have seen a slow, but steady popularization of automatic verification technology — once the Holy Grail of formal methods in computer sci- ence—thatisindicativeofthematuritythefieldhasachieved. Onlyfewuniversities do still hesitate to expose undergraduates to the field’s basic methods, the pertinent tools, and their underlying algorithms, and industrial takeover is undeniably gain- ingimpetus,followingeducationwiththenaturalphasedelay. Overtheyears,some basictechniqueshavebecomecornerstonesofthefield,formingidentifiableandreap- pearing building blocks of the plethora of tools that have been built. Among these fundamentals are abstract interpretation, binary decision diagrams, and satisfiability solving, tonamejustafew. Withinthisbook, youwillfindaninformedaccountof a number of substantial contributions to the latter field, in particular addressing the domain of satisfiability modulo theories, which has become instrumental to various mechanic verification schemes in hardware and software validation. Despite being basedonaPhDthesis,whichIhadthepleasuretoadvise,thebookelaboratesinequal detailontheunderlying“folklore”ideasandtechniquesandontheauthor’sowncon- tributions,complementingbothbyextensivepointerstoopenproblemsandideasfor further research. I hope you as a reader will find it helpful, no matter whether you are a novice trying to understand satisfiability solving for complex-structured arith- meticconstraintsorareanexpertlookingforaclear-cutdelineationofthetechniques developed in the Transregional Collaborative Research Center AVACS (Automatic VerificationandAnalysisofComplexSystems,fundedbytheDeutscheForschungs- gemeinschaft)fromcompetingapproaches. MartinFra¨nzle Acknowledgements In a sense, nature has been continually computing the ‘next state’ of the universe for billions of years; all we have to do – and, actually, all wecan do–is‘hitcharide’onthishugeongoingcomputation,andtrytodiscover whichpartsofithappentogoneartowherewewant. TommasoToffoli,1982 This thesis marks a major waypoint on my excursion into the field of formal verifi- cationandconstraintsolving,apleasurableridealongabranchofthe‘hugeongoing computation’whichturnedouttobeoneofthemoreexcitingones. Iwouldliketo thankallthosewhomadethisjourneypossible: First and foremost, I would like to thank my supervisor Martin Fra¨nzle. A big thankyou,Martin,forallIhavelearnedfromyou,foryourperpetualwillingnessto discussanyquestionsandideasIhavehad, foryourvaluableadvice, andforgiving methetimeIneededtofinishthiswork. ParticularthanksgotoBerndBeckerforkindlyacceptingtoco-examinethisthe- sis,andtohimandthemembersofhisresearchgroupfortheirhospitalityandsupport duringmyvisitstoFreiburg. Ialsoextendmythankstomyothercommitteemem- bersSibylleFro¨schleandAndreasWinterfortakingtimetoparticipateinmydefense. Moreover,IwouldliketoexpressmygratitudetoWernerDammforsparkingmyin- terestinsafety-criticalsystemsandforofferingmemyfirstjobinformalverification duringanoralexammanyyearsago. IamparticularlyindebtedtomyfriendsandcolleaguesfromtheUniversityofOl- denburg,fromtheTransregionalCollaborativeResearchCenterAVACS,andfromthe OFFIS Institute for Information Technology for providing an inspiring and pleasant workingenvironment. IamespeciallygratefultoAndreasEggersandTinoTeigefor outstanding teamwork, for many discussions on research and life, and for the great timewespenttogether. Lastly,andmostimportantly,IamdeeplythankfultomygrandparentsAnnaand Friedrich Bo¨deker who raised me and gave me loving care and support in difficult times.Totheirmemory,Idedicatethisthesis. ChristianHerde Abstract Duetotheincreasinguseofmoreandmorecomplexcomputerizedsystemsinsafety- critical applications, formal verification of such systems is of growing importance. Among the most successful methods in formal verification of finite-state systems is bounded model checking (BMC), a technique for checking whether an unsafe sys- tem state is reachable within a fixed number of steps. BMC belongs to a class of verificationalgorithmshavingincommonthattheverificationtaskisreducedtothe problem of checking the satisfiability of a propositional formula or a series thereof. Thoughoriginallyformulatedfordiscretetransitionsystemsonly,BMCisinprinci- ple also applicable to hybrid discrete-continuous systems, which naturally arise e.g. inthefieldofembeddedsystemswheredigital(discrete)controllersarecoupledwith analog (continuous) physical plants. The BMC formulae arising from such systems are,however,nolongerpurelypropositional,butusuallycomprisecomplexBoolean combinations of arithmetic constraints over real-valued variables, thus entailing the needfornewdecisionprocedurestosolvethem. Thisthesisdealswiththedevelopmentofsuchprocedures. Akeycomponentof thealgorithmswepresentistheDPLLprocedureforsolvingBooleanformulaewhich areinconjunctivenormalform(CNF).Asafirstcontribution,wedemonstratethatthe accelerationtechniques,whichenabledtheenormousperformancegainsofBoolean SAT solvers in the recent past, generalize smoothly to DPLL-based procedures for solvingsystemsofpseudo-Booleanconstraints,amuchmoreconciserepresentation of Boolean functions than CNFs. Second, we investigate how to efficiently couple a linear programming routine with a DPLL-based SAT solver in order to obtain a solverwhichistailoredforBMCofhybridsystemswithlineardynamics. Inpartic- ular,weexaminehowtoexploittheuniquecharacteristicsofBMCformulaeandthe incremental nature of BMC for various optimizations inside the solver. Finally, we presentourmaincontribution, atightintegrationoftheDPLLprocedurewithinter- valconstraintsolving, resultinginanalgorithm, called ISAT,whichgeneralizesthe DPLLprocedureandiscapableofsolvingarbitraryBooleancombinationsofnonlin-

Description:
Due to the growing use of more and more complex computerized systems in the safety-critical applications, the formal verification of such systems is increasingly gaining importance. Many automatic and semi-automatic schemes for hardware and software verification ultimately rely on decision procedure
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.