Section 7, lower bound — the expected off-line cost is at most
ProvedMetricalTaskSystem.Randomized.uniform_expOfflineCost_limsupLet be the uniform task system on states, let the tasks be independent and uniformly distributed unit elementary tasks, and let be an initial state. Then there is a constant , independent of , such that for every
This is the denominator estimate in the application of Lemma 7.2: together with it gives .
Formalization Note The paper's is rendered as an explicit existential constant chosen after the system and the initial state and before . The paper's own justification (the elementary renewal theorem) gives only the limit of ; the additive bound as stated needs a sharper renewal estimate, which is a proof cost, not a change of statement.
import Mathlib import Definitions.Def_MetricalTaskSystem_Randomized_Model import Definitions.Def_MetricalTaskSystem_Randomized_TaskDistribution
namespace MetricalTaskSystem.Randomized
/-- **Section 7, proof of the lower bound, off-line cost** (Borodin–Linial–Saks 1992, p. 760).
On the uniform task system with `n = |S|` states and independent uniformly distributed unit
elementary tasks, `E(c₀(Tʲ)) ≤ j/(n·H(n)) + O(1)`: there is a constant `C` (depending on the
system and the initial state, not on `j`) with `E(c₀(Tʲ)) ≤ j/(n·H(n)) + C` for every `j`. -/
theorem uniform_expOfflineCost_limsup {S : Type} [Fintype S] [DecidableEq S] [Nonempty S]
[MeasurableSpace S] [MeasurableSingletonClass S] (s₀ : S) :
∃ C : ℝ, ∀ j : ℕ,
expOfflineCost (uniformD (S := S)) s₀ (unitTask (S := S)) (uniformStateSeq S) j ≤
(j : ℝ) / ((Fintype.card S : ℝ) * (harmonic (Fintype.card S) : ℝ)) + C := by sorry
end MetricalTaskSystem.Randomized
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a finite, nonempty type of "states" with decidable equality. Write , so . carries a σ-algebra in which every singleton is measurable. Because is finite, every subset is then a finite union of singletons, so the σ-algebra is necessarily the full power set of . Fix an arbitrary state .
Notation. denotes the -th harmonic number:
It is computed as a rational number and then viewed as a real number.
The statement also uses four objects from the imported definition files. Their definitions are not part of the code given here, so this read-back cannot unfold them. What is visible is how they are used:
- is a real-valued quantity that depends on a natural number . Its arguments are:
- , an object specialised to ;
- the starting state ;
- , an object specialised to ;
- , an object built from .
The names suggest an "expected off-line cost after steps" for a "uniform" system with "unit tasks" and a "uniform state sequence". The code shown does not confirm any of these meanings. An auditor has to check them against the definition files.
Assertion. There is a real constant such that, for every natural number ,
About the constant :
- It comes before the quantifier over , so it cannot depend on .
- It may depend on everything fixed earlier: the type , its structure, and .
- Its sign and size are unrestricted; it may be negative or arbitrarily large.
The claim is only a one-sided upper bound whose leading term is plus an additive constant. It makes no claim about a lower bound, a limit, or a limsup, even though the declaration's name mentions "limsup".
Degenerate cases.
- Division. Since is nonempty, and . The denominator is therefore always positive, and the division never falls back to a default value.
- One state (). Then and the bound reads .
- Zero steps (). The bound reduces to .
- Hidden defaults. Whether the cost quantity itself contains default values cannot be determined from this code. Examples would be an integral of a non-integrable function evaluating to , or truncated subtraction. That depends entirely on the unseen definitions.
- Vacuous case. If were bounded above uniformly in (for example, identically because of such a default), the statement would hold trivially with a suitable .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.