Core Types for Interval Tactics #
This module defines the core data structures used by interval arithmetic tactics:
IntervalInfo: Information about an interval sourceBoundGoal: Result of analyzing a univariate bound goalVarIntervalInfo: Information about a quantified variable and its intervalMultivariateBoundGoal: Result of analyzing a multivariate bound goalGlobalBoundGoal: Result of analyzing a global optimization bound goalRootGoal: Result of analyzing a root finding goal
Check if LeanCert debug mode is enabled
Equations
- LeanCert.Tactic.Auto.isLeanCertDebugEnabled = do let __do_lift ← Lean.getOptions pure (__do_lift.getBool `leancert.debug)
Instances For
Information about interval source
- intervalRat : Lean.Expr
The IntervalRat expression to use in proofs
If converted from Set.Icc, contains (lo, hi, loRatExpr, hiRatExpr, leProof, origLoExpr, origHiExpr)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Result of analyzing a bound goal
- forallLe
(varName : Lean.Name)
(interval : IntervalInfo)
(func bound : Lean.Expr)
: BoundGoal
∀ x ∈ I, f x ≤ c
- forallGe
(varName : Lean.Name)
(interval : IntervalInfo)
(func bound : Lean.Expr)
: BoundGoal
∀ x ∈ I, c ≤ f x
- forallLt
(varName : Lean.Name)
(interval : IntervalInfo)
(func bound : Lean.Expr)
: BoundGoal
∀ x ∈ I, f x < c
- forallGt
(varName : Lean.Name)
(interval : IntervalInfo)
(func bound : Lean.Expr)
: BoundGoal
∀ x ∈ I, c < f x
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Information about a quantified variable and its interval
- varName : Lean.Name
Variable name
- varType : Lean.Expr
Variable type
- intervalRat : Lean.Expr
Extracted interval (lo, hi rationals and their expressions)
- loExpr : Lean.Expr
Original lower bound expression for Set.Icc
- hiExpr : Lean.Expr
Original upper bound expression for Set.Icc
- lo : ℚ
Low bound as rational
- hi : ℚ
High bound as rational
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
Result of analyzing a multivariate bound goal
- forallLe
(vars : Array VarIntervalInfo)
(func bound : Lean.Expr)
: MultivariateBoundGoal
∀ x₁ ∈ I₁, ..., ∀ xₙ ∈ Iₙ, f(x₁,...,xₙ) ≤ c
- forallGe
(vars : Array VarIntervalInfo)
(func bound : Lean.Expr)
: MultivariateBoundGoal
∀ x₁ ∈ I₁, ..., ∀ xₙ ∈ Iₙ, c ≤ f(x₁,...,xₙ)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Result of analyzing a global bound goal
- globalGe
(box expr bound : Lean.Expr)
: GlobalBoundGoal
∀ ρ ∈ B, (zero extension) → c ≤ f(ρ)
- globalLe
(box expr bound : Lean.Expr)
: GlobalBoundGoal
∀ ρ ∈ B, (zero extension) → f(ρ) ≤ c
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.