Prof. Dr. Holger Schlingloff

Slides:



Advertisements
Ähnliche Präsentationen
Finding the Pattern You Need: The Design Pattern Intent Ontology
Advertisements

H - A - M - L - E - IC T Teachers Acting Patterns while Teaching with New Media in the Subjects German, Mathematics and Computer Science Prof. S. Blömeke,
R. Zankl – Ch. Oelschlegel – M. Schüler – M. Karg – H. Obermayer R. Gottanka – F. Rösch – P. Keidler – A. Spangler th Expert Meeting Business.
Question words and word order
Fakultät für informatik informatik 12 technische universität dortmund Optimizations Peter Marwedel TU Dortmund Informatik 12 Germany 2009/01/17 Graphics:
Fakultät für informatik informatik 12 technische universität dortmund Specifications Peter Marwedel TU Dortmund, Informatik 12 Graphics: © Alexandra Nolte,
Peter Marwedel TU Dortmund, Informatik 12
Fakultät für informatik informatik 12 technische universität dortmund Hardware/Software Partitioning Peter Marwedel Informatik 12 TU Dortmund Germany Chapter.
Formation of Questions in German
Stärken-Schwächen- Chancen-Risken Lernziele: to talk about future job possibilities to develop the ability to compare and contrast to confidently use present,
Wozu die Autokorrelationsfunktion?
Thomas Herrmann Software - Ergonomie bei interaktiven Medien Step 6: Ein/ Ausgabe Instrumente (Device-based controls) Trackball. Joystick.
This presentation is timed so you will only need to click on the left mouse button when it is time to move to the next slide. Right click on this screen.
Haben – to have ich habe du hast er/sie hat es hat man hat wir haben
Die Hausaufgaben: Machen Sie Ü. 7 auf S. 29
HAW Hamburg, CARPE 2011, Prof. Dr. Rüdiger Weißbach, Revision : Bridging the Communication Gap in IT Projects - Enabling Non-IT Professionals.
Zu + Infinitiv : eine Erklärung
Question words and word order By the end of this lesson you will have revised question words By the end of this lesson you will be able to use question.
Laurie Clarcq The purpose of language, used in communication, is to create a picture in the mind and/or the heart of another.
Institut AIFB, Universität Karlsruhe (TH) Forschungsuniversität gegründet 1825 Towards Automatic Composition of Processes based on Semantic.
| DC-IAP/SVC3 | © Bosch Rexroth Pneumatics GmbH This document, as well as the data, specifications and other information set forth in.
Das Perfekt (Present Perfect Tense). Think of 5 things you did in your holidays but think of sentences in the PRESENT TENSE. 1.Am Montag schlafe ich viel.
Starter: Match-up 1.Ich spiele… 2.Ich höre… 3.Ich telefoniere… 4.Ich sehe… 5.Ich surfe … 6.Ich gehe auf … 7.Ich treibe … 8.Ich spiele ein … 9.Ich sammele.
VOCABULARY SOCCER QUESTIONS PRESENT CONTINOUS WORDLIST – CELL PHONE Unit 2 - Trainer.
Handy Verbs Future Tense With the Angry Family will.
Morphology and Syntax More on sentence structure.
BAS5SE | Fachhochschule Hagenberg | Daniel Khan | S SPR5 MVC Plugin Development SPR6P.
Deutsch 1 G Stunde. Dienstag, der 11. September 2012 Deutsch 1 (G Stunde)Heute ist ein E - Tag Unit: Introduction to German & Germany Objectives: Learn.
Ich möchte ein Eisberg sein. Last time … 3 icebergs Triangels Unique connections Ich möchte ein Eisberg sein
Christoph Durt: Wittgenstein on the possibility of philosophy: The importance of an intercultural approach
Deutsch 1 G Stunde. Montag, der 10. September 2012 Deutsch 1 (G Stunde)Heute ist ein D - Tag Unit: Introduction to German & Germany Objectives: Introducing.
Meine Schulfächer.
Wie komme ich zu..... ? (how do I get to....?)
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
INTAKT- Interkulturelle Berufsfelderkundungen als ausbildungsbezogene Lerneinheiten in berufsqualifizierenden Auslandspraktika DE/10/LLP-LdV/TOI/
DEUTSCHLAND UND DIE MEDIEN
Learning Target / Lernziel: 1.Hausaufgabenkontrolle (Vok 1-1) 2.Kultur 3.Forming questions Heute ist Dienstag, der 3. September 2013 Hausaufgaben GH #1,#2.
Guten Morgen!.
Quick Review! Pronouns Ich = I Du = you Er = he Sie = she Es = it
Verben Wiederholung Deutsch III Notizen.
Modal Verbs Modal verbs are not action verbs!
Kölner Karneval By Logan Mack
Einführung Bild und Erkenntnis Einige Probleme Fazit Eberhard Karls Universität Tübingen Philosophische Fakultät Institut für Medienwissenschaft Epistemic.
Ein Projekt des Technischen Jugendfreizeit- und Bildungsvereins (tjfbv) e.V. kommunizieren.de Blended Learning for people with disabilities.
“Weil” und “Denn”.
The most obvious or direct use of auch is to mean also. Ich möchte auch Gitarre lernen. Auch ich möchte Gitarre lernen. I would like to learn Guitar. Someone.
The cheating verbs… (modal verbs). Modal Verb Chart wollenmüssenkönnenmögensollendürfenmöchten Ichwillmusskannmagsolldarfmöchte Duwillstmusstkannstmagstsollstdarfstmöchtest.
Hätte gern vs. Möchte gern
Heute ist Montag, der 17. September 2012: Lernziel: 1.Diskussion: Sprechen 2.Wie kommst du zur Schule? 3.Leseverständnis (Reading Comprehension) 4.Quiz.
Deutsch Eins Guten Morgen! O Heute ist Mittwoch! O Das Ziel: You will ask/answer questions about yourself and others O You will conjugate.
Negation is when you dont have or dont do something.
Adjectiv Endungen Lite: Adjective following articles and pre-ceeding nouns. Colors and Clothes.
Dative Prepositions. The dative case always follows these prepositions: – aus – out of, from, (from – place of origin) – außer – besides, except – bei.
Greetings and goodbyes Deutschland v. USA
Sentence Structure Subject and verb are always together. Subject and verb are always together. Subject and verb must agree Subject and verb must agree.
KIT – die Kooperation von Forschungszentrum Karlsruhe GmbH und Universität Karlsruhe (TH) Vorlesung Knowledge Discovery - Institut AIFB Tempus fugit Towards.
DEUTSCHE VERBEN I. REGULAR VERBS.
Separable Verbs Turn to page R22 in your German One Book R22 is in the back of the book There are examples at the top of the page.
1 Intern | ST-IN/PRM-EU | | © Robert Bosch GmbH Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung,
Plusquamperfekt The past of the past.
THE PERFECT TENSE IN GERMAN
Technische Universität München 1 CADUI' June FUNDP Namur G B I The FUSE-System: an Integrated User Interface Design Environment Frank Lonczewski.
By Martin L. Loeffler.  The basic sentence has a subject and a verb.  The subject and verb need to be together.  The subject and verb need to agree.
I will be able to use the verb gefallen (Seite 137)
Lernziel: Asking what you should do LZ: COMMANDS.
1.Usage/Purpose 2.Forms Present Tense Simple Past Tense 2.Meanings 3.Word Order/Placement modal + infinitive omission of infinitives 4. Saying what you.
Qualitätssicherung von Software Prof. Dr. Holger Schlingloff Humboldt-Universität zu Berlin und Fraunhofer FIRST.
Learning Target / Lernziel:
COMMANDS imperative 1. you (formal): Sie 2. you (familiar plural): ihr
 Präsentation transkript:

