diff --git a/README.md b/README.md index 220e7a9..508d026 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,8 @@ where the application of `assumption` should lead to a failure. See `Pantograph/Protocol.lean` for a description of the parameters and return values in JSON. * `reset`: Delete all cached expressions and proof trees * `stat`: Display resource usage -* `expr.echo {"expr": , "type": }`: Determine the type of an expression and format it +* `expr.echo {"expr": , "type": }`: Determine the + type of an expression and format it * `env.catalog`: Display a list of all safe Lean symbols in the current environment * `env.inspect {"name": , "value": }`: Show the type and package of a given symbol; If value flag is set, the value is printed or hidden. By default @@ -94,16 +95,19 @@ See `Pantograph/Protocol.lean` for a description of the parameters and return va Start a new proof from a given expression or symbol * `goal.tactic {"stateId": , "goalId": , ...}`: Execute a tactic string on a given goal. The tactic is supplied as additional key-value pairs in one of the following formats: - - `{ "tactic": }`: Executes an ordinary tactic - - `{ "expr": }`: Assigns the given proof term to the current expression - - `{ "have": , "binderName": }`: Executes `have` and create a branch goal - - `{ "calc": }`: Executes one step of a `calc` tactic. Each step must + - `{ "tactic": }`: Execute an ordinary tactic + - `{ "expr": }`: Assign the given proof term to the current goal + - `{ "have": , "binderName": }`: Execute `have` and creates a branch goal + - `{ "calc": }`: Execute one step of a `calc` tactic. Each step must be of the form `lhs op rhs`. An `lhs` of `_` indicates that it should be set to the previous `rhs`. - `{ "conv": }`: Enter or exit conversion tactic mode. In the case of exit, the goal id is ignored. -* `goal.continue {"stateId": , ["branch": ], ["goals": ]}`: Continue from a proof state -* `goal.remove {"stateIds": []}"`: Remove a bunch of stored goals. +* `goal.continue {"stateId": , ["branch": ], ["goals": ]}`: + Execute continuation/resumption + - `{ "branch": }`: Continue on branch state. The current state must have no goals. + - `{ "goals": }`: Resume the given goals +* `goal.remove {"stateIds": []}"`: Drop the goal states specified in the list * `goal.print {"stateId": }"`: Print a goal state ### Errors