SlideShare une entreprise Scribd logo
1  sur  16
Lola
a low-level Petri net analyzer




sERvice-TeChNoLoGy.org
sERvice-techNoLoGy.org
Who is this “LoLA”?

• a low-level Petri net analyzer
 • everything is based on Petri nets
 • low level: N = [P, T, F, V, m0 ]
• an explicit state space verification tool
• a model checker
                         sERvice-TeChNoLoGy.org
.lola LL
 .lola HL
            .pnml

  Petri net                         “Yes!”
    model                           witness


                               path       text
                     LoLA        marking
                                    state space

  Question                          “No!”
  specification                   counterexample

marking formula
 predicate place       sERvice-TeChNoLoGy.org
p1   1
                         3    x    t
                                                [x, y]
                                  x>y                    p3
                p2   2
                         1    y
p1.1                                       ld
                                       n fo
                                   u
p1.2
       t.[x=3|y=1]
p1.3                         p3.<3|1>

p2.1                         p3.<3|2>

p2.2      t.[x=3|y=2]

p2.3                         sERvice-TeChNoLoGy.org
LoLA is curious
• Petri nets           • Temporal properties
  • deadlock freedom     • AGEF (liveness)
  • boundedness          • GF (fairness)
  • liveness             • FG (stabilization)
  • reachability         • F (eventually)
  • home markings
  • reversibility      • Temporal logics
  • quasi-liveness       • CTL
                       sERvice-TeChNoLoGy.org
LoLA is lazy modest
• partial order reduction
• symmetry reduction            smaller
• sweep line                  statespace

• cycle reduction
• invariant compression     smaller markings
• structural reduction
                       sERvice-TeChNoLoGy.org
LoLA is focused
• Be as specific as possible!
• Rather check 1000 small state spaces than
  one that is too big.
• Know your problem and the theory (sorry)!
• Performance, performance, performance.
• User-experience... But there is ProM...
                         sERvice-TeChNoLoGy.org
sERvice-TeChNoLoGy.org
LoLA is determined

• memoryless simulation influenced by
  • partial order reduction (goal-oriented)
  • path length (domain knowledge)
  • randomness (don’t fool me twice...)


                        sERvice-TeChNoLoGy.org
sERvice-TeChNoLoGy.org
LoLA is versatile
asynchronous hardware circuits
   IBM business processes
 BPEL service choreographies
cellular biology reaction chains
          AI planning
   business rule compliance

                  sERvice-TeChNoLoGy.org
LoLA is sound
• Naive: AGEF final state
• Petri netty: short circuited net is live + bound
• LoLA:
  1. check liveness of final marking
  2. check boundedness for all places
     (safety for free choice)

                         sERvice-TeChNoLoGy.org
LoLA is fast

• 33,000 - 100,000 states per second
• 42,000 - 120,000 transitions per second
• 450 - 800 MB per minute
• soundness: 4 ms per process
• bottleneck: memory allocation, I/O
                       sERvice-TeChNoLoGy.org
LoLA has many friends
• The Petri Net Kernel
• The Model Checking Kit
• CPN-AMI
• the sisters: Fiona, Wendy, Marlene, and Mia
• soon: ProM, Oryx
• you?
                        sERvice-TeChNoLoGy.org
Meet LoLA!

• http://service-technology.org/lola

• lola@service-technology.org

                        sERvice-TeChNoLoGy.org
Lola
a low-level Petri net analyzer


              So on in
               a ProM
                    you!
              near




sERvice-TeChNoLoGy.org
sERvice-techNoLoGy.org

Contenu connexe

Similaire à LoLA - a low-level Petri net analyzer

Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using javaNarayan Sau
 
splaytree-171227043127.pptx NNNNNNNNNNNNNNNNNNNNNNN
splaytree-171227043127.pptx NNNNNNNNNNNNNNNNNNNNNNNsplaytree-171227043127.pptx NNNNNNNNNNNNNNNNNNNNNNN
splaytree-171227043127.pptx NNNNNNNNNNNNNNNNNNNNNNNratnapatil14
 
