SYNTACTIC THEORY FOR BIGRAPHS

Size: px
Start display at page:

Download "SYNTACTIC THEORY FOR BIGRAPHS"

Transcription

1 SYNTACTIC THEORY FOR BIGRAPHS Troels C. Damgaard Joint work with Lars Birkedal, Arne John Glenstrup, and Robin Milner Bigraphical Programming Languages (BPL) Group IT University of Copenhagen 4 May 2007 / École Normale Supérieure, Paris TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 1 / 61

2 RELEVANT PUBLICATIONS Damgaard and Birkedal. Axiomatizing Binding Bigraphs. Nordic Journal of Computing, 2006., Birkedal, Damgaard, Glenstrup and Milner. Matching of Bigraphs. In Proceedings of Graph Transformation for Verification and Concurrency Workshop 2006, Electronic Notes in Theoretical Computer Science. Elsevier, 2007., and Damgaard. Syntactic Theory for Bigraphs. Masters Thesis. IT University of Copenhagen, (with expanded introduction and overviews). See my webpage for more information (e.g., links to more publications and to the BPL group): TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 2 / 61

3 OUTLINE 1 BACKGROUND BIGRAPHS 2 TERM LANGUAGE Expressing Bigraphs Language 3 NORMAL FORM THEOREM(S) 4 EQUATIONAL THEORY 5 CHARACTERIZATION OF MATCHING Background Bigraphical Reactive Systems Characterization Rules Details 6 CURRENT AND FUTURE WORK 7 APPENDIX (GRITTY DETAILS) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 3 / 61

4 OUTLINE 1 BACKGROUND BIGRAPHS 2 TERM LANGUAGE Expressing Bigraphs Language 3 NORMAL FORM THEOREM(S) 4 EQUATIONAL THEORY 5 CHARACTERIZATION OF MATCHING Background Bigraphical Reactive Systems Characterization Rules Details 6 CURRENT AND FUTURE WORK 7 APPENDIX (GRITTY DETAILS) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 4 / 61

5 INTRODUCING BIGRAPHS BIGRAPHS AND BIGRAPHICAL REACTIVE SYSTEMS (BRSS) In one line: A graphical model of mobile computation that emphasizes both locality and connectivity due to Milner and coworkers. Developed with two main aims to model directly important aspects of ubiquitous systems, and to provide a general theory for reactive systems, where many existing calculi for mobility and concurrency may be represented and investigated. In particular, the theory provides us with tools to derive from a BRS a labelled transition system whose associated bisimulation relation is a congruence relation. On the next few slides a crash course on bigraphs. We return to how to define bigraphical reactive systems. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 5 / 61

6 INTRODUCING BIGRAPHS (CONT.) SO WHAT IS A BIGRAPH? Essentially, a bigraph is a place graph a forest, and a link graph a (hyper-)graph sharing nodes. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 6 / 61

7 INTRODUCING BIGRAPHS (CONT.) A BIGRAPH A COMBINATION OF A PLACE GRAPH AND A LINK GRAPH These are examples of place and link graphs: But we like to draw a bigraph in a single picture, like this: On the next few slides, an example of a concrete bigraph model.... TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 7 / 61

8 A BIGRAPH MODEL OF AN OFFICE A = A consists of roots (dashed boxes), nodes (solid boxes), and links (green lines). Each node has a control (in sans serif) indicating the number and type of ports for linkage. Ports can be either free or binding the latter indicated by circular attachments. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 8 / 61

9 BIGRAPHS ARE COMPOSABLE A = Non-ground bigraphs contain holes (or sites) and/or inner names. B = C = We can compose B and C by plugging the holes of B with the roots of C. B and C compose to form A. We write A = BC. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 9 / 61

10 BINDING BIGRAPHS A = Binding bigraphs, enforce a scoping discipline on linkage connected to a binding ports or local outer names binders. All peers (inner names or ports) linked to a binder, must be nested within the node. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 10 / 61

11 INTERFACES B : 2, ({x}, ), {x, z} 2, (, ), C : 0, (), 2, ({x}, ), {x, z} Formally, a bigraph is a morphism in a category of interfaces, hence, bigraph composition is simply the categorical composition. For example, B and C compose exactly, because the innerface of B is equal to the outerface of C. We can also combine bigraphs with a tensor product,, which is simply juxtaposition of roots; requiring that outer and inner names are disjoint. A parallel product B C, requiring only inner names to be disjoint can be straightforwardly derived from. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 11 / 61

12 OUTLINE 1 BACKGROUND BIGRAPHS 2 TERM LANGUAGE Expressing Bigraphs Language 3 NORMAL FORM THEOREM(S) 4 EQUATIONAL THEORY 5 CHARACTERIZATION OF MATCHING Background Bigraphical Reactive Systems Characterization Rules Details 6 CURRENT AND FUTURE WORK 7 APPENDIX (GRITTY DETAILS) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 12 / 61

13 MOTIVATION EXPRESSING BIGRAPHS How to give a bigraph? Two basic approaches CONSTRUCT GRAPH STRUCTURE DIRECTLY Bigraphs are simply a collection of certain graphs. We can just give explicit sets of constituents (i.e, nodes, links, names, controls, etc.); and, a number of maps to build bigraph structure (i.e., nesting, linking, etc.). CONSTRUCT INDUCTIVELY FROM SET OF ELEMENTARY BIGRAPHS Construct bigraphs inductively as the smallest set of bigraphs built from a set of elementary bigraphs; and, a few operators. composition G0 G 1 vertical composition of bigraphs, product G0 G 1 horizontal composition of bigraphs, and abstraction (X)P to make global names X of P local. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 13 / 61

14 LANGUAGE FOR BIGRAPHS (CONT.) BUILDING AN EXPRESSION FOR A Bigraph A Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 14 / 61

15 LANGUAGE FOR BIGRAPHS (CONT.) BUILDING AN EXPRESSION FOR A Bigraph A Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 14 / 61

16 LANGUAGE FOR BIGRAPHS (CONT.) BUILDING AN EXPRESSION FOR A Bigraph A Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 14 / 61

17 LANGUAGE FOR BIGRAPHS (CONT.) BUILDING AN EXPRESSION FOR A Bigraph A Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 14 / 61

18 LANGUAGE FOR BIGRAPHS (CONT.) BUILDING AN EXPRESSION FOR A Bigraph A Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 14 / 61

19 LANGUAGE FOR BIGRAPHS (CONT.) BUILDING AN EXPRESSION FOR A Bigraph A Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 14 / 61

20 LANGUAGE FOR BIGRAPHS (CONT.) BUILDING AN EXPRESSION FOR A Bigraph A Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 14 / 61

21 LANGUAGE FOR BIGRAPHS (CONT.) BUILDING AN EXPRESSION FOR A Bigraph A Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 14 / 61

22 LANGUAGE CONSIDERATIONS The terms in the language are explicitly typed with interfaces determining when tensor product, composition, and abstraction is well defined. Hence, formation rules ensure well formed terms denote bigraphs. The interface for expressions can be determined by induction. Similarly, the bigraph denoted by an expression can be determined by induction. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 15 / 61

23 CONCLUSION THEOREM (COMPLETENESS OF LANGUAGE) All binding bigraphs can be expressed using composition, tensor product, and abstraction ( ), from constants 1, merge 2, y/x, /x, K y( X), π, U.... follows immediately from the normal form theorem. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 16 / 61

24 OUTLINE 1 BACKGROUND BIGRAPHS 2 TERM LANGUAGE Expressing Bigraphs Language 3 NORMAL FORM THEOREM(S) 4 EQUATIONAL THEORY 5 CHARACTERIZATION OF MATCHING Background Bigraphical Reactive Systems Characterization Rules Details 6 CURRENT AND FUTURE WORK 7 APPENDIX (GRITTY DETAILS) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 17 / 61

