//! Algebraic / peephole catalog (Phase 4A).
//!
//! Cost-monotone-down rewrites derived from algebraic identities:
//! constant folding, strength reduction, spec-driven rule firing,
//! canonical-form normalization, and atomic-shape normalization.
/// Collapse identity-op Relaxed atomic RMW to plain `Expr::Load`
/// (ROADMAP A36 — narrow atomic minimization that needs no alias
/// proof).
/// Canonical-form rewrite (audit P0 #32 — registered ProgramPass).
/// Canonicalization transform engine — pure IR-to-IR fn body used by the
/// `CanonicalizePass` ProgramPass.
/// Compile-time constant folding.
/// Hardware quirk normalization (atomic ordering / scope edge cases).
/// Mixed-precision + transcendental fast-path emit hints
/// (ROADMAP G1 + G5 foundation half).
/// Algebraic rewrites derived from operation specifications.
/// Multiplication strength reduction.