Documentation

LeanCert.Tactic.IntervalAuto.OptBound

Global Optimization Tactic #

The opt_bound tactic handles goals using global branch-and-bound optimization.

def LeanCert.Tactic.Auto.mkGlobalOptConfigExpr (maxIters : ℕ) (tolerance : ℚ) (useMonotonicity : Bool) (taylorDepth : ℕ) :

Build a GlobalOptConfig expression

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

    Runtime facts from the retained global-optimization certificate.

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

              Typed opt_bound implementation. The upper and lower theorem interpretations are transactional, and only the retained certificate contributes verification telemetry.

              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

                    Prove ExprSupportedCore goal by generating the proof

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

                      The opt_bound tactic.

                      Automatically proves global bounds on expressions over boxes using branch-and-bound optimization.

                      Usage:

                      • opt_bound - uses defaults (1000 iterations, no monotonicity, Taylor depth 10)
                      • opt_bound 2000 - uses 2000 iterations
                      • opt_bound 1000 mono - enables monotonicity pruning

                      Supports goals of the form:

                      • ∀ ρ, Box.envMem ρ B → (∀ i, i ≥ B.length → ρ i = 0) → c ≤ Expr.eval ρ e
                      • ∀ ρ, Box.envMem ρ B → (∀ i, i ≥ B.length → ρ i = 0) → Expr.eval ρ e ≤ c
                      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