25 MOTIVATION MOTIVATION As a basis for structured analysis of bigraphs we develop a normal form theorem that details a number of subclasses of bigraphs (overview, next slide); gives a corresponding expression format for each class. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 18 / 61

26 NORMAL FORMS THE DISCRETE VARIANT FOR MATCHING We analyze bigraphs and define discrete decomposition separating a bigraph B into a global link graph w and a discrete bigraph D, which has one-one linkage to global outer names; Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 19 / 61

27 NORMAL FORMS (CONT.) THE DISCRETE VARIANT FOR MATCHING We analyze bigraphs and define discrete decomposition separating a bigraph B into a global link graph w and a discrete bigraph D, which has one-one linkage to global outer names; decomposing a discrete bigraph D into separate roots discrete primes P; and, Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 19 / 61

28 NORMAL FORMS (CONT.) THE DISCRETE VARIANT FOR MATCHING We analyze bigraphs and define discrete decomposition separating a bigraph B into a global link graph w and a discrete bigraph D, which has one-one linkage to global outer names; decomposing a discrete bigraph D into separate roots discrete primes P; and, decomposing discrete primes P into separate nodes and holes. Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 19 / 61

29 CONCLUSION MAIN RESULT - SOUNDNESS AND COMPLETENESS OF THE NORMAL FORM Main theorem states soundness and completeness of the normal form; TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 20 / 61

30 CONCLUSION MAIN RESULT - SOUNDNESS AND COMPLETENESS OF THE NORMAL FORM Main theorem states soundness and completeness of the normal form; and takes about two pages to state in full detail. THEOREM (Schema: NORMAL FORM) Any bigraph of class C can be expressed on the format E. For any other expression E on this format, the requirements R 1,..., R n 1 (between constituents of E and E ) hold. Gritty details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 20 / 61

31 OUTLINE 1 BACKGROUND BIGRAPHS 2 TERM LANGUAGE Expressing Bigraphs Language 3 NORMAL FORM THEOREM(S) 4 EQUATIONAL THEORY 5 CHARACTERIZATION OF MATCHING Background Bigraphical Reactive Systems Characterization Rules Details 6 CURRENT AND FUTURE WORK 7 APPENDIX (GRITTY DETAILS) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 21 / 61

32 MOTIVATION MOTIVATION Would like to reason about graph equality on the term level i.e., to reason syntactically about equality of bigraphs. For example, we might like to show that: ( pcy1 pda z0 ) (1 1) = ( pcy1 1 pda z0 1 ), y/x x/z = y/z. We give a syntactic equational theory by stating basic equalities between bigraph expressions extending work for pure bigraphs by Milner. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 22 / 61

33 CATEGORICAL AXIOMS Categorical axioms deal with basic properties like associativity of composition and tensor product, A(BC) = (AB)C and A (B C) = (A B) C, unit for composition and tensor products (identities on certain interfaces), and handling symmetries (permutations on the place graph structure) (C1) A id I = A = id J A (A : I J) (C2) A(BC) = (AB)C (C3) A id ɛ = A = id ɛ A (C4) A (B C) = (A B) C (C5) id I id J = id I J (C6) (A 1 B 1 )(A 0 B 0 ) = (A 1 A 0 ) (B 1 B 0 ) (C7) γ I,ɛ = id I (C8) γ J,I γ I,J = id I J (C9) γ I J,K = (γ I,K id J )(id I γ J,K ) (C10) γ I,K (A B) = (B A)γ H,J (A : H I, B : J K ) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 23 / 61

34 GLOBAL LINK AXIOMS Link axioms mainly state the ways in which compositions of linkings can be equally expressed without composition. (L1) x/x = id x (L2) /y y/x = /x (L3) /y y = id ɛ (L4) z/{y y}(id Y y/x) = z/{y X} TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 24 / 61

35 PLACING AND ION AXIOMS Place axioms explain the basic ways in which placing expressions for equal bigraphs can vary. (P1) merge 2 (1 id 1 ) = id 1 (P2) merge 2 (merge 2 id 1 ) = merge 2 (id 1 merge 2 ) (P3) merge 2 γ 1,1,(, ) = merge 2 Two axioms for ions deal with renaming of the names on both the interfaces of an ion. (N1) (id 1 α)k y( X) = K α( y)( X) (N2) K y( X) σ = K y( σ 1 ( X)) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 25 / 61

36 BINDING AXIOMS Binding axioms state basic equalitites between expressions with the abstraction operator and/or the concretion constant. ( )P = P abstracting no names is the same as not abstracting. (Y ) Y = id (Y ) abstracting a concretion of the names Y is just an identity on Y. ( X Z id Y )(X)P = P concreting an abstraction of the names X gives you back the bigraph P that you started with. (id X (Y )P))G = extending the scope of an abstraction over a set (Y )(P id X )G of global names X is ok, when the entire expression has a local innerface. (X Y )P = (X)(Y )P abstracting and abstracting again is the same as abstracting the union of the names involved. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 26 / 61

37 CONCLUSION MAIN RESULT - SOUNDNESS AND COMPLETENESS OF THE EQUATIONAL THEORY THEOREM (SOUNDNESS AND COMPLETENESS) For all binding bigraph expressions E and F, [[E]] = [[F]], i.e.,e and F denote the same bigraph iff E = F. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 27 / 61

38 OUTLINE 1 BACKGROUND BIGRAPHS 2 TERM LANGUAGE Expressing Bigraphs Language 3 NORMAL FORM THEOREM(S) 4 EQUATIONAL THEORY 5 CHARACTERIZATION OF MATCHING Background Bigraphical Reactive Systems Characterization Rules Details 6 CURRENT AND FUTURE WORK 7 APPENDIX (GRITTY DETAILS) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 28 / 61

39 ADDING DYNAMICS We build bigraphical reactive systems (BRS) by giving a set of rewriting rules; expressed essentially as a pair of bigraphs, like those below: We can rewrite a bigraph a with a rule R R, if a matches R. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 29 / 61

40 ADDING DYNAMICS (CONT.) THE MATCHING PROBLEM To determine, whether and how a redex matches a bigraph. Suppressing some detail a redex R matches a ground agent a, if a decomposes, s.t., a = C(R id Z )d for context C, and discrete parameter d. We can illustrate a match schematically, like this: TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 30 / 61

41 MOTIVATION So, we have definitions DEFINITION (A BIGRAPH) Official definition: G = (V, E, ctrl, link, prnt) : I J DEFINITION (A MATCH IN BIGRAPHS) Official definition: [... ] a = C(R id Z )d, where C is a context, and d a discrete parameter [... ] PROBLEM (CONSTRUCTING A CONTEXT AND PARAMETER) How to construct a context C and parameter d, given agent a and redex R? Instead, we look to characterize in a constructive manner the matching problem; and, hope to be able to specialize the characterization into an algorithmic approach. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 31 / 61

42 MATCHING SENTENCES We define a new representation for a match as a relation and look to inductively characterize this relation. DEFINITION (MATCHING SENTENCE) ω a, ω R, ω C a, R C, d for wirings (essentially, link graphs) ω a, ω R, ω C and discrete bigraphs a, R, C, d. a, d are ground, R and C are products of discrete primes, R is can be constructed without using permutations (convenience). TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 32 / 61

43 MATCHING SENTENCES (CONT.) DEFINITION (VALID MATCHING SENTENCE) A matching sentence as above is valid iff (id ω a )a = (id ω C )(C ω R id Z )(R id Z )d. Valid matching sentences recapture original definition of matching; as we have simply decomposed discretly agent, context, redex and parameter. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 33 / 61

