Compare commits

..

No commits in common. "ed1f96d7f7b737df6335b09b3faa6e2e99ce0784" and "5e99237e091757e1dab76a9db012df6b9ada4b8d" have entirely different histories.

2 changed files with 5 additions and 9 deletions

View File

@ -28,7 +28,7 @@ structure Options where
-- See `pp.implementationDetailHyps` -- See `pp.implementationDetailHyps`
printImplementationDetailHyps: Bool := false printImplementationDetailHyps: Bool := false
-- If this is set to `true`, goals will never go dormant, so you don't have to manage resumption -- If this is set to `true`, goals will never go dormant, so you don't have to manage resumption
automaticMode: Bool := true automaticMode: Bool := false
deriving Lean.ToJson deriving Lean.ToJson
abbrev OptionsT := ReaderT Options abbrev OptionsT := ReaderT Options

View File

@ -91,10 +91,9 @@ See `Pantograph/Protocol.lean` for a description of the parameters and return va
* `options.set { key: value, ... }`: Set one or more options (not Lean options; those * `options.set { key: value, ... }`: Set one or more options (not Lean options; those
have to be set via command line arguments.), for options, see `Pantograph/Protocol.lean` have to be set via command line arguments.), for options, see `Pantograph/Protocol.lean`
One particular option for interest for machine learning researchers is the One particular option for interest for machine learning researchers is the automatic mode.
automatic mode (flag: `"automaticMode"`). By default it is turned on, with `options.set { "automaticMode": true }`. This makes Pantograph act like
all goals automatically resuming. This makes Pantograph act like a gym, LeanDojo, with no resumption necessary to manage your goals.
with no resumption necessary to manage your goals.
* `options.print`: Display the current set of options * `options.print`: Display the current set of options
* `goal.start {["name": <name>], ["expr": <expr>], ["levels": [<levels>]], ["copyFrom": <symbol>]}`: * `goal.start {["name": <name>], ["expr": <expr>], ["levels": [<levels>]], ["copyFrom": <symbol>]}`:
Start a new proof from a given expression or symbol Start a new proof from a given expression or symbol
@ -143,9 +142,6 @@ ulimit -s unlimited
with `Pantograph` which mirrors the REPL commands above. It is recommended to with `Pantograph` which mirrors the REPL commands above. It is recommended to
call Pantograph via this FFI since it provides a tremendous speed up. call Pantograph via this FFI since it provides a tremendous speed up.
Note that there isn't a 1-1 correspondence between executable (REPL) commands
and library functions.
## Developing ## Developing
A Lean development shell is provided in the Nix flake. A Lean development shell is provided in the Nix flake.