| Some t ->
let newmeta, newtarget = build_newtarget true t in
assert (not (Equality.meta_convertibility_eq target newtarget));
- if (Equality.is_weak_identity newtarget) ||
- (Equality.meta_convertibility_eq target newtarget) then
+ if (Equality.is_weak_identity newtarget) (* || *)
+ (*Equality.meta_convertibility_eq target newtarget*) then
newmeta, newtarget
else
demodulation_equality bag ?from eq_uri newmeta env table newtarget
in
let new1 = List.map (build_new U.Gt) res1
and new2 = List.map (build_new U.Lt) res2 in
- let ok e = not (Equality.is_identity (metasenv', context, ugraph) e) in
+ let ok e = not (Equality.is_weak_identity (*metasenv', context, ugraph*) e) in
(!maxmeta,
(List.filter ok (new1 @ new2)))
;;