]> matita.cs.unibo.it Git - helm.git/blobdiff - components/cic_proof_checking/cicReduction.mli
elim tactic: it needs two arguments, a term as well as a pattern
[helm.git] / components / cic_proof_checking / cicReduction.mli
index bee4607d509d240e0e8453c8e243f51ffa209dcf..82be7fd3f5f43eface9449152ca330d64757c84e 100644 (file)
@@ -38,6 +38,7 @@ val are_convertible :
 val normalize:
   ?delta:bool -> ?subst:Cic.substitution -> Cic.context -> Cic.term -> Cic.term
  
-(* performs an head beta/cast reduction; the default is to not perform
-   delta reduction *)
-val head_beta_reduce: ?delta:bool -> Cic.term -> Cic.term
+(* performs head beta/(delta)/cast reduction; the default is to not perform
+   delta reduction; if provided, ~upto is the maximum number of beta redexes
+   reduced *)
+val head_beta_reduce: ?delta:bool -> ?upto:int -> Cic.term -> Cic.term