Abstract
In this paper, two not-difficult inequalities are invented and proved in detail, which adequately describe the behavior of discrete logical functions and . Based on these proven inequalities, infinitely differentiable extensions of the logical functions and were defined for the entire . These suitable extensions were applied to systems of logical equations. Specifically, the system of m logical equations in a constructive way without adding any equations (not field equations and no others) is transformed in first into an equivalent system of smooth rational equations so that the solution of can be reduced to the problem minimization of the objective function, and any numerical optimization methods can be applied since the objective function will be infinitely differentiable. Again, we transformed into an equivalent system of polynomial equations . This means that any symbolic methods for solving polynomial systems can be used to solve and analyze an equivalent . The equivalence of these systems has been proved in detail. Based on these proofs and results, in the next paper, we plan to study the practical applicability of numerical optimization methods for and symbolic methods for .
Keywords:
inequalities; proof of inequalities; application of inequalities; Zhegalkin polynomials; logical operations; systems of logical equations; algebraic cryptanalysis; approximation; numerical optimization; system of polynomial equations MSC:
26D15; 26D20; 97H30; 26D07; 06E30; 03G05; 65H10; 90C09; 90C23; 90C26
1. Introduction
For many years, systems of logical equations have been an important area of research. The solution of logical equations penetrates into many areas of modern science, such as logical design, biology, grammar, chemistry, law, medicine, spectroscopy, and graph theory [1]. Numerous problems in operations research may be reduced to the solution of a system of logical equations. A striking example is the problem of a coalition game of people with a dominance relation between different strategies [2]. Solutions of logical equations also serve as an important tool in the processing of pseudo-Boolean equations and inequalities and associated problems of integer linear programming [2].
Another important and promising area in which the solution of a system of logical equations is used is algebraic cryptanalysis. For a specific cipher, algebraic cryptanalysis consists of two stages: transforming the cipher into a system of polynomial equations (usually over a Boolean ring) and solving the resulting system of polynomial equations [3]. One of the first successful applications of solving a system of logical equations in a cryptographic problem was demonstrated in [4]. Therefore, many new directions and algorithms for solving systems of logical equations are being developed and adapted [5,6,7,8,9,10,11]. One such direction is the transformation to the real continuous domain, since the real continuous domain is a richer area to work with since it includes many well-developed methods and algorithms. The essence of this direction lies in the fact that the system of logical equations is transformed into a system in a real domain and the solution is sought in a real continuous domain. The transformed system is reducible to a numerical optimization problem. It enables the application, analysis, and combination of techniques such as the steepest descent algorithm, Newton’s method, and the coordinate descent algorithm [11,12,13,14,15,16,17,18].
Very recently, in [17,18], an interesting idea was proposed, namely, based on the proofs of simple inequalities, an arbitrary system of logical equations was transformed into the corresponding unique system of polylinear–polynomial equations in a unit -dimensional cube . In , the equivalence of systems of logical and polylinear-polynomial equations was shown after adding one equation of a special form to the system. In , the solution of a system of polylinear–polynomial equations was reduced to the problem of optimizing a polylinear objective function. The authors found that, according to the system of equations, the composed polylinear objective function does not have a local extremum either inside, or on the edges, or on the faces of . It takes the minimum value at the vertices of .
In this paper, we approached this issue from the point of view of constructively finding a system of m rational (polynomial) equations, which in is equivalent to a system of m logical equations based on suitable inequalities. Thus, two simple inequalities were constructed and shown in detail. Thanks to the proofs of the transformations of these inequalities into equalities, we have determined (found) suitable smooth (infinitely differentiable) extensions of the discrete logical functions and relative to the entire domain . These suitable extensions are applied to systems of logical equations. Namely, the system of m logical equations in a constructive way without adding any equations (not field equations and no others) is transformed in first into an equivalent system of m smooth rational equations so that the solution of the system of m smooth rational equations can be reduced to the problem minimization of the objective function and any numerical optimization methods can be applied since the objective function will be infinitely differentiable. Again, we transformed the system of m smooth rational equations into an equivalent system of m polynomial equations. This means that any symbolic methods for solving polynomial systems can be used to solve and analyze an equivalent system of m polynomial equations. The equivalence of these systems has been proved in detail.
2. A Suitable Inequality for the Logical Operation and a Proof of Its Necessary Properties
First, we define or recall the necessary notations and formulas for further convenience.
Let be an -dimensional real domain.
Let be an -dimensional unit Boolean cube.
Let be the logical operation (addition by mod 2), i.e., Let be the logical operation (logical multiplication), i.e.,
In this section, we formulate and prove one inequality that “adequately” describes the behavior of the logical function , and based on this provable inequality, we define a suitable infinitely differentiable extension of the logical function to the entire domain .
Proposition 1.
Ifand the following is the case:
then the following comparisons are true:
- (i)
- ;
- (ii)
- ;
- (iii)
- and —even;
- (iv)
- and—odd.
Proof of Proposition 1.
- (i)
- For any
It follows from the last inequality that the following is the case.
Althernatively, it is the same as the following.
- (ii)
- First, we prove in the direct direction, if , then the following is the case:or it is the same as the following.
Now, we prove in the opposite direction, if .
- (iii)
- First, let us prove in the direct direction, if , then it follows from item that . Now, note that if , then the following is the case.
Now we prove in the opposite direction, if and —even, then we have the following.
- (iv)
- This point follows from points and ; for clarity and visibility, we can conduct a separate proof and it is similar to the proof of point .
First, let us prove in the direct direction, if , then it follows from item that . Now, note that if , then the following obtains.
Now we prove in the opposite direction, if и —odd, then the following obtains.
□
Thus, we obtain the following.
Based on the last fact, the infinitely differentiable function can be called a suitable and smoothly continuous extension of the discrete function to the entire domain . Therefore, from the beginning, we decided that the following expression:
would be denoted by .
3. A Suitable Inequality for the Logical Operation and a Proof of Its Necessary Properties
In this section, we formulate and prove one inequality that “adequately” describes the behavior of the logical function , and based on this provable inequality, we define a suitable infinitely differentiable extension of the logical function to the entire domain .
Proposition 2.
Ifand the following is the case:
then the following comparisons are true:
- (i)
- ;
- (ii)
- If , then ;
- (iii)
- ;
- (iv)
- .
Proof of Proposition 2.
- (i)
- The first inequality on the left is obvious, since and .
Now, let us prove the second inequality, which is on the right. To perform this, in the process, we also use the inequality between the arithmetic mean and the geometric mean.
- (ii)
- If , then the following is obtained.
- (iii)
- Indeed, the following is the case.
- (iv)
- Indeed, the following is the case.
□
Thus, we obtain the following:
Based on the last fact, the infinitely differentiable function can be called a suitable and smoothly continuous extension of the discrete function to the entire domain . Therefore, from the beginning, we decided that the following expression:
would be denoted by .
4. Application of the Developed and Proven Inequalities for the Equivalent Transformation of the System of Logical Equations into the Real Domain
In this section, we apply these contrived and proven inequalities to a system of logical equations. Specifically, we transform the system of logical equations in into an equivalent system of rational equations by using suitable continuations of logical functions and without adding any other equations (not field equations of the form and no other). We prove the equivalence of these systems in great detail.
Consider the following arbitrary system of logical equations:
where —essential variables of the system ; —logical operation ; —logical operation ; , —Zhegalkin polynomial; —coefficient of of polynomial .
Replacing the functions and with the functions and from system , we obtain the corresponding smooth transformed system:
where .
Theorem 1.
In , systemsandare equivalent in the sense that they have the same solutions.
Proof of Theorem 1.
Let be an arbitrary solution of system . Then, it is obvious that . Now, it follows from Propositions 1 and 2 that or in other words is the solution of system . Thus far, we have proved that the set of solutions of system is a subset of the set of solutions of system . Conversely, let be an arbitrary solution of system . This means that . Proposition 1 implies that and From the fact that any variable is essential for at least one polynomial of system and from Proposition 2, it follows that . Now, it follows from Propositions 1 and 2 that if , then or in other words is a solution of system . Conversely, we also proved that the set of solutions of system is a subset of solutions of system .
Thus, we proved that if at least one system has a solution, then their sets of solutions are equal, or in other words, they are equivalent.
- (ii.a)
- Let system have no solution. Let us prove that, in this case system, also has no solution. From contradiction, let be the solution of the system . This means that . Proposition 1 implies that and From the fact that any variable is essential for at least one polynomial of system and from Proposition 2, it follows that . Now, it follows from Propositions 1 and 2 that if , then , or in other words is a solution of system . We have obtained a contradiction, which had to be proved.
- (ii.b)
- Let system have no solution. Let us prove that in this case that system also has no solution. From contradiction, let be the solution of the system . Then, it is obvious that . Now, it follows from Proposition 1 and Proposition 2 that , or in other words, is the solution of system . We have obtained a contradiction, which had to be proved. □
Remark 1.
After entering the value ofinto systemand reducing to a common denominator, each functionwill look as follows:
whereare polynomials of variables, and. Then, it is clear that in thesystem, (2) is equivalent to the following system of polynomial equations.
5. Conclusions
In this paper, firstly, we invented and proved in detail two not-difficult inequalities. Thanks to the proofs of the transformations of these “aesthetic” inequalities into equalities, we have determined (found) suitable smooth (infinitely differentiable) extensions of the discrete logical functions and to the entire domain . These suitable extensions are applied to systems of logical equations. The system of m logical equations in a constructive way without adding any equations (not field equations and no others) is transformed in first into an equivalent system of m smooth rational equations so that the solution of the system of m smooth rational equations can be reduced to the problem minimization of the objective function and any numerical optimization methods can be applied since the objective function will be infinitely differentiable. Secondly, again, we transformed the system of m smooth rational equations into an equivalent system of m polynomial equations. This means that any symbolic methods for solving polynomial systems can be used to solve and analyze an equivalent system of m polynomial equations. The equivalence of these systems has been proved in detail.
Thanks to the proofs of these suitable inequalities, we can also conclude that another advantage of the proposed method for transforming the system is that it can be applied to any system described with arithmetic operations and logical operations and .
Author Contributions
Conceptualization, D.N.B.; methodology, D.N.B.; validation, T.E.; formal analysis, D.N.B. and R.N.B.; investigation, K.E.; writing—original draft preparation, R.N.B.; visualization, D.M.; supervision, V.F.; project administration, V.S. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Acknowledgments
The authors are grateful to the anonymous reviewers for their valuable comments and suggestions, which helped them to improve the manuscript.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Brown, F.M. Boolean Reasoning: The Logic of Boolean Equations; Kluwer Academic Publishers: Boston, MA, USA, 1990. [Google Scholar]
- Hammer, P.L.; Rudeanu, S. Boolean Methods in Operations Research and Related Areas; Springer: Berlin, Germany, 1968. [Google Scholar]
- Bard, G.V. Algorithms for Solving Linear and Polynomial Systems of Equations over Finite Fields, with Applications to Cryptanalysis; University of Maryland: College Park, MD, USA, 2007. [Google Scholar]
- Faugere, J.C.; Joux, A. Algebraic cryptanalysis of hidden field equation (HFE) cryptosystems using Gröbner bases. In Annual International Cryptology Conference; Springer: Berlin/Heidelberg, Germany, 2003; pp. 44–60. [Google Scholar]
- Armknecht, F. Improving Fast Algebraic Attacks. In International Workshop on Fast Software Encryption; Springer: Berlin/Heidelberg, Germany, 2004; pp. 65–82. [Google Scholar]
- Bardet, M.; Faugèrebcd, J.-C.; Salvye, B.; Spaenlehauer, P.-J. On the complexity of solving quadratic boolean systems. J. Complex. 2013, 29, 53–75. [Google Scholar] [CrossRef]
- Courtois, N. Fast Algebraic Attacks on Stream Ciphers with Linear Feedback. In Lecture Notes in Computer Science, CRYPTO 2003; Boneh, D., Ed.; Springer: Berlin/Heidelberg, Germany, 2003; Volume 2729, pp. 176–194. [Google Scholar]
- Faugere, J.C. A new efficient algorithm for computing Gröbner bases (F4). J. Pure Appl. Algebra 1999, 139, 61–88. [Google Scholar] [CrossRef]
- Faugere, J.C. A new efficient algorithm for computing Gröbner bases without reduction to zero (F5). In Proceedings of the 2002 International Symposium on Symbolic and Algebraic Computation, Lille, France, 7–10 July 2002; pp. 75–83. [Google Scholar]
- Liu, M.; Lin, D.; Pei, D. Fast algebraic attacks and decomposition of symmetric Boolean functions. IEEE Trans. Inf. Theory 2011, 57, 4817–4821. [Google Scholar] [CrossRef][Green Version]
- Abdel-Gawad, A.H.; Atiya, A.F.; Darwish, N.M. Solution of systems of Boolean equations via the integer domain. Inform. Sci. 2010, 180, 288–300. [Google Scholar] [CrossRef]
- Gu, J. How to Solve Very Large-Scale Satisfiability (VLSS) Problems. In Technical Report UCECETR-90-002; University of Calgary: Calgary, AB, Canada, 1990. [Google Scholar]
- Gu, J. On optimizing a search problem. In Artificial Intelligence Methods and Applications; Bourbakis, N.G., Ed.; World Scientific Publishers: Singapore, 1992. [Google Scholar]
- Gu, J. Global optimization for satisfiability (SAT) problem. IEEE Trans. Knowl. Data Eng. 1994, 6, 361–381. [Google Scholar] [CrossRef]
- Gu, J.; Gu, Q.; Du, D. On optimizing the satisfiability (SAT) problem. J. Comput. Sci. Technol. 1999, 14, 1–17. [Google Scholar] [CrossRef]
- Barotov, D.N.; Muzafarov, D.Z.; Barotov, R.N. On one method for solving systems of Boolean algebraic equations. Mod. Math. Concept Innov. Math. Educ. 2021, 8, 17–23. [Google Scholar]
- Barotov, D.; Osipov, A.; Korchagin, S.; Pleshakova, E.; Muzafarov, D.; Barotov, R.; Serdechnyy, D. Transformation Method for Solving System of Boolean Algebraic Equations. Mathematics 2021, 9, 3299. [Google Scholar] [CrossRef]
- Barotov, D.N.; Barotov, R.N. Polylinear Transformation Method for Solving Systems of Logical Equations. Mathematics 2022, 10, 918. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).