1Initial Ideas on Formal Methods UIT2206: The Importance of Being - - PowerPoint PPT Presentation

1 initial ideas on formal methods
SMART_READER_LITE
LIVE PREVIEW

1Initial Ideas on Formal Methods UIT2206: The Importance of Being - - PowerPoint PPT Presentation

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology 1Initial Ideas on Formal Methods UIT2206: The Importance of Being Formal Martin Henz January 15, 2014 Generated on Wednesday 15 th January, 2014, 09:54


slide-1
SLIDE 1

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology

1—Initial Ideas on Formal Methods

UIT2206: The Importance of Being Formal

Martin Henz

January 15, 2014

Generated on Wednesday 15th January, 2014, 09:54 UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-2
SLIDE 2

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology

1

Preliminaries

2

Hallmarks of a Formal Approach

3

Formal Systems in Information Technology

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-3
SLIDE 3

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology

Structure of the module

Intro (today) Formal reasoning techniques (Weeks 2 to 8) Formal methods in other disciplines (Weeks 9 to 12)

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-4
SLIDE 4

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology

Weekly structure

Lecture: Wednesdays 10–12 Tutorials: two sessions on Fridays: 8–10 and 10–12 starting next week

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-5
SLIDE 5

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology

Assessment

Class participation: 10% Tutorial participation: 10% Assignments: 20% Test (Week 9 or 10): 20% Presentation (Weeks 10 to 13): 20% Essay: 20%

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-6
SLIDE 6

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

1

Preliminaries

2

Hallmarks of a Formal Approach Discreteness Naming Abstraction Reification Self-reference

3

Formal Systems in Information Technology

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-7
SLIDE 7

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Discreteness

Do atoms exist?

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-8
SLIDE 8

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Discreteness

Do atoms exist? Brownian motion

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-9
SLIDE 9

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Discreteness

Do atoms exist? Brownian motion Fundamental fact Nature is made up of discrete structures

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-10
SLIDE 10

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Discreteness

Do atoms exist? Brownian motion Fundamental fact Nature is made up of discrete structures Central dogma of molecular biology

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-11
SLIDE 11

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Discreteness

Do atoms exist? Brownian motion Fundamental fact Nature is made up of discrete structures Central dogma of molecular biology DNA makes RNA makes protein

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-12
SLIDE 12

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Discreteness in Human Affairs

Language Natural language is made up of sounds, words, sentences. All

  • f these are discrete structures

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-13
SLIDE 13

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Discreteness in Human Affairs

Language Natural language is made up of sounds, words, sentences. All

  • f these are discrete structures

Politics States, counties, political parties etc are discrete, not continuous phenomena

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-14
SLIDE 14

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Naming

John Stuart Mills Names have denotations, not connotations

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-15
SLIDE 15

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Naming

John Stuart Mills Names have denotations, not connotations Frege/Russell Names are essentially abbreviations for a collection of properties

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-16
SLIDE 16

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Naming

John Stuart Mills Names have denotations, not connotations Frege/Russell Names are essentially abbreviations for a collection of properties A Theory of Naming Naming is a surprisingly poorly understood concept. 20th century philosophers have made significant progress. Example: Saul Kripke: Naming and Necessity

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-17
SLIDE 17

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Abstraction

Definition Abstraction is a process by which concepts are derived from the usage and classification of other (more “real” or “concrete”) concepts.

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-18
SLIDE 18

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Abstraction

Definition Abstraction is a process by which concepts are derived from the usage and classification of other (more “real” or “concrete”) concepts. Science Classification of phenomena into discrete categories lies at the heart of many sciences. Example: taxonomy in biology

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-19
SLIDE 19

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Reification

Definition Reification refers to making something real, bringing it into being, or making something concrete.

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-20
SLIDE 20

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Reification

Definition Reification refers to making something real, bringing it into being, or making something concrete. Automated processing Reification is a prerequisite for automated processing

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-21
SLIDE 21

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Self-reference

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-22
SLIDE 22

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Self-reference

Grelling-Nelson paradox Is “non-self-descriptive” non-self-descriptive or self-descriptive?

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-23
SLIDE 23

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Discreteness Naming Abstraction Reification Self-reference

Self-reference

Grelling-Nelson paradox Is “non-self-descriptive” non-self-descriptive or self-descriptive? Applications Sometimes, self-reference has surprising results: G¨

  • del’s

Theorems, the Halting Problem

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-24
SLIDE 24

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

1

Preliminaries

2

Hallmarks of a Formal Approach

3

Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-25
SLIDE 25

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 1: Books

Problem How to identify a book uniquely, and world-wide

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-26
SLIDE 26

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 1: Books

