SlideShare a Scribd company logo
Verification with LoLA
   Niels Lohmann and Karsten Wolf


   The Blue Angel
   Germany, 1930


                 Run Lola Run
                 Germany,1998
What is LoLA?
• Explicit state space generation
• Place/Transition nets
• Focus on standard properties
• Many reduction techniques, unique features
• Stream based interface
• Open source
Where does it come
           from?
• INA - Integrated Net Analyzer by Peter Starke
 •   grown for long time

 •   state space and structural techniques

 •   several net classes

 •   suboptimal design decisions

 •   MODULA 2


• Papers needed tables with absolute run times
Purpose
• Generate competitive “experimental results”
  tables
• Explore impact of basic design decisions


• ... Ship as tool
Milestones
• 1998: 1st release
• 1998-2005: State space reduction techniques
• 2000: Presentation at Petri Nets
• 2005-: Case studies, integration
• 2007: Invited talk at Petri Nets
• since 2008: Implementation of software
  development processes
Basic Design Decisions
• No GUI
 • Realistic nets are generated, not
    painted
  • GUI blocks portability
  • Many GUIs available, simple
    connection possible
  • Do not want user interaction
    during verification
Basic Design Decisions
• One property, one state space
 • as opposed to query languages on state
    spaces
 • One property, one dedicated reduction
 • Benefit from on-the-fly verification
 • Generation faster than loading
Basic Design Decisions

• Configuration at compile time
 • property class, search strategy, reductions
 • #define instead of if()
 • repeated runs in same configuration
Featured Properties
•   Boundedness (place)        •   Reversibility

•   Boundedness                •   Home states

•   Reachability (marking)     •   LTL properties F φ,
                                   GF φ, FG φ (predicate)
•   Reachability (predicate)
                               •   CTL (formula)
•   Deadlocks

•   Death (transition)

•   Liveness (predicate)
Featured Reductions
•   Stubborn Sets                     •   Reduction based on S/T
                                          invariants
      •   unique: dedicated
          techniques for standard
          properties
                                            •   unique.



•   Symmetries                        •   Coverability graphs

      •   unique: automated
                                            •   unique: combination with
                                                other reductions
          determination of
          symmetries in low level
          net


•   Sweep-Line

      •   unique: automated
          calculation of a progress
          measure
Goal of Tutorial


• Can LoLA help you?
• Where (and why) does it perform well?
• How to (optimally) use it, to integrate it
Outline
• Introduction         • Input Language
    • Motivation,      • State Space
      background,        Techniques
      history
                       • Using LoLA
    • Preview and
      outline          • Case Studies
    • Basic notions    • Integrating LoLA
    • First demo       • Implementation
Basic notions: net
•   Net:        [P,T,F,W,m0]
     •     P,T finite, nonempty, disjoint

     •     F ⊆(P x T) ∪ (T x P)

     •     W: F →N+

     •     m0: P →N

