FORMAL METHODS INTRODUCTION

Similar documents
Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes

Logic Analysis Fundamentals

Agilent Understanding the Agilent 34405A DMM Operation Application Note

JTC 1/SC 41. François Coallier, PhD, Eng. Chair, ISO/IEC JTC 1/SC41 ITU-T RFG, ITU-T RFG

A Simple, Yet Powerful Method to Characterize Differential Interconnects

Evaluating Oscilloscope Mask Testing for Six Sigma Quality Standards

Avoiding False Pass or False Fail

Agilent N5183A MXG Microwave Signal Generator

Keysight Technologies

Agilent 87075C 75 Ohm Multiport Test Sets for use with Agilent E5061A ENA-L Network Analyzers

CAN, LIN and FlexRay Protocol Triggering and Decode for Infiniium 9000A and 9000 H-Series Oscilloscopes

Tektronix Logic Analyzer Probes P6900 Series Datasheet for DDR Memory Applications

Keysight Technologies Multi-Channel Audio Test using the Keysight U8903A Audio Analyzer

Video Quality Monitors Sentry Edge II Datasheet

Extending Hardware Description in SDL

Agilent M9362A-D01-F26 PXIe Quad Downconverter

Data will be analysed based upon actual screen size, but may be presented if necessary in three size bins : Screen size category Medium (27 to 39 )

RS-232/UART Triggering and Hardware-Based Decode (N5457A) for Agilent InfiniiVision Oscilloscopes

Time-Saving Features in Economy Oscilloscopes Streamline Test

SPC564A80CAL176 SPC564A70CAL176

Security of the Internet of Things

Logic Analyzer Triggering Techniques to Capture Elusive Problems

Bulletin of the Transilvania University of Braşov Vol 7(56), No Series III: Mathematics, Informatics, Physics,

Automated Limit Testing

Limit and Mask Test Application Module

Memory Interface Electrical Verification and Debug

Memory Interface Electrical Verification and Debug

2018 GUIDE Support for cinemas

Timesaving Tips for Digital Debugging with a Logic Analyzer

Power Device Analysis in Design Flow for Smart Power Technologies

5 Series MSO Serial Triggering and Analysis Applications 5-SRAUDIO, 5-SRAUTO, 5-SRCOMP, and 5-SREMBD Datasheet Serial triggering

Memory-Depth Requirements for Serial Data Analysis in a Real-Time Oscilloscope

The Great Transition: Shifting from Fossil Fuels to Solar and Wind Energy Supporting Data - Climate

Achieve Accurate Critical Display Performance With Professional and Consumer Level Displays

A BIBLIOMETRIC ANALYSIS OF ASIAN AUTHORSHIP PATTERN IN JASIST,

STEVAL-MKI126V2. MEMS microphone system evaluation board based on the STA321MPL and MP34DB01. Description. Features

Design and Realization of the Guitar Tuner Using MyRIO

STEVAL-MKI126V3. STSmartVoice demonstration board based on MP34DT01. Description. Features

Quick Signal Integrity Troubleshooting with Integrated Logic Analyzers & Oscilloscopes

Memory Interface Electrical Verification and Debug DDRA Datasheet

PRACE - Partnership for Advanced Computing in Europe Key Performance Indicators. Philippe Segers GENCI (on behalf of PRACE aisbl)

How-To Guide. LQV (Luminance Qualified Vector) Measurements with the WFM8200/8300

Display Dilemma. Display Dilemma. 1 of 12. Copyright 2008, Exemplars, Inc. All rights reserved.

Digital Switch Over Experiences across Europe

Memory Interface Electrical Verification and Debug DDRA DDR-LP4 Datasheet

Low Cost, High Speed Spectrum Analyzers For RF Manufacturing APPLICATION NOTE

Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster

Agilent Series Harmonic Mixers

Achieving Faster Time to Tapeout with In-Design, Signoff-Quality Metal Fill

Video Quality Monitors

Explorer Edition FUZZY LOGIC DEVELOPMENT TOOL FOR ST6

40 Gb/s PatternPro Programmable Pattern Generator PPG4001 Datasheet

1. Introduction. Abstract. 1.1 Logic Criteria

Troubleshooting Analog to Digital Converter Offset using a Mixed Signal Oscilloscope APPLICATION NOTE

CAN/LIN Measurements (Option AMS) for Agilent s InfiniiVision Series Oscilloscopes

UWE has obtained warranties from all depositors as to their title in the material deposited and as to their right to deposit such material.

International Journal of Engineering Trends and Technology (IJETT) - Volume4 Issue8- August 2013

Analyzing 8b/10b Encoded Signals with a Real-time Oscilloscope Real-time triggering up to 6.25 Gb/s on 8b/10b encoded data streams

Keysight Technologies Achieve High-Quality Compliance Test Results Using A Top-Quality Test Fixture. Application Note

PatternPro Error Detector PED3200 and PED4000 Series Datasheet

The use of Time Code within a Broadcast Facility

Identifying Setup and Hold Violations with a Mixed Signal Oscilloscope APPLICATION NOTE

