ICFEM98, Brisbane Australia, 11 Decemb er 1998, 9am - - PowerPoint PPT Presentation
ICFEM98, Brisbane Australia, 11 Decemb er 1998, 9am - - PowerPoint PPT Presentation
ICFEM98, Brisbane Australia, 11 Decemb er 1998, 9am Ubiquitous Abstraction: A New App roach T o Mechanized F o rmal V erication John Rushb y Computer Science Lab o rato ry SRI International Menlo P a rk, CA
SLIDE 1 ICFEM98, Brisbane Australia, 11 Decemb er 1998, 9am
SLIDE 2 Ubiquitous Abstraction: A New App roach T
- Mechanized
- rmal
- rato
SLIDE 3 F
- rmal
- F
- rmal
- rks,
- f
- But
- ut
- r
- lic
- And
- Calculations
- st-ho
- Augments
- Compa
- ther
SLIDE 4 Automating F
- rmal
- T
- ls
- rtant
- ut
- They
- nly
- rtant
- Just
- ther
- ls
- And
- rtant
- ut
- ls
- Sp
- w
- Sp
- w
- Sp
- w
- Oh,
SLIDE 5 Where T
- Apply
- rmal
- ls?
- There
- int
- E.g.,
- f
- F
- cus
- n
- Usually
- f
- Concurrency,
- And
- Erro
- Notably
- missions
SLIDE 6 So What Should T
- ls
- Determine
- f
- ften
- Prop
- ften
- Can
- k
- sides
- Need
- r
- nly
- As
- Should
- Generally
- And
- Switch
- ut
- f
SLIDE 7 Mechanizing Refutation: Mo del Checking
- If
- ften
- Check
- f
- ral
- ften
- Complexit
- f
- But
- f
- f
- nential
- f
- nents
- Hence,
- r
- Do
- Exp
- u
- ssibilities
- f
- f
- ssibilities
- f
- r
SLIDE 8 Mechanizing F
- rmal
- The
- ls
- n
- With
- Guiding
- In
- r
- d
- And
- It
- ften
- f
- But
- Where
- It
- f
- w
- f
SLIDE 9 A T rivial Example Sho w that when control is at B, then x
- 2
- 3
SLIDE 10 A ttempted Pro
- f
- W
- p(s))
- p(post))
- invariant(p)(init
- wn
- f
- The
- f
- 2
- Need
- 1
SLIDE 11 And In General?
- Can
- p
- La
- f
- Required
- Eo
- The
- Everything
- ssible
- There
- rk
- n
- f
- But
- king
SLIDE 12 Another Direction
- Mo
- int)
- Substitutes
- f
- But
- nly
- rks
- So
- And
- Will
SLIDE 13 V erication Via Prop ert y-Preserving Abstraction
- In
- And
- ne
- And
- n
- Such
- init
- tr
- p
- Then
- invariant(p
- invariant(p
- And
SLIDE 14 The Example: Bo
- lean
- Often
- se
- f
- The
- f
- Some
- lean
- nd
- This
- lean
- F
- r
- ne
- lean
- nding
- 2
SLIDE 15 An Abstract T ransition Relation F
- r
- 2
- 2
SLIDE 16 V erication Conditions fo r the Example Abstraction
- All
- f
- 2
- Essentially
- f
- Requires
- La
- f
- Required
SLIDE 17 So What's T
- Be
- Saves
- f
- Abstract
- But
- coa
SLIDE 18 Calculated Abstract T ransition Relation F
- r
- 2
- 2
SLIDE 19 Diagnosing The Problem
- Mo
- fA,
- 2g
- 2g
- If
- ssible
- fA,
- 2g
- 2g
- W
- rtant
- 1
- So
- nding
- 1
- This
SLIDE 20 Making It Practical
- (A
- w
- f
- Sta
- Develop
- int
- There
- u
- And
SLIDE 21 Making It Practical (ctd.)
- Generate
- ssible
- fs/calculations
- Can
- 1
- Use
- Bo
- lean
- n
- Build
- ls
- T
- help
- Can
- T
- f
SLIDE 22 Doing It Ubiquitously
- Mo
- Which
- The
- f
- f
- f
- And
- ften
- ne
- Mo
- Use
- f
- nes
- E.g.,
- lean
- n
- 1
- f
- n
- 2
SLIDE 23 Iterated Abstractions
- Can
- Slicing
- f
- Abstract
- And
- E.g.,
SLIDE 24 Iterated Abstraction, Concretization, Inva riant Generation John Rushb y , SRI Ubiquitous Abstraction: 23
SLIDE 25 Integrating Abstraction With Theo rem Proving
- So
- nly
- n
- Can
- f
- f
- Are
- rking
- n
- And
- d
- lean
SLIDE 26 Integrating Abstraction With Theo rem Proving (ctd.)
- In
- 2
- Suggests
- n
- And
- Metho
SLIDE 27 Integrating Abstraction With Theo rem Proving (ctd. 2)
No No Yes invariants newly proved conjecture new invariant: wishes granted abstract system abstract new conjecture abstract program Abstraction generator Theorem prover Invariant generator trace? violating concrete matches trace? new abstract variables new wishes wishes pending subgoals property Proof! Yes invariants analyzer Trace trace Trace simulator Counterexample! variables
John Rushb y , SRI Ubiquitous Abstraction: 26 SLIDE 28 The \New" App roach
- Instead
- f
- w
- ls
- T
- Cut
- ls
- By
- f
- That
- f
- f
- riginal
- Within
- rk
- ls
- p
- Generate
- ls
- Co
- p
- ls
- lic
- utcomes
- The
- lic
- rato
SLIDE 29 The SAL Idea
Abs. Result Model2
2
Abs. Result n Modeln Analyzer Abs. Result 1 Model
System Description Analysis Results
Abstractor Concretizer Concretizer
Analyzer
1 2 1
Analyzer 2
1 1 n
Intermediate Language Model Existing Verification Tools and Analyzers
Abstractor Abstractor
2 n
Concretizern
John Rushb y , SRI Ubiquitous Abstraction: 28 SLIDE 30 The General View Theo rem Proving Abstraction Comp
- sition
- sition
- f
SLIDE 31 Related W
- rk
- Resea
- n
- Mo
- n
- E.g.,
- f
- masulo,
- Much
- n
- w
- Prop
- sitional
- alma
- With
- WS1S
SLIDE 32 Credits None
- f
- rk
- Klaus
- Hassen
- di:
- Saddek
- Vlad
- Shank
- m
SLIDE 33 T
- Lea
- Bro
- rts
- ~owre/cav98.html
- ~rusu/tacas99.ht
- ~saidi/Invariant
- Ch
- Info
- ut
- ur
- F
- Allegro
- r
- Need
- r