A Martingale Representation for Matching Estimators