Plan-Space Search. Searching for a Solution Plan in a Graph of Partial Plans
|
|
|
- Janis Gardner
- 9 years ago
- Views:
Transcription
1 Plan-Space Search Searching for a Solution Plan in a Graph of Partial Plans Literature Malik Ghallab, Dana Nau, and Paolo Traverso. Automated Planning Theory and Practice, chapter 2 and 5. Elsevier/Morgan Kaufmann, J. Penberthy and D. S. Weld. UCPOP: A sound, complete, partial-order for ADL. In Proceeding s of the International Conference on Knowledge Representation and Reasoning, pages , Plan-Space Search 2 1
2 State-Space vs. Plan-Space Search state-space search: search through graph of nodes representing world states plan-space search: search through graph of partial plans nodes: partially specified plans arcs: plan refinement operations solutions: partial-order plans Plan-Space Search 3 Overview The Search Space of Partial Plans Plan-Space Search Algorithms Extensions of the STRIPS Representation Plan-Space Search 4 2
3 Partial Plans plan: set of actions organized into some structure partial plan: subset of the actions subset of the organizational structure temporal ordering of actions rationale: what the action achieves in the plan subset of variable bindings Plan-Space Search 5 Adding Actions partial plan contains actions initial state goal conditions set of operators with different variables reason for adding new actions to achieve unsatisfied preconditions to achieve unsatisfied goal conditions Plan-Space Search 6 3
4 Adding Actions: Example initial state attached(pile,loc in(cont,pile top(cont,pile on(cont,pallet belong(crane,loc1 empty(crane adjacent(loc1,loc2 adjacent(loc2,loc1 at(robot,loc2 occupied(loc2 unloaded(robot 1:move(r 1,l 1,m 1 preconditions at(r 1,l 1 occupied(m 1 adjacent(l 1,m 1 2:load(k 2,l 2,c 2,r 2 preconditions belong(k 2,l 2 holding(k 2,c 2 at(r 2,l 2 unloaded(r 2 effects empty(k 2 loaded(r 2,c 2 effects at(r 1,m 1 holding(k 2,c 2 unloaded(r 2 occupied(m 1 occupied(l 1 at(r 1,l 1 goal at(robot,loc2 unloaded(robot Plan-Space Search 7 Adding Causal Links partial plan contains causal links links from the provider an effect of an action or an atom that holds in the initial state to the consumer a precondition of an action or a goal condition reasons for adding causal links prevent interference with other actions Plan-Space Search 8 4
5 Adding Causal Links: Example initial state attached(pile,loc in(cont,pile top(cont,pile on(cont,pallet belong(crane,loc1 empty(crane adjacent(loc1,loc2 adjacent(loc2,loc1 at(robot,loc2 occupied(loc2 unloaded(robot 1:move(r 1,l 1,m 1 preconditions at(r 1,l 1 occupied(m 1 adjacent(l 1,m 1 2:load(k 2,l 2,c 2,r 2 preconditions belong(k 2,l 2 holding(k 2,c 2 at(r 2,l 2 unloaded(r 2 effects empty(k 2 loaded(r 2,c 2 effects at(r 1,m 1 holding(k 2,c 2 unloaded(r 2 occupied(m 1 occupied(l 1 at(r 1,l 1 goal at(robot,loc2 unloaded(robot causal link: Plan-Space Search 9 Adding Variable Bindings partial plan contains variable bindings new operators introduce new (copies of variables into the plan solution plan must contain actions variable binding constraints keep track of possible values for variables and co-designation reasons for adding variable bindings to turn operators into actions to unify and effect with the precondition it supports Plan-Space Search 10 5
6 Adding Variable Bindings: Example initial state attached(pile,loc in(cont,pile top(cont,pile on(cont,pallet belong(crane,loc1 empty(crane adjacent(loc1,loc2 adjacent(loc2,loc1 at(robot,loc2 occupied(loc2 unloaded(robot 1:move(r 1,l 1,m 1 preconditions effects at(r 1,l 1 at(r 1,m 1 goal occupied(m 1 adjacent(l 1,m 1 occupied(m 1 occupied(l 1 at(robot,loc2 unloaded(robot at(r 1,l 1 variable bindings: variable = r 1 m 1 robot l 1 loc1 loc2 loc2 Plan-Space Search 11 Adding Ordering Constraints partial plan contains ordering constraints binary relation specifying the temporal order between actions in the plan reasons for adding ordering constraints all actions after initial state all actions before goal causal link implies ordering constraint to avoid possible interference Plan-Space Search 12 6
7 Adding Ordering Constraints: Example initial state attached(pile,loc in(cont,pile top(cont,pile on(cont,pallet belong(crane,loc1 empty(crane adjacent(loc1,loc2 adjacent(loc2,loc1 at(robot,loc2 occupied(loc2 unloaded(robot 1:move(r 1,l 1,m 1 preconditions at(r 1,l 1 occupied(m 1 adjacent(l 1,m 1 2:load(k 2,l 2,c 2,r 2 preconditions belong(k 2,l 2 holding(k 2,c 2 at(r 2,l 2 unloaded(r 2 effects empty(k 2 loaded(r 2,c 2 effects at(r 1,m 1 holding(k 2,c 2 unloaded(r 2 occupied(m 1 occupied(l 1 at(r 1,l 1 goal at(robot,loc2 unloaded(robot ordering constraint: Plan-Space Search 13 Definition of Partial Plans A partial plan is a tuple π = (A,,B,L, where: A = {a 1,,a k } is a set of partially instantiated planning operators; is a set of ordering constraints on A of the form (a i a j ; B is a set of binding constraints on the variables of actions in A of the form x=y, x y, or x D x ; L is a set of causal links of the form a i [p] a j such that: a i and a j are actions in A; the constraint (a i a j is in ; proposition p is an effect of a i and a precondition of a j ; and the binding constraints for variables in a i and a j appearing in p are in B. Plan-Space Search 14 7
8 Plan-Space Search: Initial Search State represent initial state and goal as dummy actions init: no preconditions, initial state as effects goal: goal conditions as preconditions, no effects empty plan π 0 = ({init, goal},{(init goal},{},{}: two dummy actions init and goal; one ordering constraint: init before goal; no variable bindings; and no causal links. Plan-Space Search 15 Plan-Space Search: Initial Search State Example init attached(pile,loc in(cont,pile top(cont,pile on(cont,pallet belong(crane,loc1 empty(crane adjacent(loc1,loc2 adjacent(loc2,loc1 at(robot,loc2 occupied(loc2 unloaded(robot goal at(robot,loc2 unloaded(robot Plan-Space Search 16 8
9 Plan-Space Search: Successor Function states are partial plans generate successor through plan refinement operators (one or more: adding an action to A adding an ordering constraint to adding a binding constraint to B adding a causal link to L Plan-Space Search 17 Total vs. Partial Order Let P=(Σ,s i,g be a planning problem. A plan π is a solution for P if γ(s i,π satisfies g. problem: γ(s i,π only defined for sequence of ground actions partial order corresponds to total order in which all partial order constraints are respected partial instantiation corresponds to grounding in which variables are assigned values consistent with binding constraints Plan-Space Search 18 9
10 Partial Order Solutions Let P=(Σ,s i,g be a planning problem. A plan π = (A,,B,L is a (partial order solution for P if: its ordering constraints and binding constraints B are consistent; and for every sequence a 1,,a k of all the actions in A-{init, goal} that is totally ordered and grounded and respects and B γ(s i, a 1,,a k must satisfy g. Plan-Space Search 19 Threat: Example 1:move(robot,loc1,loc2 preconditions effects at(robot,loc1 at(robot,loc2 occupied(loc2 occupied(loc2 adjacent(loc1,loc2 occupied(loc1 at(robot,loc1 at(robot,loc2 0:goal at(robot,loc2 unloaded(robot unloaded(robot 3:move(robot,loc2,loc1 preconditions effects at(robot,loc2 at(robot,loc1 occupied(loc1 occupied(loc1 adjacent(loc2,loc1 occupied(loc2 at(robot,loc2 at(robot,loc1 2:load(crane,loc1,cont,robot preconditions belong(crane,loc1 holding(crane,cont at(robot,loc1 unloaded(robot effects empty(crane loaded(robot,cont holding(crane,cont unloaded(robot Plan-Space Search 20 10
11 Threats An action a k in a partial plan π = (A,,B,L is a threat to a causal link a i [p] a j iff: a k has an effect q that is possibly inconsistent with p, i.e. q and p are unifiable; the ordering constraints (a i a k and (a k a j are consistent with ; and the binding constraints for the unification of q and p are consistent with B. Plan-Space Search 21 Flaws A flaw in a plan π = (A,,B,L is either: an unsatisfied sub-goal, i.e. a precondition of an action in A without a causal link that supports it; or a threat, i.e. an action that may interfere with a causal link. Plan-Space Search 22 11
12 Flawless Plans and Solutions Proposition: A partial plan π = (A,,B,L is a solution to the planning problem P=(Σ,s i,g if: π has no flaw; the ordering constraints are not circular; and the variable bindings B are consistent. Proof: by induction on number of actions in A base case: empty plan induction step: totally ordered plan minus first step is solution implies plan including first step is a solution: γ(s i, a 1,,a k = γ(γ(s i, a 1, a 2,,a k Plan-Space Search 23 Overview The Search Space of Partial Plans Plan-Space Search Algorithms Extensions of the STRIPS Representation Plan-Space Search 24 12
13 Plan-Space Planning as a Search Problem given: statement of a planning problem P=(O,s i,g define the search problem as follows: initial state: π 0 = ({init, goal},{(init goal},{},{} goal test for plan state p: p has no flaws path cost function for plan π: π successor function for plan state p: refinements of p that maintain and B Plan-Space Search 25 PSP Procedure: Basic Operations PSP: Plan-Space Planner main principle: refine partial π plan while maintaining and B consistent until π has no more flaws basic operations: find the flaws of π, i.e. its sub-goals and its threats select one of the flaws find ways to resolve the chosen flaw choose one of the resolvers for the flaw refine π according to the chosen resolver Plan-Space Search 26 13
14 PSP: Pseudo Code function PSP(plan allflaws plan.opengoals( + plan.threats( if allflaws.empty( then return plan flaw allflaws.selectone( allresolvers flaw.getresolvers(plan if allresolvers.empty( then return failure resolver allresolvers.chooseone( newplan plan.refine(resolver return PSP(newPlan Plan-Space Search 27 PSP: Choice Points resolver allresolvers.chooseone( non-deterministic choice flaw allflaws.selectone( deterministic selection all flaws need to be resolved before a plan becomes a solution order not important for completeness order is important for efficiency Plan-Space Search 28 14
15 Implementing plan.opengoals( finding unachieved sub-goals (incrementally: in π 0 : goal conditions when adding an action: all preconditions are unachieved sub-goals when adding a causal link: protected proposition is no longer unachieved Plan-Space Search 29 Implementing plan.threats( finding threats (incrementally: in π 0 : no threats when adding an action a new to π = (A,,B,L: for every causal link a i [p] a j L if (a new a i or (a j a new then next link else for every effect q of a new if ( σ: σ(p=σ( q then q of a new threatens a i [p] a j when adding a causal link a i [p] a j to π = (A,,B,L: for every action a old A if (a old a i or (a j =a old or (a j a old then next action else for every effect q of a old if ( σ: σ(p=σ( q then q of a old threatens a i [p] a j Plan-Space Search 30 15
16 Implementing flaw.getresolvers(plan for unachieved precondition p of a g : add causal links to an existing action: for every action a old A if (a g =a old or (a g a old then next action else for every effect q of a old if ( σ: σ(p=σ(q then adding a old [σ(p] a g is a resolver add a new action and a causal link: for every effect q of every operator o if ( σ: σ(p=σ(q then adding a new =o.newinstance( and a new [σ(p] a g is a resolver Plan-Space Search 31 Implementing flaw.getresolvers(plan for effect q of action a t threatening a i [p] a j : order action before threatened link: if (a t =a i or (a j a t then not a resolver else adding (a t a i is a resolver order threatened link before action: if (a t =a i or (a t a i then not a resolver else adding (a j a t is a resolver extend variable bindings such that unification fails: for every variable v in p or q if v σ(v is consistent with B then adding v σ(v is a resolver Plan-Space Search 32 16
17 Implementing plan.refine(resolver refines partial plan with elements in resolver by adding: an ordering constraint; one or more binding constraints; a causal link; and/or a new action. no testing required must update flaws: unachieved preconditions (see: plan.opengoals( threats (see: plan.threats( Plan-Space Search 33 Maintaining Ordering Constraints required operations: query whether (a i a j adding (a i a j possible internal representations: maintain set of predecessors/successors for each action as given maintain only direct predecessors/successors for each action maintain transitive closure of relation Plan-Space Search 34 17
18 Maintaining Variable Binding Constraints types of constraints: unary constraints: x D x equality constraints: x = y inequalities: x y note: general CSP problem is NPcomplete Plan-Space Search 35 PSP: Data Flow π 0 plan = (A,,B,L compute threats compute open goals has flaw? return plan select flaw compute resolvers has resolver? return failure choose resolver apply resolvers maintain ordering constraints maintain binding constraints Plan-Space Search 36 18
19 PSP: Sound and Complete Proposition: The PSP procedure is sound and complete: whenever π 0 can be refined into a solution plan, PSP(π 0 returns such a plan. Proof: soundness: and B are consistent at every stage of the refinement completeness: induction on the number of actions in the solution plan Plan-Space Search 37 PSP Implementation: PoP extended input: partial plan (as before agenda: set of pairs (a,p where a is an action an p is one of its preconditions search control by flaw type unachieved sub-goal (on agenda: as before threats: resolved as part of the successor generation process Plan-Space Search 38 19
20 PoP: Pseudo Code (1 function PoP(plan, agenda if agenda.empty( then return plan (a g,p g agenda.selectone( agenda agenda - (a g,p g relevant plan.getproviders(p g if relevant.empty( then return failure (a p,p p,σ relevant.chooseone( plan.l plan.l a p [p] a g plan.b plan.b σ Plan-Space Search 39 PoP: Pseudo Code (2 if a p plan.a then plan.add(a p agenda agenda + a p.preconditions newplan plan for each threat on a p [p] a g or due to a p do allresolvers threat.getresolvers(newplan if allresolvers.empty( then return failure resolver allresolvers.chooseone( newplan newplan.refine(resolver return PSP(newPlan,agenda Plan-Space Search 40 20
21 State-Space vs. Plan-Space Planning state-space planning finite search space explicit representation of intermediate states action ordering reflects control strategy causal structure only implicit search nodes relatively simple and successors easy to compute plan-space planning finite search space no intermediate states choice of actions and organization independent explicit representation of rationale search nodes are complex and successors expensive to compute Plan-Space Search 41 Using Partial-Order Plans: Main Advantages more flexible during execution using constraint managers facilitates extensions such as: temporal constraints resource constraints distributed and multi-agent planning fit naturally into the framework Plan-Space Search 42 21
22 Overview The Search Space of Partial Plans Plan-Space Search Algorithms Extensions of the STRIPS Representation Plan-Space Search 43 Existential Quantification in Goals allow existentially quantified conjunction of literals as goal: g = x 1,,x n : l 1 l m rewrite into equivalent planning problem: new goal g = {p} where p is an unused proposition symbol introduce additional operator o = (op-g(x 1,,x n,{l 1,,l m },{p} in plan-space search: no change needed Plan-Space Search 44 22
23 DWR Example: Existential Quantification in Goals goal: x,y: on(x,c1 on(y,c2 rewritten goal: p new operator: o = (op-g(x,y,{on(x,c1,on(y,c2},{p} plan-space search goal: on(x,c1 on(y,c2 Plan-Space Search 45 Typed Variables allow typed variables in operators: name(o = n(x 1 :t 1,,x k :t k where t i is the type of variable x i rewrite into equivalent planning problem: add preconditions {t 1 (x 1,,t k (x k } to o if constant c i is of type t j, add rigid relation t j (c i to the initial state remove types from operator names Plan-Space Search 46 23
24 DWR Example: Typed Variables operator: move(r:robot,l:location,m:location precond: adjacent(l,m, at(r,l, occupied(m effects: at(r,m, occupied(m, occupied(l, at(r,l rewritten operator:move(r,l,m precond: adjacent(l,m, at(r,l, occupied(m, robot(r, loaction(l, location(m effects: at(r,m, occupied(m, occupied(l, at(r,l rewritten initial state: s i {robot(r1,container(c1,container(c2, } Plan-Space Search 47 Conditional Operators conditional planning operators: o = (n,(precond 0,effects 0,,(precond n,effects n where: n = o(x 1,,x n as before, (precond 0,effects 0 are the unconditional preconditions and effects of the operator, and (precond i,effects i for i 1 are the conditional preconditions and effects of the operator. a ground instance a of o is applicable in state s if s satisfies precond 0 let I={i [0,n] s satisfies precond i (a}; then: γ(s,a=(s - (i I effects - (a ( (i I effects + (a Plan-Space Search 48 24
25 DWR Example: Conditional Operators relation at(o,l: object o is at location l conditional move operator: move(r,l,m,c precond 0 : adjacent(l,m, at(r,l, occupied(m effects 0 : at(r,m, occupied(m, occupied(l, at(r,l precond 1 : loaded(r,c effects 1 : at(c,m, at(c,l Plan-Space Search 49 Extending PoP to handle Conditional Operators modifying plan.getproviders(p g : new action with matching conditional effect add precondition of conditional effect to agenda managing conditional threats: new alternative resolver: add negated precondition of threatening conditional effect to agenda Plan-Space Search 50 25
26 Quantified Expressions allow universally quantified variables in conditional preconditions and effects: for-all x 1,,x n : (precond i,effects i a is applicable in state s if s satisfies precond 0 Let ϭ be a substitution for x 1,,x n such that ϭ(precond i (a and ϭ(effects i (a are ground. If s satisfies ϭ(precond i (a then ϭ(effects i (a are effects of the action. Plan-Space Search 51 DWR Example: Quantified Expressions extension: robots can carry multiple containers extended move operator: move(r,l,m precond 0 : adjacent(l,m, at(r,l, occupied(m effects 0 : at(r,m, occupied(m, occupied(l, at(r,l for-all x: precond 1 : loaded(r,x effects 1 : at(x,m, at(x,l Plan-Space Search 52 26
27 Disjunctive Preconditions allow alternatives (disjunctions in preconditions: precond = precond 1 precond n a is applicable in state s if s satisfies at least one of precond 1 precond n effects remain unchanged rewrite: replace operator with n disjunctive preconditions by n operators with precond i as precondition Plan-Space Search 53 DWR Example: Disjunctive Preconditions robot can move between locations if there is a road between them or the robot has all-wheel drive extended move operator: move(r,l,m precond: (road(l,m, at(r,l, occupied(m (all-wheel-drive(r, at(r,l, occupied(m effects: at(r,m, occupied(m, occupied(l, at(r,l Plan-Space Search 54 27
28 Axiomatic Inference: Static Case axioms over rigid relations: example: l 1,l 2 : adjacent(l 1,l 2 adjacent(l 2,l 1 state-specific axioms: example: c: container(c at(c,loc1 holds in s i approach: pre-compute Plan-Space Search 55 Axiomatic Inference: Dynamic Case axioms over flexible relations: example: k,x: holding(k,x empty(k approach: divide relations into primary and secondary where secondary relations do not appear in effects transform axioms into implications where primary relations must not appear in right-hand side example: primary: holding / secondary: empty k x: holding(k,x empty(k k x: holding(k,x empty(k Plan-Space Search 56 28
29 Extended Goals not part of classical planning formalisms some problems can be translated into equivalent classical problems, e.g. states to be avoided: add corresponding preconditions to operators states to be visited twice: introduce visited relation and maintain in operators constraints on solution length: introduce count relation that is increased with each step Plan-Space Search 57 Other Extensions Function Symbols infinite domains, undecidable in general Attached Procedures evaluate relations using special code rather than general inference efficiency may be necessary in real-world domains variables must usually be bound to evaluate relations semantics of such relations Plan-Space Search 58 29
30 Overview The Search Space of Partial Plans Plan-Space Search Algorithms Extensions of the STRIPS Representation Plan-Space Search 59 30
Software Modeling and Verification
Software Modeling and Verification Alessandro Aldini DiSBeF - Sezione STI University of Urbino Carlo Bo Italy 3-4 February 2015 Algorithmic verification Correctness problem Is the software/hardware system
Introduction to Planning
Introduction to Planning Course: CS40022 Instructor: Dr. Pallab Dasgupta Department of Computer Science & Engineering Indian Institute of Technology Kharagpur Outline Planning versus Search Representation
CS510 Software Engineering
CS510 Software Engineering Propositional Logic Asst. Prof. Mathias Payer Department of Computer Science Purdue University TA: Scott A. Carr Slides inspired by Xiangyu Zhang http://nebelwelt.net/teaching/15-cs510-se
Testing LTL Formula Translation into Büchi Automata
Testing LTL Formula Translation into Büchi Automata Heikki Tauriainen and Keijo Heljanko Helsinki University of Technology, Laboratory for Theoretical Computer Science, P. O. Box 5400, FIN-02015 HUT, Finland
Scalable Automated Symbolic Analysis of Administrative Role-Based Access Control Policies by SMT solving
Scalable Automated Symbolic Analysis of Administrative Role-Based Access Control Policies by SMT solving Alessandro Armando 1,2 and Silvio Ranise 2, 1 DIST, Università degli Studi di Genova, Italia 2 Security
Foundational Proof Certificates
An application of proof theory to computer science INRIA-Saclay & LIX, École Polytechnique CUSO Winter School, Proof and Computation 30 January 2013 Can we standardize, communicate, and trust formal proofs?
ON FUNCTIONAL SYMBOL-FREE LOGIC PROGRAMS
PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY Physical and Mathematical Sciences 2012 1 p. 43 48 ON FUNCTIONAL SYMBOL-FREE LOGIC PROGRAMS I nf or m at i cs L. A. HAYKAZYAN * Chair of Programming and Information
High Integrity Software Conference, Albuquerque, New Mexico, October 1997.
Meta-Amphion: Scaling up High-Assurance Deductive Program Synthesis Steve Roach Recom Technologies NASA Ames Research Center Code IC, MS 269-2 Moffett Field, CA 94035 [email protected] Jeff Van
Logic in general. Inference rules and theorem proving
Logical Agents Knowledge-based agents Logic in general Propositional logic Inference rules and theorem proving First order logic Knowledge-based agents Inference engine Knowledge base Domain-independent
University of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees
University of Ostrava Institute for Research and Applications of Fuzzy Modeling Reasoning in Description Logic with Semantic Tableau Binary Trees Alena Lukasová Research report No. 63 2005 Submitted/to
Monitoring Metric First-order Temporal Properties
Monitoring Metric First-order Temporal Properties DAVID BASIN, FELIX KLAEDTKE, SAMUEL MÜLLER, and EUGEN ZĂLINESCU, ETH Zurich Runtime monitoring is a general approach to verifying system properties at
XML Data Integration
XML Data Integration Lucja Kot Cornell University 11 November 2010 Lucja Kot (Cornell University) XML Data Integration 11 November 2010 1 / 42 Introduction Data Integration and Query Answering A data integration
http://aejm.ca Journal of Mathematics http://rema.ca Volume 1, Number 1, Summer 2006 pp. 69 86
Atlantic Electronic http://aejm.ca Journal of Mathematics http://rema.ca Volume 1, Number 1, Summer 2006 pp. 69 86 AUTOMATED RECOGNITION OF STUTTER INVARIANCE OF LTL FORMULAS Jeffrey Dallien 1 and Wendy
On the Modeling and Verification of Security-Aware and Process-Aware Information Systems
On the Modeling and Verification of Security-Aware and Process-Aware Information Systems 29 August 2011 What are workflows to us? Plans or schedules that map users or resources to tasks Such mappings may
InvGen: An Efficient Invariant Generator
InvGen: An Efficient Invariant Generator Ashutosh Gupta and Andrey Rybalchenko Max Planck Institute for Software Systems (MPI-SWS) Abstract. In this paper we present InvGen, an automatic linear arithmetic
Fixed-Point Logics and Computation
1 Fixed-Point Logics and Computation Symposium on the Unusual Effectiveness of Logic in Computer Science University of Cambridge 2 Mathematical Logic Mathematical logic seeks to formalise the process of
A Note on Context Logic
A Note on Context Logic Philippa Gardner Imperial College London This note describes joint work with Cristiano Calcagno and Uri Zarfaty. It introduces the general theory of Context Logic, and has been
! " # The Logic of Descriptions. Logics for Data and Knowledge Representation. Terminology. Overview. Three Basic Features. Some History on DLs
,!0((,.+#$),%$(-&.& *,2(-$)%&2.'3&%!&, Logics for Data and Knowledge Representation Alessandro Agostini [email protected] University of Trento Fausto Giunchiglia [email protected] The Logic of Descriptions!$%&'()*$#)
Jedd: A BDD-based Relational Extension of Java
Jedd: A BDD-based Relational Extension of Java Ondřej Lhoták Laurie Hendren Sable Research Group, School of Computer Science McGill University, Montreal, Canada {olhotak,hendren}@sable.mcgill.ca ABSTRACT
Introducing Formal Methods. Software Engineering and Formal Methods
Introducing Formal Methods Formal Methods for Software Specification and Analysis: An Overview 1 Software Engineering and Formal Methods Every Software engineering methodology is based on a recommended
Completing Description Logic Knowledge Bases using Formal Concept Analysis
Completing Description Logic Knowledge Bases using Formal Concept Analysis Franz Baader, 1 Bernhard Ganter, 1 Barış Sertkaya, 1 and Ulrike Sattler 2 1 TU Dresden, Germany and 2 The University of Manchester,
CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs
CHAPTER 3 Methods of Proofs 1. Logical Arguments and Formal Proofs 1.1. Basic Terminology. An axiom is a statement that is given to be true. A rule of inference is a logical rule that is used to deduce
Feature Specification and Automated Conflict Detection
Feature Specification and Automated Conflict Detection AMY P. FELTY University of Ottawa and KEDAR S. NAMJOSHI Bell Laboratories Large software systems, especially in the telecommunications field, are
Outline. Planning. Search vs. Planning. Search vs. Planning Cont d. Search vs. planning. STRIPS operators Partial-order planning.
Outline Searh vs. planning Planning STRIPS operators Partial-order planning Chapter 11 Artifiial Intelligene, lp4 2005/06, Reiner Hähnle, partly based on AIMA Slides Stuart Russell and Peter Norvig, 1998
Logical Agents. Explorations in Artificial Intelligence. Knowledge-based Agents. Knowledge-base Agents. Outline. Knowledge bases
Logical Agents Explorations in Artificial Intelligence rof. Carla. Gomes [email protected] Agents that are able to: Form representations of the world Use a process to derive new representations of the
Partial-Order Planning Algorithms
6.825 Techniques in Artificial Intelligence Partial-Order Planning Algorithms Lecture 11 1 Last time we talked about partial order planning, and we got through the basic idea and the formal description
Predicate Logic. Example: All men are mortal. Socrates is a man. Socrates is mortal.
Predicate Logic Example: All men are mortal. Socrates is a man. Socrates is mortal. Note: We need logic laws that work for statements involving quantities like some and all. In English, the predicate is
Automata-based Verification - I
CS3172: Advanced Algorithms Automata-based Verification - I Howard Barringer Room KB2.20: email: [email protected] March 2006 Supporting and Background Material Copies of key slides (already
Threat-Removal Strategies for Partial-Order Planning
In Proceedings of the Eleventh National Conference on Artificial Intelligence (AAAI-93), 993 Threat-Removal Strategies for Partial-Order Planning Mark A Peot Department of Engineering-Economic Systems
A Propositional Dynamic Logic for CCS Programs
A Propositional Dynamic Logic for CCS Programs Mario R. F. Benevides and L. Menasché Schechter {mario,luis}@cos.ufrj.br Abstract This work presents a Propositional Dynamic Logic in which the programs are
A first step towards modeling semistructured data in hybrid multimodal logic
A first step towards modeling semistructured data in hybrid multimodal logic Nicole Bidoit * Serenella Cerrito ** Virginie Thion * * LRI UMR CNRS 8623, Université Paris 11, Centre d Orsay. ** LaMI UMR
Computational Logic and Cognitive Science: An Overview
Computational Logic and Cognitive Science: An Overview Session 1: Logical Foundations Technical University of Dresden 25th of August, 2008 University of Osnabrück Who we are Helmar Gust Interests: Analogical
CHAPTER 7 GENERAL PROOF SYSTEMS
CHAPTER 7 GENERAL PROOF SYSTEMS 1 Introduction Proof systems are built to prove statements. They can be thought as an inference machine with special statements, called provable statements, or sometimes
Model Checking: An Introduction
Announcements Model Checking: An Introduction Meeting 2 Office hours M 1:30pm-2:30pm W 5:30pm-6:30pm (after class) and by appointment ECOT 621 Moodle problems? Fundamentals of Programming Languages CSCI
(LMCS, p. 317) V.1. First Order Logic. This is the most powerful, most expressive logic that we will examine.
(LMCS, p. 317) V.1 First Order Logic This is the most powerful, most expressive logic that we will examine. Our version of first-order logic will use the following symbols: variables connectives (,,,,
Lecture 8: Resolution theorem-proving
Comp24412 Symbolic AI Lecture 8: Resolution theorem-proving Ian Pratt-Hartmann Room KB2.38: email: [email protected] 2014 15 In the previous Lecture, we met SATCHMO, a first-order theorem-prover implemented
Model Checking II Temporal Logic Model Checking
1/32 Model Checking II Temporal Logic Model Checking Edmund M Clarke, Jr School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 2/32 Temporal Logic Model Checking Specification Language:
Static Analysis. Find the Bug! 15-654: Analysis of Software Artifacts. Jonathan Aldrich. disable interrupts. ERROR: returning with interrupts disabled
Static Analysis 15-654: Analysis of Software Artifacts Jonathan Aldrich 1 Find the Bug! Source: Engler et al., Checking System Rules Using System-Specific, Programmer-Written Compiler Extensions, OSDI
Computational Methods for Database Repair by Signed Formulae
Computational Methods for Database Repair by Signed Formulae Ofer Arieli ([email protected]) Department of Computer Science, The Academic College of Tel-Aviv, 4 Antokolski street, Tel-Aviv 61161, Israel.
Temporal Logics. Computation Tree Logic
Temporal Logics CTL: definition, relationship between operators, adequate sets, specifying properties, safety/liveness/fairness Modeling: sequential, concurrent systems; maximum parallelism/interleaving
Predicate Logic Review
Predicate Logic Review UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane 1 Grammar A term is an individual constant or a variable. An individual constant is a lowercase letter from the beginning
Compiler Construction
Compiler Construction Regular expressions Scanning Görel Hedin Reviderad 2013 01 23.a 2013 Compiler Construction 2013 F02-1 Compiler overview source code lexical analysis tokens intermediate code generation
2. The Language of First-order Logic
2. The Language of First-order Logic KR & R Brachman & Levesque 2005 17 Declarative language Before building system before there can be learning, reasoning, planning, explanation... need to be able to
COMPUTER SCIENCE TRIPOS
CST.98.5.1 COMPUTER SCIENCE TRIPOS Part IB Wednesday 3 June 1998 1.30 to 4.30 Paper 5 Answer five questions. No more than two questions from any one section are to be answered. Submit the answers in five
Data Integration: A Theoretical Perspective
Data Integration: A Theoretical Perspective Maurizio Lenzerini Dipartimento di Informatica e Sistemistica Università di Roma La Sapienza Via Salaria 113, I 00198 Roma, Italy [email protected] ABSTRACT
SPARQL: Un Lenguaje de Consulta para la Web
SPARQL: Un Lenguaje de Consulta para la Web Semántica Marcelo Arenas Pontificia Universidad Católica de Chile y Centro de Investigación de la Web M. Arenas SPARQL: Un Lenguaje de Consulta para la Web Semántica
Formal Engineering for Industrial Software Development
Shaoying Liu Formal Engineering for Industrial Software Development Using the SOFL Method With 90 Figures and 30 Tables Springer Contents Introduction 1 1.1 Software Life Cycle... 2 1.2 The Problem 4 1.3
Formal Verification by Model Checking
Formal Verification by Model Checking Natasha Sharygina Carnegie Mellon University Guest Lectures at the Analysis of Software Artifacts Class, Spring 2005 1 Outline Lecture 1: Overview of Model Checking
Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson
Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement
MATHEMATICS: CONCEPTS, AND FOUNDATIONS Vol. III - Logic and Computer Science - Phokion G. Kolaitis
LOGIC AND COMPUTER SCIENCE Phokion G. Kolaitis Computer Science Department, University of California, Santa Cruz, CA 95064, USA Keywords: algorithm, Armstrong s axioms, complete problem, complexity class,
A Formal Model of Program Dependences and Its Implications for Software Testing, Debugging, and Maintenance
A Formal Model of Program Dependences and Its Implications for Software Testing, Debugging, and Maintenance Andy Podgurski Lori A. Clarke Computer Engineering & Science Department Case Western Reserve
Consistent Query Answering in Databases Under Cardinality-Based Repair Semantics
Consistent Query Answering in Databases Under Cardinality-Based Repair Semantics Leopoldo Bertossi Carleton University School of Computer Science Ottawa, Canada Joint work with: Andrei Lopatenko (Google,
Satisfiability Checking
Satisfiability Checking SAT-Solving Prof. Dr. Erika Ábrahám Theory of Hybrid Systems Informatik 2 WS 10/11 Prof. Dr. Erika Ábrahám - Satisfiability Checking 1 / 40 A basic SAT algorithm Assume the CNF
Cassandra. References:
Cassandra References: Becker, Moritz; Sewell, Peter. Cassandra: Flexible Trust Management, Applied to Electronic Health Records. 2004. Li, Ninghui; Mitchell, John. Datalog with Constraints: A Foundation
Solving WCSP by Extraction of Minimal Unsatisfiable Cores
Solving WCSP by Extraction of Minimal Unsatisfiable Cores Christophe Lecoutre Nicolas Paris Olivier Roussel Sébastien Tabary CRIL - CNRS, UMR 8188 Université Lille-Nord de France, Artois rue de l université,
Course Outline Department of Computing Science Faculty of Science. COMP 3710-3 Applied Artificial Intelligence (3,1,0) Fall 2015
Course Outline Department of Computing Science Faculty of Science COMP 710 - Applied Artificial Intelligence (,1,0) Fall 2015 Instructor: Office: Phone/Voice Mail: E-Mail: Course Description : Students
Rigorous Software Development CSCI-GA 3033-009
Rigorous Software Development CSCI-GA 3033-009 Instructor: Thomas Wies Spring 2013 Lecture 11 Semantics of Programming Languages Denotational Semantics Meaning of a program is defined as the mathematical
Chapter 7: Functional Programming Languages
Chapter 7: Functional Programming Languages Aarne Ranta Slides for the book Implementing Programming Languages. An Introduction to Compilers and Interpreters, College Publications, 2012. Fun: a language
Lecture 1: Oracle Turing Machines
Computational Complexity Theory, Fall 2008 September 10 Lecture 1: Oracle Turing Machines Lecturer: Kristoffer Arnsfelt Hansen Scribe: Casper Kejlberg-Rasmussen Oracle TM Definition 1 Let A Σ. Then a Oracle
Path Querying on Graph Databases
Path Querying on Graph Databases Jelle Hellings Hasselt University and transnational University of Limburg 1/38 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL
PDDL (Planning Domain Definition Language) Jan Hrnčíř A4M33PAH Tutorial
PDDL (Planning Domain Definition Language) Jan Hrnčíř A4M33PAH Tutorial Introduction Standard encoding language for classical planning tasks International Planning Competition (IPC) Based on STRIPS notation
Smart Graphics: Methoden 3 Suche, Constraints
Smart Graphics: Methoden 3 Suche, Constraints Vorlesung Smart Graphics LMU München Medieninformatik Butz/Boring Smart Graphics SS2007 Methoden: Suche 2 Folie 1 Themen heute Suchverfahren Hillclimbing Simulated
Lecture 13 of 41. More Propositional and Predicate Logic
Lecture 13 of 41 More Propositional and Predicate Logic Monday, 20 September 2004 William H. Hsu, KSU http://www.kddresearch.org http://www.cis.ksu.edu/~bhsu Reading: Sections 8.1-8.3, Russell and Norvig
Turing Degrees and Definability of the Jump. Theodore A. Slaman. University of California, Berkeley. CJuly, 2005
Turing Degrees and Definability of the Jump Theodore A. Slaman University of California, Berkeley CJuly, 2005 Outline Lecture 1 Forcing in arithmetic Coding and decoding theorems Automorphisms of countable
Static Program Transformations for Efficient Software Model Checking
Static Program Transformations for Efficient Software Model Checking Shobha Vasudevan Jacob Abraham The University of Texas at Austin Dependable Systems Large and complex systems Software faults are major
Sudoku as a SAT Problem
Sudoku as a SAT Problem Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal [email protected] Joël Ouaknine Oxford University Computing Laboratory, UK [email protected] Abstract Sudoku
Overview of the TACITUS Project
Overview of the TACITUS Project Jerry R. Hobbs Artificial Intelligence Center SRI International 1 Aims of the Project The specific aim of the TACITUS project is to develop interpretation processes for
ONTOLOGIES A short tutorial with references to YAGO Cosmina CROITORU
ONTOLOGIES p. 1/40 ONTOLOGIES A short tutorial with references to YAGO Cosmina CROITORU Unlocking the Secrets of the Past: Text Mining for Historical Documents Blockseminar, 21.2.-11.3.2011 ONTOLOGIES
Introduction to Software Verification
Introduction to Software Verification Orna Grumberg Lectures Material winter 2013-14 Lecture 4 5.11.13 Model Checking Automated formal verification: A different approach to formal verification Model Checking
Algorithmic Software Verification
Algorithmic Software Verification (LTL Model Checking) Azadeh Farzan What is Verification Anyway? Proving (in a formal way) that program satisfies a specification written in a logical language. Formal
Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar
Complexity Theory IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Outline Goals Computation of Problems Concepts and Definitions Complexity Classes and Problems Polynomial Time Reductions Examples
In which we see how an agent can take advantage of the structure of a problem to construct complex plans of action.
11 PLANNING In which we see how an agent can take advantage of the structure of a problem to construct complex plans of action. CLASSICAL PLANNING The task of coming up with a sequence of actions that
Optimizing Description Logic Subsumption
Topics in Knowledge Representation and Reasoning Optimizing Description Logic Subsumption Maryam Fazel-Zarandi Company Department of Computer Science University of Toronto Outline Introduction Optimization
Disjunction of Non-Binary and Numeric Constraint Satisfaction Problems
Disjunction of Non-Binary and Numeric Constraint Satisfaction Problems Miguel A. Salido, Federico Barber Departamento de Sistemas Informáticos y Computación, Universidad Politécnica de Valencia Camino
Chapter ML:IV. IV. Statistical Learning. Probability Basics Bayes Classification Maximum a-posteriori Hypotheses
Chapter ML:IV IV. Statistical Learning Probability Basics Bayes Classification Maximum a-posteriori Hypotheses ML:IV-1 Statistical Learning STEIN 2005-2015 Area Overview Mathematics Statistics...... Stochastics
Regular Expressions and Automata using Haskell
Regular Expressions and Automata using Haskell Simon Thompson Computing Laboratory University of Kent at Canterbury January 2000 Contents 1 Introduction 2 2 Regular Expressions 2 3 Matching regular expressions
Generating models of a matched formula with a polynomial delay
Generating models of a matched formula with a polynomial delay Petr Savicky Institute of Computer Science, Academy of Sciences of Czech Republic, Pod Vodárenskou Věží 2, 182 07 Praha 8, Czech Republic
Aikaterini Marazopoulou
Imperial College London Department of Computing Tableau Compiled Labelled Deductive Systems with an application to Description Logics by Aikaterini Marazopoulou Submitted in partial fulfilment of the requirements
How To Compare A Markov Algorithm To A Turing Machine
Markov Algorithm CHEN Yuanmi December 18, 2007 1 Abstract Markov Algorithm can be understood as a priority string rewriting system. In this short paper we give the definition of Markov algorithm and also
Combining Software and Hardware Verification Techniques
Formal Methods in System Design, 21, 251 280, 2002 c 2002 Kluwer Academic Publishers. Manufactured in The Netherlands. Combining Software and Hardware Verification Techniques ROBERT P. KURSHAN VLADIMIR
Formal Verification and Linear-time Model Checking
Formal Verification and Linear-time Model Checking Paul Jackson University of Edinburgh Automated Reasoning 21st and 24th October 2013 Why Automated Reasoning? Intellectually stimulating and challenging
Determination of the normalization level of database schemas through equivalence classes of attributes
Computer Science Journal of Moldova, vol.17, no.2(50), 2009 Determination of the normalization level of database schemas through equivalence classes of attributes Cotelea Vitalie Abstract In this paper,
Linear Programming Notes V Problem Transformations
Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material