44 RULES FOR DERIVING VALID MATCHING SENTENCES MATCHING RULES We give a set of rules for deriving valid matching sentences. We take two axioms, one concerned with introducing nonconnected linkage; and, one, which allows to conclude when we have roots with equal structure in agent and parameter (up to certain renamings). And seven rules, most of which serve to introduce an elementary bigraph or operator. For example, and, PRODUCT ω a, ω R, ω C ω a, R C, d ω b, ω S, ω D ω b, S D, e ω a ω b, ω R ω S, ω C ω D ω a b, R S C D, d e, MERGE ω a, ω R, ω C a, R C, d a global ω a, ω R, ω C (merge id)a, R (merge id)c, d. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 34 / 61

45 RULES ILLUSTRATED PRODUCT TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 35 / 61

46 RULES ILLUSTRATED (CONT.) MERGE TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 36 / 61

47 RULES - DETAILS CLOSE σ a, σ R, id YR σ C a, R C, d σ C : Y Y C σ R : U Y R (id /(Y R Y C ))σ a, (id /Y R )σ R, (id /Y C )σ C a, R C, d PERM ω a, ω R, ω C a, m i P π 1 (i) C, (π id)d ω a, ω R, ω C a, m i P i Cπ, d PRODUCT ω a, ω R, ω C ω a, R C, d ω b, ω S, ω D ω b, S D, e ω a ω b, ω R ω S, ω C ω D ω a b, R S C D, d e LSUB σa ωa, ω R, σ C ω C p, R P, d σ a : Z W σ C : U W P : U X ω a, ω R, ω C ( σ a id)(z )p, R ( σ C id)(u)p, d MERGE ω a, ω R, ω C a, R C, d a global ω a, ω R, ω C (merge id)a, R (merge id)c, d Rules illustrated TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 37 / 61

48 RULES - DETAILS (CONT.) ION ω a, ω R, ω C (( v)/( X) id)p, R (( v)/( Z ) id)p, d α = y/ u σ : { y} σ ω a, ω R, σα ω C (K y( X) id)p, R (K u( Z ) id)p, d SWITCH ω a, id ɛ, ω C (σ ω R id) p, id P, d P : W Y σ : W U ω a, ω R, ω C p, ( σ id)(w )P U, d PRIME-AXIOM α : X U β : Z σ L : Y U p : Y Z σ(σ L β), id ɛ, σ p, id (X) α, (X)(α 1 σ L β id 1 )p WIRING-AXIOM y, X, y/x idɛ, id ɛ id ɛ, id ɛ Rules illustrated TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 37 / 61

49 CONCLUSION MAIN RESULT - SOUNDNESS AND COMPLETENESS OF THE RULES THEOREM (SOUNDNESS) The rules for matching are sound, that is, any matching sentence that can be derived is valid. THEOREM (COMPLETENESS) The rules for matching are complete, that is, any valid matching sentence can be derived from the rules. The equality theory and normal forms are employed heavily to prove these theorems. Gritty proof details TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 38 / 61

50 OUTLINE 1 BACKGROUND BIGRAPHS 2 TERM LANGUAGE Expressing Bigraphs Language 3 NORMAL FORM THEOREM(S) 4 EQUATIONAL THEORY 5 CHARACTERIZATION OF MATCHING Background Bigraphical Reactive Systems Characterization Rules Details 6 CURRENT AND FUTURE WORK 7 APPENDIX (GRITTY DETAILS) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 39 / 61

51 CURRENT WORK TERM MATCHING In the BPL group we build a tool to experiment with bigraphical reactive systems. Bigraphs are represented using a term language with constants and operators corresponding exactly to the elementary bigraphs and combinators. Based on the work presented we use a simple approach to implementing matching in such a tool: First step: Recast rules to work on terms one simply has to add a single rule STRUCT to allow application of structural congruence on terms. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 40 / 61

52 CURRENT WORK (CONT.) NORMAL INFERENCES To specialize the characterization into an algorithm, for mechanically finding matches, define normal inferences; kinds of inferences that are complete in the sense that all valid matching sentences can be inferred; and, suitable restricted, s.t. inferences can be built mechanically with minimum amount of search. In particular, normal inference definitions for term matching needs to address precisely how and where to apply structural congruence. NORMAL INFERENCE VS. ALGORITHMIC APPROACH Each definition of normal inferences correspond to a different algorithmic approach to matching. Might even be worthwhile extending the set of rules to allow even more freedom in choosing a definition of normal inference. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 41 / 61

53 FUTURE WORK ON MATCHING Term-based matching using normal inferences is nice it is firmly based on the theory presented here; and problematic the pilot-version, we are currently testing, is horribly inefficient. Hence, we aim (and hope to be able) to build more efficient methods; while retaining our formal foundation. Some ideas: Work with a term normal form more suited for matching. Instead of matching links online while building an inference, derive a set of constraints for these. Add rules to allow shortcutting obviously invalid/valid matches. Smarter ways of combining matching and rewriting. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 42 / 61

54 THANK YOU! Thank you for listening! TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 43 / 61

55 OUTLINE 1 BACKGROUND BIGRAPHS 2 TERM LANGUAGE Expressing Bigraphs Language 3 NORMAL FORM THEOREM(S) 4 EQUATIONAL THEORY 5 CHARACTERIZATION OF MATCHING Background Bigraphical Reactive Systems Characterization Rules Details 6 CURRENT AND FUTURE WORK 7 APPENDIX (GRITTY DETAILS) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 44 / 61

56 OUTLINE OF APPENDICES Term Language Normal Form Rules Illustrated The SWITCH rule Proof Method TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 45 / 61

57 INDUCTIVE LANGUAGE DETAILS DEFINITION (INDUCTIVE LANGUAGE FOR BINDING BIGRAPHS) The smallest set of bigraphs built by three operators composition, tensor product (juxtaposition), and abstraction (Y )P of names Y on primes P; from the identities on all interfaces and a set of elementary bigraphs. (Details on elementary bigraphs and abstraction next slides.) Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 46 / 61

58 ELEMENTARY BIGRAPHS PLACINGS DEFINITION (2 KINDS OF PLACING) Merge merge n : n,, 1, [ ], Permutation π π X : m, X, X m, π( X), X (EXAMPLES) MERGE AND PERMUTATION merge 3 = y x {0 2, 1 0, 2 1} [{x},,{y}] = 1 2 y 0 x Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 47 / 61

59 TERM CONSTANTS LINKINGS DEFINITION (2 BASIC KINDS OF LINKINGS) Substitution σ y/ X : 0, [], X 0, [], Y Closure /X : 0, [], X id ɛ (EXAMPLES) LINKINGS Plain substitution [y 1, y 2, y 3 ]/[{x 1, x 2 }, {}, {x 3 }] = y 1 y 2 y 3 x 1 x 2 x 3 Renaming α [y 1, y 2, y 3 ]/[x 1, x 2, x 3 ] = y 1 y 2 y 3 x 1 x 2 x 3 Closure /{x 1, x 2, x 3 } = x1 x 2 x 3 Wiring ω (id {y1,y2} /{z 1, z 2 }) [y 1, z 1, y 2, z 2 ] / = [{}, {x 1, x 2 }, {x 4, x 5}, {x 6 }] y 1 x 1 x 2 x 4 y 2 x 5 x 6 TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 48 / 61

60 ELEMENTARY BIGRAPHS (CONT.) CONCRETIONS AND IONS DEFINITION (CONCRETIONS AND IONS) Concretion X : 1, [X], X 1, [ ], X Ion K y( X) : 1, (X), X 1, ( ), Y (EXAMPLES) CONCRETIONS AND IONS {x 1, x 2 } = 0 x 1 x 2 x 1 x 2 K [y1,y 2 ]([{x 1 },{x 2,x 3 },{}]) = K y 1 y 2 x 1 x 2 x 3 Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 49 / 61

