specification and analysis of contracts lecture 7
play

Specification and Analysis of Contracts Lecture 7 Specification of - PowerPoint PPT Presentation

Specification and Analysis of Contracts Lecture 7 Specification of Deontic Contracts Using CL Gerardo Schneider gerardo@ifi.uio.no http://folk.uio.no/gerardo/ Department of Informatics, University of Oslo SEFM School, Oct. 27 - Nov. 7,


  1. Specification and Analysis of Contracts Lecture 7 Specification of ’Deontic’ Contracts Using CL Gerardo Schneider gerardo@ifi.uio.no http://folk.uio.no/gerardo/ Department of Informatics, University of Oslo SEFM School, Oct. 27 - Nov. 7, 2008 Cape Town, South Africa university-logo Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 1 / 27

  2. Plan of the Course 1 Introduction 2 Components, Services and Contracts 3 Background: Modal Logics 1 4 Background: Modal Logics 2 5 Deontic Logic 6 Challenges in Defining a Good Contract language 7 Specification of ’Deontic’ Contracts ( CL ) 8 Verification of ’Deontic’ Contracts 9 Exercises 10 Exercises and Summary university-logo Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 2 / 27

  3. Plan The Contract Language CL 1 Properties of the Language 2 university-logo Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 3 / 27

  4. Plan The Contract Language CL 1 Properties of the Language 2 university-logo Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 4 / 27

  5. Aim and Motivation Use deontic e-contracts to ‘rule’ services exchange (e.g., web services and component-based development) 1 Give a formal language for specifying/writing contracts 2 Analyze contracts “internally” Detect contradictions/inconsistencies statically Determine the obligations (permissions, prohibitions) of a signatory Detect superfluous contract clauses 3 Tackle the negotiation process (automatically?) 4 Develop a theory of contracts Contract composition Subcontracting Conformance between a contract and the governing policies Meta-contracts (policies) 5 Monitor contracts Run-time system to ensure the contract is respected university-logo In case of contract violations, act accordingly Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 5 / 27

  6. Aim and Motivation Use deontic e-contracts to ‘rule’ services exchange (e.g., web services and component-based development) 1 Give a formal language for specifying/writing contracts 2 Analyze contracts “internally” Detect contradictions/inconsistencies statically Determine the obligations (permissions, prohibitions) of a signatory Detect superfluous contract clauses 3 Tackle the negotiation process (automatically?) 4 Develop a theory of contracts Contract composition Subcontracting Conformance between a contract and the governing policies Meta-contracts (policies) 5 Monitor contracts Run-time system to ensure the contract is respected university-logo In case of contract violations, act accordingly Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 5 / 27

  7. Aim and Motivation Use deontic e-contracts to ‘rule’ services exchange (e.g., web services and component-based development) 1 Give a formal language for specifying/writing contracts 2 Analyze contracts “internally” Detect contradictions/inconsistencies statically Determine the obligations (permissions, prohibitions) of a signatory Detect superfluous contract clauses 3 Tackle the negotiation process (automatically?) 4 Develop a theory of contracts Contract composition Subcontracting Conformance between a contract and the governing policies Meta-contracts (policies) 5 Monitor contracts Run-time system to ensure the contract is respected university-logo In case of contract violations, act accordingly Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 5 / 27

  8. Aim and Motivation Use deontic e-contracts to ‘rule’ services exchange (e.g., web services and component-based development) 1 Give a formal language for specifying/writing contracts 2 Analyze contracts “internally” Detect contradictions/inconsistencies statically Determine the obligations (permissions, prohibitions) of a signatory Detect superfluous contract clauses 3 Tackle the negotiation process (automatically?) 4 Develop a theory of contracts Contract composition Subcontracting Conformance between a contract and the governing policies Meta-contracts (policies) 5 Monitor contracts Run-time system to ensure the contract is respected university-logo In case of contract violations, act accordingly Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 5 / 27

  9. Aim and Motivation Use deontic e-contracts to ‘rule’ services exchange (e.g., web services and component-based development) 1 Give a formal language for specifying/writing contracts 2 Analyze contracts “internally” Detect contradictions/inconsistencies statically Determine the obligations (permissions, prohibitions) of a signatory Detect superfluous contract clauses 3 Tackle the negotiation process (automatically?) 4 Develop a theory of contracts Contract composition Subcontracting Conformance between a contract and the governing policies Meta-contracts (policies) 5 Monitor contracts Run-time system to ensure the contract is respected university-logo In case of contract violations, act accordingly Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 5 / 27

  10. Aim and Motivation Use deontic e-contracts to ‘rule’ services exchange (e.g., web services and component-based development) 1 Give a formal language for specifying/writing contracts 2 Analyze contracts “internally” Detect contradictions/inconsistencies statically Determine the obligations (permissions, prohibitions) of a signatory Detect superfluous contract clauses 3 Tackle the negotiation process (automatically?) 4 Develop a theory of contracts Contract composition Subcontracting Conformance between a contract and the governing policies Meta-contracts (policies) 5 Monitor contracts Run-time system to ensure the contract is respected university-logo In case of contract violations, act accordingly Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 5 / 27

  11. A Formal Language for Contracts A precise and concise syntax and a formal semantics Expressive enough as to capture natural contract clauses Restrictive enough to avoid (deontic) paradoxes and be amenable to formal analysis Model checking Deductive verification Allow representation of complex clauses: conditional obligations, permissions, and prohibitions Allow specification of (nested) contrary-to-duty (CTD) and contrary-to-prohibition (CTP) CTD: when an obligation is not fulfilled CTP: when a prohibition is violated We want to combine The logical approach (e.g., dynamic, temporal, deontic logic) The automata-like approach (labelled Kripke structures) university-logo Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 6 / 27

  12. A Formal Language for Contracts A precise and concise syntax and a formal semantics Expressive enough as to capture natural contract clauses Restrictive enough to avoid (deontic) paradoxes and be amenable to formal analysis Model checking Deductive verification Allow representation of complex clauses: conditional obligations, permissions, and prohibitions Allow specification of (nested) contrary-to-duty (CTD) and contrary-to-prohibition (CTP) CTD: when an obligation is not fulfilled CTP: when a prohibition is violated We want to combine The logical approach (e.g., dynamic, temporal, deontic logic) The automata-like approach (labelled Kripke structures) university-logo Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 6 / 27

  13. The Contract Specification Language CL Definition ( CL ) C ontract := D ; C C := C O | C P | C F | C ∧ C | [ α ] C | � α �C | C U C | � C | � C C O := O ( α ) | C O ⊕ C O C P := P ( α ) | C P ⊕ C P C F := F ( α ) | C F ∨ [ α ] C F O ( α ) , P ( α ) , F ( α ) specify obligation, permission (rights), and prohibition (forbidden) over actions α are actions given in the definition part D + choice · concatenation (sequencing) & concurrency φ ? test ∧ , ∨ , and ⊕ are conjunction, disjunction, and exclusive disjunction [ α ] and � α � are the action parameterized modalities of dynamic logic university-logo U , � , and � correspond to temporal logic operators Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 7 / 27

  14. The Contract Specification Language CL Definition ( CL ) C ontract := D ; C C := C O | C P | C F | C ∧ C | [ α ] C | � α �C | C U C | � C | � C C O := O ( α ) | C O ⊕ C O C P := P ( α ) | C P ⊕ C P C F := F ( α ) | C F ∨ [ α ] C F O ( α ) , P ( α ) , F ( α ) specify obligation, permission (rights), and prohibition (forbidden) over actions α are actions given in the definition part D + choice · concatenation (sequencing) & concurrency φ ? test ∧ , ∨ , and ⊕ are conjunction, disjunction, and exclusive disjunction [ α ] and � α � are the action parameterized modalities of dynamic logic university-logo U , � , and � correspond to temporal logic operators Gerardo Schneider (UiO) Specification and Analysis of e-Contracts SEFM, 3-7 Nov 2008 7 / 27

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend