Specification: The Biggest Bottleneck in Formal Methods and Autonomy - - PowerPoint PPT Presentation

specification the biggest bottleneck
SMART_READER_LITE
LIVE PREVIEW

Specification: The Biggest Bottleneck in Formal Methods and Autonomy - - PowerPoint PPT Presentation

Successes Origins? Quality? Usage? Organization? Future Challenges Specification: The Biggest Bottleneck in Formal Methods and Autonomy 1 Kristin Yvonne Rozier Iowa State University February 13, 2017 1For expansions on these ideas, see:


slide-1
SLIDE 1

Successes Origins? Quality? Usage? Organization? Future Challenges

Specification: The Biggest Bottleneck in Formal Methods and Autonomy1

Kristin Yvonne Rozier

Iowa State University

February 13, 2017

1For expansions on these ideas, see: K.Y.Rozier. “Specification: The Biggest Bottleneck in Formal Methods and Autonomy.” VSTTE, 2016. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-2
SLIDE 2

Successes Origins? Quality? Usage? Organization? Future Challenges

Design-Time Verification!

Expected design-time component Recommended in DO-178B/C, D0-254 standards for Successfully applied in many aerospace contexts. . .

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-3
SLIDE 3

Successes Origins? Quality? Usage? Organization? Future Challenges

Runtime Verification and System Health Management!

Required for Autonomy New: Intelligent Interfaces Hot topic: UTM, Mars, NextGen, . . .

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-4
SLIDE 4

Successes Origins? Quality? Usage? Organization? Future Challenges

A Recent Motivation. . . Crash of ESA’s ExoMars Schiaparelli Lander

October 19, 2016

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-5
SLIDE 5

Successes Origins? Quality? Usage? Organization? Future Challenges

A Recent Motivation. . . Crash of ESA’s ExoMars Schiaparelli Lander

October 19, 2016 parachute deployed at:

altitude of 7.5 miles (12 km) speed of 1,1075 mph (1,730 km/h)

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-6
SLIDE 6

Successes Origins? Quality? Usage? Organization? Future Challenges

A Recent Motivation. . . Crash of ESA’s ExoMars Schiaparelli Lander

October 19, 2016 parachute deployed at:

altitude of 7.5 miles (12 km) speed of 1,1075 mph (1,730 km/h)

heat shield ejected at altitude of 4.85 miles (7.8 km)

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-7
SLIDE 7

Successes Origins? Quality? Usage? Organization? Future Challenges

A Recent Motivation. . . Crash of ESA’s ExoMars Schiaparelli Lander

October 19, 2016 parachute deployed at:

altitude of 7.5 miles (12 km) speed of 1,1075 mph (1,730 km/h)

heat shield ejected at altitude of 4.85 miles (7.8 km) IMU miscalculated saturation-maximum period (by 1 sec)

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-8
SLIDE 8

Successes Origins? Quality? Usage? Organization? Future Challenges

A Recent Motivation. . . Crash of ESA’s ExoMars Schiaparelli Lander

October 19, 2016 parachute deployed at:

altitude of 7.5 miles (12 km) speed of 1,1075 mph (1,730 km/h)

heat shield ejected at altitude of 4.85 miles (7.8 km) IMU miscalculated saturation-maximum period (by 1 sec) Navigation system calculated a negative altitude

premature release of parachute & backshell firing of braking thrusters activation of on-ground systems at 2 miles (3.7 km) altitude

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-9
SLIDE 9

Successes Origins? Quality? Usage? Organization? Future Challenges

A Recent Motivation. . . Crash of ESA’s ExoMars Schiaparelli Lander

October 19, 2016 parachute deployed at:

altitude of 7.5 miles (12 km) speed of 1,1075 mph (1,730 km/h)

heat shield ejected at altitude of 4.85 miles (7.8 km) IMU miscalculated saturation-maximum period (by 1 sec) Navigation system calculated a negative altitude

premature release of parachute & backshell firing of braking thrusters activation of on-ground systems at 2 miles (3.7 km) altitude

Crash at 185 mph (300 km/h)

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-10
SLIDE 10

Successes Origins? Quality? Usage? Organization? Future Challenges

A Recent Motivation. . . Crash of ESA’s ExoMars Schiaparelli Lander

Sanity Checks Relevant to this Mission: The altitude cannot be negative. The rate of change of descent can’t be faster than gravity. The δ altitude must be within nominal parameters; it cannot change from 2 miles to a negative value in one time step. The saturation-maximum has an a priori known temporal bound. These sanity checks could have prevented the crash. Capability of such observations is required for autonomy.

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-11
SLIDE 11

Successes Origins? Quality? Usage? Organization? Future Challenges

Enabling Autonomy

What do the humans do?

1 Pilot/control the system (on-board or remotely) 2 Provide self-awareness 3 Respond to off-nominal conditions 4 Make tough judgment calls Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-12
SLIDE 12

Successes Origins? Quality? Usage? Organization? Future Challenges

Enabling Autonomy

What do the humans do? And how do we automate that?

1 Pilot/control the system (on-board or remotely)

Autopilot

2 Provide self-awareness

Runtime System Health Management (SHM)

3 Respond to off-nominal conditions

Automated replanning and learning

4 Make tough judgment calls

Algorithms like TCAS beat humans Ethical decisions are an open problem . . .

Analysis from design-time and runtime is required for autonomy.

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-13
SLIDE 13

Successes Origins? Quality? Usage? Organization? Future Challenges

Specifications: Required for Formal Methods and Autonomy!

Formal Methodology 2

1 specification language 2 repertoire of proof methods

make early precise decisions about major functionalities remove ambiguities from the description of expected behavior

2Manna & Pnueli. The Temporal Logic of Reactive and Concurrent Systems: Specification. Springer, 1992. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-14
SLIDE 14

Successes Origins? Quality? Usage? Organization? Future Challenges

Specifications: Required for Formal Methods and Autonomy!

Formal Methodology 2

1 specification language

Linear Temporal Logic

2 repertoire of proof methods

make early precise decisions about major functionalities remove ambiguities from the description of expected behavior

2Manna & Pnueli. The Temporal Logic of Reactive and Concurrent Systems: Specification. Springer, 1992. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-15
SLIDE 15

Successes Origins? Quality? Usage? Organization? Future Challenges

A Goal Aerospace System Design Process3

System Design Build Prototype Simulation Testing and

...

ERROR NO Model Check SPEC DEBUGGING Specification Model Verification SPEC DEBUGGING USE SPECIFICATIONS FOR RUNTIME MONITORING YES NO ERROR REVISE YES Specification Validation Model Validation via Model Checking M = Formal System Model Model

3Zhao & Rozier. “Formal Specification and Verification of a Coordination Protocol for an Automated Air Traffic Control System.” Science of Computer Programming Journal (96:3), pg 337-353, Elsevier, 2014. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-16
SLIDE 16

Successes Origins? Quality? Usage? Organization? Future Challenges

A Goal Aerospace System Design Process3

System Design Build Prototype Simulation Testing and

...

ERROR NO Model Check SPEC DEBUGGING Specification Model Verification SPEC DEBUGGING USE SPECIFICATIONS FOR RUNTIME MONITORING YES NO ERROR REVISE YES Specification Validation Model Validation via Model Checking M = Formal System Model Model

... Garbage in, garbage out!

3Zhao & Rozier. “Formal Specification and Verification of a Coordination Protocol for an Automated Air Traffic Control System.” Science of Computer Programming Journal (96:3), pg 337-353, Elsevier, 2014. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-17
SLIDE 17

Successes Origins? Quality? Usage? Organization? Future Challenges

The Bottom Line

Bottom Line: INPUTS to formal analysis are the BIGGEST challenge

System Design Model Check ERROR M = Formal System Model Model Verification Specification

... ... ...

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-18
SLIDE 18

Successes Origins? Quality? Usage? Organization? Future Challenges

Synthesis!

Model checking: check M | = φ Problems:4 Designing M is hard and expensive Re-designing M when M φ is hard and expensive Synthesis: start from φ, design M such that M | = φ

Simplifies verification No re-design For algorithmic derivations: no design!

4M.Y.Vardi. “From Verification to Synthesis.” VSTTE 2008. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-19
SLIDE 19

Successes Origins? Quality? Usage? Organization? Future Challenges

Synthesis!

Model checking: check M | = φ Problems:4 Designing M is hard and expensive Re-designing M when M φ is hard and expensive Synthesis: start from φ, design M such that M | = φ

Simplifies verification No re-design For algorithmic derivations: no design!

What about φ?

4M.Y.Vardi. “From Verification to Synthesis.” VSTTE 2008. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-20
SLIDE 20

Successes Origins? Quality? Usage? Organization? Future Challenges

Synthesis!

Model checking: check M | = φ Problems:4 Designing M is hard and expensive Re-designing M when M φ is hard and expensive Synthesis: start from φ, design M such that M | = φ

Simplifies verification No re-design For algorithmic derivations: no design!