Efficient, trusted, valued

STM32-PRIMER/LAB. Raisonance EvoPrimer-LAB to monitor STM32 applications and standalone STM32 Flash programming. Features

BFI RESEARCH AND STATISTICS PUBLISHED AUGUST 2016 THE UK FILM MARKET AS A WHOLE. Image: Mr Holmes courtesy of eone Films

Agilent 87405C 100 MHz to 18 GHz Preamplifier

FACET ANALYSIS IN UDC Questions of structure, functionality and formality

STEVAL-ILL015V1. High brightness RGB LED array with LED error detection based on the STP24DP05 and STM32. Features. Description

Defining DTTB network specifications and ensuring Quality of Service

Telecoms Tariff Data

User Manual. June 30, Copyright 2004 Canopus Co., Ltd. All rights reserved.

Investigation of Look-Up Table Based FPGAs Using Various IDCT Architectures

Price List April 1, AvMap Aeronautical Navigators. Product. Compatibility END USER PRICE EUROPE (VAT EXCLUDED) Photo* AvMap code

2017 GUIDE. Support for theatres

Multi Content Market Japan Content Showcase Features of Japan Content Showcase JCS. Online Library. TIMM & Showcase Live TIMM & Free Service

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Advanced Subsidiary Level and Advanced Level

MPEG Solutions. Transition to H.264 Video. Equipment Under Test. Test Domain. Multiplexer. TX/RTX or TS Player TSCA

Measuring and Interpreting Picture Quality in MPEG Compressed Video Content

40 Gb/s PatternPro Programmable Pattern Generator PPG4001 Datasheet

CURRICULUM VITAE John Usher

European Commission 7th Framework Programme SP4 - Capacities Science in Society 2010 Grant Agreement:

World s smallest 5MP stand-alone vision system. Powerful Cognex vision tool library including new PatMax RedLine and JavaScript support

Electrophysiology Solutions: Advancing Basic Research and Drug Discovery

PRODUCT INFORMATION LETTER

R&S CONTEST ITS Test cases and applications

SI-Studio environment for SI circuits design automation

FIM INTERNATIONAL SURVEY ON ORCHESTRAS

STEVAL-CCM003V1. Graphic panel with ZigBee features based on the STM32 and SPZBE260 module. Features. Description

The Economic Impact of IoT

Implementation of a turbo codes test bed in the Simulink environment

IMS Symposium Future Industrial Meat Production

Agilent E6701G GSM/GPRS and E6704A EGPRS Lab Applications

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

GSM-R Interoperability - Technical Perspective

HS Digital Electronics Pre-Engineering

Installation Instructions. What This Option Provides

VT-S730. Omron's 3D-SJI For Efficient Manufacturing of High-quality Products. Best the Minimum Q cost! PCB Inspection System VT-S730 NEW

Supervision of Analogue Signal Paths in Legacy Media Migration Processes using Digital Signal Processing

Hidden Markov Model based dance recognition

The ISBN number is a 10-digit number consisting of 4 groups, each separated by a hyphen:

Transcription:

(PGL@IHA.DK) PROFESSOR (MANY YEARS COLLABORATION IN PARTICULAR WITH JOHN FITZGERALD) UNI VERSITET

WHO AM I? Professor Peter Gorm Larsen; MSc, PhD 20+ years of professional experience ½ year with Technical University of Denmark 13 years with IFAD 3,5 years with Systematic 7 years with Aarhus School of Engineering Reviewer for EU on Research projects and applications Consultant for most large defence contractors on large complex projects (e.g. US Joint Strike Fighter) Relations to industry and academia all over the world Has written books and articles about VDM See http://pglconsult.dk/private/peter.htm for details 2

Formal Methods Characteristics Formal Methods Europe Tool Support for FM 3

WHAT ARE FORMAL METHODS? Formal Methods refers to the use of techniques from logic and discrete mathematics in the specification, design and development of computer systems and software. Mathematics is NOT as difficult as many thinks Mastering of complexity using abstraction. Reduce argumentation to a calculation which can be checked by mechanical means. Replace manual reviews with a repeatable analysis. Formal methods can be used at different levels of rigour. 4

VALIDATION TECHNIQUES Inspection: organized process of examining the model alongside domain experts. Static Analysis: automatic checks of syntax & type correctness, detect unusual features. Testing: run the model and check outcomes against expectations. Model Checking: search the state space to find states that violate the properties we are checking. Proof: use a logic to reason symbolically about whole classes of states at once. 5

LEVELS OF RIGOUR Level 1: Use of concepts and notation from discrete maths Level 2: Use of formalized abstract specification languages with some mechanized support tools Level 3: Verification of the abstract precise specification Level 4: Fully formal development (refinement from abstract specifications) 6

MODELLING COMPUTING SYSTEMS 7

MODELLING COMPUTING SYSTEMS In other engineering disciplines (Mechanical, Electrical, Aeronautical etc.) system models are built to help gain confidence in requirements and designs. For example: wind tunnels, stress models Two characteristics of these models are crucial to their successful use: abstraction and rigour. 8

