MindFormal v1.0.0One Mind

MindFormal.Tools.A881NativeBudgets.RoundConvolution

theorem MindFormal.A881NativeBudgets.expConv_one_round {ν ρ b : ℝ} {n : ℕ} (hν : 0 < ν) (hρ : 0 < ρ) (hn : 0 < n) (l : ℝ) :
expConv ν l (visitTarget 0 ρ b) (↑n * ρ) = roundMap (ν * ρ) b n l

Solving the complete visit and wait produces exactly the affine map.

theorem MindFormal.A881NativeBudgets.expConv_initial_wait {ν xₑ wait : ℝ} {R : ℝ → ℝ} (hν : 0 < ν) (hw : 0 ≤ wait) (hR : ∀ u ∈ Set.Ioc 0 wait, R u = 0) :
expConv ν xₑ R wait = xₑ * Real.exp (-ν * wait)

Initial waits are part of preparation, not an entering-state reset.

theorem MindFormal.A881NativeBudgets.initial_wait_maintenance {ν xₑ wait a : ℝ} {R : ℝ → ℝ} (hν : 0 < ν) (hw : 0 ≤ wait) (hx : 0 ≤ xₑ) (hR : ∀ u ∈ Set.Ioc 0 wait, R u = 0) :
(∀ u ∈ Set.Icc 0 wait, a ≤ expConv ν xₑ R u) ↔ a ≤ xₑ * Real.exp (-ν * wait)
theorem MindFormal.A881NativeBudgets.expConv_round_sequence {ν ρ b xₑ wait : ℝ} {n : ℕ} (R : ℝ → ℝ) (hν : 0 < ν) (hρ : 0 < ρ) (hn : 0 < n) (hw : 0 ≤ wait) (hR : ∀ (s t : ℝ), IntervalIntegrable R MeasureTheory.volume s t) (hbefore : ∀ u ∈ Set.Ioc 0 wait, R u = 0) (hphase : ∀ (k : ℕ), ∀ u ∈ Set.Ioc 0 (↑n * ρ), R (wait + ↑k * (↑n * ρ) + u) = visitTarget 0 ρ b u) (k : ℕ) :
expConv ν xₑ R (wait + ↑k * (↑n * ρ)) = roundSequence (ν * ρ) b n (xₑ * Real.exp (-ν * wait)) k

Literal periodic comparison targets give the full repeated affine sequence, including the first wait and every subsequent complete round.

theorem MindFormal.A881NativeBudgets.comparison_previsit_maintenance {ν ρ b xₑ wait a : ℝ} {n : ℕ} (R : ℝ → ℝ) (hν : 0 < ν) (hρ : 0 < ρ) (hn : 0 < n) (hw : 0 ≤ wait) (hR : ∀ (s t : ℝ), IntervalIntegrable R MeasureTheory.volume s t) (hbefore : ∀ u ∈ Set.Ioc 0 wait, R u = 0) (hphase : ∀ (k : ℕ), ∀ u ∈ Set.Ioc 0 (↑n * ρ), R (wait + ↑k * (↑n * ρ) + u) = visitTarget 0 ρ b u) :
(∀ (k : ℕ), a ≤ expConv ν xₑ R (wait + ↑k * (↑n * ρ))) ↔ a ≤ xₑ * Real.exp (-ν * wait) ∧ a ≤ roundMinimum (ν * ρ) b n

Both exact source inequalities are necessary and sufficient for the comparison's activities before all selected visits.

theorem MindFormal.A881NativeBudgets.round_minimum_le_height {τ b : ℝ} {n : ℕ} (hτ : 0 < τ) (hb : 0 ≤ b) (hn : 0 < n) :
roundMinimum τ b n ≤ b
theorem MindFormal.A881NativeBudgets.expConv_within_round {ν ρ b a l u : ℝ} {n : ℕ} (hν : 0 < ν) (hρ : 0 < ρ) (ha : 0 ≤ a) (hl : a ≤ l) (hb : a ≤ b) (hend : a ≤ roundMap (ν * ρ) b n l) (hu : u ∈ Set.Icc 0 (↑n * ρ)) :
a ≤ expConv ν l (visitTarget 0 ρ b) u

Within a visit the solution is between its initial value and the visit target; in the subsequent wait its minimum is at the next pre-visit time.

theorem MindFormal.A881NativeBudgets.comparison_round_maintenance {ν ρ b xₑ wait a : ℝ} {n : ℕ} (R : ℝ → ℝ) (hν : 0 < ν) (hρ : 0 < ρ) (hn : 0 < n) (hw : 0 ≤ wait) (ha : 0 ≤ a) (hb : 0 ≤ b) (hR : ∀ (s t : ℝ), IntervalIntegrable R MeasureTheory.volume s t) (hbefore : ∀ u ∈ Set.Ioc 0 wait, R u = 0) (hphase : ∀ (k : ℕ), ∀ u ∈ Set.Ioc 0 (↑n * ρ), R (wait + ↑k * (↑n * ρ) + u) = visitTarget 0 ρ b u) :
(∀ (k : ℕ), ∀ u ∈ Set.Icc 0 (↑n * ρ), a ≤ expConv ν xₑ R (wait + ↑k * (↑n * ρ) + u)) ↔ a ≤ xₑ * Real.exp (-ν * wait) ∧ a ≤ roundMinimum (ν * ρ) b n

The two preparation conditions maintain every point in every round, not just the sequence of pre-visit endpoints.

theorem MindFormal.A881NativeBudgets.all_initial_waits_iff {ν ρ a xₑ : ℝ} {n : ℕ} (hν : 0 < ν) (hρ : 0 < ρ) (hn : 0 < n) (hx : 0 ≤ xₑ) :
(∀ (i : Fin n), a ≤ xₑ * Real.exp (-ν * (↑↑i * ρ))) ↔ a ≤ xₑ * Real.exp (-(↑n - 1) * (ν * ρ))

All initial waits are paid. With equal starts the last item's wait is the restrictive one, including n=1.

theorem MindFormal.A881NativeBudgets.capped_round_maximum {τ b a xₑ : ℝ} (N : ℕ) (hτ : 0 < τ) (hb : 0 < b) (ha : 0 < a) (hx : a ≤ xₑ) :
have K := roundMaximum τ b a xₑ; (∀ (n : ℕ), n ≤ N ∧ (n = 0 ∨ a ≤ roundMinimum τ b n ∧ a ≤ xₑ * Real.exp (-(↑n - 1) * τ)) ↔ n ≤ min N K) ∧ min N K ≤ N ∧ (min N K = 0 ∨ a ≤ roundMinimum τ b (min N K) ∧ a ≤ xₑ * Real.exp (-(↑(min N K) - 1) * τ))

This is a cap on the specified calculation. Attaining it still requires a feasible native selection of that size.