Optimal transport for types and convex analysis for definable predicates in tracial W⁎-algebras | Synapse