diff options
Diffstat (limited to 'toplevel/command.ml')
| -rw-r--r-- | toplevel/command.ml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/toplevel/command.ml b/toplevel/command.ml index 2f755b4e37..93426fde9b 100644 --- a/toplevel/command.ml +++ b/toplevel/command.ml @@ -372,3 +372,11 @@ let build_scheme lnamedepindsort = declare 0 lrecnames; if is_verbose() then pPNL(recursive_message lrecnames) +let start_proof_com s stre com = + let env = Global.env () in + Pfedit.start_proof s stre env (interp_type Evd.empty env com) + +let get_current_context () = + try Pfedit.get_current_goal_context () + with e when Logic.catchable_exception e -> + (Evd.empty, Global.env()) |