•   Firing
     •     t activated in m: (p,t) ∈ F   m(p) ≥ W(p,t)

     •     firing; m [t> m’: m’(p) = m(p) - W(p,t) + W(t,p)

•   State space:
     •     states: reachable markings

     •     edges: m[t>m’
Basic notions: properties
•   Place p is ...
      •   bounded iff there is a k such that, for all reachable m, m(p) < k


•   Transition t is ...
      •   dead iff it is not activated in any reachable marking


•   State predicate φ (p <>≤≥=≠ k, φ∧φ, φ∨φ,¬φ) is ...
      •   reachable iff some reachable marking satisfies v

      •   live iff, from every reachable marking, a marking is reachable that satisfies φ


•   Net ...
      •   is bounded iff all places are

      •   is reversible iff the initial marking is reachable from all reachable marking

      •   has home states iff some marking is reachable from all reachable markings

      •   is deadlock-free iff every reachable marking activates at least one transition
Basic notions: Temporal Logic
•   LTL: infinite path (starting in m0) satisfies ...
     •   F φ : is satisfied at least once

     •   GF φ: φ is satisfied in infinitely many markings

     •   FG φ: φ is satisfied forever from some marking on

•   CTL: marking m satisfies ...
     •   AX (EX) φ: φ holds in all (some) immediate successor marking

     •   AF (EF) φ: every (some) path from m contains a marking satisfying φ

     •   AG (EG) φ: on every (some) path from m, φ holds in all markings

     •   A(E) φ U ψ: on every (some) path starting in m, there is a marking that satisfies
         ψ such that all preceding markings satisfy φ
Basic notions: State Space

• Strongly connected component                            (scc)
    •   max set of mutually reachable states

    •   partitions state space

    •   form acyclic graph, maximal elements: terminal scc (tscc)


• Properties vs scc:
    •   reversible: net has one scc

    •   home states: net has one tscc

    •   live: satisfiable in all tscc
Basic notions: Search

• Depth first
   •   can be extended easily for detecting cycles and scc

   •   tends to yield long paths


• Breadth first
   •   difficult to detect cycles and scc

   •   yields shortest path

More Related Content

PDF
【Unite Tokyo 2019】Unityでレイトレーシングしよう!レイトレーシング実装と最適化の解説
UnityTechnologiesJapan002
 
PPT
Operating Guidelines for Petri Net Based Services Models
Universität Rostock
 
PDF
Pragmatic model checking: from theory to implementations
Universität Rostock
 
PDF
Colored petri nets theory and applications
Abu Hussein
 
PPTX
A petri-net
Omar Al-Sabek
 
PDF
The Petri Net API - A collection of Petri net-related functions
Universität Rostock
 
PPT
NETWORK FILE SYSTEM
Roshan Kumar
 
PDF
NFS(Network File System)
udamale
 
【Unite Tokyo 2019】Unityでレイトレーシングしよう!レイトレーシング実装と最適化の解説
UnityTechnologiesJapan002
 
Operating Guidelines for Petri Net Based Services Models
Universität Rostock
 
Pragmatic model checking: from theory to implementations
Universität Rostock
 
Colored petri nets theory and applications
Abu Hussein
 
A petri-net
Omar Al-Sabek
 
The Petri Net API - A collection of Petri net-related functions
Universität Rostock
 
NETWORK FILE SYSTEM
Roshan Kumar
 
NFS(Network File System)
udamale
 

Similar to Verification with LoLA: 1 Basics (20)

KEY
Verification with LoLA
Universität Rostock
 
PPT
Inside LoLA - Experiences from building a state space tool for place transiti...
Universität Rostock
 
KEY
Verification with LoLA: 4 Using LoLA
Universität Rostock
 
PPT
Exploring Petri Net State Spaces
Universität Rostock
 
PPT
Solving problems by searching
Luigi Ceccaroni
 
PDF
Karsten Wolf @ Carl Adam Petri Memorial Symposium
Universität Rostock
 
PDF
LoLA - a low-level Petri net analyzer
Universität Rostock
 
PPT
Cs221 lecture7-fall11
darwinrlo
 
PPT
Cs221 logic-planning
darwinrlo
 
PPTX
The SAM Pattern: State Machines and Computation
Jean-Jacques Dubray
 
PPT
Chapter3 Search
Khiem Ho
 
PDF
TR tabling presentation_2010_09
Paul Fodor
 
PPT
02-solving-problems-by-searching-(us).ppt
forf7627
 
PDF
State space representation and search.pdf
vijeta3feb
 
KEY
Verification with LoLA: 2 The LoLA Input Language
Universität Rostock
 
PPT
Lecture 2
chandsek666
 
PPTX
Lec#2
Ali Shah
 
PPTX
AI-03 Problems State Space.pptx
Pankaj Debbarma
 
PPTX
chapter 3 Problem Solving using searching.pptx
gadisaAdamu
 
PPTX
AI-Lec3 State Search Space-Graph Theory.pptx
SeharAli13
 
Verification with LoLA
Universität Rostock
 
Inside LoLA - Experiences from building a state space tool for place transiti...
Universität Rostock
 
Verification with LoLA: 4 Using LoLA
Universität Rostock
 
Exploring Petri Net State Spaces
Universität Rostock
 
Solving problems by searching
Luigi Ceccaroni
 
Karsten Wolf @ Carl Adam Petri Memorial Symposium
Universität Rostock
 
LoLA - a low-level Petri net analyzer
Universität Rostock
 
Cs221 lecture7-fall11
darwinrlo
 
Cs221 logic-planning
darwinrlo
 
The SAM Pattern: State Machines and Computation
Jean-Jacques Dubray
 
Chapter3 Search
Khiem Ho
 
TR tabling presentation_2010_09
Paul Fodor
 
02-solving-problems-by-searching-(us).ppt
forf7627
 
State space representation and search.pdf
vijeta3feb
 
Verification with LoLA: 2 The LoLA Input Language
Universität Rostock
 
Lecture 2
chandsek666
 
Lec#2
Ali Shah
 
AI-03 Problems State Space.pptx
Pankaj Debbarma
 
chapter 3 Problem Solving using searching.pptx
gadisaAdamu
 
AI-Lec3 State Search Space-Graph Theory.pptx
SeharAli13
 
Ad

More from Universität Rostock (20)

PDF
Where did I go wrong? Explaining errors in process models
Universität Rostock
 
PDF
Decidability Results for Choreography Realization
Universität Rostock
 
PDF
Artifact-centric modeling using BPMN
Universität Rostock
 
PDF
Compliance by Design for Artifact-Centric Business Processes
Universität Rostock
 
KEY
Verification with LoLA: 7 Implementation
Universität Rostock
 
KEY
Verification with LoLA: 6 Integrating LoLA
Universität Rostock
 
KEY
Verification with LoLA: 5 Case Studies
Universität Rostock
 
KEY
Verification with LoLA: 3 State Space Reduction
Universität Rostock
 
PDF
Saarbruecken
Universität Rostock
 
PDF
Ws4 dsec talk @ Kickoff RS3
Universität Rostock
 
PDF
Internal Behavior Reduction for Services
Universität Rostock
 
PDF
Implementation of an Interleaving Semantics for TLDA
Universität Rostock
 
PDF
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Universität Rostock
 
PDF
Demonstration of BPEL2oWFN and Fiona
Universität Rostock
 
PDF
service-technology.org — A tool family for correct
business processes and ser...
Universität Rostock
 
PDF
Tools4BPEL Tutorial
Universität Rostock
 
PDF
Diagnosis of Open Workflow Nets
Universität Rostock
 
PDF
Analyzing Web Service Behavior
Universität Rostock
 
PDF
Modellierung eines verteilten Algorithmus
Universität Rostock
 
PDF
Analyzing Interacting BPEL Processes - A Tool Demo
Universität Rostock
 
Where did I go wrong? Explaining errors in process models
Universität Rostock
 
Decidability Results for Choreography Realization
Universität Rostock
 
Artifact-centric modeling using BPMN
Universität Rostock
 
Compliance by Design for Artifact-Centric Business Processes
Universität Rostock
 
Verification with LoLA: 7 Implementation
Universität Rostock
 
Verification with LoLA: 6 Integrating LoLA
Universität Rostock
 
Verification with LoLA: 5 Case Studies
Universität Rostock
 
Verification with LoLA: 3 State Space Reduction
Universität Rostock
 
Saarbruecken
Universität Rostock
 
Ws4 dsec talk @ Kickoff RS3
Universität Rostock
 
Internal Behavior Reduction for Services
Universität Rostock
 
Implementation of an Interleaving Semantics for TLDA
Universität Rostock
 
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Universität Rostock
 
Demonstration of BPEL2oWFN and Fiona
Universität Rostock
 
service-technology.org — A tool family for correct
business processes and ser...
Universität Rostock
 
Tools4BPEL Tutorial
Universität Rostock
 
Diagnosis of Open Workflow Nets
Universität Rostock
 
Analyzing Web Service Behavior
Universität Rostock
 
Modellierung eines verteilten Algorithmus
Universität Rostock
 
Analyzing Interacting BPEL Processes - A Tool Demo
Universität Rostock
 
Ad

Recently uploaded (20)

PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
PDF
Software Development Company | KodekX
KodekX
 
PPTX
Coupa-Overview _Assumptions presentation
annapureddyn
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPT
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
Software Development Company | KodekX
KodekX
 
Coupa-Overview _Assumptions presentation
annapureddyn
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 

Verification with LoLA: 1 Basics

  • 1. Verification with LoLA Niels Lohmann and Karsten Wolf The Blue Angel Germany, 1930 Run Lola Run Germany,1998
  • 2. What is LoLA? • Explicit state space generation • Place/Transition nets • Focus on standard properties • Many reduction techniques, unique features • Stream based interface • Open source
  • 3. Where does it come from? • INA - Integrated Net Analyzer by Peter Starke • grown for long time • state space and structural techniques • several net classes • suboptimal design decisions • MODULA 2 • Papers needed tables with absolute run times
  • 4. Purpose • Generate competitive “experimental results” tables • Explore impact of basic design decisions • ... Ship as tool
  • 5. Milestones • 1998: 1st release • 1998-2005: State space reduction techniques • 2000: Presentation at Petri Nets • 2005-: Case studies, integration • 2007: Invited talk at Petri Nets • since 2008: Implementation of software development processes
  • 6. Basic Design Decisions • No GUI • Realistic nets are generated, not painted • GUI blocks portability • Many GUIs available, simple connection possible • Do not want user interaction during verification
  • 7. Basic Design Decisions • One property, one state space • as opposed to query languages on state spaces • One property, one dedicated reduction • Benefit from on-the-fly verification • Generation faster than loading
  • 8. Basic Design Decisions • Configuration at compile time • property class, search strategy, reductions • #define instead of if() • repeated runs in same configuration
  • 9. Featured Properties • Boundedness (place) • Reversibility • Boundedness • Home states • Reachability (marking) • LTL properties F φ, GF φ, FG φ (predicate) • Reachability (predicate) • CTL (formula) • Deadlocks • Death (transition) • Liveness (predicate)
  • 10. Featured Reductions • Stubborn Sets • Reduction based on S/T invariants • unique: dedicated techniques for standard properties • unique. • Symmetries • Coverability graphs • unique: automated • unique: combination with other reductions determination of symmetries in low level net • Sweep-Line • unique: automated calculation of a progress measure
  • 11. Goal of Tutorial • Can LoLA help you? • Where (and why) does it perform well? • How to (optimally) use it, to integrate it
  • 12. Outline • Introduction • Input Language • Motivation, • State Space background, Techniques history • Using LoLA • Preview and outline • Case Studies • Basic notions • Integrating LoLA • First demo • Implementation
  • 13. Basic notions: net • Net: [P,T,F,W,m0] • P,T finite, nonempty, disjoint • F ⊆(P x T) ∪ (T x P) • W: F →N+ • m0: P →N • Firing • t activated in m: (p,t) ∈ F m(p) ≥ W(p,t) • firing; m [t> m’: m’(p) = m(p) - W(p,t) + W(t,p) • State space: • states: reachable markings • edges: m[t>m’
  • 14. Basic notions: properties • Place p is ... • bounded iff there is a k such that, for all reachable m, m(p) < k • Transition t is ... • dead iff it is not activated in any reachable marking • State predicate φ (p <>≤≥=≠ k, φ∧φ, φ∨φ,¬φ) is ... • reachable iff some reachable marking satisfies v • live iff, from every reachable marking, a marking is reachable that satisfies φ • Net ... • is bounded iff all places are • is reversible iff the initial marking is reachable from all reachable marking • has home states iff some marking is reachable from all reachable markings • is deadlock-free iff every reachable marking activates at least one transition
  • 15. Basic notions: Temporal Logic • LTL: infinite path (starting in m0) satisfies ... • F φ : is satisfied at least once • GF φ: φ is satisfied in infinitely many markings • FG φ: φ is satisfied forever from some marking on • CTL: marking m satisfies ... • AX (EX) φ: φ holds in all (some) immediate successor marking • AF (EF) φ: every (some) path from m contains a marking satisfying φ • AG (EG) φ: on every (some) path from m, φ holds in all markings • A(E) φ U ψ: on every (some) path starting in m, there is a marking that satisfies ψ such that all preceding markings satisfy φ
  • 16. Basic notions: State Space • Strongly connected component (scc) • max set of mutually reachable states • partitions state space • form acyclic graph, maximal elements: terminal scc (tscc) • Properties vs scc: • reversible: net has one scc • home states: net has one tscc • live: satisfiable in all tscc
  • 17. Basic notions: Search • Depth first • can be extended easily for detecting cycles and scc • tends to yield long paths • Breadth first • difficult to detect cycles and scc • yields shortest path

Editor's Notes