X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic%2Fcic.ml;h=5dd8455ea7a29cb1e7b6a067066f1933b119d164;hb=6e2d3b0cabf805137a08f969840da05f8aba0adb;hp=c5a5c1e4079991118daf4110fa7fef1c8a785c62;hpb=61a2faa2694907757dd617175e0144705e79d65a;p=helm.git diff --git a/helm/software/components/cic/cic.ml b/helm/software/components/cic/cic.ml index c5a5c1e40..5dd8455ea 100644 --- a/helm/software/components/cic/cic.ml +++ b/helm/software/components/cic/cic.ml @@ -57,6 +57,7 @@ type name = type object_flavour = [ `Definition + | `MutualDefinition | `Fact | `Lemma | `Remark @@ -94,7 +95,7 @@ type term = | Cast of term * term (* value, type *) | Prod of name * term * term (* binder, source, target *) | Lambda of name * term * term (* binder, source, target *) - | LetIn of name * term * term (* binder, term, target *) + | LetIn of name * term * term * term (* binder, term, type, target *) | Appl of term list (* arguments *) | Const of UriManager.uri * (* uri, *) term explicit_named_substitution (* explicit named subst. *) @@ -158,7 +159,7 @@ and annterm = | ACast of id * annterm * annterm (* value, type *) | AProd of id * name * annterm * annterm (* binder, source, target *) | ALambda of id * name * annterm * annterm (* binder, source, target *) - | ALetIn of id * name * annterm * annterm (* binder, term, target *) + | ALetIn of id * name * annterm * annterm * annterm (* binder, term, type, target *) | AAppl of id * annterm list (* arguments *) | AConst of id * UriManager.uri * (* uri, *) annterm explicit_named_substitution (* explicit named subst. *) @@ -204,7 +205,7 @@ and annotation = and context_entry = (* A declaration or definition *) Decl of term - | Def of term * term option (* body, type (if known) *) + | Def of term * term (* body, type *) and hypothesis = (name * context_entry) option (* None means no more accessible *) @@ -213,7 +214,7 @@ and context = hypothesis list and anncontext_entry = (* A declaration or definition *) ADecl of annterm - | ADef of annterm + | ADef of annterm * annterm and annhypothesis = id * (name * anncontext_entry) option (* None means no more accessible *)