open Lam open Types open Proof type cmd = Goal of ty | Undo | Qed | Check type instr = Cmd of cmd | Tact of tactic type parser_entry = | Lam of lam | Instr of instr list