Documentation

Auto.EvaluateAuto.TestTranslation

Compute the size of the problem associated with lem

The goal of the problem is lem.type, and the premises of the problem are theorems that are used in lem.proof

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

    Compute the size of the problem associated with the constant name

    The goal of the problem is the type of name, and the premises of the problem are theorems that are used in the proof of name

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

      Compute the monomorphized problem associated with lem

      The goal of the problem is lem.type, and the premises of the problem are theorems that are used in lem.proof

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

        Compute the monomorphized problem associated with the constant name

        The goal of the problem is the type of name, and the premises of the problem are theorems that are used in the proof of name

        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 EvalAuto.evalMonoSize (names : Array Lean.Name) (resultFile : String) (maxHeartbeats : Nat) :
            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

                  Run Meta.reduceAll on the type of name and the type of all theorems used in the proof of `name. Return the sum of sizes of the reduced theorem

                  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 EvalAuto.evalReduceSize (names : Array Lean.Name) (mode : Lean.Meta.TransparencyMode) (resultFolder : String) (nprocs memoryLimitKb timeLimitS : Nat) :

                      Run testReduceWriteResult on each name in names. A new Lean 4 process is created for each name (this is because we want to pose time and memory limit on each of them)

                      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

                          Return: Except.ok <size_of_reduced_expr> Except.error <ret_code>

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