OAI/Combinatorics/UniformKServer/HeldRelative.lean
10 declarations, 0 contain sorry, 0 declared as axioms
Held scalar references with forced epoch resets. The potential is not restarted: its nonnegative value is discarded on a wholesale step, while the full new installation is charged to that step.
- def
OAI.UniformKServer.HeldRelative.updateline 17 - def
OAI.UniformKServer.HeldRelative.scheduleline 20 - theorem
OAI.UniformKServer.HeldRelative.update_nonnegline 24 - theorem
OAI.UniformKServer.HeldRelative.update_comparedline 30 - theorem
OAI.UniformKServer.HeldRelative.schedule_nonnegline 37 - theorem
OAI.UniformKServer.HeldRelative.schedule_comparedline 44 - def
OAI.UniformKServer.HeldRelative.expenditureline 54 - theorem
OAI.UniformKServer.HeldRelative.stepline 57 - theorem
OAI.UniformKServer.HeldRelative.budgetline 74 - theorem
OAI.UniformKServer.HeldRelative.true_chargeline 101Source documentation
The source charges true side sizes, rather than the held reference. On an unforced refresh those true sizes are controlled by the paid charge.
theorem true_charge {δ b x y : ℝ} (hδ : 0 ≤ δ) (hy : 0 ≤ y) (hcmp : compared δ b x) (hne : b ≠ relativeUpdate δ b y) : x+y ≤ (1+δ)*charge b (relativeUpdate δ b y) := by …