What about φ? We need LTL Genesis!

4M.Y.Vardi. “From Verification to Synthesis.” VSTTE 2008. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-21
SLIDE 21

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Origins

Where will we get specifications from?5

Some critical systems are designed without formal requirements Some design processes don’t formally define requirements until the testing phase Early specifications often mix many different objectives

levels of detail/abstraction how the system is defined vs how the system should behave legal-speak on why the system satisfies rules desires/opinions of designers

5Panel: “Future Directions of Specifications for Formal Methods.” In NFM 2014,

J.Badger and K.Y.Rozier, eds.

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-22
SLIDE 22

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Origins

Specification Extraction Strategies

Human Authorship:

Train system designers to write formal specifications first Pair designers with formal methods team to write specifications

Natural Language Processing: extract formal specifications from English Operational Concepts6

Highly input-dependent: assumptions, implied/arbitrary functions Hard to measure correctness, completeness

Specification Mining: extract behaviors from existing systems Static Analysis: map all paths of a program

Hard to differentiate normal usage from exceptions

Learning/Dynamic Invariants: analyze actual executions; observe use-cases Specification Wizard: Semi-automated exploration of system facets, guided by human input

6S.Ghosh, N.Shankar, P.Lincoln, D.Elenius, W.Li, and W.Steiener. “Automatic Requirements Specification Extraction from Natural Language (ARSENAL).” SRI International, Menlo Park CA, 2014. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-23
SLIDE 23

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Origins

Specifications for Free?7

Combine specification mining, test-case generation, static analysis, and dynamic invariants to extract specifications automatically! Can use specifications mined from code

Specification validation == software defect detection Promising for software runtime verification Still need code. . .

What about early design time? What about cyber-physical system specifications?

Can use specifications extracted from last version for new designs

Challenges with specialization/levels of abstraction/relevance

Other challenges:

Scalability Efficiency Expressiveness

  • 7A. Zeller. “Specifications for Free.” NFM 2011.

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-24
SLIDE 24

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Quality

How should we measure specification quality?8

How can we know when we’re done? How good are the specifications? How can we measure the completeness, correctness, coverage, or general quality of a set of specifications?

8Panel: “Future Directions of Specifications for Formal Methods.” In NFM 2014,

J.Badger and K.Y.Rozier, eds.

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-25
SLIDE 25

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Quality

Sanity Checks

Satisfiability Vacuity Realizability Coverage

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-26
SLIDE 26

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Usage

How do we best use specifications?9

Design lifecycles for different cyber-physical systems? How to indoctrinate formal specification into diverse teams of system designers? Barriers to adoption:

time to write/validate learning curves culture

Need an end-to-end process for specification extraction, usage What should our roadmap look like for a future full of well-specified (formally analyzable) critical systems?

9Panel: “Future Directions of Specifications for Formal Methods.” In NFM 2014,

J.Badger and K.Y.Rozier, eds.

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-27
SLIDE 27

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Usage

Specification Use Strategies

Property-Based Design: from specifications to systems Synthesis: generate M such that M | = φ

For cyber-physical systems?

Specification-Based Testing: use specifications in test-case generation From Design- to Run-Time: carry specifications through the design cycle

Specification design lifecycle?

Maintenance: using specifications in system up-keep

Maintenance of specifications?

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-28
SLIDE 28

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Specifications: Classes10

Safety Response Reactivity Others: Safety/Liveness/Guarantee/Obligation Fairness/Justice/Compassion Still too coarse and tied to syntax for practical use; need functional and hierarchical specification . . .

10Manna & Pnueli. The Temporal Logic of Reactive and Concurrent Systems: Specification. Springer, 1992. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-29
SLIDE 29

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Specifications: Formula Patterns11

Leverage experience with design and coding patterns Define specification pattern system

capture recurring solutions; generalize across specific/domain problems encourage re-use make transparent the means by which requirements are satisfied name, intent, logic (language), scope (time interval), relationship to

  • ther patterns

Characterized by:

Solves a Specific Problem, e.g. not too abstract Proven Concept effective in practice Not Obvious or direct application of basic principles Describes Relationships, not single components Generative, describes how to construct a solution

Organized in a hierarchy based on semantics

11M.B. Dwyer, G.S. Avrunin, and J.C. Corbett. “Property specification patterns for finite-state verification.” Formal methods in software practice, pp. 7-15. ACM, 1998. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-30
SLIDE 30

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Specifications: Automata Patterns12

