Half tensor product SAT solving method and device based on conjunctive normal form
A conjunctive paradigm and semi-tensor product technology, applied in the computer field, can solve problems such as inapplicability to solving large-scale SAT problems, inability to guarantee problem satisfiability, difficulty of SAT solvers, etc., to optimize calculation accuracy and improve The effect of compactness and calculation time improvement
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] figure 1 It is a schematic diagram of the semi-tensor product SAT solving device based on conjunctive normal form according to the present invention, such as figure 1 As shown, the semi-tensor product SAT solving device based on conjunctive normal form of the present invention includes a clause parsing module 10, a matrix conversion module 20, an assignment solving module 30 and a satisfiable decombining module 40, wherein,
[0062] The clause parsing module 10 is used to segment the input conjunctive normal form, ie, the CNF formula, and parse it into the form to be solved.
[0063] The matrix conversion module 20 is configured to convert the to-be-solved form parsed by the clause parsing module 10 into a corresponding to-be-solved matrix form.
[0064] The assignment and solving module 30 is used for assigning a value to the matrix to be solved, and the assignment case sentence of each clause is independent of other clauses.
[0065] The satisfiable solution merging...
Embodiment 2
[0067] figure 2 For the flow chart of the semi-tensor product SAT solution method based on conjunctive normal form according to the present invention, the following will refer to figure 2 , and describe in detail the semi-tensor product SAT solution method based on conjunctive normal form of the present invention.
[0068] First, in step 101, the conjunctive normal form clause is parsed.
[0069] Preferably, the CNF formula is parsed by a parser, and two integer variables are defined: V and C, where V represents the number of variables in the formula; C represents the number of independent clauses in the formula. Define C independent disjunctive clauses: C x , where C x The Boolean relationship between the variables in is "or", and the value range of x is 0
[0070] In step 102, according to the conjunctive normal form clauses obtained by parsing, each clause C is x The representation is converted into the corresponding logical matrix representation M x , and will...
Embodiment 3
[0091] image 3 It is a schematic diagram of an example of a matrix-half-tensor product product according to an embodiment of the present invention. like image 3 As shown, by dividing and matching the dimensions of the front and rear matrices, the calculation of the multiplication of two matrices with different dimensions is realized.
[0092] Figure 4 It is a schematic diagram of the solution flow of the traditional SAT solver based on the conjunction normal form according to the first embodiment of the present invention. like Figure 4 As shown, first randomly select a variable a or b or c for assignment, and at the same time form the data structure of the binary tree, and then because the constraint of SAT is that the expression can be satisfied, that is, equal to 1, then assign the next variable until all variables are Assignment ends. If the result of SAT is obtained, it will be returned. If the result of UNSAT is obtained, it goes back to the previous assignment ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com