pub fn collect_scalars<U: Uair>() -> HashSet<U::Scalar>
Collect all the scalars appearing in a UAIR. Useful to store results of intermediate operations on scalars between protocol stages, e.g. field projections.