Challenges Remain with Translational Semantics: Formula patterns are not compositional Need consistency with semantics of informal definitions Automata-based patterns: Compositional: based on compositions of patterns (logic executions) and scopes (time) Homogeneous: don’t flatten key patterns/scopes separation Extensible: compositional semantics allow adding patterns & scopes Generic: can combine any pattern and any scope Faithful: formal guarantee that the translated temporal formula is faithful to the intended natural semantics

12K.C. Castillos, F. Dadeau, J. Julliand, B. Kanso, and S. Taha. “A compositional automata-based semantics for property patterns.” iFM, pp. 316-330, 2013. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-31
SLIDE 31

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Specifications: Automata Patterns12

Challenges Remain with Translational Semantics: Formula patterns are not compositional Need consistency with semantics of informal definitions Automata-based patterns: Compositional: based on compositions of patterns (logic executions) and scopes (time) Homogeneous: don’t flatten key patterns/scopes separation Extensible: compositional semantics allow adding patterns & scopes Generic: can combine any pattern and any scope Faithful: formal guarantee that the translated temporal formula is faithful to the intended natural semantics What about runtime specifications for autonomous systems?

12K.C. Castillos, F. Dadeau, J. Julliand, B. Kanso, and S. Taha. “A compositional automata-based semantics for property patterns.” iFM, pp. 316-330, 2013. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-32
SLIDE 32

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Specifications: Functional Patterns?

Work on specification patterns focuses mostly on design time Formula patterns are not compositional Automata patterns are not decomposable

hard for cyber-physical systems during runtime sanity checks are more complex

What if that is a functional pattern? Are there different patterns for specification functions, e.g., between design time and runtime?

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-33
SLIDE 33

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Runtime Functional Specification Patterns13

Rates Ranges Relationships Control Sequences Consistency Checks

13K.Y.Rozier. “Specification: The Biggest Bottleneck in Formal Methods and Autonomy.” VSTTE, 2016. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-34
SLIDE 34

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Runtime Functional Specification Patterns13

Rates Ranges Relationships Control Sequences Consistency Checks

13K.Y.Rozier. “Specification: The Biggest Bottleneck in Formal Methods and Autonomy.” VSTTE, 2016. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-35
SLIDE 35

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Runtime Functional Specification Patterns13

Rates Ranges Relationships Control Sequences Consistency Checks

Velocity Velocity

13K.Y.Rozier. “Specification: The Biggest Bottleneck in Formal Methods and Autonomy.” VSTTE, 2016. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-36
SLIDE 36

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Runtime Functional Specification Patterns13

Rates Ranges Relationships Control Sequences Consistency Checks

13K.Y.Rozier. “Specification: The Biggest Bottleneck in Formal Methods and Autonomy.” VSTTE, 2016. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-37
SLIDE 37

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Runtime Functional Specification Patterns13

Rates Ranges Relationships Control Sequences Consistency Checks

?

13K.Y.Rozier. “Specification: The Biggest Bottleneck in Formal Methods and Autonomy.” VSTTE, 2016. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-38
SLIDE 38

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

Runtime Functional Specification Patterns13

Rates Ranges Relationships Control Sequences Consistency Checks

?

We need to expand specification patterns to runtime!

13K.Y.Rozier. “Specification: The Biggest Bottleneck in Formal Methods and Autonomy.” VSTTE, 2016. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-39
SLIDE 39

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

R2U2: Runtime Specification Patterns in the Field14

1 TL Observers: Efficient temporal reasoning 1

Asynchronous: output t, {0, 1}

2

Synchronous: output t, {0, 1, ?} Logics: MTL, pt-MTL, Mission-time LTL Variables: Booleans (from system bus), sensor filter outputs

2 Bayes Nets: Efficient decision making

Variables: outputs of TL observers, sensor filters, Booleans Output: most-likely status + probability

  • 14T. Reinbacher, K. Y. Rozier, and J. Schumann. “Temporal-Logic Based Runtime Observer Pairs for System Health

Management of Real-Time Systems.” TACAS’14, pg 357–372. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-40
SLIDE 40

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

R2U2: Runtime Specification Patterns in the Field14

1 TL Observers: Efficient temporal reasoning 1

Asynchronous: output t, {0, 1}

2

Synchronous: output t, {0, 1, ?} Logics: MTL, pt-MTL, Mission-time LTL Variables: Booleans (from system bus), sensor filter outputs

2 Bayes Nets: Efficient decision making

Variables: outputs of TL observers, sensor filters, Booleans Output: most-likely status + probability

How do we organize R2U2 specifications?

  • 14T. Reinbacher, K. Y. Rozier, and J. Schumann. “Temporal-Logic Based Runtime Observer Pairs for System Health

