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でレイトレーシングしよう!レイトレーシング実装と最適化の解説
PPT
Operating Guidelines for Petri Net Based Services Models
PDF
Pragmatic model checking: from theory to implementations
PDF
Colored petri nets theory and applications
PPTX
A petri-net
PDF
The Petri Net API - A collection of Petri net-related functions
PPT
NETWORK FILE SYSTEM
PDF
NFS(Network File System)
【Unite Tokyo 2019】Unityでレイトレーシングしよう!レイトレーシング実装と最適化の解説
Operating Guidelines for Petri Net Based Services Models
Pragmatic model checking: from theory to implementations
Colored petri nets theory and applications
A petri-net
The Petri Net API - A collection of Petri net-related functions
NETWORK FILE SYSTEM
NFS(Network File System)

Similar to Verification with LoLA: 1 Basics (20)

KEY
Verification with LoLA
KEY
Verification with LoLA: 4 Using LoLA
PDF
Platform-independent static binary code analysis using a meta-assembly language
PDF
L5. Data Transformation and Feature Engineering
PDF
Clojure - An Introduction for Lisp Programmers
PDF
Recurrent Neural Networks, LSTM and GRU
KEY
Google Go Overview
PDF
FP Days: Down the Clojure Rabbit Hole
PDF
DSJ_Unit I & II.pdf
PPTX
Decima Engine: Visibility in Horizon Zero Dawn
PPTX
Tesseract OCR Engine
PPTX
Cg shaders with Unity3D
PPTX
Can programming be liberated from the von neumann style?
PDF
Incremental pattern matching in the VIATRA2 model transformation system
PPTX
Should i Go there
PDF
Environmentally robust ASR front end for DNN-based acoustic models
PPTX
The Factoring Dead: Preparing for the Cryptopocalypse
PDF
Connected Components Labeling
PDF
Matplotlib Review 2021
Verification with LoLA
Verification with LoLA: 4 Using LoLA
Platform-independent static binary code analysis using a meta-assembly language
L5. Data Transformation and Feature Engineering
Clojure - An Introduction for Lisp Programmers
Recurrent Neural Networks, LSTM and GRU
Google Go Overview
FP Days: Down the Clojure Rabbit Hole
DSJ_Unit I & II.pdf
Decima Engine: Visibility in Horizon Zero Dawn
Tesseract OCR Engine
Cg shaders with Unity3D
Can programming be liberated from the von neumann style?
Incremental pattern matching in the VIATRA2 model transformation system
Should i Go there
Environmentally robust ASR front end for DNN-based acoustic models
The Factoring Dead: Preparing for the Cryptopocalypse
Connected Components Labeling
Matplotlib Review 2021
Ad

More from Universität Rostock (20)

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

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Machine learning based COVID-19 study performance prediction
PPTX
sap open course for s4hana steps from ECC to s4
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Encapsulation theory and applications.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Spectroscopy.pptx food analysis technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine learning based COVID-19 study performance prediction
sap open course for s4hana steps from ECC to s4
MIND Revenue Release Quarter 2 2025 Press Release
Programs and apps: productivity, graphics, security and other tools
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
Spectral efficient network and resource selection model in 5G networks
Encapsulation theory and applications.pdf
Empathic Computing: Creating Shared Understanding
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Understanding_Digital_Forensics_Presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
20250228 LYD VKU AI Blended-Learning.pptx

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