Skip to main content

A Deterministic Algorithm for Testing the Equivalence of Read-Once Branching Programs with Small Discrepancy

  • Conference paper
  • First Online:
Unveiling Dynamics and Complexity (CiE 2017)

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

Included in the following conference series:

  • 665 Accesses

Abstract

The problem to test the equivalence of two given read-once branching programs is a well-known problem in the class BPP that is not known to be solvable in deterministic polynomial time. The standard probabilistic algorithm to solve the problem reduces it to an instance of Polynomial Identity Testing and then applies the Schwartz-Zippel Lemma to test the equivalence. This method needs \(O(n\log n)\) random bits, where n is the number of variables in the branching programs. We provide a new method for testing the equivalence of read-once branching programs that uses \(O(\log n +\log |D|)\) random bits, where D is the set of assignments for which the two branching programs compute different results. This means O(n) random bits in the worst case and a deterministic polynomial time algorithm when the discrepancy set D is at most polynomial.

We also show that the equivalence test can be extended to the more powerful model of deterministic, decomposable negation normal forms (d-DNNFs).

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 EPUB and 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

References

  1. Agrawal, M., Hoang, T.M., Thierauf, T.: The polynomially bounded perfect matching problem is in NC 2. In: Thomas, W., Weil, P. (eds.) STACS 2007. LNCS, vol. 4393, pp. 489–499. Springer, Heidelberg (2007). doi:10.1007/978-3-540-70918-3_42

    Chapter  Google Scholar 

  2. Blum, M., Chandra, A.K., Wegman, M.N.: Equivalence of free boolean graphs can be decided probabilistically in polynomial time. Inf. Process. Lett. 10, 80–82 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  3. Randal, E.: Bryant: graph based algorithms for Boolean function manipulation. IEEE Trans. Comput. 35, 677–691 (1986)

    MATH  Google Scholar 

  4. Chari, S., Rohatgi, P., Srinivasan, A.: Randomness-optimal unique element isolation with applications to perfect matching and related problems. SIAM J. Comput. 24, 1036–1050 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  5. Darwiche, A.: Compiling knowledge into decomposable negation normal form. In: Proceedings of the 16th International Joint Conference on Artifical Intelligence (IJCAI 1999), pp. 284–289 (1999)

    Google Scholar 

  6. Darwiche, A.: Decomposable negation normal form. J. ACM 48, 608–647 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  7. Darwiche, A.: On the tractable counting of theory models and its application to truth maintenance and belief revision. J. Appl. Non-Class. Logics 11, 11–34 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  8. Darwiche, A., Marquis, P.: A knowledge compilation map. J. Artifi. Intell. Res. 17, 229–264 (2002)

    MathSciNet  MATH  Google Scholar 

  9. Darwiche, A., Huang, J.: Testing equivalence probabilistically. Technical report D-123 Computer Science Department, UCLA (2002)

    Google Scholar 

  10. Fortune, S., Hopcroft, J., Schmidt, E.M.: The complexity of equivalence and containment for free single variable program schemes. In: Ausiello, G., Böhm, C. (eds.) ICALP 1978. LNCS, vol. 62, pp. 227–240. Springer, Heidelberg (1978). doi:10.1007/3-540-08860-1_17

    Chapter  Google Scholar 

  11. Grigoriev, D., Karpinski, M.: The matching problem for bipartite graphs with polynomially bounded permanents is in NC. In: 28th Annual Symposium on Foundations of Computer Science (FOCS), pp. 166–172 (1987)

    Google Scholar 

  12. Lee, C.Y.: Representation of switching circuits by binary-decision programs. Bell Syst. Tech. J. 38, 985–999 (1959)

    Article  MathSciNet  Google Scholar 

  13. Masek, W.J.: A fast algorithm for the string editing problem and decision graph complexity. M.Sc. thesis, MIT, Cambridge MA (1976)

    Google Scholar 

  14. Meinel, C.: Modified Branching Programs and Their Computational Power. LNCS, vol. 370. Springer, Heidelberg (1989)

    MATH  Google Scholar 

  15. Mulmuley, K., Vazirani, U.V., Vazirani, V.V.: Matching is as easy as matrix inversion. Combinatorica 7, 105–113 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  16. Schöning, U., Pruim, R.: Gems of Theoretical Computer Science. Springer, Heidelberg (1998)

    Book  MATH  Google Scholar 

  17. Jacob, T.: Schwartz: fast probabilistic algorithms for verification of polynomial identities. J. ACM 27, 701–717 (1980)

    Article  Google Scholar 

  18. Sipser, M.: Introduction to the Theory of Computation. PWS Publishing Company, Boston (1997)

    MATH  Google Scholar 

  19. Wegener, I.: Branching Programs and Binary Decision Diagrams. SIAM, Philadelphia (2000)

    Book  MATH  Google Scholar 

  20. Zippel, R.: Probabilistic algorithms for sparse polynomials. In: Ng, E.W. (ed.) Symbolic and Algebraic Computation. LNCS, vol. 72, pp. 216–226. Springer, Heidelberg (1979). doi:10.1007/3-540-09519-5_73

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jacobo TorĂ¡n .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Arnold, S., TorĂ¡n, J. (2017). A Deterministic Algorithm for Testing the Equivalence of Read-Once Branching Programs with Small Discrepancy. In: Kari, J., Manea, F., Petre, I. (eds) Unveiling Dynamics and Complexity. CiE 2017. Lecture Notes in Computer Science(), vol 10307. Springer, Cham. https://doi.org/10.1007/978-3-319-58741-7_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-58741-7_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-58740-0

  • Online ISBN: 978-3-319-58741-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics