X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FcicElim.mli;h=722e52f33a7884dfb2b93687579a2e729dc21772;hb=6912a028bef118d8e9d7c2847200510a9b055c6a;hp=b341d36a4cbe9b7a3a93d184754ebd32b18f36ea;hpb=fa70e8149a0c5405c4498cb3b7898d733a91910b;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/cicElim.mli b/helm/ocaml/cic_proof_checking/cicElim.mli index b341d36a4..722e52f33 100644 --- a/helm/ocaml/cic_proof_checking/cicElim.mli +++ b/helm/ocaml/cic_proof_checking/cicElim.mli @@ -23,12 +23,19 @@ * http://helm.cs.unibo.it/ *) -exception Failure of string + (** can't build the required elimination principle (e.g. elimination from Prop + * to Set *) +exception Can_t_eliminate + + (** internal error while generating elimination principle *) +exception Elim_failure of string (** @param sort target sort, defaults to Type * @param uri inductive type uri * @param typeno inductive type number * @raise Failure +* @raise Can_t_eliminate +* @return Cic constant corresponding to the required elimination principle *) -val elim_of: ?sort:Cic.sort -> UriManager.uri -> int -> Cic.term +val elim_of: ?sort:Cic.sort -> UriManager.uri -> int -> Cic.obj