Skip to main content

Online Algorithms to Generate Slices for Regular Temporal Logic Predicates

  • Conference paper
Distributed Computing and Networking (ICDCN 2014)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8314))

Included in the following conference series:

Abstract

Predicate detection, which involves determining if a distributed computation satisfies a given predicate, may require searching a state space that is exponential in the number of processes. To ameliorate this problem of state explosion, the notion of a computation slice was introduced. A computation slice is a concise representation of the consistent cuts of a computation that satisfy a given predicate. It suffices to search the state-space of the slice to detect a predicate, which is generally much smaller than the original computation. Traditionally, algorithms for computation slicing have been offline in nature, where the entire set of events is known apriori. Online algorithms are useful in applications where detecting a fault as soon as it arises is critical. To be practical, online algorithms must only perform incremental updates to the slice, and not recompute it from scratch. In this paper, we present online algorithms to generate the slice with respect to temporal logicĀ (or path based) predicates AG(B), EG(B) and EF(B), when B is a regular state-based predicate. To our knowledge, these are the first online algorithms that compute slices for path-based predicates. Our algorithms are efficient, with an amortized time complexity of O(n 2), where n is the number of processes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Chandy, K.M., Lamport, L.: Distributed Snapshots: Determining Global States of Distributed Systems. ACM Transactions on Computer SystemsĀ 3(1), 63ā€“75 (1985)

    ArticleĀ  Google ScholarĀ 

  2. Cooper, R., Marzullo, K.: Consistent Detection of Global Predicates. In: Proceedings of the ACM/ONR Workshop on Parallel and Distributed Debugging, pp. 163ā€“173 (1991)

    Google ScholarĀ 

  3. Alagar, S., Venkatesan, S.: Techniques to Tackle State Explosion in Global Predicate Detection. IEEE Transactions on Software Engineering (TSE)Ā 27(8), 704ā€“714 (2001)

    ArticleĀ  Google ScholarĀ 

  4. Stoller, S.D., Schneider, F.: Faster Possibility Detection by Combining Two Approaches. In: Helary, J.-M., Raynal, M. (eds.) WDAG 1995. LNCS, vol.Ā 972, pp. 318ā€“332. Springer, Heidelberg (1995)

    ChapterĀ  Google ScholarĀ 

  5. Clarke, E.M., Grumberg, O.: Avoiding the state explosion problem in temporal logic model checking. In: Proceedings of the 6th ACM Symposium on Principles of Distributed Computing (PODC), pp. 294ā€“303 (1987)

    Google ScholarĀ 

  6. Mittal, N., Garg, V.K.: Techniques and applications of computation slicing. Distributed ComputingĀ 17, 251ā€“277 (2005)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  7. Clarke, E.M., Grumberg, O., Peled, D.A.: Model Checking. MIT Press (December 1999)

    Google ScholarĀ 

  8. Godefroid, P.: Partial-Order Methods for the Verification of Concurrent Systems. LNCS, vol.Ā 1032. Springer, Heidelberg (1996)

    BookĀ  Google ScholarĀ 

  9. Stoller, S.D., Unnikrishnan, L., Liu, Y.A.: Efficient Detection of Global Properties in Distributed Systems Using Partial-Order Methods. In: Emerson, E.A., Sistla, A.P. (eds.) CAV 2000. LNCS, vol.Ā 1855, pp. 264ā€“279. Springer, Heidelberg (2000)

    ChapterĀ  Google ScholarĀ 

  10. Mittal, N., Sen, A., Garg, V.K.: Solving Computation Slicing Using Predicate Detection. IEEE Transactions on Parallel and Distributed Systems (TPDS)Ā 18(12), 1700ā€“1713 (2007)

    ArticleĀ  Google ScholarĀ 

  11. Leucker, M., Schallhart, C.: A Brief Account of Runtime Verification. The Journal of Logic and Algebraic ProgrammingĀ 78(5), 293ā€“303 (2009)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  12. Drusinsky, D.: The Temporal Rover and the ATG Rover. In: Havelund, K., Penix, J., Visser, W. (eds.) SPIN 2000. LNCS, vol.Ā 1885, pp. 323ā€“330. Springer, Heidelberg (2000)

    ChapterĀ  Google ScholarĀ 

  13. Kim, M., Kannan, S., Lee, I., Sokolsky, O., Viswanathan, M.: Java-MaC: A Run-time Assurance Tool for Java Programs. Electronic Notes in Theoretical Computer ScienceĀ 55(2), 218ā€“235 (2001)

    ArticleĀ  Google ScholarĀ 

  14. Havelund, K., Roşu, G.: Monitoring Java Programs with Java PathExplorer. Electronic Notes in Theoretical Computer ScienceĀ 55(2), 200ā€“217 (2001)

    ArticleĀ  Google ScholarĀ 

  15. Sen, K., Roşu, G., Agha, G.: Detecting Errors in Multithreaded Programs by Generalized Predictive Analysis of Executions. In: Steffen, M., Zavattaro, G. (eds.) FMOODS 2005. LNCS, vol.Ā 3535, pp. 211ā€“226. Springer, Heidelberg (2005)

    ChapterĀ  Google ScholarĀ 

  16. Chen, F., Şerbănuţă, T.F., Roşu, G.: jPredictor: A Predictive Runtime Analysis Tool for Java. In: Proceedings of the International Conference on Software Engineering, ICSE (2008)

    Google ScholarĀ 

  17. Chen, F., Roşu, G.: Parametric and Sliced Causality. In: Damm, W., Hermanns, H. (eds.) CAV 2007. LNCS, vol.Ā 4590, pp. 240ā€“253. Springer, Heidelberg (2007)

    ChapterĀ  Google ScholarĀ 

  18. Garg, V.K.: Elements of distributed computing. John Wiley & Sons, Inc. (2002)

    Google ScholarĀ 

  19. Sen, A., Garg, V.K.: Detecting Temporal Logic Predicates in Distributed Programs Using Computation Slicing. In: Papatriantafilou, M., Hunel, P. (eds.) OPODIS 2003. LNCS, vol.Ā 3144, pp. 171ā€“183. Springer, Heidelberg (2004)

    ChapterĀ  Google ScholarĀ 

  20. Lamport, L.: Time, Clocks, and the Ordering of Events in a Distributed System. Communications of the ACM (CACM)Ā 21(7), 558ā€“565 (1978)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  21. Natarajan, A., Mittal, N., Garg, V.K.: Online Algorithms to Generate Slices for Regular Temporal Logic Predicates. Technical Report UTDCS-11-12, Department of Computer Science, The University of Texas at Dallas (2012)

    Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2014 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Natarajan, A., Mittal, N., Garg, V.K. (2014). Online Algorithms to Generate Slices for Regular Temporal Logic Predicates. In: Chatterjee, M., Cao, Jn., Kothapalli, K., Rajsbaum, S. (eds) Distributed Computing and Networking. ICDCN 2014. Lecture Notes in Computer Science, vol 8314. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-45249-9_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-45249-9_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-45248-2

  • Online ISBN: 978-3-642-45249-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics