Documentation

Lean.Meta.Tactic.Grind.PP

Helper function for pretty printing the state for debugging purposes.

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

    Helper function for pretty printing the state for debugging purposes.

    Equations
    Instances For

      Pretty print goal state for debugging purposes.

      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
          def Lean.Meta.Grind.ppExprArray (cls : Name) (header : String) (es : Array Expr) (clsElem : Name := Name.mkSimple "_") (collapsed : Bool := true) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Functions for deciding whether an expression is a support application or not when displaying equivalence classes. This is hard-coded for now. We will probably make it extensible in the future.

            Returns true if e is a support-like application. Recall that equivalence classes that contain only support applications are displayed in the "others" category.

            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

                  A Grind.Config threshold that a goal has reached.

                  • name : String

                    Name of the Grind.Config field.

                  • value : Nat
                  • descr : String

                    What the threshold bounds, e.g., "number of case-splits".

                  Instances For

                    Returns the thresholds in c that goal has reached. numBranches is the number of branches created by case-splits in the run, see Grind.State.numBranches.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      def Lean.Meta.Grind.goalDiagToMessageData (goal : Goal) (config : Grind.Config) (rings : Array Sym.Arith.CommRing) (numBranches : Nat) (header : String := "Goal diagnostics") (collapsedMain : Bool := true) :

                      rings are the Sym.Arith ring records of the run (see Result.rings). The goal itself stores only the ring solver state. Similarly, numBranches is the number of branches created by case-splits in the run (see Result.numBranches).

                      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