X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2FgTopLevel%2FproofEngine.ml;h=20863f1a9e366558b694e9483484b2ee279e5509;hb=5c796440126e33778e4b3f763ce37b677b378cc5;hp=f320f08379d78a5c33f94ca1ac807bd4f7e5e650;hpb=f8d58fcacc3544aeabec15d2157cb5ef6e8d6840;p=helm.git diff --git a/helm/gTopLevel/proofEngine.ml b/helm/gTopLevel/proofEngine.ml index f320f0837..20863f1a9 100644 --- a/helm/gTopLevel/proofEngine.ml +++ b/helm/gTopLevel/proofEngine.ml @@ -43,7 +43,7 @@ let get_current_status_as_xml () = Cic.CurrentProof (UriManager.name_of_uri uri,metasenv,bo,ty,[]) in let (acurrentproof,_,_,ids_to_inner_sorts,_,_,_) = - Cic2acic.acic_object_of_cic_object currentproof + Cic2acic.acic_object_of_cic_object ~eta_fix:false currentproof in let xml, bodyxml = match @@ -61,7 +61,7 @@ let apply_tactic ~tactic = | None,_ | _,None -> assert false | Some proof', Some goal' -> - let (newproof, newgoals) = tactic ~status:(proof', goal') in + let (newproof, newgoals) = tactic (proof', goal') in set_proof (Some newproof); goal := (match newgoals, newproof with @@ -83,7 +83,7 @@ let metas_in_term term = C.Rel _ -> [] | C.Meta (n,_) -> [n] | C.Sort _ - | C.Implicit -> [] + | C.Implicit _ -> [] | C.Cast (te,ty) -> (aux te) @ (aux ty) | C.Prod (_,s,t) -> (aux s) @ (aux t) | C.Lambda (_,s,t) -> (aux s) @ (aux t) @@ -225,6 +225,7 @@ let fold_simpl term = let elim_type term = apply_tactic (EliminationTactics.elim_type_tac ~term) let ring () = apply_tactic Ring.ring_tac let fourier () = apply_tactic FourierR.fourier_tac +let auto mqi_handle () = apply_tactic (VariousTactics.auto_tac mqi_handle) let rewrite_simpl term = apply_tactic (EqualityTactics.rewrite_simpl_tac ~term) let rewrite_back_simpl term = apply_tactic (EqualityTactics.rewrite_back_simpl_tac ~term)