Convergence analysis of surrogate-based methods for Bayesian inverse problems | Synapse