Formale Methoden der Systemspezifikation Logische Spezifikation von Hard- und Software Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut für Rechnerarchitektur und Softwaretechnik 15.4.2008

Aufbau der Veranstaltung Blockkurs „Algebraische Spezifikation von Software und Hardware“ Dr. Markus Roggenbach, Univ. Swansea voraussichtlich 23.-25.5. und 30.5.-1.6.2008 (n.V.) wie im SS2007 (VL & Ü) Vorlesung (2SWS) „Logische Spezifikation“ diese Veranstaltung Übungsaufgaben zur VL Dipl. Inf. Jan Calta, CZ Bearbeitung zum Bestehen der Prüfung essentiell 15.4.2008

Lernziele Kenntnisse über formale Spezifikationsmethoden zur Festlegung der Funktion von Systemen Historische Entwicklung, Stärken/Schwächen, Möglichkeiten und Grenzen Fähigkeiten, diese für praktische Anwendungen einsetzen zu können Spielbeispiele / realistische Systeme industrielles Interesse (vgl. IEC61508) Umgang mit formalen Werkzeugen Checker, Prover, Transformatoren, … 15.4.2008

Einordnung praktische Informatik Spezifikation ist Teil der Systementwicklung Bezug zur theoretischer Informatik Verwandtes Modul: „Methoden und Modelle des Systementwurfs“ (W. Reisig) Fokus: hier Spezifikation, dort Modellierung fließende Übergänge, aber kaum Überlappung Methodenwissen ähnlich Weitere Bezüge Modellbasierte Softwareentwicklung (J. Fischer) Logik, Spiele und Automaten (M. Grohe) … 15.4.2008