Dbrec - Music recommendations using DBpedia
Dbrec - Music recommendations using DBpediaDbrec - Music recommendations using DBpedia
Dbrec - Music recommendations using DBpediaAlexandre Passant
 
Intelligent Handwriting Recognition_MIL_presentation_v3_final
Intelligent Handwriting Recognition_MIL_presentation_v3_finalIntelligent Handwriting Recognition_MIL_presentation_v3_final
Intelligent Handwriting Recognition_MIL_presentation_v3_finalSuhas Pillai
 
UNIX SHELL IN DBA EVERYDAY
UNIX SHELL IN DBA EVERYDAYUNIX SHELL IN DBA EVERYDAY
UNIX SHELL IN DBA EVERYDAYSignis Vavere
 

Similaire à LoLA - a low-level Petri net analyzer (8)

Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using java
 
Splay tree
Splay treeSplay tree
Splay tree
 
splaytree-171227043127.pptx NNNNNNNNNNNNNNNNNNNNNNN
splaytree-171227043127.pptx NNNNNNNNNNNNNNNNNNNNNNNsplaytree-171227043127.pptx NNNNNNNNNNNNNNNNNNNNNNN
splaytree-171227043127.pptx NNNNNNNNNNNNNNNNNNNNNNN
 
Dbrec - Music recommendations using DBpedia
Dbrec - Music recommendations using DBpediaDbrec - Music recommendations using DBpedia
Dbrec - Music recommendations using DBpedia
 
Verification with LoLA: 1 Basics
Verification with LoLA: 1 BasicsVerification with LoLA: 1 Basics
Verification with LoLA: 1 Basics
 
Intelligent Handwriting Recognition_MIL_presentation_v3_final
Intelligent Handwriting Recognition_MIL_presentation_v3_finalIntelligent Handwriting Recognition_MIL_presentation_v3_final
Intelligent Handwriting Recognition_MIL_presentation_v3_final
 
UNIX SHELL IN DBA EVERYDAY
UNIX SHELL IN DBA EVERYDAYUNIX SHELL IN DBA EVERYDAY
UNIX SHELL IN DBA EVERYDAY
 
UNIX SHELL IN DBA EVERYDAY
UNIX SHELL IN DBA EVERYDAYUNIX SHELL IN DBA EVERYDAY
UNIX SHELL IN DBA EVERYDAY
 

Plus de Universität Rostock

Pragmatic model checking: from theory to implementations
Pragmatic model checking: from theory to implementationsPragmatic model checking: from theory to implementations
Pragmatic model checking: from theory to implementationsUniversität Rostock
 
Where did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process modelsWhere did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process modelsUniversität Rostock
 
Decidability Results for Choreography Realization
Decidability Results for Choreography RealizationDecidability Results for Choreography Realization
Decidability Results for Choreography RealizationUniversität Rostock
 
Artifact-centric modeling using BPMN
Artifact-centric modeling using BPMNArtifact-centric modeling using BPMN
Artifact-centric modeling using BPMNUniversität Rostock
 
Compliance by Design for Artifact-Centric Business Processes
Compliance by Design for Artifact-Centric Business ProcessesCompliance by Design for Artifact-Centric Business Processes
Compliance by Design for Artifact-Centric Business ProcessesUniversität Rostock
 
Verification with LoLA: 7 Implementation
Verification with LoLA: 7 ImplementationVerification with LoLA: 7 Implementation
Verification with LoLA: 7 ImplementationUniversität Rostock
 
Verification with LoLA: 6 Integrating LoLA
Verification with LoLA: 6 Integrating LoLAVerification with LoLA: 6 Integrating LoLA
Verification with LoLA: 6 Integrating LoLAUniversität Rostock
 
Verification with LoLA: 5 Case Studies
Verification with LoLA: 5 Case StudiesVerification with LoLA: 5 Case Studies
Verification with LoLA: 5 Case StudiesUniversität Rostock
 
Verification with LoLA: 3 State Space Reduction
Verification with LoLA: 3 State Space ReductionVerification with LoLA: 3 State Space Reduction
Verification with LoLA: 3 State Space ReductionUniversität Rostock
 
