X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Facic_procedural%2FproceduralTypes.mli;h=aa6ad3aa58ffa9fbe4ee3e57ccc01b2d3efbe07b;hb=ff3bd23d19abd7c9e981fd754f54d536fc563ec3;hp=cc5d75caf2918cec3f10beffe680905441b135eb;hpb=1acfe506c30e7fcc9d6e427d2523130c371a1159;p=helm.git diff --git a/helm/software/components/acic_procedural/proceduralTypes.mli b/helm/software/components/acic_procedural/proceduralTypes.mli index cc5d75caf..aa6ad3aa5 100644 --- a/helm/software/components/acic_procedural/proceduralTypes.mli +++ b/helm/software/components/acic_procedural/proceduralTypes.mli @@ -33,6 +33,7 @@ val mk_arel: int -> string -> Cic.annterm (****************************************************************************) +type flavour = Cic.object_flavour type name = string option type hyp = string type what = Cic.annterm @@ -43,9 +44,13 @@ type note = string type where = (hyp * name) option type inferred = Cic.annterm type pattern = Cic.annterm +type body = Cic.annterm option +type types = Cic.anninductiveType list +type lpsno = int type step = Note of note - | Theorem of name * what * note + | Inductive of types * lpsno * note + | Statement of flavour * name * what * body * note | Qed of note | Id of note | Intros of count option * name list * note @@ -53,6 +58,7 @@ type step = Note of note | LetIn of name * what * note | Rewrite of how * what * where * pattern * note | Elim of what * using option * pattern * note + | Cases of what * pattern * note | Apply of what * note | Change of inferred * what * where * pattern * note | Clear of hyp list * note @@ -66,3 +72,6 @@ val render_steps: val count_steps: int -> step list -> int + +val count_nodes: + int -> step list -> int