X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_tactics%2FnTacStatus.mli;h=44c95304519fdecdbe787e9081e8957c39e54e21;hb=dd627e471392375ca7b6dad78a931a8682e06dbe;hp=ddaf9da80db58813f8355713e307c05efbbc3814;hpb=f5065f33e0689753c3f2744928b96851ca77ca8d;p=helm.git diff --git a/matita/components/ng_tactics/nTacStatus.mli b/matita/components/ng_tactics/nTacStatus.mli index ddaf9da80..44c953045 100644 --- a/matita/components/ng_tactics/nTacStatus.mli +++ b/matita/components/ng_tactics/nTacStatus.mli @@ -43,19 +43,19 @@ class auto_status : class type g_pstatus = object - inherit LexiconTypes.g_status + inherit GrafiteDisambiguate.g_status inherit g_auto_status inherit g_eq_status method obj: NCic.obj end -class pstatus : +class virtual pstatus : NCic.obj -> object ('self) - inherit LexiconTypes.status + inherit g_pstatus + inherit GrafiteDisambiguate.status inherit auto_status inherit eq_status - method obj: NCic.obj method set_obj: NCic.obj -> 'self method set_pstatus: #g_pstatus -> 'self end @@ -70,7 +70,7 @@ val term_of_cic_term : val mk_cic_term : NCic.context -> NCic.term -> cic_term val disambiguate: - #pstatus as 'status -> NCic.context -> tactic_term -> cic_term option -> + #pstatus as 'status -> NCic.context -> tactic_term -> cic_term NCicRefiner.expected_type -> 'status * cic_term (* * cic_term XXX *) val analyse_indty: @@ -85,12 +85,14 @@ val whd: val normalize: #pstatus as 'status -> ?delta:int -> NCic.context -> cic_term -> 'status * cic_term +val are_convertible: + #pstatus as 'status -> NCic.context -> cic_term -> cic_term -> 'status * bool val typeof: #pstatus as 'status -> NCic.context -> cic_term -> 'status * cic_term val unify: #pstatus as 'status -> NCic.context -> cic_term -> cic_term -> 'status val refine: - #pstatus as 'status -> NCic.context -> cic_term -> cic_term option -> + #pstatus as 'status -> NCic.context -> cic_term -> cic_term NCicRefiner.expected_type -> 'status * cic_term * cic_term (* status, term, type *) val apply_subst: #pstatus as 'status -> NCic.context -> cic_term -> 'status * cic_term @@ -107,7 +109,7 @@ val mk_meta: #pstatus as 'status -> ?attrs:NCic.meta_attrs -> NCic.context -> [ `Decl of cic_term | `Def of cic_term ] -> NCicUntrusted.meta_kind -> 'status * cic_term -val instantiate: #pstatus as 'status -> int -> cic_term -> 'status +val instantiate: #pstatus as 'status -> ?refine:bool -> int -> cic_term -> 'status val instantiate_with_ast: #pstatus as 'status -> int -> tactic_term -> 'status val select_term: @@ -127,20 +129,20 @@ class type ['stack] g_status = method stack: 'stack end -class ['stack] status : +class virtual ['stack] status : NCic.obj -> 'stack -> object ('self) + inherit ['stack] g_status inherit pstatus - method stack: 'stack method set_stack: 'stack -> 'self method set_status: 'stack #g_status -> 'self end -class type lowtac_status = [unit] status +class type virtual lowtac_status = [unit] status type 'status lowtactic = #lowtac_status as 'status -> int -> 'status -class type tac_status = [Continuationals.Stack.t] status +class type virtual tac_status = [Continuationals.Stack.t] status val pp_tac_status: #tac_status -> unit