SMT Solving over Finite Field Arithmetic

Thomas Hader,Daniela Kaufmann,Laura Kovács
DOI: https://doi.org/10.29007/4n6w
2023-05-15
Abstract:Non-linear polynomial systems over finite fields are used to model functional behavior of cryptosystems, with applications in system security, computer cryptography, and post-quantum cryptography. Solving polynomial systems is also one of the most difficult problems in mathematics. In this paper, we propose an automated reasoning procedure for deciding the satisfiability of a system of non-linear equations over finite fields. We introduce zero decomposition techniques to prove that polynomial constraints over finite fields yield finite basis explanation functions. We use these explanation functions in model constructing satisfiability solving, allowing us to equip a CDCL-style search procedure with tailored theory reasoning in SMT solving over finite fields. We implemented our approach and provide a novel and effective reasoning prototype for non-linear arithmetic over finite fields.
Logic in Computer Science
What problem does this paper attempt to address?
This paper attempts to solve the problem of solving systems of nonlinear polynomial equations over finite fields. Specifically, the paper proposes an automated reasoning process based on Model Constructing Satisfiability (MCSat) to determine the satisfiability of nonlinear equations over finite fields. This problem has important applications in fields such as cryptography, system security, and post - quantum cryptography, but solving systems of nonlinear polynomial equations is itself one of the most difficult problems in mathematics. Existing methods usually have problems of high computational complexity and low efficiency when dealing with such problems. Therefore, this paper proves that polynomial constraints can generate finite - base interpretation functions over finite fields by introducing zero - decomposition techniques, and applies these interpretation functions to the MCSat process to improve the efficiency and accuracy of the solution. ### Specific Problem Description 1. **Background and Motivation**: - The problem of solving systems of nonlinear polynomial equations over finite fields has important applications in fields such as cryptography, system security, and post - quantum cryptography. - Existing SMT solvers lack specialized methods when dealing with polynomial constraints over finite fields and usually rely on inefficient encoding methods (such as using NIA theory). - Existing methods have high computational complexity and low efficiency when dealing with such problems. 2. **Research Objectives**: - Propose an automated reasoning process based on MCSat to determine the satisfiability of systems of nonlinear polynomial equations over finite fields. - Prove that polynomial constraints can generate finite - base interpretation functions over finite fields by introducing zero - decomposition techniques. - Apply these interpretation functions to the MCSat process to improve the efficiency and accuracy of the solution. 3. **Main Contributions**: - Develop a new theory propagation rule that allows efficient handling of polynomial constraints over finite fields in the MCSat process. - Prove that polynomial constraints can generate finite - base interpretation functions over finite fields through zero - decomposition techniques. - Implement a new prototype system for SMT solving over finite fields and verify its effectiveness and applicability through experiments. ### Key Technologies - **Zero - Decomposition Technique**: Used to generate finite - base interpretation functions, avoiding the use of field polynomials, thereby reducing computational complexity. - **MCSat Framework**: Combines a conflict - driven clause learning (CDCL) - style search process, combining the capabilities of SAT solvers and theory solvers to improve the efficiency of the solution. - **Theory Propagation Rule**: Develop a new theory propagation rule that allows efficient handling of polynomial constraints over finite fields in the MCSat process. ### Application Scenarios - **Cryptography**: Used for modeling and analyzing the functional behavior of modern cryptographic systems, especially in system security and post - quantum cryptography. - **System Security**: Used to verify the security of blockchain technologies (such as smart contracts). - **Biology**: Used for modeling the dynamic systems of biological networks, especially for periodic modeling in continuous dynamic systems. Through the above methods, the paper provides an efficient and accurate solution that can solve systems of nonlinear polynomial equations over finite fields, thereby promoting research and applications in related fields.