termination proof for do_eq_exh