Verification with LoLA: 2 The LoLA Input Language
Verification with LoLA: 2 The LoLA Input LanguageVerification with LoLA: 2 The LoLA Input Language
Verification with LoLA: 2 The LoLA Input LanguageUniversität Rostock
 
Internal Behavior Reduction for Services
Internal Behavior Reduction for ServicesInternal Behavior Reduction for Services
Internal Behavior Reduction for ServicesUniversität Rostock
 
Karsten Wolf @ Carl Adam Petri Memorial Symposium
Karsten Wolf @ Carl Adam Petri Memorial SymposiumKarsten Wolf @ Carl Adam Petri Memorial Symposium
Karsten Wolf @ Carl Adam Petri Memorial SymposiumUniversität Rostock
 
Implementation of an Interleaving Semantics for TLDA
Implementation of an Interleaving Semantics for TLDAImplementation of an Interleaving Semantics for TLDA
Implementation of an Interleaving Semantics for TLDAUniversität Rostock
 
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...Universität Rostock
 
Demonstration of BPEL2oWFN and Fiona
Demonstration of BPEL2oWFN and FionaDemonstration of BPEL2oWFN and Fiona
Demonstration of BPEL2oWFN and FionaUniversität Rostock
 
service-technology.org — A tool family for correct
business processes and ser...
service-technology.org — A tool family for correct
business processes and ser...service-technology.org — A tool family for correct
business processes and ser...
service-technology.org — A tool family for correct
business processes and ser...Universität Rostock
 

Plus de Universität Rostock (20)

Pragmatic model checking: from theory to implementations
Pragmatic model checking: from theory to implementationsPragmatic model checking: from theory to implementations
Pragmatic model checking: from theory to implementations
 
Where did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process modelsWhere did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process models
 
Decidability Results for Choreography Realization
Decidability Results for Choreography RealizationDecidability Results for Choreography Realization
Decidability Results for Choreography Realization
 
Artifact-centric modeling using BPMN
Artifact-centric modeling using BPMNArtifact-centric modeling using BPMN
Artifact-centric modeling using BPMN
 
Compliance by Design for Artifact-Centric Business Processes
Compliance by Design for Artifact-Centric Business ProcessesCompliance by Design for Artifact-Centric Business Processes
Compliance by Design for Artifact-Centric Business Processes
 
Verification with LoLA
Verification with LoLAVerification with LoLA
Verification with LoLA
 
Verification with LoLA: 7 Implementation
Verification with LoLA: 7 ImplementationVerification with LoLA: 7 Implementation
Verification with LoLA: 7 Implementation
 
Verification with LoLA: 6 Integrating LoLA
Verification with LoLA: 6 Integrating LoLAVerification with LoLA: 6 Integrating LoLA
Verification with LoLA: 6 Integrating LoLA
 
Verification with LoLA: 5 Case Studies
Verification with LoLA: 5 Case StudiesVerification with LoLA: 5 Case Studies
Verification with LoLA: 5 Case Studies
 
Verification with LoLA: 3 State Space Reduction
Verification with LoLA: 3 State Space ReductionVerification with LoLA: 3 State Space Reduction
Verification with LoLA: 3 State Space Reduction
 
Verification with LoLA: 2 The LoLA Input Language
Verification with LoLA: 2 The LoLA Input LanguageVerification with LoLA: 2 The LoLA Input Language
Verification with LoLA: 2 The LoLA Input Language
 
Saarbruecken
SaarbrueckenSaarbruecken
Saarbruecken
 
Ws4 dsec talk @ Kickoff RS3
Ws4 dsec talk @ Kickoff RS3Ws4 dsec talk @ Kickoff RS3
Ws4 dsec talk @ Kickoff RS3
 
Internal Behavior Reduction for Services
Internal Behavior Reduction for ServicesInternal Behavior Reduction for Services
Internal Behavior Reduction for Services
 
