Discrete Regularization