Repl.Command
type t =
| Rename of {
location : Syncom.Location.t;
rename_from : Syncom.Identifier.t * [ `Plain | `Hash | `Dollar ];
rename_to : Syncom.Identifier.t * [ `Plain | `Hash | `Dollar ];
level : [ `meta | `comp ];
}
| Toggle_automation of {
location : Syncom.Location.t;
kind : [ `auto_intros | `auto_solve_trivial ];
change : [ `on | `off | `toggle ];
}
| Type of {
location : Syncom.Location.t;
scrutinee : Synext__.Synext_definition.Comp.Expression.t;
}
| Info of {
location : Syncom.Location.t;
kind : [ `prog ];
object_identifier : Syncom.Qualified_identifier.t;
}
| Select_theorem of {
location : Syncom.Location.t;
theorem : Syncom.Qualified_identifier.t;
}
| Theorem of {
location : Syncom.Location.t;
subcommand : [ `list
| `defer
| `show_ihs
| `show_proof
| `dump_proof of Support.String.t ];
}
| Session of {
location : Syncom.Location.t;
subcommand : [ `list | `defer | `create | `serialize ];
}
| Subgoal of {
location : Syncom.Location.t;
subcommand : [ `list | `defer ];
}
| Undo of {
location : Syncom.Location.t;
}
| Redo of {
location : Syncom.Location.t;
}
| History of {
location : Syncom.Location.t;
}
| Translate of {
location : Syncom.Location.t;
theorem : Syncom.Qualified_identifier.t;
}
| Intros of {
location : Syncom.Location.t;
introduced_variables : Syncom.Identifier.t Support.List1.t Support.Option.t;
}
| Split of {
location : Syncom.Location.t;
scrutinee : Synext__.Synext_definition.Comp.Expression.t;
}
| Invert of {
location : Syncom.Location.t;
scrutinee : Synext__.Synext_definition.Comp.Expression.t;
}
| Impossible of {
location : Syncom.Location.t;
scrutinee : Synext__.Synext_definition.Comp.Expression.t;
}
| Msplit of {
location : Syncom.Location.t;
identifier : Syncom.Identifier.t;
}
| Solve of {
location : Syncom.Location.t;
solution : Synext__.Synext_definition.Comp.Expression.t;
}
| Unbox of {
location : Syncom.Location.t;
expression : Synext__.Synext_definition.Comp.Expression.t;
assignee : Syncom.Identifier.t * [ `Plain | `Hash | `Dollar ];
modifier : [ `Strengthened ] Support.Option.t;
}
| By of {
location : Syncom.Location.t;
expression : Synext__.Synext_definition.Comp.Expression.t;
assignee : Syncom.Identifier.t;
}
| Suffices of {
location : Syncom.Location.t;
implication : Synext__.Synext_definition.Comp.Expression.t;
goal_premises : [ `exact of Synext__.Synext_definition.Comp.Typ.t
| `infer of Syncom.Location.t ]
Support.List.t;
}
| Help of {
location : Syncom.Location.t;
}
| Auto_invert_solve of {
location : Syncom.Location.t;
max_depth : Support.Int.t Support.Option.t;
}
| Inductive_auto_solve of {
location : Syncom.Location.t;
max_depth : Support.Int.t Support.Option.t;
}