MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.SearchBarrier

theorem MindFormal.barrier_gap_pos {ν H d ε : ℝ} (_hν : 0 < ν) (_hH : 0 < H) (_hd : 0 < d) (hε : ε * (Real.exp (ν * H) - 1) < d) :
0 < d * Real.exp (-ν * H) - ε * (1 - Real.exp (-ν * H))

SI1 SI2: for positive ν and horizon H, positive entering shortfall d, and target allowance ε satisfying ε(exp(νH)-1)<d, the displayed remaining activity gap is positive. ε need not be nonnegative for this algebraic result. This proves the finite-horizon gap calculation, not the target enclosure.

theorem MindFormal.integrating_variance_pos {ν H G : ℝ} (hν : 0 < ν) (hH : 0 < H) (hG : 0 < G) :
0 < G ^ 2 * (Real.exp (2 * ν * H) - 1) / (2 * ν)

SI1 SI2, MM1 MM3: positive activity rate ν, horizon H and unscaled loading bound G give a strictly positive integrating-factor variance with G squared retained. This proves only the variance constant's sign.

theorem MindFormal.integrating_variance_scale (χ G ν H : ℝ) :
(χ * G) ^ 2 * (Real.exp (2 * ν * H) - 1) / (2 * ν) = χ ^ 2 * (G ^ 2 * (Real.exp (2 * ν * H) - 1) / (2 * ν))

SI1 SI2, MM1 MM3: for arbitrary real noise scale χ, loading G, rate ν and horizon H, factoring the squared loading separates χ² from the unscaled variance. This algebra has no sign assumptions; it does not identify a process quadratic variation without its loading hypothesis.

theorem MindFormal.barrier_minimum {I : Type u_1} (s : Finset I) (hs : s.Nonempty) (A : ℝ) (b : I → ℝ) (hA : 0 < A) (hb : ∀ i ∈ s, 0 < b i) :
0 < min A (s.inf' hs b) ∧ min A (s.inf' hs b) ≤ A ∧ ∀ i ∈ s, min A (s.inf' hs b) ≤ b i

SI1 SI2: for a nonempty finite index set s, positive activity exponent A and positive coordinate exponents b i for every i in s, their finite minimum with A is positive and is at most A and each b i. This is the exact minimum-constant algebra; the passage and enclosure estimates are external.

theorem MindFormal.exponential_union_bound {I : Type u_1} [Fintype I] {p A K χ : ℝ} (b : I → ℝ) (hχ : 0 < χ) (hA : K ≤ A) (hb : ∀ (i : I), K ≤ b i) (hp : p ≤ 2 * Real.exp (-A / χ ^ 2) + 2 * ∑ i : I, Real.exp (-b i / χ ^ 2)) :
p ≤ 2 * (↑(Fintype.card I) + 1) * Real.exp (-K / χ ^ 2)

SI1 SI2: for a finite coordinate type, positive χ, any real p bounded by the activity exponential plus the sum of coordinate exponentials, and a common exponent K no greater than any of their exponents, p is bounded by 2(card I+1)exp(-K/χ²). No independence or sign of p or K is assumed. This proves aggregation of supplied bounds, not the stochastic estimates themselves.

theorem MindFormal.noise_threshold {p K C ε χ : ℝ} (hK : 0 < K) (hC : 1 ≤ C) (he : 0 < ε) (he1 : ε < 1) (hχ : 0 < χ) (hsmall : χ < √(K / Real.log (C / ε))) (hp : p ≤ C * Real.exp (-K / χ ^ 2)) :
0 < √(K / Real.log (C / ε)) ∧ p < ε

SI1 SI3: for positive K, coefficient C at least one, tolerance ε strictly between zero and one, and positive χ smaller than sqrt(K/log(C/ε)), the supplied bound p ≤ C exp(-K/χ²) implies p<ε. It also proves the threshold is positive. This is the epsilon-delta algebra; obtaining K and the probability bound requires SI2's complete enclosure and scalar passage certificate.

theorem MindFormal.mean_proxy_log {χ c A : ℝ} (hχ : 0 < χ) (hc : 0 < c) :
χ ^ 2 * Real.log (c * χ * Real.exp (A / χ ^ 2)) = A + χ ^ 2 * Real.log c + χ ^ 2 * Real.log χ

SI1 SI7: for positive χ and positive prefactor c and arbitrary real barrier A, the logarithm of the displayed cχ exp(A/χ²) comparison, scaled by χ², equals A plus the two prefactor corrections. This is the exact algebra of the proposed asymptotic expression; it does not identify the reflected mean.

theorem MindFormal.mean_proxy_exponent {c : ℝ} (hc : 0 < c) (A : ℝ) :
Filter.Tendsto (fun (χ : ℝ) => χ ^ 2 * Real.log (c * χ * Real.exp (A / χ ^ 2))) (nhdsWithin 0 (Set.Ioi 0)) (nhds A)

SI1 SI7: for positive constant prefactor c and arbitrary real barrier A, the explicit cχ exp(A/χ²) expression has scaled-log limit A as positive χ tends to zero. Substituting A=ν(need-target)² covers both printed prefactors. This proves the reference expression's exponent, not the unformalized Laplace asymptotic or stopped-Ito identification of that expression with the mean.