Algebraic normal form¶
The unique multilinear polynomial over GF(2) representing a Boolean function as an XOR of square-free AND monomials and an optional constant.
Core Idea¶
Algebraic normal form is the unique multilinear polynomial over GF(2) for a Boolean function: square-free AND monomials with 0/1 coefficients are combined by XOR, with an optional constant. Because coefficients are only zero or one, a monomial is either absent or present. Because coefficients are only zero or one, a monomial is either absent or present.
How would you explain it like I'm…
The Lamp-Flipping List
AND Groups Joined by XOR
Unique GF(2) Polynomial Form
Scope of Application¶
ANF applies wherever a Boolean function is analyzed through its unique GF(2) multilinear polynomial. Use it for Boolean functions only under GF(2) arithmetic, x²=x reduction, duplicate cancellation, and exact equality on all inputs.
- Boolean algebra. Provides a canonical function representation.
- Cryptography. Studies algebraic degree and nonlinear terms.
- Logic circuits. Translates functions into XOR–AND structure.
- Coding theory. Uses GF(2) polynomial relations.
- Formal verification. Compares functions through canonical coefficients.
Clarity¶
The representation separates three operations often blurred in logical notation: AND is multiplication, XOR is addition, and ordinary OR must be translated. Its uniqueness applies to the represented function after GF(2) reduction, not to arbitrary written formulas. The closest near miss sets the boundary: Disjunctive normal form is the closest near miss: it also sums conjunction-like terms but uses OR rather than XOR and is not generally unique. A positive case must satisfy this test: Include a reduced XOR sum of distinct square-free conjunction monomials over GF(2) that equals the Boolean function on all assignments.
Manages Complexity¶
A truth table with 2^n rows becomes a set of monomial coefficients. The canonical form supports comparison and algebraic manipulation while exposing degree and interaction structure that a syntactic Boolean formula can hide. The central canonical comparison–representation size tradeoff is this: Uniqueness simplifies equality while some functions expand into many monomials. A second logical intuition–GF(2) arithmetic tension matters because Familiar OR/NOT syntax does not map symbol-for-symbol to XOR–AND algebra.
Abstract Reasoning¶
Use three linked moves: fix Boolean variables and interpret values in GF(2); convert logical operations or the truth table into polynomial coefficients; reduce powers using x²=x and coefficients modulo two. As a collapse test, the case exits when arithmetic is not mod 2, variables are not Boolean/idempotent, or the expression is not reduced to its unique square-free monomial set. A fourth check is to cancel duplicate monomials under XOR and order the remainder canonically. A final check is to verify function equality on all assignments or through a valid transform.
Knowledge Transfer¶
ANF transfers literally across Boolean functions, circuits, and cryptographic mappings using the same GF(2) semantics. Calling an ordinary polynomial 'algebraic normal form' outside this quotient structure is not literal transfer. No canonical parent prime is currently asserted; broader structural comparisons remain related-prime analogies until separately adjudicated in the DAG. ANF maps a Boolean function into a polynomial medium with exact fidelity. Reduction yields a canonical member of the equivalence class.
Relationships to Other Abstractions¶
Current abstraction Algebraic normal form Domain-specific
Parents (1) — more general patterns this builds on
-
Algebraic normal form is a kind of Polynomial Domain-specific
It is a multilinear polynomial normal form over GF(2).
Hierarchy path (1) — routes to 1 parentless root
- Algebraic normal form → Polynomial
Neighborhood in Abstraction Space¶
Algebraic normal form sits in a moderately populated region (47th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.
Family — Polynomials & Algebraic Invariants (20 abstractions)
Nearest neighbors
- Dixon's identity — 0.87
- Laurent Polynomial — 0.87
- Polynomial — 0.87
- Square-Free Integer — 0.87
- S2P (complexity) — 0.86
Computed from structural-signature embeddings · 2026-10-08