61 OPERATORS (CONT.) ABSTRACTION (COMPOSITION AND TENSOR PRODUCT) (Standard categorical composition and tensor product as defined earlier.) DEFINITION (ABSTRACTION) Abstraction (Y )P : I 1, [Y ], Z Y (EXAMPLE) ABSTRACTION ({y 1, y 2 })({y 3 }) {y 1, y 2, y 3, z} = 0 y 1 y 2 y 3 y 1 y 2 y 3 z z Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 50 / 61

62 BIGRAPH A A MODEL OF AN OFFICE A = Back to expression TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 51 / 61

63 NORMAL FORM THE NAME-DISCRETE VARIANT FOR THE EQUATIONAL THEORY We define and prove that four forms of binding bigraph expressions generate all binding bigraphs, and that those forms are unique up to certain specified isomorphisms. DEFINITION (BINDING DISCRETE NORMAL FORM (BDNF)) MDNF M ::= (K y( X) id Z )P PDNF P ::= (Y B ) ( ) ( ( n merge n+k id Y i α i ) ) k i M i π DDNF D ::= (P 0... P n 1 )π α BDNF B ::= ( ω n ) i σ i D More details for each form on the next pages. Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 52 / 61

64 NORMAL FORM (CONT.) DETAILS FREE DISCRETE MOLECULES MDNF Any free discrete molecule M : I 1, { y} Z can be expressed as (K y( X) id Z )P where P : I 1, ({ X}), { X} Z is a name-discrete prime. This expression is unique up to renaming of the local names on the innerface of the ion, and (correspondingly) on the outer face of the prime P. (For formal details see [Damgaard, Birkedal, 06].) Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 53 / 61

65 NORMAL FORM (CONT.) DETAILS NAME-DISCRETE PRIMES PDNF Any name-discrete prime P : I 1, Y B, Y can be expressed as (Y B ) ( merge n+k id Y ) ( α0 α n 1 M 0 M k 1 ) π where every M i : Yi M is a free discrete molecule, and for renamings α i : Yi C, we have Y = ( i n Y i C ) i k Y i M. This expression is unique up to reordering of the concretions and molecules, and the ordering of the sites inside the molecules; the permutation π changes accordingly to preserve the innerface. (For formal details see [Damgaard, Birkedal, 06].) Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 54 / 61

66 NORMAL FORM (CONT.) DETAILS NAME-DISCRETE BIGRAPHS DDNF Any name-discrete bigraph D with outer width n can be expressed as (P 0... P n 1 )π α where every P i is a name-discrete prime, α is a renaming, and π is a permutation. This expression is unique up to reordering of the the sites inside the primes; the permutation π changes accordingly to preserve the innerface. (For formal details see [Damgaard, Birkedal, 06].) Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 55 / 61

67 NORMAL FORM (CONT.) DETAILS BIGRAPHS BDNF Any bigraph G : I n, Y B, { Y B } Y F can be expressed as ( ) n ω σ i D where D : I n, X, { X} Z is name-discrete, ω : Z Y F is a (global) wiring, and each σ i : ( X i ) ( Y B i) is a local substitution on the bound names of D. The expression is unique up to (local and global) renamings on the innerface of the wiring and (correspondingly) on the outerface of D. (For formal details see [Damgaard, Birkedal, 06].) i Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 56 / 61

68 RULES ILLUSTRATED RULES ILLUSTRATED This section contains illustrated versions of the rules. Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 57 / 61

69 RULES DETAILS PREMISE CLOSE σ a, σ R, id YR σ C a, R C, d σ C : Y Y C σ R : U Y R (id /(Y R Y C ))σ a, (id /Y R )σ R, (id /Y C )σ C a, R C, d If TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

70 RULES DETAILS (CONT.) CONCLUSION CLOSE σ a, σ R, id YR σ C a, R C, d σ C : Y Y C σ R : U Y R (id /(Y R Y C ))σ a, (id /Y R )σ R, (id /Y C )σ C a, R C, d Then TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

71 RULES DETAILS (CONT.) PREMISE PERM ω a, ω R, ω C a, m i P π 1 (i) C, (π id)d ω a, ω R, ω C a, m i P i Cπ, d If (here ρ = π 1 ) TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

72 RULES DETAILS (CONT.) CONCLUSION PERM ω a, ω R, ω C a, m i P π 1 (i) C, (π id)d ω a, ω R, ω C a, m i P i Cπ, d Then TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

73 RULES DETAILS (CONT.) PREMISE PRODUCT ω a, ω R, ω C ω a, R C, d ω b, ω S, ω D ω b, S D, e ω a ω b, ω R ω S, ω C ω D ω a b, R S C D, d e If TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

74 RULES DETAILS (CONT.) CONCLUSION PRODUCT ω a, ω R, ω C ω a, R C, d ω b, ω S, ω D ω b, S D, e ω a ω b, ω R ω S, ω C ω D ω a b, R S C D, d e Then TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

75 RULES DETAILS (CONT.) PREMISE LSUB σa ωa, ω R, σ C ω C p, R P, d σ a : Z W σ C : U W ω a, ω R, ω C ( σ a id)(z )p, R ( σ C id)(u)p, d If TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

76 RULES DETAILS (CONT.) CONCLUSION LSUB σa ωa, ω R, σ C ω C p, R P, d σ a : Z W σ C : U W ω a, ω R, ω C ( σ a id)(z )p, R ( σ C id)(u)p, d Then TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

77 RULES DETAILS (CONT.) PREMISE MERGE ω a, ω R, ω C a, R C, d aglobal ω a, ω R, ω C (merge id)a, R (merge id)c, d If TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

78 RULES DETAILS (CONT.) CONCLUSION MERGE ω a, ω R, ω C a, R C, d aglobal ω a, ω R, ω C (merge id)a, R (merge id)c, d Then TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

79 RULES DETAILS (CONT.) PREMISE ION ω a, ω R, ω C (( v)/( X) id)p, R (( v)/( Z ) id)p, d α = y/ u σ : { y} σ ω a, ω R, σα ω C (K y( X) id)p, R (K u( Z ) id)p, d If (here (s X ) = ( v)/ X)) and (s Z ) = ( v)/ Z ). TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

80 RULES DETAILS (CONT.) CONCLUSION ION ω a, ω R, ω C (( v)/( X) id)p, R (( v)/( Z ) id)p, d α = y/ u σ : { y} σ ω a, ω R, σα ω C (K y( X) id)p, R (K u( Z ) id)p, d Then TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

81 RULES DETAILS (CONT.) PREMISE SWITCH ω a, id ɛ, ω C (σ ω R id) p, id P, d P : W Y σ : W U ω a, ω R, ω C p, ( σ id)(w )P U, d If TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

82 RULES DETAILS (CONT.) CONCLUSION SWITCH ω a, id ɛ, ω C (σ ω R id) p, id P, d P : W Y σ : W U ω a, ω R, ω C p, ( σ id)(w )P U, d Then TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 58 / 61

83 THE SWITCH RULE All rules work, intuitively, by comparing structure in the agent and context position ω a, ω R, ω C a, R C, d. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 59 / 61

84 THE SWITCH RULE All rules work, intuitively, by comparing structure in the agent and context position ω a, ω R, ω C a, R C, d. A single rule, SWITCH, allows us (essentially) to switch redex structure to the context position, when the context contains only a hole. SWITCH ω a, id ɛ, ω C (σ ω R id) p, id P, d P : W Y σ : W U ω a, ω R, ω C p, ( σ id)(w )P α, d TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 59 / 61