Management of Real-Time Systems.” TACAS’14, pg 357–372. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-41
SLIDE 41

Successes Origins? Quality? Usage? Organization? Future Challenges Specification Patterns!

R2U2: Runtime Specification Patterns in the Field15

Health Nodes / Failure Modes H FG magnetometer sensor H FC RxUR Receiver underrun H FC RxOVR Receiver overrun H FG TxOVR Transmitter overrun in sensor H FG TxErr Transmitter error in in sensor

H_FG S4 S5 H_FG_TxErr S2 H_FG_TxOVR S1 S3 H_FC_RxOVR S6 H_FC_RxUR

We combine specifications in a way that is: hierarchical/structured compositional cross-language

  • 15J. Geist, K.Y. Rozier, and J. Schumann. “Runtime Observer Pairs and Bayesian Network Reasoners On-board FPGAs:

Flight-Certifiable System Health Management for Embedded Systems.” RV’14. Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-42
SLIDE 42

Successes Origins? Quality? Usage? Organization? Future Challenges

How should we organize specifications?

How do we store specifications in an accessible way?

Allow for automated analysis, including verification? Enable re-use: design-time → runtime → future systems

How do we pair English and Formal specifications? How do we preserve the hierarchical structure, compositionality, and relationships between specifications? Can we do this in a performable way?

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-43
SLIDE 43

Successes Origins? Quality? Usage? Organization? Future Challenges

Specification Organization Strategies

Scenario Definition Languages

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-44
SLIDE 44

Successes Origins? Quality? Usage? Organization? Future Challenges

Specification Organization Strategies

Scenario Definition Languages

M vs φ?

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-45
SLIDE 45

Successes Origins? Quality? Usage? Organization? Future Challenges

Specification Organization Strategies

Scenario Definition Languages

M vs φ?

Matlab/Simulink

not scalable not backwards-compatible for long specification lifecycles not designed for this (kludgy) . . .

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-46
SLIDE 46

Successes Origins? Quality? Usage? Organization? Future Challenges

Specification Organization Strategies

Scenario Definition Languages

M vs φ?

Matlab/Simulink

not scalable not backwards-compatible for long specification lifecycles not designed for this (kludgy) . . .

Database: SQL

relationships are inherently non-tabular

requires flattening the database requires extensive JOINs; non-performable

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-47
SLIDE 47

Successes Origins? Quality? Usage? Organization? Future Challenges

Specification Organization Strategies

Scenario Definition Languages

M vs φ?

Matlab/Simulink

not scalable not backwards-compatible for long specification lifecycles not designed for this (kludgy) . . .

Database: SQL

relationships are inherently non-tabular

requires flattening the database requires extensive JOINs; non-performable

None of these solve the organization problem!

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-48
SLIDE 48

Successes Origins? Quality? Usage? Organization? Future Challenges

Big Data of Specifications?

If we do it right, specifications are everywhere! How do we organize specifications for each

subsystem subcomponent level of abstraction

How do we mine specifications for

data patterns statistical analysis coverage

How do we search specifications? How do we sort specifications? How do we integrate specification languages for different purposes? How do we make specifications available for reuse? We have a Big Data of Specifications problem!

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-49
SLIDE 49

Successes Origins? Quality? Usage? Organization? Future Challenges

Neo4j: Property Graph Database16

A property graph G = {N, P, R} where N is a set of nodes, P is a set of properties, R is a set of relationships, Node: document contain sets of properties Properties: key/value pair Key: string Value: arbitrary data type Relationships: connect & structure nodes direction label start node end node [properties]

16https://neo4j.com/ Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-50
SLIDE 50

Successes Origins? Quality? Usage? Organization? Future Challenges

Specification Challenges: to Infinity and Beyond!

You are here Specifications Completeness Correctness Coverage Quality

Where are we now?

Continuously re-assess . . .

Where will we get specifications from? How should we measure specification quality? How do we best use specifications? How should we organize specifications?

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy

slide-51
SLIDE 51

Successes Origins? Quality? Usage? Organization? Future Challenges

Specification Challenges: to Infinity and Beyond!

You are here Specifications Completeness Correctness Coverage Quality

Where are we now?

Continuously re-assess . . .

Where will we get specifications from? How should we measure specification quality? How do we best use specifications? How should we organize specifications? ... in the context of cyber-physical, autonomous systems?

Laboratory for

Temporal Logic

Kristin Yvonne Rozier Specification: The Biggest Bottleneck in FM & Autonomy