pub fn recovery_margin(g: &Cyclo) -> f64Expand description
The CDPR recovery margin of a candidate generator g: ‖proj_{span Λ} Log(g)‖ / μ(Λ). A generator
whose log projects to well within the covering radius (margin < 1) is decodable by stripping the unit;
margin ≫ 1 is beyond the decoding region. This measures where the short-generator wall is — and,
honestly, it is small even for short (ML-KEM-shaped) secrets, showing the log-unit collapse is not
where Module-LWE’s hardness lives: that sits upstream (no principal-ideal-generator to hand the attacker,
module rank ≥ 2, and the 2^Õ(√n) Ideal-SVP approximation gap).