open MatitaTypes
open MatitaMisc
-(* ALB to link paramodulation... *)
-let _ = Paramodulation.Saturation.init ()
-
(** {2 Initialization} *)
let _ =
MatitamakeLib.initialize ();
CicEnvironment.set_trust (* environment trust *)
(let trust = Helm_registry.get_bool "matita.environment_trust" in
- fun _ -> trust)
+ fun _ -> trust);
+ Paramodulation.Saturation.init ()
(** {2 GUI callbacks} *)
let _ =
let cic_math_view = MatitaMathView.cicMathView_instance () in
let sequents_viewer = MatitaMathView.sequentsViewer_instance () in
+ sequents_viewer#load_logo;
cic_math_view#set_href_callback
(Some (fun uri -> (MatitaMathView.cicBrowser ())#load
(`Uri (UriManager.uri_of_string uri))));
sequents_viewer#load_sequents status;
sequents_viewer#goto_sequent goal
| Proof proof ->
- prerr_endline "sequents_viewer#load_logo_with_qed (no proof)"; ()
+ sequents_viewer#load_logo_with_qed
| No_proof ->
- prerr_endline "sequents_viewer#load_logo (no proof)"; ()
+ sequents_viewer#load_logo
| Intermediate _ ->
assert false (* only the engine may be in this state *)
in
(UriManager.name_of_uri u ^ ":"
^ UriManager.name_of_uri s ^ " -> " ^ UriManager.name_of_uri t))
(CoercDb.to_list ()));
+ addDebugItem "print top-level grammar entries"
+ CicNotationParser.print_l2_pattern;
addDebugItem "rotate light bulbs"
(fun _ ->
let nb = gui#main#hintNotebook in
- nb#goto_page ((nb#current_page + 1) mod 3))
+ nb#goto_page ((nb#current_page + 1) mod 3));
end
(** </DEBUGGING> *)