<child>
<widget class="GtkVBox" id="ToolBarVBox">
- <property name="width_request">102</property>
+ <property name="width_request">109</property>
<property name="visible">True</property>
<property name="homogeneous">True</property>
<property name="spacing">0</property>
<child>
<widget class="GtkButton" id="elimTypeButton">
- <property name="width_request">50</property>
+ <property name="width_request">55</property>
<property name="visible">True</property>
<property name="tooltip" translatable="yes">ElimType</property>
<property name="can_focus">True</property>
</widget>
<packing>
<property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
</packing>
</child>
Tactics.elim_intros_simpl term
| TacticAst.ElimType (_, term) -> Tactics.elim_type term
| TacticAst.Replace (_, what, with_what) -> Tactics.replace ~what ~with_what
-(* | TacticAst.Auto _ -> Tactics.auto_new ~dbd *)
+ | TacticAst.Auto (_,num) ->
+ AutoTactic.auto_tac ~num ~dbd:(MatitaDb.instance ())
| TacticAst.Change (_, what, with_what, _) -> Tactics.change ~what ~with_what
(*
(* TODO Zack a lot more of tactics to be implemented here ... *)
*)
| TacticAst.Intros (loc, num, names) ->
status, TacticAst.Intros (loc, num, names)
- | TacticAst.Auto loc -> status, TacticAst.Auto loc
+ | TacticAst.Auto (loc,num) -> status, TacticAst.Auto (loc,num)
| TacticAst.Reflexivity loc -> status, TacticAst.Reflexivity loc
| TacticAst.Assumption loc -> status, TacticAst.Assumption loc
| TacticAst.Contradiction loc -> status, TacticAst.Contradiction loc
(tac_w_term (A.Transitivity (loc, hole)));
connect_button tbar#assumptionButton (tac (A.Assumption loc));
connect_button tbar#cutButton (tac_w_term (A.Cut (loc, hole)));
- connect_button tbar#autoButton (tac (A.Auto loc));
+ connect_button tbar#autoButton (tac (A.Auto (loc,None)));
(* quit *)
self#setQuitCallback (fun () -> exit 0);
(* log *)