Definitioncore
Algebraic kernel
Also called kernel and cokernel.
A cube-free quotient of a sum of products by a cube, its cokernel. Two expressions have a common divisor of two or more cubes only if a kernel of each shares two or more cubes with the other.
An algebraic kernel of a sum of products is a quotient of algebraic division by a cube that is cube-free: it has two or more cubes and no literal common to all of them. The cube is a cokernel of that kernel. Kernels are the divisors that algebraic synthesis tries, because Brayton and McMullen proved that two expressions have a common divisor of two or more cubes only if some kernel of the one and some kernel of the other share two or more cubes. Kernel extraction uses this to find shared logic in a Boolean network.
Definition
We use cubes and SOPs as sets of literals and sets of cubes, as on the sum of products page, and the quotient of an SOP by a cube .
Cube-free. An SOP is cube-free if and . Equivalently, the only cube with is the constant cube 1. A single cube is never cube-free.
Kernel. A cube is a cokernel of if is cube-free, and then is a kernel of . The kernel set is
If itself is cube-free, then with cokernel 1. One kernel can have several cokernels.
Levels. A kernel has level 0 if . It has level if it has a kernel of level other than itself and no kernel of level or more other than itself. Level-0 kernels are the smallest units of the algebraic structure of .
Kernel theorem (Brayton and McMullen 1982). For SOPs and , there is an SOP with that is an algebraic divisor of both, meaning and , if and only if there are kernels and with .
Proof. If , let and let be a cokernel of . The cubes of share no variable with , so for each , and . The same holds for . For the other direction, let be a common divisor with , and let be the common cube of . Then is cube-free, and it is a common divisor too: if , then shares no variable with , since each cube of holds the literal of for each variable of , and . So we can take cube-free. Let . Every is in , because and . So , and the common cube of lies inside the common cube of , which is empty. So has at least two cubes and is cube-free, a kernel of that contains . A kernel of that contains comes in the same way, and their intersection holds .
Examples and non-examples
Kernels.
- . Its kernels are with cokernel , with cokernel , and itself with cokernel 1. The cube is not a cokernel, since has the common literal .
- has the kernels with the two cokernels and , with the cokernels and , and itself. That makes 3 kernels and 5 cokernels.
- has the kernels (cokernels , , ), (cokernels , ), (cokernel ), and (cokernel 1). The kernels and have level 0. The kernel with cokernel is the product multiplied out, and has level 1. So itself, with a kernel of level 1 other than itself, has level 2.
- A product of sums of two literals each, multiplied out, has cubes. Its kernels are the products of the nonempty subsets of the factors, of them. A cokernel picks a literal from each factor of a proper subset of the factors, so there are cokernels. For that is 15 kernels and 65 cokernels for an SOP of 16 cubes.
The kernel theorem at work.
- and share the kernel , so divides both: and .
- and have the kernels and , which share the two cubes and . So divides both, with and .
- and have only themselves as kernels, and these share no cube, so no multi-cube algebraic divisor is common to them.
Non-examples.
- is not a kernel of itself, because is common to both cubes. Its only kernel is , with cokernel .
- A single cube such as has no kernel, since every quotient of it by a cube is a single cube.
- is not cube-free, since is in both cubes. The algebraic model treats it as written, even though as a function it equals . Its kernel is with cokernel , because has two cubes and no common literal.
- For , the quotient is not a kernel, since is common. The cokernel is , with kernel .
- The theorem is about algebraic divisors only. and share the Boolean divisor , since and as functions. Their kernels are and , which share only the cube , and indeed is not an algebraic divisor of either.
Related definitions
- Algebraic division. The quotient by a cube is the special case of weak division with a divisor of one cube.
- Kernel-cube matrix. The table of kernel extraction, with a row for each cokernel of each node and a column for each kernel cube. Rectangles of it are common divisors.
- Cofactor. The cofactor sets and keeps the cubes without . The quotient keeps only the cubes with . A kernel is a quotient, not a cofactor.
- Implicant. A cube of a two-level cover. Kernels are sums of cubes inside one expression and say nothing about the function's implicants.
- Common subexpression elimination. The compiler analogue of extracting shared divisors from expressions.
References
- Robert K. Brayton and Curtis T. McMullen, The decomposition and factorization of Boolean expressions, Proceedings of the International Symposium on Circuits and Systems (ISCAS), 1982, pages 49 to 54, the definitions of cube-free expressions, kernels, cokernels and kernel levels, and the theorem on common multi-cube divisors
- Robert K. Brayton, Richard Rudell, Alberto Sangiovanni-Vincentelli and Albert R. Wang, MIS, a multiple-level logic optimization system, IEEE Transactions on Computer-Aided Design 6(6), 1987, pages 1062 to 1081, kernels as the candidate divisors of the factoring and extraction commands
- Robert K. Brayton, Gary D. Hachtel and Alberto L. Sangiovanni-Vincentelli, Multilevel logic synthesis, Proceedings of the IEEE 78(2), 1990, pages 264 to 300, the algebraic model, kernels and the kernel theorem
- Giovanni De Micheli, Synthesis and Optimization of Digital Circuits, McGraw-Hill, 1994, Chapter 8, Multiple-Level Combinational Logic Optimization, the section on kernels and kernel sets
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 JW5WMB Edit this page History Report an error Markdown