Definition
The procedure of converting formulas or terms into a canonical representative form that is unique up to logical equivalence for comparison, indexing, and equality testing.

Principle

Principle
Define a deterministic normalization function and a chosen equivalence relation; apply ordered rewrites, renaming of bound variables, elimination of syntactic ambiguities, and standard ordering of operands to produce a unique representative for each equivalence class.

Demonstration

Demonstration
Convert propositional formulas to a canonical CNF by distributing, removing tautologies, sorting literals and clauses lexicographically, and renaming variables consistently so that logically equivalent formulas map to the same string representation for indexing.

Misapplication

Misapplication
Assuming canonicalization is cost-free or universally possible; applying a heuristic ‘normalization’ that is not deterministic or that depends on arbitrary symbol names and thus fails to guarantee uniqueness across equivalent formulas.

Consequence

Consequence
Canonical forms enable efficient syntactic equality checks for semantic equivalence, support caching, indexing, and duplicate elimination in automated reasoning systems.

Reversal

Reversal
Using multiple equally valid normal forms or leaving formulas in unconstrained simplified forms yields non-deterministic representations that hinder direct equivalence testing.

Boundary

Boundary
Depends on the logic and chosen equivalence (semantic equivalence, structural congruence, alpha-equivalence); some logics lack computable complete canonicalizations or make them prohibitively expensive.

Semantic Tension

Semantic Tension
Canonicalization is close to but distinct from simplification and minimization: it prioritizes uniqueness and reproducibility of representation, possibly at the cost of minimal syntactic size or human readability.

Synthesis

Synthesis
Canonicalization is the deterministic mapping of equivalent formulas to a single chosen representative by applying ordered rewrites and standard conventions so that equivalence queries reduce to syntactic equality.