What the paper develops
The paper starts with the operator matrices, then develops rules for representing and combining larger logical expressions. It gives the formal definitions and derivations behind the visual examples above.
Correspondence Matrices / original research
Boolean relationships expressed as matrices.
Independent R&D · Self-directed
I developed Correspondence Matrices as a structural representation of Boolean logic. A two-input operator becomes a binary 2 × 2 matrix, and larger expressions can be built and examined through that matrix structure.
Authored working paper · Worked examples · Public implementation
Want to see what happened when it was implemented? Explore the code and benchmark audit →
Watch the films: Film 1: CM Overview Video · Film 2: CM Benchmarking Video
Film 1 · 3:55
A walkthrough of the Correspondence Matrices representation, selected measurements, neural experiments and open research questions.
This transcript follows the spoken narration. The figures and written evidence below provide additional visual context.
Many technical systems are governed by interacting Boolean rules. The harder workload is often a stream of related questions: what remains allowed, what changed, and what follows under a new assumption? Correspondence Matrices offer another exact representation to investigate for that repeated analysis.
A Correspondence Matrix records a Boolean relationship with explicit variable mappings. Here, rows encode two inputs; columns encode a regulator and an output. Fixing the regulator selects the relevant slice, while the base relationship remains available for another question.
This retains the rule representation, not every possible output. Complete tables can still grow exponentially, and edits may require rebuilding. There is direct CM evidence. Across two hundred sixteen synthetic formula clusters, the bare CM evaluator took about eleven percent less time than sharing-aware CSE-flat.
But the wrapped CM call took about three point zero nine times the control time, even with the CM already built. The evaluator was faster in that task; the complete call was not. A useful deployment must preserve the saving through the whole workflow.
Reuse was tested too. Caching made repeated CM calculations several times faster than uncached CM. In a later two-version task, persistent CM still took one point three four times the CSE-flat total at sixty-four evaluations. The gap narrowed, but no overall crossover was demonstrated through sixty-four.
A CSE program gives a recipe for computing an answer. An explicit Correspondence Matrix stores the relationship across its row and column assignments. That geometry makes it direct to select slices under fixed inputs, compare repeated or complementary blocks, and swap the two variable groups by transposing the matrix.
These views can help inspect dependencies and explore decompositions. Other representations can support these analyses too; the explicit CM makes the relationships visible in the table. Construction and storage still have costs. Practical use cases remain under evaluation.
The project also trained matrix, graph, and fused neural models to recognize Boolean structure and propose exact simplifications. A fused model learned the generated task in both seeds, but transfer to a small natural-circuit set was poor. No model was promoted. Every proposal passed an exact equivalence check
or fell back. The learning result is real; a useful end-to-end neural speedup is not yet established. The potential value is faster repeated rule analysis where preparation or evaluation is a bottleneck. A circuit revision can trigger many checks across operating contexts. Each product-configurator assumption can change the valid combinations.
Genetics researchers can explore gene switching by comparing regulator interventions against retained local update rules. Correspondence Matrices are one candidate representation alongside established incremental tools. A focused pilot should use the required output and measure preparation, repeated queries, revisions, memory, and exactness together. The next question is concrete:
does Correspondence Matrix reuse reduce complete cost on one representative workload? The public repository, full CM findings, and neural findings are available for review.
Download English captions (WebVTT)01 / The idea
Each binary Boolean operator has four possible input pairs. Placing its four outputs into a 2 × 2 matrix gives the operator a concrete shape. The atlas below shows all sixteen binary operators in that form.
For larger expressions, the representation aligns subexpressions against a shared set of truth assignments. The authored working paper develops the mathematical rules and notation; the implementation page shows how the idea fares in code.
A worked example in text
A Correspondence Matrix records the output of a Boolean expression for each assignment of its inputs. Here, 0 means false and 1 means true. Rows and columns use the explicit order 00, 01, 10, 11. The operator atlas below uses true-first ordering instead; changing assignment order permutes the entries, without changing the logical outputs.
For AND, only A = 1 and B = 1 give output 1. With A selecting the row and B selecting the column, its matrix is [[0, 0], [0, 1]]. OR and XOR differ in which input pairs give output 1.
| A | B | AND | OR | XOR |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 |
For (A ∧ B) ∨ (¬C ∧ D), let rows select A and B, and columns select C and D. The symbol ∧ means AND, ∨ means OR, and ¬ means NOT. Each cell gives the expression’s output for that combined assignment.
| AB ↓ / CD → | 00 | 01 | 10 | 11 |
|---|---|---|---|---|
| 00 | 0 | 1 | 0 | 0 |
| 01 | 0 | 1 | 0 | 0 |
| 10 | 0 | 1 | 0 | 0 |
| 11 | 1 | 1 | 1 | 1 |
For example, row AB = 10 and column CD = 01 represent A = 1, B = 0, C = 0, D = 1. AND(A, B) is 0; AND(NOT(C), D) is 1; their OR is 1. Every cell in row AB = 11 is 1 because A AND B is already true.
The arrangement exposes structure; it does not remove the cost of materializing a full truth table. A dense matrix still has 2n cells for n independent inputs. The implementation explores alternatives to materializing all those cells, with measured costs discussed in the companion case study.
The representation, made visible
Start with the sixteen two-input operators, then follow one expression into its matrix and an independent truth-table check.

Each matrix cell records the output for one input pair. The sixteen cards cover every possible binary Boolean operator.
Open full-size view ↗
The compiled matrix and independent truth-table evaluation agree for this worked expression. This illustrates the implemented case; the paper supplies the broader formal account.
Open full-size view ↗The paper starts with the operator matrices, then develops rules for representing and combining larger logical expressions. It gives the formal definitions and derivations behind the visual examples above.
A mathematical representation does not by itself establish a faster complete computation or a commercial application. Those questions depend on implementation costs, required output, workload and comparison method. The companion case study records the current tests and their boundaries.
Follow the research