import copy


def migrate_033_to_031(definition_dict):
    """
    Migrate definitions for MaX5 release to MaX4 release

    Changes:
        - LDA+U density matrix distance output did not exist
    """

    new_dict = copy.deepcopy(definition_dict)
    new_dict.pop('nmmp_distances')

    return new_dict