From: Enrico Tassi Date: Wed, 29 Mar 2006 12:18:56 +0000 (+0000) Subject: removed unif_ty ref X-Git-Tag: 0.4.95@7852~1547 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=e9ec94d4fcaf6611c210eddb9657832a7f3e78de;p=helm.git removed unif_ty ref --- diff --git a/components/cic_unification/cicUnification.ml b/components/cic_unification/cicUnification.ml index 1ca5bb1df..683b3f9df 100644 --- a/components/cic_unification/cicUnification.ml +++ b/components/cic_unification/cicUnification.ml @@ -132,8 +132,6 @@ let eta_reduce after_beta_expansion after_beta_expansion_body with WrongShape -> after_beta_expansion -let unif_ty = ref true - let rec beta_expand test_equality_only metasenv subst context t arg ugraph = let module S = CicSubstitution in let module C = Cic in @@ -395,7 +393,6 @@ debug_print (lazy ("restringo Meta n." ^ (string_of_int n) ^ "on variable n." ^ in begin let subst,metasenv,ugraph1 = - if not (!unif_ty) then subst,metasenv,ugraph else let (_,_,meta_type) = CicUtil.lookup_meta n metasenv in (try let tyt,ugraph1 = diff --git a/components/cic_unification/cicUnification.mli b/components/cic_unification/cicUnification.mli index 5d0b34e28..e1a6c2899 100644 --- a/components/cic_unification/cicUnification.mli +++ b/components/cic_unification/cicUnification.mli @@ -56,4 +56,3 @@ val fo_unif_subst : Cic.term -> Cic.term -> CicUniv.universe_graph -> Cic.substitution * Cic.metasenv * CicUniv.universe_graph - val unif_ty : bool ref