Equations
- One or more equations did not get rendered due to their size.
Instances For
#blaster is a Lean4 command that optimizes a lean theorem and calls the
backend Smt solver on the remaining unsolved goals.
Options:
unfold-depth: specifying the number of unfolding to be performed on recursive functions (default: 100)timeout: specifying the timeout (in second) to be used for the backend smt solver (defaut: ∞)verbose:activating debug info (default: 0)only-smt-lib: only translating unsolved goals to smt-lib without invoking the backend solver (default: 0)only-optimize: only perform optimization on lean specification and do not translate to smt-lib (default: 0)dump-smt-lib: display the smt lib query to stdout (default: 0)random-seed: seed for the random number generator (default: none)gen-cex: generate counterexample for falsified theorems (default: 1)solve-result: specify the expected result from the #blaster command, i.e., 0 for 'Valid', 1 for 'Falsified' and 2 for 'Undetermined'. (default: 0)
Examples:
- #blaster [∀ x y : Nat, x + y ≥ x]
- #blaster (only-optimize: 1) (verbose: 1) [∀ x y : Nat, x + y ≥ x]
- #blaster [add_nat_ge_left]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Individual Parsing Functions #
def
Blaster.Syntax.parseUnfoldDepth
{m : Type → Type u_1}
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseMaxDepth
{m : Type → Type u_1}
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseTimeout
{m : Type → Type u_1}
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseVerbose
{m : Type → Type u_1}
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseSmtLib
{m : Type → Type u_1}
[MonadExceptOf Lean.Exception m]
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseOptimize
{m : Type → Type u_1}
[MonadExceptOf Lean.Exception m]
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseDumpSmt
{m : Type → Type u_1}
[MonadExceptOf Lean.Exception m]
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseGenCex
{m : Type → Type u_1}
[MonadExceptOf Lean.Exception m]
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseRandomSeed
{m : Type → Type u_1}
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseSolveResult
{m : Type → Type u_1}
[MonadExceptOf Lean.Exception m]
[Monad m]
(sOpts : Options.BlasterOptions)
:
Lean.TSyntax `solveOption → m Options.BlasterOptions
Equations
- One or more equations did not get rendered due to their size.
Instances For
Generic Parser for All Options #
def
Blaster.Syntax.parseSolveOption
{m : Type → Type u_1}
[MonadExceptOf Lean.Exception m]
[Monad m]
(sOpts : Options.BlasterOptions)
(opt : Lean.TSyntax `solveOption)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Process Multiple Options #
def
Blaster.Syntax.parseSolveOptions
{m : Type → Type u_1}
[MonadExceptOf Lean.Exception m]
[Monad m]
(opts : Array Lean.Syntax)
(sOpts : Options.BlasterOptions)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.parseTerm
{m : Type → Type u_1}
[MonadExceptOf Lean.Exception m]
[Monad m]
:
Lean.TSyntax `Blaster.solveTerm → m Lean.Syntax
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Blaster.Syntax.commandInvoker
(f : Options.BlasterOptions → Lean.Syntax → Lean.Elab.TermElabM Unit)
:
Equations
- One or more equations did not get rendered due to their size.