graphand
Graphand is a graph-based representation of boolean expressions designed to capture shared subexpressions within a single compact DAG. It is used in theoretical and practical contexts where evaluating or storing large logical formulas benefits from subexpression sharing, such as circuit design, knowledge representation, and query optimization in graph-processing systems.
Formally, a graphand is a directed acyclic graph G = (V, E) whose nodes V are labeled with
Semantics of a graphand align with standard boolean logic. Evaluation proceeds in topological order, computing the
Relation to other formalisms: graphand is closely related to expression DAGs and to reduced ordered binary
Applications include logic synthesis, symbolic computation, query optimization, and compact representation of complex boolean conditions in