From 28809ba4180b0421d5b0e97f9e92ba72e63bda7c Mon Sep 17 00:00:00 2001 From: soubiran Date: Thu, 29 Apr 2010 16:28:45 +0000 Subject: After the approval of Bruno, here the patch for the checker. In checker: - delta_resolver inferred by the module system is checked through regular delta reduction steps - the old mind_equiv field of mutual_inductive is simulated through a special table in environ - small optimization, if the signature and the implementation of a module are physically equal (always happen for the toplevel module of a vo) then the checker checks only the signature. In kernel - in names i have added two special equality functions over constant and inductive names for the checker, so that the checker does not take in account the cannonical name inferred by the module system. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12977 85f007b7-540e-0410-9357-904b9bb8a0f7 --- checker/closure.mli | 1 + 1 file changed, 1 insertion(+) (limited to 'checker/closure.mli') diff --git a/checker/closure.mli b/checker/closure.mli index ada7ded1e..bc0704d91 100644 --- a/checker/closure.mli +++ b/checker/closure.mli @@ -175,6 +175,7 @@ val unfold_reference : clos_infos -> table_key -> fconstr option (* [mind_equiv] checks whether two inductive types are intentionally equal *) val mind_equiv_infos : clos_infos -> inductive -> inductive -> bool +val eq_table_key : table_key -> table_key -> bool (************************************************************************) (*i This is for lazy debug *) -- cgit v1.2.3