From 90d64647d3fd5dbf5c337944dc0038f0b19b8a51 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Tue, 17 Jun 2014 14:26:02 +0200 Subject: Removing dead code. --- tactics/auto.ml | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'tactics/auto.ml') diff --git a/tactics/auto.ml b/tactics/auto.ml index aa70d55cc..4f5f53ef0 100644 --- a/tactics/auto.ml +++ b/tactics/auto.ml @@ -141,12 +141,6 @@ type search_entry = stored_data list * stored_data list * Bounded_net.t let empty_se = ([],[],Bounded_net.create ()) -let eq_constr_or_reference x y = - match x, y with - | IsConstr (x,_), IsConstr (y,_) -> eq_constr x y - | IsGlobRef x, IsGlobRef y -> eq_gr x y - | _, _ -> false - let eq_pri_auto_tactic (_, x) (_, y) = if Int.equal x.pri y.pri && Option.equal constr_pattern_eq x.pat y.pat then match x.code,y.code with @@ -189,11 +183,6 @@ let is_transparent_gr (ids, csts) = function let dummy_goal = Goal.V82.dummy_goal -let instantiate_constr_or_ref env sigma c = - let c, ctx = Universes.fresh_global_or_constr_instance env c in - let cty = Retyping.get_type_of env sigma c in - (c, cty), ctx - let strip_params env c = match kind_of_term c with | App (f, args) -> @@ -875,10 +864,6 @@ let (forward_intern_tac, extern_intern_tac) = Hook.make () type hnf = bool -let pr_hint_term = function - | IsConstr (c,_) -> pr_constr c - | IsGlobRef gr -> pr_global gr - type hints_entry = | HintsResolveEntry of (int option * polymorphic * hnf * hints_path_atom * hint_term) list | HintsImmediateEntry of (hints_path_atom * polymorphic * hint_term) list -- cgit v1.2.3