Skip to main content

Deterministic Verification of Integer Matrix Multiplication in Quadratic Time

  • Conference paper
SOFSEM 2014: Theory and Practice of Computer Science (SOFSEM 2014)

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

Abstract

Let A, B and C be n×n matrices of integer numbers. We show that there is a deterministic algorithm of quadratic time complexity (w.r.t. the number of arithmetical operations) verifying whether AB=C. For the integer matrices this result improves upon the best known result by Freivalds from 1977 that only holds for a randomized (Monte Carlo) algorithm. As a consequence, we design a quadratic time nondeterministic integer and rational matrix multiplication algorithm whose time complexity cannot be further improved. This indicates that any technique for proving a super-quadratic lower bound for deterministic matrix multiplication must exploit methods which would not work for the non-deterministic case.

This research was partially supported by RVO 67985807 and the GA ČR grant No. P202/10/1333. The paper is based on the joint research of both authors which started shortly before the untimely death of Ivan Korec in 1998.

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. Ar, S., Blum, M., Codenotti, B., Gemmel, P.: Checking approximate computations over the reals. In: Proc. 25th ACM STOC, pp. 786–795 (1993)

    Google Scholar 

  2. Blum, L., Cucker, F., Shub, M., Smale, S.: Complexity and Real Computation, 452 p. Springer (1998)

    Google Scholar 

  3. Brassard, G., Bratley, P.: Fundamentals of Algorithmics, 524 p. Prentice Hall, Englewood Cliffs (1996)

    Google Scholar 

  4. Cauchy, A.L.: Exercises de Mathematique, Oeuvres (2), vol. 9, 122 p. (1829)

    Google Scholar 

  5. Freivalds, R.: Probabilistic machines can use less running time. In: Proceedings of the IFIP Congress 1977 Information Processing, pp. 839–842 (1977)

    Google Scholar 

  6. Freivalds, R.: Fast Probabilistic Algorithms. In: Bečvář, J. (ed.) Proc. Mathematical Foundations of Computer Science MFCS 1979. LNCS, vol. 74, pp. 57–69. Springer (1979)

    Google Scholar 

  7. Householder, A.: The Numerical Treatment of a Single Nonlinear Equation. McGraw-Hill, New York (1970)

    MATH  Google Scholar 

  8. Kimbrel, T., Sinha, R.K.: A probabilistic algorithm for verifying matrix products using O(n 2) time and log2 n + O(1) random bits. Inf. Process. Lett. 45(2), 107–110 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  9. Motwani, R., Raghavan, P.: Randomized Algorithms. Cambridge University Press, New York (1995)

    Book  MATH  Google Scholar 

  10. Naor, J., Naor, M.: Small-bias probability spaces: efficient constructions and applications. SIAM J. Comput. 22(4), 838–856 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  11. Raz, R.: On the complexity of matrix product. In: Proc. of the 34th Annual ACM Symposium on Theory of Computing. ACM Press (2002)

    Google Scholar 

  12. Strassen, V.: Gaussian elimination is not optimal. Numer. Math. 13, 354–356 (1969)

    Article  MATH  MathSciNet  Google Scholar 

  13. Vassilevska Williams, V.: Multiplying matrices faster than Coppersmith-Winograd. ACM STOC, 887–898 (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 International Publishing Switzerland

About this paper

Cite this paper

Korec, I., Wiedermann, J. (2014). Deterministic Verification of Integer Matrix Multiplication in Quadratic Time. In: Geffert, V., Preneel, B., Rovan, B., Štuller, J., Tjoa, A.M. (eds) SOFSEM 2014: Theory and Practice of Computer Science. SOFSEM 2014. Lecture Notes in Computer Science, vol 8327. Springer, Cham. https://doi.org/10.1007/978-3-319-04298-5_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-04298-5_33

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-04297-8

  • Online ISBN: 978-3-319-04298-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics