Definitioncore
Unate function
Also called monotone in each variable.
A Boolean function that is, in each variable, either nondecreasing or nonincreasing. Tautology and complement are easy for unate covers.
A Boolean function is unate in a variable if, as goes from 0 to 1 with the other inputs fixed, the value only goes up in all cases, or only goes down in all cases. It is positive unate in in the first case and negative unate in the second. A function is unate if it is unate in every variable. Otherwise it is binate in some variable, like . A positive unate function, unate in the positive sense in every variable, is what most mathematicians call a monotone function. That is why "monotone in each variable" and "monotone" are not the same: the first allows a different direction for each variable, while many authors use the second only for the positive case. Unate covers are easy: a unate cover is a tautology only if it has the cube with no literal. The unate recursive paradigm and Espresso are built on this fact.
Definition
Let and let and be its cofactors by and . Write when for every point .
- is positive unate in if .
- is negative unate in if .
- is unate in if one of these holds, and binate in otherwise.
- is unate if it is unate in each of its variables. It is positive unate if it is positive unate in each variable.
A function that does not depend on is both positive and negative unate in .
Unate cover. A cover , a set of cubes, is unate in if does not appear in both as and as . In positional notation, the column of does not hold both a 0 and a 1. The cover is unate if it is unate in every variable.
Facts.
- A unate cover gives a unate function. If no cube of has the literal , then every cube of the cofactor is also a cube of , so .
- The converse is false for covers. The cover is binate in , but its function is positive unate. Every unate function has some unate cover, for example the sum of its primes, by fact 3.
- Primes of a unate function. If is positive unate in , no prime of has the literal . Proof: let be a prime, where has no literal of . Take a point of with , and let be with . Then , so , and because is positive unate in . So is an implicant, and it contains strictly, which is not allowed.
- Tautology of a unate cover. A unate cover is a tautology (the constant 1) exactly when it holds the cube with no literal. Proof: if it does not, build a point : set when appears in , when appears, and when neither does. Each cube of has a literal, and each literal of is false at . So is 0 at .
- Every prime is essential. If is completely specified and unate, each prime is essential, so the sum of all primes is the unique minimum sum of products. Proof for the positive case: by fact 3, is a product of positive literals. Let be the point with exactly for the variables of . Any prime that contains is also positive, so its variables are among those of , so , and then since is prime. The negative and mixed cases are the same after renaming to .
- Unate covering. A product of sums of positive literals, like the Petrick function of a prime table, is a positive unate function. This is why the covering step of two-level minimization is called the unate covering problem. It is the set cover problem. When negative literals also occur, the problem becomes the binate covering problem.
Fact 4 gives a test in time for a unate cover of cubes. For a general cover the test is hard. A cover is a tautology exactly when the CNF that De Morgan's law gives for is not satisfiable, and every CNF arises this way, so the tautology of a general cover is co-NP-complete.
Examples and non-examples
- Unate. is positive unate in and and negative unate in . The cover is unate, and by fact 4 it is not a tautology: the point makes it 0.
- Monotone. The majority and every threshold function with positive weights are positive unate. A threshold function with mixed signs is unate. The converse fails: is positive unate but is not a threshold function.
- Binate. is binate in both variables. The multiplexer is binate in and positive unate in and .
- A binate cover of a tautology. is a tautology with no cube free of literals. Fact 4 needs the cover to be unate.
- Counts. Of the 16 functions of two variables, 14 are unate; only and its complement are not. For three variables, 104 of the 256 functions are unate, and 20 are positive unate. For four, 2170 of 65536 are unate and 168 are positive unate. The number of positive unate functions is the Dedekind number.
- Don't-cares break fact 5. Let and over . Both and are positive unate. The primes are and , each covers the one on-set point, neither is essential, and there are two minimum covers.
- A large complement. The complement of the positive unate function is negative unate. Its primes are the cubes with each , and by fact 5 all of them are needed. So a unate cover of cubes can have a complement with cubes.
Related definitions
- Cofactor and Shannon expansion. The definition compares the two cofactors. Splitting a binate cover by the Shannon expansion on a binate variable makes the parts closer to unate.
- Unate recursive paradigm. Tautology, complement and containment for covers, by splitting until each part is unate.
- Espresso. Uses unate tautology and complement in each of its steps.
- Prime implicant. Fact 5 says that for unate functions the primes are the answer.
- Set cover and the binate covering problem. The unate and the binate cases of covering with a product of sums.
- Zero-suppressed BDD. Stores sets of cubes such as unate covers in a compact way.
References
- Robert K. Brayton, Gary D. Hachtel, Curtis T. McMullen and Alberto L. Sangiovanni-Vincentelli, Logic Minimization Algorithms for VLSI Synthesis, Kluwer, 1984, Chapter 3, Decomposition and Unate Functions, Section 3.3, Unate Functions, and Section 3.5, Unate Complementation
- Giovanni De Micheli, Synthesis and Optimization of Digital Circuits, McGraw-Hill, 1994, Chapter 7, Two-Level Combinational Logic Optimization (unate covers, tautology and complementation)
- Gary D. Hachtel and Fabio Somenzi, Logic Synthesis and Verification Algorithms, Kluwer, 1996, Chapter 5, Heuristic Minimization of Two-Level Circuits
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag HABH4Y Edit this page History Report an error Markdown