Karsten Wolf @ Carl Adam Petri Memorial Symposium
Karsten Wolf @ Carl Adam Petri Memorial SymposiumKarsten Wolf @ Carl Adam Petri Memorial Symposium
Karsten Wolf @ Carl Adam Petri Memorial Symposium
 
Implementation of an Interleaving Semantics for TLDA
Implementation of an Interleaving Semantics for TLDAImplementation of an Interleaving Semantics for TLDA
Implementation of an Interleaving Semantics for TLDA
 
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
 
Demonstration of BPEL2oWFN and Fiona
Demonstration of BPEL2oWFN and FionaDemonstration of BPEL2oWFN and Fiona
Demonstration of BPEL2oWFN and Fiona
 
service-technology.org — A tool family for correct
business processes and ser...
service-technology.org — A tool family for correct
business processes and ser...service-technology.org — A tool family for correct
business processes and ser...
service-technology.org — A tool family for correct
business processes and ser...
 
Tools4BPEL Tutorial
Tools4BPEL TutorialTools4BPEL Tutorial
Tools4BPEL Tutorial
 

LoLA - a low-level Petri net analyzer

  • 1. Lola a low-level Petri net analyzer sERvice-TeChNoLoGy.org sERvice-techNoLoGy.org
  • 2. Who is this “LoLA”? • a low-level Petri net analyzer • everything is based on Petri nets • low level: N = [P, T, F, V, m0 ] • an explicit state space verification tool • a model checker sERvice-TeChNoLoGy.org
  • 3. .lola LL .lola HL .pnml Petri net “Yes!” model witness path text LoLA marking state space Question “No!” specification counterexample marking formula predicate place sERvice-TeChNoLoGy.org
  • 4. p1 1 3 x t [x, y] x>y p3 p2 2 1 y p1.1 ld n fo u p1.2 t.[x=3|y=1] p1.3 p3.<3|1> p2.1 p3.<3|2> p2.2 t.[x=3|y=2] p2.3 sERvice-TeChNoLoGy.org
  • 5. LoLA is curious • Petri nets • Temporal properties • deadlock freedom • AGEF (liveness) • boundedness • GF (fairness) • liveness • FG (stabilization) • reachability • F (eventually) • home markings • reversibility • Temporal logics • quasi-liveness • CTL sERvice-TeChNoLoGy.org
  • 6. LoLA is lazy modest • partial order reduction • symmetry reduction smaller • sweep line statespace • cycle reduction • invariant compression smaller markings • structural reduction sERvice-TeChNoLoGy.org
  • 7. LoLA is focused • Be as specific as possible! • Rather check 1000 small state spaces than one that is too big. • Know your problem and the theory (sorry)! • Performance, performance, performance. • User-experience... But there is ProM... sERvice-TeChNoLoGy.org
  • 9. LoLA is determined • memoryless simulation influenced by • partial order reduction (goal-oriented) • path length (domain knowledge) • randomness (don’t fool me twice...) sERvice-TeChNoLoGy.org
  • 11. LoLA is versatile asynchronous hardware circuits IBM business processes BPEL service choreographies cellular biology reaction chains AI planning business rule compliance sERvice-TeChNoLoGy.org
  • 12. LoLA is sound • Naive: AGEF final state • Petri netty: short circuited net is live + bound • LoLA: 1. check liveness of final marking 2. check boundedness for all places (safety for free choice) sERvice-TeChNoLoGy.org
  • 13. LoLA is fast • 33,000 - 100,000 states per second • 42,000 - 120,000 transitions per second • 450 - 800 MB per minute • soundness: 4 ms per process • bottleneck: memory allocation, I/O sERvice-TeChNoLoGy.org
  • 14. LoLA has many friends • The Petri Net Kernel • The Model Checking Kit • CPN-AMI • the sisters: Fiona, Wendy, Marlene, and Mia • soon: ProM, Oryx • you? sERvice-TeChNoLoGy.org
  • 15. Meet LoLA! • http://service-technology.org/lola • lola@service-technology.org sERvice-TeChNoLoGy.org
  • 16. Lola a low-level Petri net analyzer So on in a ProM you! near sERvice-TeChNoLoGy.org sERvice-techNoLoGy.org