Formal methods its uses and limitations. A little about formality Objective knowledge / information Objective knowledge / information Information brought.

Slides:



Advertisements
Similar presentations
Ch 1 - The Nature of Science
Advertisements

Mathematics in Engineering Education 1. The Meaning of Mathematics 2. Why Math Education Have to Be Reformed and How It Can Be Done 3. WebCT: Some Possibilities.
color code vocabulary words and definitions
FCAT Review The Nature of Science
Review of Related Literature By Dr. Ajay Kumar Professor School of Physical Education DAVV Indore.
Computational Artistic Creativity and its Evaluation DAVID C BROWN Computer Science Department WPI, Worcester, MA 01609, USA.
DECO3008 Design Computing Preparatory Honours Research KCDCC Mike Rosenman Rm 279
Model Checking. Used in studying behaviors of reactive systems Typically involves three steps: Create a finite state model (FSM) of the system design.
School of Computer ScienceG53FSP Formal Specification1 Dr. Rong Qu Introduction to Formal Specification
Cheng/Dillon-Software Engineering: Formal Methods Model Checking.
Secure Software Development Chapter 2 Rasool Jalili & M.S. Dousti Dept. of Computer Engineering Fall 2010.
name___________________________ World of Physical Science
Chapter 8: Problem Solving
The Scientific Method A Way to Solve a Problem What is the Scientific Method? It is the steps someone takes to identify a question, develop a hypothesis,
1 Validation & Verification Chapter VALIDATION & VERIFICATION Very Difficult Very Important Conceptually distinct, but performed simultaneously.
Introduction to Biology Fall Taking Cornell Notes Biology Introduction What is science? Answer or Definition for the Question/Main Idea.
Chapter 5: Requirement Engineering Process Omar Meqdadi SE 2730 Lecture 5 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
TEA Science Workshop #3 October 1, 2012 Kim Lott Utah State University.
1 The Methods of Biology Chapter Scientific Methods.
Class Starter Please list the first five words or phrases that come to your mind when you hear the word : CHEMISTRY.
Big Idea 1: The Practice of Science Description A: Scientific inquiry is a multifaceted activity; the processes of science include the formulation of scientifically.
Scientific Method Identify a problem What do you want to know? What question do you want to answer? What problem do you want to solve? An OBSERVATION.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
A Scientific Method How Science is Done. Science is a method for answering theoretical questions.
Chapter 1: The Nature of Science Table of Contents Section 1-2 Science in Action.
Introduction to science, biology, and experimental design
Database Analysis and the DreamHome Case Study
Life Science Ch 1 the World of Science. Objectives sec 1 Explain the importance of asking questions in science. State examples of life science at work.
Lesson 1 What is Science?. What do you wonder about when you see this picture? Inquiring Minds Want to Know.
What is Science?. Science is… 1.What do you think of when you think of science? 2.Have you ever done science? What did you do?
What is Science? Intro 1.1 pp 3-10 Standard 1.1 pp 4-9 Mr. Richter.
Biology and YouSection 2 Section 2: Scientific Methods Preview Bellringer Key Ideas Beginning a Scientific Investigation Scientific Experiments Scientific.
A guide to... Safe Systems of Work.
1 Fact-Finding Techniques. 2 u Critical to capture necessary facts to build the required database application. u These facts are captured using fact-finding.
The Enterprise of Chemistry Chapter 1. The People Everything that takes up space is made of something. Everything that takes up space is made of something.
Science Science is  The process of trying to understand the world  A way of knowing, thinking and learning  Based on observation and experimentation.
Formal Methods in SE Software Verification Using Formal Methods By: Qaisar Javaid, Assistant Professor Formal Methods1.
Tools of Environmental Scientist Chapter 2.  Scire (latin)  to know What is Science?
CSCI1600: Embedded and Real Time Software Lecture 28: Verification I Steven Reiss, Fall 2015.
Copyright © by Holt, Rinehart and Winston. All rights reserved. ResourcesChapter menu The World of Life Science Section 1 Asking About Life Section 2 Scientific.
Safe Systems of Work. Legislation w HSWA Section 2 (2) (a): Provide and maintain plant and systems of work that are, so far as is reasonably practicable,
This mini lesson will cover: 1. What are the roles of inferences and arguments in science. 2. How can we make stronger scientific arguments and inferences.
Do I need statistical methods? Samu Mäntyniemi. Learning from experience Which way a bottle cap is going to land? Think, and then write down your opinion.
Methods of Scientific Inquiry Ch 1.3 Course Overview.
Chapter 1 These notes are to be written in your composition book.
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
The World of Life Science
Introduction to ScienceSection 1 SCSh8 Students will understand important features of the process of scientific inquiry.
Properties and changes of materials Grade 5 science.
Waqas Haider Khan Bangyal. Organization of the Lecture Research and Methodology: Research defined and described Some classifications of research Define.
Inquiry Primer Version 1.0 Part 4: Scientific Inquiry.
Biology and YouSection 2 Section 2: Scientific Methods Preview Bellringer Key Ideas Beginning a Scientific Investigation Scientific Experiments Scientific.
Chemistry Ch 1. Chemistry is the Study of Matter Matter is anything that has mass and takes up space. Air is matter Light and heat is not.
Using Human Errors to Inspect SRS
Scientific Inquiry with Gummy Bears
Section 2: Scientific Methods
Section 2: Scientific Methods
Time for notetaking FLASHCARDS!
How to take notes… The Crainum Way!
Safe Systems of Work.
Section 2: Scientific Methods
The World of Physical Science Chapter 1
Successful Science Projects
THE NATURE OF SCIENCE AND SCIENTIFIC METHODS
Significance Tests: The Basics
What is Physical Science?
What Inquiry Skills Do Scientists Use?
Introductory Science Ideas
Computer Science 340 Software Design & Testing
Scientific Method.
Presentation transcript:

