Take the three rank-one quadratic forms
The first two already give and , while
Hence all three required polynomials lie in their linear span.
Split two -digit numbers into high and low halves:
where is the base raised to . Their product is
The Karatsuba multiplication identity
computes the three required half-size products , , and , so
Since , induction gives . For ,
Padding an arbitrary input length to the next power of two changes only the constant, yielding digit multiplications with .
Write each Horn clause as an implication
when it has one positive literal , or as a forbidden conjunction
when it has none. Start with every variable false. Repeatedly, whenever all antecedents of an implication are true, set its conclusion true. If a forbidden conjunction ever has all antecedents true, report unsatisfiable; otherwise stop when no change is possible and return the resulting assignment.
Each step changes a previously false variable to true, so at most the number of variables steps occur; scanning all clauses after each step is polynomial time. For correctness, every satisfying assignment must set every variable derived by this Horn-SAT forward-chaining algorithm to true, by induction over the derivation. Therefore, if the algorithm violates a negative clause, every assignment violates it. If no violation occurs, all implications and all negative clauses are satisfied by the final assignment. This proves polynomial-time decidability.

Articles by others on the same topic (0)

There are currently no matching articles.