Correct orchestration of federated learning generic algorithms: Python translation to CSP and verification by PAT | Synapse