weitere Ankündigungen Einschreibung in GOYA? Studien- und Diplomarbeiten Jobs bei FIRST Sokrates-Austausch mit UWales@Swansea Folien in Englisch? 15.4.2008

Definition of Terms System = „something composed“, i.e., everything here only: computational system (SW/HW) computation = transformation or transport of information Specification = written description of a system „species facere“, making something visible can be informal or formal (we consider formal specs only) Formal = in a certain fixed appearance syntax, semantics, derivation Logic = principles of reasoning logos = word, thought, reason „logic“ can also denote a certain formal language 15.4.2008

Specification of Systems Should be one of the first activities in software development requirements  specification  modelling  module decomposition  implementation  integration  deployment Often neglected, mostly only informal Quality problems, acceptance problems Specification „a posteriori“ 15.4.2008

Motivation FIRST: “Understanding and mastering complex systems” Examples: a video camera a car control unit a banking machine system a mobile phone communication protocol a fault tolerant computer for routing of trains an aircraft mission management system Understanding: Being able to describe what these systems are supposed to do Mastering: Being able to check whether they do what they are supposed to do  Understanding and mastering human behaviour? 15.4.2008

A first example A new video camcorder (“DCR-PC330”) owner's manual almost incomprehensible can be found in the internet typical for such devices Multifunctional on-off switch: up: off down: cycles through "tape", "memory" and "play/edit" mode Intuitively, tape mode is for video, memory mode for pictures and play mode for viewing recorded material 15.4.2008

Transition system How can we formally describe the behaviour of this switch? (Natural language description is ambivalent: What does "cycle" mean? What if I push dn-dn-up-dn?) Modelling by finite transition system: States: {off, tape, memory, play} Transition relations: {up, dn} off memory tape play dn up 15.4.2008

Hybrid logic An alternative way to describe this switch: modal theory (description logic T-Box) (For experts: additional axioms necessary, such as nondeterminism p -> []p) (For nonexperts: I assume you know about propositional logic) tape  dn memory  up off memory  dn play  up off play  dn tape  up off off  dn tape  [up] false 15.4.2008

Modal logic Classical modal logic does not allow the use of state names. Boolean properties describing the states: (For experts: additional axioms necessary to inhibit impossible states) (For the experts: this is a boolean encoding with three propositions. In principle, two would be enough, since on  rec  dv ) {tape, memory, play}||- on off||-  on /* on = powered */ {tape, memory}||- rec {play, off}||- rec /* rec = can record */ {tape, play}||- dv {memory, off}||- dv /* dv = head spinning */ off ||-  on   rec   dv tape ||- on  rec  dv memory ||- on  rec   dv play ||- on   rec  dv 15.4.2008

Signature: P={on, rec, dv}, R={up, dn} Language: Some valid properties: rec  dv  on on  [up] on on  dn on dv  dn (dv  dn dv) 15.4.2008

Unique description of the behaviour of this switch!? Questions I might ask: in which state is the camcorder if I push dn-dn-up-dn? dndnupdn tape or dndnupdn (dv  rec) can I always switch it off? up on how long will it stay on if I don't? In practice, no spec is ever complete! power failure while on shuts system off, power resume brings it to “tape" mode 15.4.2008

to model power failures, we have to distinguish between the state of the button (but_hi, but_lo) and the state of the camcorder (off, tape,...) off but_hi memory tape play dn up off but_lo pwr_fail pwr_resume 15.4.2008

Every model abstracts from details (e.g., there is a little green button within the switch which arrests it in the "off" position) A model is a means of communication between humans (designers, users, ...) Structuring the model as parallel hierarchical transition system gives a statechart / state machine diagram but_hi but_lo dn up off on dn, pwr_res up, pwr_fail memory tape play switch camera 15.4.2008

The more concrete the formalism, the closer it is to an implementation Such models can help in the development of complex systems ("model-driven design") The more concrete the formalism, the closer it is to an implementation executable code may be generated from state diagrams We might add additional information such as timing, communication, variables and such. Specification as opposed to modeling describes properties of the targeted system not aiming at a complete description of the system not aiming at the generation of executable code 15.4.2008