A wrinkle – now, I’m aware, basically nobody is seriously doing this – but we did have questions in the past about whether it’s always necessary to write calculations in order, and – it’s not strictly necessary.
(Note at the top of the example, freqs depends on detunes but detunes is written second )
So there’s an implicit design decision being made here, which rules out an expressive alternative.