85 THE SWITCH RULE All rules work, intuitively, by comparing structure in the agent and context position ω a, ω R, ω C a, id R, d. A single rule, SWITCH, allows us (essentially) to switch redex structure to the context position, when the context contains only a hole. SWITCH ω a, id ɛ, ω C (σ ω R id) p, id P, d P : W Y σ : W U ω a, ω R, ω C p, ( σ id)(w )P α, d Intuitively, SWITCH allows us to build inferences by initially seeking to match agent and context; and, when reaching a hole in the context, switch redex structure to the context position in the matching sentence. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 59 / 61

86 PROOF METHOD (COMPLETENESS) DEFINITION The size of a matching sentence ω a, ω R, ω C a, R C, d is the number of ions in a. PROOF METHOD Establish a series of lemmas that express how a valid sentence may be derived by applications of inference rules to valid sentences of lesser or equal size. Use normal form theorems to help decompose components of given valid sentence; and, verify that the claimed valid sentences, do exist. in particular, unicity results for normal form theorems yield a number of equalities for decomposed parts, which help here. Lemmas and main theorem on following pages. Back to overview TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 60 / 61

87 PROOF METHOD (COMPLETENESS) (CONT.) LEMMA (1) Every valid sentence ω a, ω R, ω C a, R C, d is provable using the CLOSE and the PERM rule on a valid sentence, of equal size, of the form σ a, σ R, σ C a, S n i P i, e. LEMMA (2) Every valid sentence σ a, σ R, σ C a, R P n i P i, d, with P and P i prime and discrete, is provable using the PRODUCT rule on valid sentences, of lesser or equal size, of the form σa P, σr P, σp C σs C p, S P, e and σa C, σr C, σc C σs C a, R n i P i, e. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 61 / 61

88 PROOF METHOD (COMPLETENESS) (CONT.) LEMMA (3) Every valid sentence σ a, σ R, σ C a, R id ɛ, d is provable using PRODUCT and WIRING-AXIOM. LEMMA (4) Every valid sentence ω a, ω R, ω C p, R P, d, with p and P prime and discrete, is provable using the LSUB rule on a valid sentence, of lesser or equal size, of the form ω a, ω R, ω C p, R P, d, where p and P are discrete free primes. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 61 / 61

89 PROOF METHOD (COMPLETENESS) (CONT.) LEMMA (5) Every valid sentence σ a, σ R, σ C p, R P, d, with p and P discrete and free primes, is provable using MERGE, PRODUCT (iterated), and SWITCH rules on valid sentences, each of lesser or equal size, and each on one of two forms: σ a, σ R, σ C pn, id P N, e, where p n and P N are free discrete primes, σ a, σ R, σ C m, S M, e, where m and M are free discrete molecules. LEMMA (6) Every valid sentence σ a, σ R, σ C m, R M, d, with m and M free discrete molecules, is provable using the ION rule on a valid sentence σ a, σ R, σ C p, R P, d, of lesser size, where p and P are discrete primes. LEMMA (7) Every valid sentence σ a, σ R, σ C p, id P, e, with p and P free discrete primes, is provable using the MERGE and PRODUCT (iterated) rules on valid sentences of equal or lesser size, which are either instances of rule PRIME-AXIOM or of the form σ a, σ r, σ M m, R M, d. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 61 / 61

90 PROOF METHOD (COMPLETENESS) (CONT.) THEOREM The rules for matching are complete, that is, any valid matching sentence can be derived from the rules. PROOF. By induction on the size of a sentence. By the lemmas above, we have that all valid sentences with size n can be derived from valid sentences of the form σ a, σ R, σ C m, R M, d, with m and M free discrete molecules, of size less than or equal to n. By Lemma 6, these can be derived from sentences of size less than n. TROELS C. DAMGAARD (ITU) SYNTACTIC THEORY FOR BIGRAPHS ENS, PARIS 61 / 61

Parametric Domain-theoretic models of Linear Abadi & Plotkin Logic

Parametric Domain-theoretic models of Linear Abadi & Plotkin Logic Parametric Domain-theoretic models of Linear Abadi & Plotkin Logic Lars Birkedal Rasmus Ejlers Møgelberg Rasmus Lerchedahl Petersen IT University Technical Report Series TR-00-7 ISSN 600 600 February 00

More information

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without

More information

6.2 Permutations continued

