A non-differentiable approach to revenue equivalence