ABSTRACTION Engineering models omit details that are not relevant to the purpose of the model. For example: Windtunnel assess aerodynamics Cockpit mockup assess human factors, train pilots The omission of detail not relevant to a model s purpose is called abstraction. The choice of which details to omit is a matter of engineering skill. See for example: Abstraction the key to Computing?, by Jeff Kramer 9

ABSTRACTION Compare these extracts from two descriptions of the same system. The FlightFinder System is to be used by travel agents and their customers. Details are entered, including point of departure, destination, preferred dates and times. The system will respond with a range of itineraries and fares, along with the relevant restrictions. What The system records locations as nodes in a connected graph structure. Each node struct contains an array of pointers to reachable destinations plus, for each pointer, a timetable of flights stored as a hash table. Each record in the hash table has a flight number (8 character string), departure and arrival times (standard time formats) and operating dates (standard date format). To obtain the optimal route, the graph must be traversed using a shortest path algorithm on a modified adjacency matrix... How 10

RIGOUR The most important property of a model of a computing system is its suitability for analysis: must be objective (not down to the opinion of individual engineers) repeatable susceptible to machine support. The language in which a model is described should be rigorously defined: little room for disagreement about what a model actually says analysis tools reach the same conclusion about model s properties 11

MATHEMATICAL REPRESENTATION OF SOFTWARE Formal specifications are expressed in a mathematical notation with precisely defined vocabulary, syntax and semantics. Algebraic approach The system is specified in terms of its operations and their relationships. Model-based approach The system is specified in terms of a state model that is constructed using mathematical constructs such as sets and sequences. 12

CLASSES OF FORMAL METHODS Model-based approaches (VDM, Z, B) Algebraic approaches (Act One, Larch, OBJ) Process algebras (CSP, CCS) Logic-based approaches (RTL, TLA) Reactive approaches (Petri-nets, SDL, SAO) Combinations like RAISE (VDM + CSP) and LOTOS (Act One + CCS). ISO standards for VDM, Z, LOTOS and ITU standard for SDL Different strengths Very different kind of tool support 13

FORMAL METHODS IN ACADEMIA Tradition with Abstract Models in Europe Focus on Formal Development US focus on Automatic Verification FM taught at many European Universities Spreading from the UK Japan usage and supply gaining strength Different opinions about way ahead (e.g. Parnas, Really rethinking formal methods, IEEE Computer January 2010) 14

Formal Methods Characteristics Formal Methods Europe Tool Support for FM 15

FORMAL METHODS EUROPE www.fmeurope.org FME = Formal Methods Europe Stimulate the use of formal methods by industry. Promote international co-operation among researchers and users of formal methods. Exchange ideas & identify common interests. Provide links between research and application areas. Conference approximately every 18 months 16

FME (VDM) CONFERENCES Brussels, Belgium (1987) LNCS 252 Dublin, Ireland (1988) LNCS 328 Kiel, Germany (1990) LNCS 428 Noordwijkerhout, Netherlands (1991) LNCS 551/2 Odense, Denmark (1993) LNCS 670 Barcelona, Spain (1994) LNCS 873 Oxford, UK (1996) LNCS 1051 Graz, Austria (1997) LNCS 1313 Toulouse, France (1999) LNCS 1708/9 Berlin, Germany (2001) LNCS 2021 Copenhagen, Denmark (2002) LNCS 2391 Pisa, Italy (2003) LNCS 2805 Newcastle, UK (2005) LNCS 3582 Hamilton, Canada (2007) LNCS 4085 Turku, Finland (2008) LNCS 5014 Eindhoven, Netherlands (2009) LNCS 2850 Limerick, Ireland (2011) LNCS 6664 Paris, France (2012) LNCS 7436 Singapore (2014) 17

Formal Methods Characteristics Formal Methods Europe Tool Support for FM 18

FORMAL METHODS TOOL SUPPORT VDMTools from SCSK Atelier-B from ClearSy FDR from Formal Systems Europe SCADE from Esterel Technologies Lots of prototype/academic tools Overture open-source development for VDM 19

FORMAL METHODS TOOL FEATURES Syntax checking Type checking Proof obligation generation Proof support Model checking Pretty printing Animation/Execution Refinement Test automation Code generation Graphical User Interface 20

Validation Test Automation Syntax Check Development Interpreter (with debug features) Type Check Available External Executable Code Editor with Syntax Highlighting Prototype available Under development Real-Time Log Viewer Model Checking AST Refactoring Code Generation: C++, Java Not yet started Automatic Proof Reverse Engineering Proof Obligation Generation GUI Generators UML Verification Interactive Proof SysML AADL Translators

TAKE AWAY POINTS There is nothing magic about formal methods It is just a sensible engineering approach Strong European FM supplier side USA still strongest on model checking for hardware Japan usage and supply gaining strength Tools are essential for success Consider attending FM 2014 in Singapore

THANKS FOR YOUR ATTENTION Any questions? 23