6.2 Permutations continued 6.2 Permutations continued Theorem A permutation on a finite set A is either a cycle or can be expressed as a product (composition of disjoint cycles. Proof is by (strong induction on the number, r, of

More information

CHAPTER 7 GENERAL PROOF SYSTEMS

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

More information

Chapter 7. Permutation Groups

Chapter 7. Permutation Groups Chapter 7 Permutation Groups () We started the study of groups by considering planar isometries In the previous chapter, we learnt that finite groups of planar isometries can only be cyclic or dihedral

More information

Verifying Semantic of System Composition for an Aspect-Oriented Approach

Verifying Semantic of System Composition for an Aspect-Oriented Approach 2012 International Conference on System Engineering and Modeling (ICSEM 2012) IPCSIT vol. 34 (2012) (2012) IACSIT Press, Singapore Verifying Semantic of System Composition for an Aspect-Oriented Approach

More information

Class One: Degree Sequences

Class One: Degree Sequences Class One: Degree Sequences For our purposes a graph is a just a bunch of points, called vertices, together with lines or curves, called edges, joining certain pairs of vertices. Three small examples of

More information

Database Design and Normal Forms

Database Design and Normal Forms Database Design and Normal Forms Database Design coming up with a good schema is very important How do we characterize the goodness of a schema? If two or more alternative schemas are available how do

More information

FIBER PRODUCTS AND ZARISKI SHEAVES

FIBER PRODUCTS AND ZARISKI SHEAVES FIBER PRODUCTS AND ZARISKI SHEAVES BRIAN OSSERMAN 1. Fiber products and Zariski sheaves We recall the definition of a fiber product: Definition 1.1. Let C be a category, and X, Y, Z objects of C. Fix also

More information

Unit 7: Radical Functions & Rational Exponents

Unit 7: Radical Functions & Rational Exponents Date Period Unit 7: Radical Functions & Rational Exponents DAY 0 TOPIC Roots and Radical Expressions Multiplying and Dividing Radical Expressions Binomial Radical Expressions Rational Exponents 4 Solving

More information

Lecture 13 - Basic Number Theory.

Lecture 13 - Basic Number Theory. Lecture 13 - Basic Number Theory. Boaz Barak March 22, 2010 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that A divides B, denoted

More information

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Mathematics Course 111: Algebra I Part IV: Vector Spaces Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are

More information

ECE 842 Report Implementation of Elliptic Curve Cryptography

ECE 842 Report Implementation of Elliptic Curve Cryptography ECE 842 Report Implementation of Elliptic Curve Cryptography Wei-Yang Lin December 15, 2004 Abstract The aim of this report is to illustrate the issues in implementing a practical elliptic curve cryptographic

More information

Functional Dependencies and Finding a Minimal Cover

Functional Dependencies and Finding a Minimal Cover Functional Dependencies and Finding a Minimal Cover Robert Soulé 1 Normalization An anomaly occurs in a database when you can update, insert, or delete data, and get undesired side-effects. These side

More information

Functional Dependencies and Normalization

Functional Dependencies and Normalization Functional Dependencies and Normalization 5DV119 Introduction to Database Management Umeå University Department of Computing Science Stephen J. Hegner hegner@cs.umu.se http://www.cs.umu.se/~hegner Functional

More information

Some Polynomial Theorems. John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA 90405 rkennedy@ix.netcom.

Some Polynomial Theorems. John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA 90405 rkennedy@ix.netcom. Some Polynomial Theorems by John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA 90405 rkennedy@ix.netcom.com This paper contains a collection of 31 theorems, lemmas,

More information

Rotation Matrices and Homogeneous Transformations

Rotation Matrices and Homogeneous Transformations Rotation Matrices and Homogeneous Transformations A coordinate frame in an n-dimensional space is defined by n mutually orthogonal unit vectors. In particular, for a two-dimensional (2D) space, i.e., n

More information

Chapter 9. Systems of Linear Equations

Chapter 9. Systems of Linear Equations Chapter 9. Systems of Linear Equations 9.1. Solve Systems of Linear Equations by Graphing KYOTE Standards: CR 21; CA 13 In this section we discuss how to solve systems of two linear equations in two variables

More information

Simulation-Based Security with Inexhaustible Interactive Turing Machines

Simulation-Based Security with Inexhaustible Interactive Turing Machines Simulation-Based Security with Inexhaustible Interactive Turing Machines Ralf Küsters Institut für Informatik Christian-Albrechts-Universität zu Kiel 24098 Kiel, Germany kuesters@ti.informatik.uni-kiel.de

More information

Boolean Algebra Part 1

Boolean Algebra Part 1 Boolean Algebra Part 1 Page 1 Boolean Algebra Objectives Understand Basic Boolean Algebra Relate Boolean Algebra to Logic Networks Prove Laws using Truth Tables Understand and Use First Basic Theorems

More information

INCIDENCE-BETWEENNESS GEOMETRY

INCIDENCE-BETWEENNESS GEOMETRY INCIDENCE-BETWEENNESS GEOMETRY MATH 410, CSUSM. SPRING 2008. PROFESSOR AITKEN This document covers the geometry that can be developed with just the axioms related to incidence and betweenness. The full

More information

Week 11: Normal Forms. Logical Database Design. Normal Forms and Normalization. Examples of Redundancy

Week 11: Normal Forms. Logical Database Design. Normal Forms and Normalization. Examples of Redundancy Week 11: Normal Forms Database Design Database Redundancies and Anomalies Functional Dependencies Entailment, Closure and Equivalence Lossless Decompositions The Third Normal Form (3NF) The Boyce-Codd

More information

Stochastic Inventory Control

Stochastic Inventory Control Chapter 3 Stochastic Inventory Control 1 In this chapter, we consider in much greater details certain dynamic inventory control problems of the type already encountered in section 1.3. In addition to the

More information

HOLACONF - Cloud Forward 2015 Conference From Distributed to Complete Computing HAMZA. in collaboration SAHLI with

HOLACONF - Cloud Forward 2015 Conference From Distributed to Complete Computing HAMZA. in collaboration SAHLI with HOLACONF - Cloud Forward Conference From Distributed to Complete Computing HAMZA in collaboration SAHLI with Pr. Faiza BELALA and Dr. Chafia BOUANAKA LIRE Laboratory, Constantine II University-Abdelhamid

More information

S on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P =

S on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P = Section 6. 1 Section 6. Groups of Permutations: : The Symmetric Group Purpose of Section: To introduce the idea of a permutation and show how the set of all permutations of a set of n elements, equipped

More information

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA We Can Early Learning Curriculum PreK Grades 8 12 INSIDE ALGEBRA, GRADES 8 12 CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA April 2016 www.voyagersopris.com Mathematical

More information

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS John A. Beachy Northern Illinois University 2014 ii J.A.Beachy This is a supplement to Abstract Algebra, Third Edition by John A. Beachy and William D. Blair

More information

Labeling outerplanar graphs with maximum degree three

Labeling outerplanar graphs with maximum degree three Labeling outerplanar graphs with maximum degree three Xiangwen Li 1 and Sanming Zhou 2 1 Department of Mathematics Huazhong Normal University, Wuhan 430079, China 2 Department of Mathematics and Statistics

More information

Tree-representation of set families and applications to combinatorial decompositions

Tree-representation of set families and applications to combinatorial decompositions Tree-representation of set families and applications to combinatorial decompositions Binh-Minh Bui-Xuan a, Michel Habib b Michaël Rao c a Department of Informatics, University of Bergen, Norway. buixuan@ii.uib.no

More information

ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS

ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS DANIEL RABAYEV AND JACK SONN Abstract. Let f(x) be a monic polynomial in Z[x] with no rational roots but with roots in Q p for

More information

Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams

Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams André Ciré University of Toronto John Hooker Carnegie Mellon University INFORMS 2014 Home Health Care Home health care delivery

More information

Lights and Darks of the Star-Free Star

Lights and Darks of the Star-Free Star Lights and Darks of the Star-Free Star Edward Ochmański & Krystyna Stawikowska Nicolaus Copernicus University, Toruń, Poland Introduction: star may destroy recognizability In (finitely generated) trace

More information

Reducing Clocks in Timed Automata while Preserving Bisimulation

Reducing Clocks in Timed Automata while Preserving Bisimulation Reducing Clocks in Timed Automata while Preserving Bisimulation Shibashis Guha Chinmay Narayan S. Arun-Kumar Indian Institute of Technology Delhi {shibashis, chinmay, sak}@cse.iitd.ac.in arxiv:1404.6613v2

More information

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT? WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT? introduction Many students seem to have trouble with the notion of a mathematical proof. People that come to a course like Math 216, who certainly

More information

Group Theory. Contents

Group Theory. Contents Group Theory Contents Chapter 1: Review... 2 Chapter 2: Permutation Groups and Group Actions... 3 Orbits and Transitivity... 6 Specific Actions The Right regular and coset actions... 8 The Conjugation

More information

System BV is NP-complete

System BV is NP-complete System BV is NP-complete Ozan Kahramanoğulları 1,2 Computer Science Institute, University of Leipzig International Center for Computational Logic, TU Dresden Abstract System BV is an extension of multiplicative

More information

A Propositional Dynamic Logic for CCS Programs

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

More information

Schema Design and Normal Forms Sid Name Level Rating Wage Hours

Schema Design and Normal Forms Sid Name Level Rating Wage Hours Entity-Relationship Diagram Schema Design and Sid Name Level Rating Wage Hours Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke 1 Database Management Systems, 2 nd Edition. R. Ramakrishnan

More information

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called

More information

NOTES ON LINEAR TRANSFORMATIONS

NOTES ON LINEAR TRANSFORMATIONS NOTES ON LINEAR TRANSFORMATIONS Definition 1. Let V and W be vector spaces. A function T : V W is a linear transformation from V to W if the following two properties hold. i T v + v = T v + T v for all

More information

Big Ideas in Mathematics

Big Ideas in Mathematics Big Ideas in Mathematics which are important to all mathematics learning. (Adapted from the NCTM Curriculum Focal Points, 2006) The Mathematics Big Ideas are organized using the PA Mathematics Standards

More information

VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS

VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS MICHAEL DRMOTA, OMER GIMENEZ, AND MARC NOY Abstract. We show that the number of vertices of a given degree k in several kinds of series-parallel labelled

More information

Change Management for Heterogeneous Development Graphs

Change Management for Heterogeneous Development Graphs Change Management for Heterogeneous Development Graphs Serge Autexier, Dieter Hutter, and Till Mossakowski German Research Center for Artificial Intelligence (DFKI GmbH) Bremen, Germany Abstract. The error-prone

More information

Tenacity and rupture degree of permutation graphs of complete bipartite graphs

Tenacity and rupture degree of permutation graphs of complete bipartite graphs Tenacity and rupture degree of permutation graphs of complete bipartite graphs Fengwei Li, Qingfang Ye and Xueliang Li Department of mathematics, Shaoxing University, Shaoxing Zhejiang 312000, P.R. China

More information

Why? A central concept in Computer Science. Algorithms are ubiquitous.

Why? A central concept in Computer Science. Algorithms are ubiquitous. Analysis of Algorithms: A Brief Introduction Why? A central concept in Computer Science. Algorithms are ubiquitous. Using the Internet (sending email, transferring files, use of search engines, online

More information

How To Compare A Markov Algorithm To A Turing Machine

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

More information

1 Sets and Set Notation.

1 Sets and Set Notation. LINEAR ALGEBRA MATH 27.6 SPRING 23 (COHEN) LECTURE NOTES Sets and Set Notation. Definition (Naive Definition of a Set). A set is any collection of objects, called the elements of that set. We will most

More information

Cost Model: Work, Span and Parallelism. 1 The RAM model for sequential computation:

Cost Model: Work, Span and Parallelism. 1 The RAM model for sequential computation: CSE341T 08/31/2015 Lecture 3 Cost Model: Work, Span and Parallelism In this lecture, we will look at how one analyze a parallel program written using Cilk Plus. When we analyze the cost of an algorithm

More information

THREE DIMENSIONAL GEOMETRY

THREE DIMENSIONAL GEOMETRY Chapter 8 THREE DIMENSIONAL GEOMETRY 8.1 Introduction In this chapter we present a vector algebra approach to three dimensional geometry. The aim is to present standard properties of lines and planes,

More information

Mathematics Georgia Performance Standards

Mathematics Georgia Performance Standards Mathematics Georgia Performance Standards K-12 Mathematics Introduction The Georgia Mathematics Curriculum focuses on actively engaging the students in the development of mathematical understanding by

More information

RN-Codings: New Insights and Some Applications

RN-Codings: New Insights and Some Applications RN-Codings: New Insights and Some Applications Abstract During any composite computation there is a constant need for rounding intermediate results before they can participate in further processing. Recently

More information

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions Marcel B. Finan Arkansas Tech University c All Rights Reserved First Draft February 8, 2006 1 Contents 25

More information

facultad de informática universidad politécnica de madrid

facultad de informática universidad politécnica de madrid facultad de informática universidad politécnica de madrid On the Confluence of CHR Analytical Semantics Rémy Haemmerlé Universidad olitécnica de Madrid & IMDEA Software Institute, Spain TR Number CLI2/2014.0

More information

Catalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni- versity.

Catalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni- versity. 7 Catalan Numbers Thomas A. Dowling, Department of Mathematics, Ohio State Uni- Author: versity. Prerequisites: The prerequisites for this chapter are recursive definitions, basic counting principles,

More information

Gröbner Bases and their Applications

Gröbner Bases and their Applications Gröbner Bases and their Applications Kaitlyn Moran July 30, 2008 1 Introduction We know from the Hilbert Basis Theorem that any ideal in a polynomial ring over a field is finitely generated [3]. However,

More information

Quotient Rings and Field Extensions

Quotient Rings and Field Extensions Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.

More information

Chapter 3: Distributed Database Design

Chapter 3: Distributed Database Design Chapter 3: Distributed Database Design Design problem Design strategies(top-down, bottom-up) Fragmentation Allocation and replication of fragments, optimality, heuristics Acknowledgements: I am indebted

More information

Math 10C. Course: Polynomial Products and Factors. Unit of Study: Step 1: Identify the Outcomes to Address. Guiding Questions:

Math 10C. Course: Polynomial Products and Factors. Unit of Study: Step 1: Identify the Outcomes to Address. Guiding Questions: Course: Unit of Study: Math 10C Polynomial Products and Factors Step 1: Identify the Outcomes to Address Guiding Questions: What do I want my students to learn? What can they currently understand and do?

More information

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm. Approximation Algorithms 11 Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of three

More information

Outline 2.1 Graph Isomorphism 2.2 Automorphisms and Symmetry 2.3 Subgraphs, part 1

Outline 2.1 Graph Isomorphism 2.2 Automorphisms and Symmetry 2.3 Subgraphs, part 1 GRAPH THEORY LECTURE STRUCTURE AND REPRESENTATION PART A Abstract. Chapter focuses on the question of when two graphs are to be regarded as the same, on symmetries, and on subgraphs.. discusses the concept

More information

In this section, you will develop a method to change a quadratic equation written as a sum into its product form (also called its factored form).

In this section, you will develop a method to change a quadratic equation written as a sum into its product form (also called its factored form). CHAPTER 8 In Chapter 4, you used a web to organize the connections you found between each of the different representations of lines. These connections enabled you to use any representation (such as a graph,

More information

Andrew Pitts chapter for D. Sangorgi and J. Rutten (eds), Advanced Topics in Bisimulation and Coinduction, Cambridge Tracts in Theoretical Computer

Andrew Pitts chapter for D. Sangorgi and J. Rutten (eds), Advanced Topics in Bisimulation and Coinduction, Cambridge Tracts in Theoretical Computer Andrew Pitts chapter for D. Sangorgi and J. Rutten (eds), Advanced Topics in Bisimulation and Coinduction, Cambridge Tracts in Theoretical Computer Science No. 52, chapter 5, pages 197 232 ( c 2011 CUP)

More information

Elements of Abstract Group Theory

Elements of Abstract Group Theory Chapter 2 Elements of Abstract Group Theory Mathematics is a game played according to certain simple rules with meaningless marks on paper. David Hilbert The importance of symmetry in physics, and for

More information

A Framework for the Semantics of Behavioral Contracts

A Framework for the Semantics of Behavioral Contracts A Framework for the Semantics of Behavioral Contracts Ashley McNeile Metamaxim Ltd, 48 Brunswick Gardens, London W8 4AN, UK ashley.mcneile@metamaxim.com Abstract. Contracts have proved a powerful concept

More information

Extension of measure

Extension of measure 1 Extension of measure Sayan Mukherjee Dynkin s π λ theorem We will soon need to define probability measures on infinite and possible uncountable sets, like the power set of the naturals. This is hard.

More information

Cycle transversals in bounded degree graphs

Cycle transversals in bounded degree graphs Electronic Notes in Discrete Mathematics 35 (2009) 189 195 www.elsevier.com/locate/endm Cycle transversals in bounded degree graphs M. Groshaus a,2,3 P. Hell b,3 S. Klein c,1,3 L. T. Nogueira d,1,3 F.

More information

RN-coding of Numbers: New Insights and Some Applications

RN-coding of Numbers: New Insights and Some Applications RN-coding of Numbers: New Insights and Some Applications Peter Kornerup Dept. of Mathematics and Computer Science SDU, Odense, Denmark & Jean-Michel Muller LIP/Arénaire (CRNS-ENS Lyon-INRIA-UCBL) Lyon,

More information

A first step towards modeling semistructured data in hybrid multimodal logic

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

More information

Relational Database Design

Relational Database Design Relational Database Design To generate a set of relation schemas that allows - to store information without unnecessary redundancy - to retrieve desired information easily Approach - design schema in appropriate

More information

Bargaining Solutions in a Social Network

Bargaining Solutions in a Social Network Bargaining Solutions in a Social Network Tanmoy Chakraborty and Michael Kearns Department of Computer and Information Science University of Pennsylvania Abstract. We study the concept of bargaining solutions,

More information

Solutions to Homework 10

Solutions to Homework 10 Solutions to Homework 1 Section 7., exercise # 1 (b,d): (b) Compute the value of R f dv, where f(x, y) = y/x and R = [1, 3] [, 4]. Solution: Since f is continuous over R, f is integrable over R. Let x

More information

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm. Approximation Algorithms Chapter Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of

More information

KNOWLEDGE FACTORING USING NORMALIZATION THEORY

KNOWLEDGE FACTORING USING NORMALIZATION THEORY KNOWLEDGE FACTORING USING NORMALIZATION THEORY J. VANTHIENEN M. SNOECK Katholieke Universiteit Leuven Department of Applied Economic Sciences Dekenstraat 2, 3000 Leuven (Belgium) tel. (+32) 16 28 58 09

More information

Reminder: Complexity (1) Parallel Complexity Theory. Reminder: Complexity (2) Complexity-new

Reminder: Complexity (1) Parallel Complexity Theory. Reminder: Complexity (2) Complexity-new Reminder: Complexity (1) Parallel Complexity Theory Lecture 6 Number of steps or memory units required to compute some result In terms of input size Using a single processor O(1) says that regardless of

More information

Reminder: Complexity (1) Parallel Complexity Theory. Reminder: Complexity (2) Complexity-new GAP (2) Graph Accessibility Problem (GAP) (1)

Reminder: Complexity (1) Parallel Complexity Theory. Reminder: Complexity (2) Complexity-new GAP (2) Graph Accessibility Problem (GAP) (1) Reminder: Complexity (1) Parallel Complexity Theory Lecture 6 Number of steps or memory units required to compute some result In terms of input size Using a single processor O(1) says that regardless of

More information

4. FIRST STEPS IN THE THEORY 4.1. A

4. FIRST STEPS IN THE THEORY 4.1. A 4. FIRST STEPS IN THE THEORY 4.1. A Catalogue of All Groups: The Impossible Dream The fundamental problem of group theory is to systematically explore the landscape and to chart what lies out there. We

More information

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010. Class 4 Nancy Lynch

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010. Class 4 Nancy Lynch 6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010 Class 4 Nancy Lynch Today Two more models of computation: Nondeterministic Finite Automata (NFAs)

More information

Software Modeling and Verification

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

More information

Transition To College Mathematics

Transition To College Mathematics Transition To College Mathematics In Support of Kentucky s College and Career Readiness Program Northern Kentucky University Kentucky Online Testing (KYOTE) Group Steve Newman Mike Waters Janis Broering

More information

A Type System for Data-Flow Integrity on Windows Vista

A Type System for Data-Flow Integrity on Windows Vista A Type System for Data-Flow Integrity on Windows Vista Avik Chaudhuri University of California at Santa Cruz avik@cs.ucsc.edu Prasad Naldurg Sriram Rajamani Microsoft Research India {prasadn,sriram}@microsoft.com

More information

GENERATING SETS KEITH CONRAD

GENERATING SETS KEITH CONRAD GENERATING SETS KEITH CONRAD 1 Introduction In R n, every vector can be written as a unique linear combination of the standard basis e 1,, e n A notion weaker than a basis is a spanning set: a set of vectors

More information

OPRE 6201 : 2. Simplex Method

OPRE 6201 : 2. Simplex Method OPRE 6201 : 2. Simplex Method 1 The Graphical Method: An Example Consider the following linear program: Max 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2

More information

Mechanisms for Fair Attribution

Mechanisms for Fair Attribution Mechanisms for Fair Attribution Eric Balkanski Yaron Singer Abstract We propose a new framework for optimization under fairness constraints. The problems we consider model procurement where the goal is

More information

A REMARK ON ALMOST MOORE DIGRAPHS OF DEGREE THREE. 1. Introduction and Preliminaries

A REMARK ON ALMOST MOORE DIGRAPHS OF DEGREE THREE. 1. Introduction and Preliminaries Acta Math. Univ. Comenianae Vol. LXVI, 2(1997), pp. 285 291 285 A REMARK ON ALMOST MOORE DIGRAPHS OF DEGREE THREE E. T. BASKORO, M. MILLER and J. ŠIRÁŇ Abstract. It is well known that Moore digraphs do

More information

Composing with Numbers: Arnold Schoenberg and His Twelve-Tone Method

Composing with Numbers: Arnold Schoenberg and His Twelve-Tone Method Composing with Numbers: Arnold Schoenberg and His Twelve-Tone Method Gareth E. Roberts Department of Mathematics and Computer Science College of the Holy Cross Worcester, MA Math/Music: Aesthetic Links

More information

A CONSTRUCTION OF THE UNIVERSAL COVER AS A FIBER BUNDLE

A CONSTRUCTION OF THE UNIVERSAL COVER AS A FIBER BUNDLE A CONSTRUCTION OF THE UNIVERSAL COVER AS A FIBER BUNDLE DANIEL A. RAMRAS In these notes we present a construction of the universal cover of a path connected, locally path connected, and semi-locally simply

More information

Schema Refinement and Normalization

Schema Refinement and Normalization Schema Refinement and Normalization Module 5, Lectures 3 and 4 Database Management Systems, R. Ramakrishnan 1 The Evils of Redundancy Redundancy is at the root of several problems associated with relational

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 Proofs Intuitively, the concept of proof should already be familiar We all like to assert things, and few of us

More information

CS510 Software Engineering

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

More information

Metric Spaces. Chapter 1

Metric Spaces. Chapter 1 Chapter 1 Metric Spaces Many of the arguments you have seen in several variable calculus are almost identical to the corresponding arguments in one variable calculus, especially arguments concerning convergence

More information

Fairness in Routing and Load Balancing

Fairness in Routing and Load Balancing Fairness in Routing and Load Balancing Jon Kleinberg Yuval Rabani Éva Tardos Abstract We consider the issue of network routing subject to explicit fairness conditions. The optimization of fairness criteria

More information

Effective Page Refresh Policies For Web Crawlers

Effective Page Refresh Policies For Web Crawlers Effective Page Refresh Policies For Web Crawlers JUNGHOO CHO University of California, Los Angeles and HECTOR GARCIA-MOLINA Stanford University In this paper we study how we can maintain local copies of

More information

Notes from February 11

Notes from February 11 Notes from February 11 Math 130 Course web site: www.courses.fas.harvard.edu/5811 Two lemmas Before proving the theorem which was stated at the end of class on February 8, we begin with two lemmas. The

More information

Fair testing vs. must testing in a fair setting

Fair testing vs. must testing in a fair setting Fair testing vs. must testing in a fair setting Tom Hirschowitz and Damien Pous Amsterdam, Novembre 2010 Laboratoire de Mathématiques Université de Savoie UMR 5127 Tom Hirschowitz and Damien Pous Fair

More information

Towards Optimal Firewall Rule Ordering Utilizing Directed Acyclical Graphs

Towards Optimal Firewall Rule Ordering Utilizing Directed Acyclical Graphs Towards Optimal Firewall Rule Ordering Utilizing Directed Acyclical Graphs Ashish Tapdiya and Errin W. Fulp Department of Computer Science Wake Forest University Winston Salem, NC, USA nsg.cs.wfu.edu Email:

More information

On the k-path cover problem for cacti

On the k-path cover problem for cacti On the k-path cover problem for cacti Zemin Jin and Xueliang Li Center for Combinatorics and LPMC Nankai University Tianjin 300071, P.R. China zeminjin@eyou.com, x.li@eyou.com Abstract In this paper we

More information

Chapter 7: Products and quotients

Chapter 7: Products and quotients Chapter 7: Products and quotients Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 42, Spring 24 M. Macauley (Clemson) Chapter 7: Products

More information

(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. (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 (,,,,

More information

Which Semantics for Neighbourhood Semantics?

Which Semantics for Neighbourhood Semantics? Which Semantics for Neighbourhood Semantics? Carlos Areces INRIA Nancy, Grand Est, France Diego Figueira INRIA, LSV, ENS Cachan, France Abstract In this article we discuss two alternative proposals for

More information

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S.

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S. Definition 51 Let S be a set bijection f : S S 5 Permutation groups A permutation of S is simply a Lemma 52 Let S be a set (1) Let f and g be two permutations of S Then the composition of f and g is a

More information