Method and apparatus for identifying common subexpressions within an expression
Abstract
A method and apparatus for identifying common subexpressions within a mathematical expression are disclosed. The expression is represented as a DAG (directed acyclic graph) or expression tree, and common subexpressions (syntactically identical subexpressions) are uniquely addressed as operator nodes in the tree. The method includes the steps of selecting a displayed subexpression, comparing the selected subexpression with predetermined subexpressions using the uniquely addressed operator nodes to determine if there is a match. If there is a match, a label (new name) is assigned to the selected subexpression, and all appearances of the selected subexpression are replaced (displayed) with the label. The apparatus comprises a keyboard with a mouse, a microprocessor, a read-only-memory with a stored program, a random access memory, and a cathode ray tube display. In response to applied data from the keyboard and/or mouse, the processor, under control of the stored program, labels (renames) subexpressions stored in the random access memory and displays the labeled subexpressions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 0 · Forward citations: 1.
Claims (0)
No claim text indexed for this record.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 8,429,206 B2 | Method and apparatus for rule-based transformation of policies | 2013 | 0 |
References Cited — Backward Prior Art (0)
No backward patent references recorded.