One transform and one duality: a machine-checked core of music theory in Lean 4 | Synapse