pub fn objective_is_bare_wire(objective: &str) -> boolExpand description
Whether an optimize.objective value is a bare wire reference — a
single identifier read directly off the phase kernel — versus an inline
expression (operators, calls, dots, whitespace) that must be synthesized.
A bare reference is left untouched (no synthesis, current behavior); an
expression is lowered to OBJECTIVE_WIRE.