X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Facic_procedural%2FproceduralTypes.mli;h=a1d28e966c2c8428116fbd2be067bb808da101bc;hb=bd3680d6b90f6c8bdda4eb4a915a86a0e806de63;hp=b750688a69859e260a956a961df20bcb0b2c2442;hpb=876ac1889f8b11c97c8d94a0523504a0bcb70ddd;p=helm.git diff --git a/helm/software/components/acic_procedural/proceduralTypes.mli b/helm/software/components/acic_procedural/proceduralTypes.mli index b750688a6..a1d28e966 100644 --- a/helm/software/components/acic_procedural/proceduralTypes.mli +++ b/helm/software/components/acic_procedural/proceduralTypes.mli @@ -45,21 +45,29 @@ 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 fields = (string * bool * int) list type step = Note of note + | Record of types * lpsno * fields * note + | Inductive of types * lpsno * note | Statement of flavour * name * what * body * note | Qed of note | Id of note + | Exact of what * note | Intros of count option * name list * note | Cut of name * what * 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 | ClearBody of hyp * note | Branch of step list list * note + | Reflexivity of note val render_steps: (what, inferred, [> `Whd] as 'b, what CicNotationPt.obj, hyp) GrafiteAst.statement list -> @@ -71,3 +79,6 @@ val count_steps: val count_nodes: int -> step list -> int + +val note_of_step: + step -> note