15.7.2008 Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der.

Slides:



Advertisements
Similar presentations
Software Verification 2 Automated Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität and Fraunhofer Institut für.
Advertisements

Automated Theorem Proving Lecture 1. Program verification is undecidable! Given program P and specification S, does P satisfy S?
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Temporal Logic and the NuSMV Model Checker CS 680 Formal Methods Jeremy Johnson.
Software Engineering & Automated Deduction Willem Visser Stellenbosch University With Nikolaj Bjorner (Microsoft Research, Redmond) Natarajan Shankar (SRI.
CS6133 Software Specification and Verification
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
1 Semantic Description of Programming languages. 2 Static versus Dynamic Semantics n Static Semantics represents legal forms of programs that cannot be.
Formal Methods in Software Engineering Credit Hours: 3+0 By: Qaisar Javaid Assistant Professor Formal Methods in Software Engineering1.
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt.
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der.
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt.
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der.
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt.
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt.
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt.
SEERE, Neum 2009 Runtime verification of Java programs using ITL Vladimir Valkanov, Damyan Mitev Plovdiv, Bulgaria.
Information Security of Embedded Systems : Public Key Cryptosystems, Communication Prof. Dr. Holger Schlingloff Institut für Informatik und Fraunhofer.
Course Summary. © Katz, 2003 Formal Specifications of Complex Systems-- Real-time 2 Topics (1) Families of specification methods, evaluation criteria.
Temporal Logic of Actions (TLA) Leslie Lamport
Course Summary. © Katz, 2007 Formal Specifications of Complex Systems-- Real-time 2 Topics (1) Families of specification methods, evaluation criteria.
School of Computer ScienceG53FSP Formal Specification1 Dr. Rong Qu Introduction to Formal Specification
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der.
Cormac Flanagan University of California, Santa Cruz Hybrid Type Checking.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Information Security of Embedded Systems : Logics and Proof Methods, Wrap-Up Prof. Dr. Holger Schlingloff Institut für Informatik und Fraunhofer.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Extra slides for Chapter 3: Adequacy of connectives Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;
A Logic for Decidable Reasoning about Services Yilan Gu Dept. of Computer Science University of Toronto Mikhail Soutchanski Dept. of Computer Science Ryerson.
Software Verification 2 Automated Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität and Fraunhofer Institut für.
Software Verification 2 Automated Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität and Fraunhofer Institut für.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
- r r Saturation-Based Decision Procedures and Complexity Analysis Yevgeny Kazakov R. 615 Applications Add semantic markup to a.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Allen Linear Temporal Logic Translation to LTL and Monitor Synthesis Grigore Rosu (University of Illinois at U-C) Saddek Bensalem (VERIMAG)
Software Verification 2 Automated Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität and Fraunhofer Institut für.
Ch. 13 Ch. 131 jcmt CSE 3302 Programming Languages CSE3302 Programming Languages (notes?) Dr. Carter Tiernan.
12/9/20151 Programming Languages and Compilers (CS 421) Elsa L Gunter 2112 SC, UIUC Based in part on slides by Mattox.
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 05/06 Universität Dortmund Validation - Formal verification -
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Chapter 17. Assertions State Assertion – predicate intended to express that a descriptive or prescriptive property holds in an arbitrarily chose current.
Verification & Validation By: Amir Masoud Gharehbaghi
From Hoare Logic to Matching Logic Reachability Grigore Rosu and Andrei Stefanescu University of Illinois, USA.
Static Techniques for V&V. Hierarchy of V&V techniques Static Analysis V&V Dynamic Techniques Model Checking Simulation Symbolic Execution Testing Informal.
1 CSEP590 – Model Checking and Automated Verification Lecture outline for July 9, 2003.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer.
Lecture 4 Correctness and Fairness Verification and Assurance.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Software Verification 2 Automated Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität and Fraunhofer Institut für.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Software Verification 2 Automated Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität and Fraunhofer Institut für.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer.
Model Checking Early Requirements Specifications in Tropos Presented by Chin-Yi Tsai.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
SS 2017 Software Verification Timed Automata
SS 2017 Software Verification Bounded Model Checking, Outlook
Software Verification 2 Automated Verification
SS 2017 Software Verification LTL monitoring
SS 2017 Software Verification Software Model Checking 2 - Parallelism
SS 2018 Software Verification LTL Satisfiability applied
SS 2018 Software Verification ML, state machines
SS 2017 Software Verification CTL model checking, BDDs
SS 2017 Software Verification Tableaus, CTL model checking
Software Verification 2 Automated Verification
Software Verification 2 Automated Verification
Software Verification 2 Automated Verification
Formal Methods in software development
Presentation transcript:

Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität and Fraunhofer Institut für Rechnerarchitektur und Softwaretechnik

Slide 2 H. Schlingloff, Logical Specification Temporal logic Description of the dynamics of systems  Model checking of hardware  “Software model checking”: research Linear and branching time logic Temporal assertions languages  SPL, ForSpec, PSL (IEEE Standard)

Slide 3 H. Schlingloff, Logical Specification Example: Coffee Machine

Slide 4 H. Schlingloff, Logical Specification SDL Description

Slide 5 H. Schlingloff, Logical Specification SPL Properties

Slide 6 H. Schlingloff, Logical Specification Towards Temporal Logic

Slide 7 H. Schlingloff, Logical Specification Definability F+ can define F* X and F* can define F+ F* without X can not define F+ Similarly, interval properties can not be expressed

Slide 8 H. Schlingloff, Logical Specification Temporal logic “Modal logic with ‘until’”

Slide 9 H. Schlingloff, Logical Specification Examples

Slide 10 H. Schlingloff, Logical Specification Other connectives

Slide 11 H. Schlingloff, Logical Specification Definability U + can define U*  similar as above, U* can not define U + Unless- or Weak-until- operator In natural models it holds that

Slide 12 H. Schlingloff, Logical Specification The Glory of the Past First order logic can use inverse relations: R -1 (x,y) iff R(y,x) In temporal logic, use past-operators

Slide 13 H. Schlingloff, Logical Specification Declarative Past and Imperative Future Gabbay argues for the following normal form (φ  ψ) where φ is a pure past or present declarative formula, and ψ is a pure future imperative formula Executable temporal logic Tempura programming language (Mostowsky)  TLA Temporal logic of actions (Lamport)

Slide 14 H. Schlingloff, Logical Specification Temporal Logic and First Order Logic Standard Translation

Slide 15 H. Schlingloff, Logical Specification Two- and Three Variable Fragment FOL gives for each temporal formula a first order formula with exactly one free variable For modal logic, FOL can be refined such that the resulting formula uses only two bound variables (reuse variables inside). For the until-operator, three variables are needed and sufficient. Certain first-order theories (e.g. the theory of complete linear orders) are also in the three-variable fragment. Translation from first order formulas of these theories into temporal logic?

Slide 16 H. Schlingloff, Logical Specification Expressive completeness TL is called expressively complete for a certain class of models, if for every first order formula there is an equivalent temporal one  Natural model: isomorphic to the integers  Linear model: all points linearly ordered  Complete linear order: limits exist Kamp’s theorem: TL is expressively complete for complete linear orders

Slide 17 H. Schlingloff, Logical Specification Wrap-Up What has been achieved  logics: propositional logic, first-order logic, Z, B, OCL, Spec#  methods: normalization, model checking, theorem proving, assertional reasoning, test generation  tools: COQ, NuSMV, CZT, Octopus, SpecExplorer What remains to be done  other logics: ZFC (set theory), HOL (higher-order logic), VDM, OZ (object-Z), LTL/CTL, TLA+, ForSpec, Sugar/PSL  other methods: static analysis, handling of pointers, worst case execution time (WCET) estimation, run-time monitoring, …  more tools: integrated proof assistants (e.g. proof general, ACE assertion checking environment, Frama-C, …)

Slide 18 H. Schlingloff, Logical Specification Questions?

Slide 19 H. Schlingloff, Logical Specification Examination sample dialog?