Documentation

Blaster.Command.Syntax

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 #

                              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

                                                  Generic Parser for All Options #

                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For

                                                    Process Multiple Options #

                                                    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
                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For

                                                          Implementation of solve command #