Skip to main content

Nullstellensatz-Proofs for Multiplier Verification

  • Conference paper
  • First Online:
Book cover Computer Algebra in Scientific Computing (CASC 2020)

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

Included in the following conference series:

Abstract

Automated reasoning techniques based on computer algebra are an essential ingredient in formal verification of gate-level multiplier circuits. Generating and independently checking proof certificates helps to validate the verification results. Two algebraic proof systems, Nullstellensatz and polynomial calculus, are well-known in proof complexity. The practical application of the polynomial calculus has been studied recently. However, producing and checking Nullstellensatz certificates for multiplier verification has not been considered so far. In this paper we show how Nullstellensatz proofs can be generated as a by-product of multiplier verification and present our Nullstellensatz proof checker Nuss-Checker. Additionally, we prove quadratic upper bounds on the proof size for simple array multipliers.

This work is supported by the LIT AI Lab funded by the State of Upper Austria.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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

Notes

  1. 1.

    http://fmv.jku.at/nussproofs.

References

  1. Atserias, A., Ochremiak, J.: Proof complexity meets algebra. ACM Trans. Comput. Log. 20(1), 1:1–1:46 (2019)

    Google Scholar 

  2. Beame, P., Cook, S.A., Edmonds, J., Impagliazzo, R., Pitassi, T.: The relative complexity of NP search problems. J. Comput. Syst. Sci. 57(1), 3–19 (1998)

    Article  MathSciNet  Google Scholar 

  3. Beame, P., Impagliazzo, R., Krajícek, J., Pitassi, T., Pudlák, P.: Lower bounds on Hilbert’s Nullstellensatz and propositional proofs. In: Proceedings of the London Mathematical Society, vol. s3-73, pp. 1–26 (1996)

    Google Scholar 

  4. Becker, T., Weispfenning, V., Kredel, H.: Gröbner Bases. Graduate texts in mathematics, vol. 141. Springer, Heidelberg (1993)

    Google Scholar 

  5. Bright, C., Kotsireas, I., Ganesh, V.: Applying computer algebra systems and SAT solvers to the Williamson conjecture. J. Symb. Comput. (2019, in press)

    Google Scholar 

  6. Bright, C., Kotsireas, I., Ganesh, V.: SAT solvers and computer algebra systems: a powerful combination for mathematics. CoRR abs/1907.04408 (2019)

    Google Scholar 

  7. Buchberger, B.: Ein Algorithmus zum Auffinden der Basiselemente des Restklassenringes nach einem nulldimensionalen Polynomideal. Ph.D. thesis, University of Innsbruck (1965)

    Google Scholar 

  8. Choo, D., Soos, M., Chai, K.M.A., Meel, K.S.: Bosphorus: bridging ANF and CNF solvers. In: DATE 2019, pp. 468–473. IEEE (2019). https://doi.org/10.23919/DATE.2019.8715061

  9. Ciesielski, M.J., Su, T., Yasin, A., Yu, C.: Understanding algebraic rewriting for arithmetic circuit verification: a bit-flow model. IEEE TCAD 1 (2019). Early acces

    Google Scholar 

  10. Clegg, M., Edmonds, J., Impagliazzo, R.: Using the Groebner basis algorithm to find proofs of unsatisfiability. In: STOC 1996, pp. 174–183. ACM (1996)

    Google Scholar 

  11. Cruz-Filipe, L., Heule, M.J.H., Hunt, W.A., Kaufmann, M., Schneider-Kamp, P.: Efficient certified RAT verification. In: de Moura, L. (ed.) CADE 2017. LNCS (LNAI), vol. 10395, pp. 220–236. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-63046-5_14

    Chapter  Google Scholar 

  12. Decker, W., Greuel, G.M., Pfister, G., Schönemann, H.: Singular 4-1-0 – a computer algebra system for polynomial computations (2016). http://www.singular.uni-kl.de

  13. Gelder, A.V.: Verifying RUP proofs of propositional unsatisfiability. In: ISAIM 2008 (2008)

    Google Scholar 

  14. Gelder, A.V.: Producing and verifying extremely large propositional refutations - have your cake and eat it too. Ann. Math. Artif. Intell. 65(4), 329–372 (2012)

    Article  MathSciNet  Google Scholar 

  15. Grigoriev, D., Hirsch, E.A., Pasechnik, D.V.: Exponential lower bound for static semi-algebraic proofs. In: Widmayer, P., Eidenbenz, S., Triguero, F., Morales, R., Conejo, R., Hennessy, M. (eds.) ICALP 2002. LNCS, vol. 2380, pp. 257–268. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-45465-9_23

    Chapter  Google Scholar 

  16. Heule, M.J.H.: Computing small unit-distance graphs with chromatic number 5. CoRR abs/1805.12181 (2018)

    Google Scholar 

  17. Heule, M.J.H., Biere, A.: Proofs for satisfiability problems. In: All about Proofs, Proofs for All Workshop, APPA 2014. vol. 55, pp. 1–22. College Publications (2015)

    Google Scholar 

  18. Heule, M.J.H., Jr., W.A.H., Wetzler, N.: Trimming while checking clausal proofs. In: FMCAD 2013, pp. 181–188. IEEE (2013)

    Google Scholar 

  19. Heule, M.J.H., Kauers, M., Seidl, M.: Local search for fast matrix multiplication. In: Janota, M., Lynce, I. (eds.) SAT 2019. LNCS, vol. 11628, pp. 155–163. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-24258-9_10

    Chapter  Google Scholar 

  20. Heule, M.J.H., Kauers, M., Seidl, M.: New ways to multiply \(3\times 3\)-matrices. CoRR abs/1905.10192 (2019)

    Google Scholar 

  21. Homma, N., Watanabe, Y., Aoki, T., Higuchi, T.: Formal design of arithmetic circuits based on arithmetic description language. IEICE Trans. 89-A(12), 3500–3509 (2006)

    Google Scholar 

  22. Impagliazzo, R., Pudlák, P., Sgall, J.: Lower bounds for the polynomial calculus and the Gröbner basis algorithm. Comput. Complex. 8(2), 127–144 (1999)

    Article  Google Scholar 

  23. Kaufmann, D.: Formal verification of multiplier circuits using computer algebra. Ph.D. thesis, Informatik, Johannes Kepler University Linz (2020)

    Google Scholar 

  24. Kaufmann, D., Biere, A., Kauers, M.: Verifying large multipliers by combining SAT and computer algebra. In: FMCAD 2019, pp. 28–36. IEEE (2019)

    Google Scholar 

  25. Kaufmann, D., Biere, A., Kauers, M.: From DRUP to PAC and back. In: DATE 2020, pp. 654–657. IEEE (2020)

    Google Scholar 

  26. Kaufmann, D., Biere, A., Kauers, M.: SAT, computer algebra, multipliers. In: Vampire 2018 and Vampire 2019. EPiC Series in Computing, vol. 71, pp. 1–18. EasyChair (2020)

    Google Scholar 

  27. Kaufmann, D., Fleury, M., Biere, A.: Pacheck and Pastèque, checking practical algebraic calculus proofs. In: FMCAD 2020. IEEE (2020, to appear). http://fmv.jku.at/pacheck_pasteque/,

  28. Kuehlmann, A., Paruthi, V., Krohm, F., Ganai, M.: Robust Boolean reasoning for equivalence checking and functional property verification. IEEE TCAD 21(12), 1377–1394 (2002)

    Google Scholar 

  29. Lv, J., Kalla, P., Enescu, F.: Efficient Gröbner basis reductions for formal verification of Galois field arithmetic circuits. IEEE TCAD 32(9), 1409–1420 (2013)

    Google Scholar 

  30. Mahzoon, A., Große, D., Drechsler, R.: PolyCleaner: clean your polynomials before backward rewriting to verify million-gate multipliers. In: ICCAD 2018, pp. 129:1–129:8. ACM (2018)

    Google Scholar 

  31. Mahzoon, A., Große, D., Drechsler, R.: RevSCA: using reverse engineering to bring light into backward rewriting for big and dirty multipliers. In: DAC 2019, pp. 185:1–185:6. ACM (2019)

    Google Scholar 

  32. Mahzoon, A., Große, D., Scholl, C., Drechsler, R.: Towards formal verification of optimized and industrial multipliers. In: DATE 2020, pp. 544–549. IEEE (2020)

    Google Scholar 

  33. Meir, O., Nordström, J., Robere, R., de Rezende, S.F.: Nullstellensatz size-degree trade-offs from reversible pebbling. ECCC 137, 18:1–18:16 (2019)

    Google Scholar 

  34. Miksa, M., Nordström, J.: A generalized method for proving polynomial calculus degree lower bounds. In: Conference on Computational Complexity, CCC 2015. LIPIcs, vol. 33, pp. 467–487. Schloss Dagstuhl (2015)

    Google Scholar 

  35. Niemetz, A., Preiner, M., Wolf, C., Biere, A.: Btor2, BtorMC and Boolector 3.0. In: Chockler, H., Weissenbacher, G. (eds.) CAV 2018. LNCS, vol. 10981, pp. 587–595. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-96145-3_32

    Chapter  Google Scholar 

  36. Parhami, B.: Computer Arithmetic - Algorithms and Hardware designs. Oxford University Press, New York (2000)

    Google Scholar 

  37. Ritirc, D., Biere, A., Kauers, M.: A practical polynomial calculus for arithmetic circuit verification. In: SC2 2018, pp. 61–76. CEUR-WS (2018)

    Google Scholar 

  38. Roche, D.S.: What can (and can’t) we do with sparse polynomials? In: ISSAC, pp. 25–30. ACM (2018)

    Google Scholar 

  39. Saraf, S., Volkovich, I.: Black-box identity testing of depth-4 multilinear circuits. Combinatorica 38(5), 1205–1238 (2018). https://doi.org/10.1007/s00493-016-3460-4

  40. Soos, M., Meel, K.S.: BIRD: engineering an efficient CNF-XOR SAT solver and its applications to approximate model counting. In: AAAI 2019, pp. 1592–1599. AAAI Press (2019). https://doi.org/10.1609/aaai.v33i01.33011592

  41. Wolfram Research Inc: Mathematica (2016), version 10.4

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Daniela Kaufmann .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kaufmann, D., Biere, A. (2020). Nullstellensatz-Proofs for Multiplier Verification. In: Boulier, F., England, M., Sadykov, T.M., Vorozhtsov, E.V. (eds) Computer Algebra in Scientific Computing. CASC 2020. Lecture Notes in Computer Science(), vol 12291. Springer, Cham. https://doi.org/10.1007/978-3-030-60026-6_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-60026-6_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-60025-9

  • Online ISBN: 978-3-030-60026-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics