Credible Autocoding of Convex Optimization Algorithms