Problem How to identify a book uniquely, and world-wide Attempts “Library of Congress”, need of fast access to records led to alternatives (publishers J Whitaker & Sons, R R Bowker)

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-27
SLIDE 27

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 1: Books

Problem How to identify a book uniquely, and world-wide Attempts “Library of Congress”, need of fast access to records led to alternatives (publishers J Whitaker & Sons, R R Bowker) Solution ISBN: 13-digit International Standard Book Number (ISO standard), see example

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-28
SLIDE 28

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 2: Representing Text

Problem How to store and transmit text, given that dozens of scripts exists, and hundreds of languages use them.

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-29
SLIDE 29

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 2: Representing Text

Problem How to store and transmit text, given that dozens of scripts exists, and hundreds of languages use them. Attempts ASCII (95 characters), ISO 8859 (one “byte”)

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-30
SLIDE 30

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 2: Representing Text

Problem How to store and transmit text, given that dozens of scripts exists, and hundreds of languages use them. Attempts ASCII (95 characters), ISO 8859 (one “byte”) Solution Unicode standardizes more than 109,000 characters, covering 93 scripts, developed by the Unicode Consortium

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-31
SLIDE 31

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 3: Text Processing

Problem In the 1960s, some projects required amounts of documents that exceeded the processing capabilities of traditional administrative procedures.

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-32
SLIDE 32

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 3: Text Processing

Problem In the 1960s, some projects required amounts of documents that exceeded the processing capabilities of traditional administrative procedures. Attempts GML by IBM: named after inventors Goldfarb, Mosher, Lorie

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-33
SLIDE 33

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 3: Text Processing

Problem In the 1960s, some projects required amounts of documents that exceeded the processing capabilities of traditional administrative procedures. Attempts GML by IBM: named after inventors Goldfarb, Mosher, Lorie Solution: SGML “SGML was...designed to enable the sharing of machine-readable large-project documents in government, law, and industry. Many such documents must remain readable for several decades—a long time in the information technology field.”UIT2206: The Importance of Being Formal

1—Initial Ideas on Formal Methods

slide-34
SLIDE 34

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 4: Hypertext

Problem In the late 1980s, it became clear that the Internet could be used to link documents together. For that, software needed to run on the client (browsers), and (web) servers.

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-35
SLIDE 35

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 4: Hypertext

Problem In the late 1980s, it became clear that the Internet could be used to link documents together. For that, software needed to run on the client (browsers), and (web) servers. Problem: How to make sure client software understands what the server is serving?

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-36
SLIDE 36

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Example 4: Hypertext

Problem In the late 1980s, it became clear that the Internet could be used to link documents together. For that, software needed to run on the client (browsers), and (web) servers. Problem: How to make sure client software understands what the server is serving? Solution HTML, and application of SGML

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-37
SLIDE 37

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Surprised?

Why do we not realize...

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-38
SLIDE 38

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Surprised?

Why do we not realize... ... that we are surrounded by formal systems?

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-39
SLIDE 39

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Surprised?

Why do we not realize... ... that we are surrounded by formal systems? Because they work!

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-40
SLIDE 40

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

Surprised?

Why do we not realize... ... that we are surrounded by formal systems? Because they work! We do not need to know that what underlies complex systems is a formal process. The formal systems allow them to work as expected, always!

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-41
SLIDE 41

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

First Agenda Find out in detail how formal systems work

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-42
SLIDE 42

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

First Agenda Find out in detail how formal systems work Goal Thorough understanding of formal logic as an example par excellence for formal methods

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-43
SLIDE 43

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

First Agenda Find out in detail how formal systems work Goal Thorough understanding of formal logic as an example par excellence for formal methods Approach Study a series of logics: traditional, propositional, predicate logic

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-44
SLIDE 44

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

Second Agenda Explore fundamental boundaries of formal reasoning

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-45
SLIDE 45

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

Second Agenda Explore fundamental boundaries of formal reasoning Goal Appreciate Undecidability and G¨

  • del’s incompleteness results

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-46
SLIDE 46

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

Second Agenda Explore fundamental boundaries of formal reasoning Goal Appreciate Undecidability and G¨

  • del’s incompleteness results

Approach Study predicate logic deep enough to understand his formal arguments

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-47
SLIDE 47

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

Third Agenda Explore formal methods across fields

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-48
SLIDE 48

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

Third Agenda Explore formal methods across fields Approach Students write essays and present their findings

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods

slide-49
SLIDE 49

Preliminaries Hallmarks of a Formal Approach Formal Systems in Information Technology Formal Systems: A Standard Response to Complexity Formal Systems All Around Us

The Importance of Being Formal

Third Agenda Explore formal methods across fields Approach Students write essays and present their findings Goal Overview of formal methods and their limitations in our civilization

UIT2206: The Importance of Being Formal 1—Initial Ideas on Formal Methods