Formal methods its uses and limitations

A little about formality Objective knowledge / information Objective knowledge / information Information brought out into the open Information brought out into the open From the brain/ideas From the brain/ideas To ‘get what you want’ To ‘get what you want’ Analysis from observers Analysis from observers Possible or not? Possible or not? AI – artificial intelligence AI – artificial intelligence

Advantages and uses Unambiguous Unambiguous An expression is ‘formal’ when it has an invariant meaning An expression is ‘formal’ when it has an invariant meaning With this ‘definition’: With this ‘definition’: Ideas are stored for longer time. Ideas are stored for longer time. Science use it for theories and definitions Science use it for theories and definitions Communication Communication Context wise – person with person, or to few Context wise – person with person, or to few Independent formulation from context Independent formulation from context

more… Testability Testability Context of a test where you check the validity of an expression Context of a test where you check the validity of an expression New test for another expression will not have the same context. New test for another expression will not have the same context. With formal methods you will be able to test without the context and hence be able to verify more expression. With formal methods you will be able to test without the context and hence be able to verify more expression.

even more… Combination of the three previous reasons to use formal method gives: Combination of the three previous reasons to use formal method gives: Accumulate and improve knowledge. Accumulate and improve knowledge. Testability implies ability to select good formal descriptions over bad ones. Testability implies ability to select good formal descriptions over bad ones. Storability means that you can keep the good ones maintained. Storability means that you can keep the good ones maintained.

And all this means… Universally this means Universally this means Researchers all over the world Researchers all over the world Information gathered and collected Information gathered and collected Well tested information Well tested information Will formal methods make context related extinct? Will formal methods make context related extinct? Ideas might come from anywhere Ideas might come from anywhere Personal experiences, daily happenings, etc. Personal experiences, daily happenings, etc.

What does this mean to us as computer scientists? Correctness as a concern in software Correctness as a concern in software Security- and safety critical systems Security- and safety critical systems Nuclear plan shutdown systems Nuclear plan shutdown systems Air traffic controller systems Air traffic controller systems Space travels Space travels Sensitive information that is carried over the net Sensitive information that is carried over the net Loads of more examples Loads of more examples

Limitations Ideas to be expressed formally Ideas to be expressed formally Context cannot be eliminated Context cannot be eliminated Problems defining things Problems defining things E.g. Mathematically = 2 E.g. Mathematically = 2 Vs Drops of water = 1 larger Vs Drops of water = 1 larger

Limitations of some definitions Usefulness of definition Usefulness of definition How to define ‘that thing’? How to define ‘that thing’? It is a statue on 34rd and 4 th avenue in New York It is a statue on 34rd and 4 th avenue in New York Where is New York? Where is New York? Longitude and latitude? Longitude and latitude? Where is equator and where is the meridian? Where is equator and where is the meridian? Compared to New York? Compared to New York? Circle… Circle…

What did we just see? As shown on the two previous slides As shown on the two previous slides Some arguments that can only be shown trough experience, the insight or forms of awareness that can not be: Some arguments that can only be shown trough experience, the insight or forms of awareness that can not be: Expressed in words Expressed in words Any other explicit symbolic forms Any other explicit symbolic forms

So where am I going with all this Imagine you’re the designer of a system Imagine you’re the designer of a system It have to be flawless It have to be flawless You heard formal method gives secure systems You heard formal method gives secure systems You come up with a good specification You come up with a good specification Time to verify the system Time to verify the system Verification ended good but after some test runs you find a malfunction Verification ended good but after some test runs you find a malfunction

What went wrong? Aspects of the system Aspects of the system Is the specification good enough? Is the specification good enough? How can you prevent this? How can you prevent this? Most likely you can not prevent it Most likely you can not prevent it You can hope you will discover more aspects of the specification as you work with it You can hope you will discover more aspects of the specification as you work with it Anything can happen, one are never safe Anything can happen, one are never safe

What can we do about it We have to make specifications as good as possible, covering most of the aspects the system will endure/meet We have to make specifications as good as possible, covering most of the aspects the system will endure/meet We must know the systems normal conditions and then keep a keen eye on what might arise that is abnormal We must know the systems normal conditions and then keep a keen eye on what might arise that is abnormal Will it the system be secure? Will it the system be secure? If you/your team have done a good job it will be secure to an extend that most likely is satisfactory If you/your team have done a good job it will be secure to an extend that most likely is satisfactory