IndisputableMonolith.Numerics.Interval.Log
The Numerics.Interval.Log module supplies verified interval bounds for the natural logarithm, centered on the inequality log(x) >= 1 - 1/x for x > 0 together with monotonicity and phi-specific containments. Interval users in power computations and tactic libraries cite it when deriving bounds for exp(y log x) or thermodynamic expressions. Proofs reduce to standard calculus inequalities inside the rational-endpoint arithmetic of the Basic module.
claim$log x >= 1 - 1/x$ for $x > 0$, with interval monotonicity $logIntervalMono$ and containment results such as $logPhiInterval$ that respect rational endpoints.
background
The module sits inside the Verified Interval Arithmetic setting, which bounds real numbers by rational endpoints that Lean can compute exactly. It imports algebraic bounds on phi = (1 + sqrt(5))/2 obtained from comparing squares 2.236^2 < 5 < 2.237^2. These ingredients enable safe enclosure of transcendental functions needed for Recognition Science numerics.
proof idea
The module consists of lemmas (logLowerSimple, logUpperSimple, logIntervalMono, logPhiInterval, etc.) proved by direct application of the inequality log(x) >= 1 - 1/x, monotonicity of log, and interval arithmetic rules imported from Basic and PhiBounds. No single large tactic script; each lemma is a short algebraic reduction or containment check.
why it matters in Recognition Science
Supplies the log bounds required by Numerics.Interval.Pow (via x^y = exp(y log x)), Numerics.Interval.Tactic (interval_bound tactic), Chemistry.SuperconductingTc (phi-ladder energy scales), and Papers.GCIC.Thermodynamics (GCIC phase constants). It therefore supports the phi-ladder and eight-tick coherence steps in the RS forcing chain.
scope and limits
- Does not treat complex logarithms or branch cuts.
- Does not supply bounds for x <= 0.
- Does not include Taylor remainder estimates beyond the listed simple bounds.
- Does not produce floating-point or arbitrary-precision numeric output.
used by (4)
depends on (2)
declarations in this module (27)
-
def
logLowerSimple -
def
logUpperSimple -
def
logIntervalMono -
theorem
logIntervalMono_contains_log -
def
logPhiInterval -
lemma
phi_minus_one_abs -
lemma
phi_minus_one_abs_lt_one -
lemma
complex_norm_ofReal -
lemma
log_taylor_error_bound -
lemma
log_one_add_bounds -
def
exp_taylor_10_at_048 -
def
exp_error_10_at_048 -
lemma
exp_048_lt_phi -
theorem
log_phi_gt_048 -
def
exp_taylor_10_at_0481 -
def
exp_error_10_at_0481 -
lemma
exp_0481_lt_phi -
theorem
log_phi_gt_0481 -
def
exp_taylor_10_at_0483 -
def
exp_error_10_at_0483 -
lemma
phi_lt_exp_0483 -
theorem
log_phi_lt_0483 -
theorem
log_phi_in_interval -
def
log2Interval -
theorem
log_2_in_interval -
def
log10Interval -
theorem
log_10_in_interval