offline_tcp_batch_max_decision
The offline TCP batch-maximum decision problem asks whether there exists a feasible schedule sched for instance I whose batch-maximum cost is at most L.
Statement
def offline_tcp_batch_max_decision (I : OfflineTCPInstance) (L : ℚ) : Prop
- Defined in
- scout/2611-33678-online-network-design-with-batch-processing.md:1325
- Verified
- 28 Nov 2026
- Axioms
- none listed
- Built on 5
- OfflineTCPInstanceAn offline TCP instance consists of a launch fee K > 0 and a list of jobs, each with positive processing time and nonnegative release time.
- OfflineTCPScheduleA schedule for n jobs is parameterized by n : ℕ and consists of a natural number m (the number of batches), a surjective assignment…
- is_feasible_offline_tcp_scheduleA schedule sched for an offline TCP instance I is feasible if every job is launched at or after its release time (for all i and j with…
- offline_tcp_batch_max_costThe batch-maximum cost of a schedule sched for an offline TCP instance I is the sum over all batches i of I.launchFee plus the maximum…
- OfflineTCPJobIn offline TCP acknowledgment with batch processing, a job has a rational release time r_j and processing time p_j.
- Used by 1
- OfflineTCPBatchMaxPolyTimeAlgorithmA polynomial-time algorithm for offline TCP batch-maximum decision consists of an evaluation function eval mapping an instance I and bound…
Read back from the Lean
Given an offline TCP instance I (with positive launch fee I.launchFee, and a list of jobs I.jobs each having positive processing time and nonnegative release time) and a bound L : ℚ, offline_tcp_batch_max_decision I L asserts that there exists a schedule sched for the I.jobs.length jobs such that:
1. sched is feasible for I:
- For every batch i : Fin sched.m and job j : Fin I.jobs.length, if job j is assigned to batch i (sched.batch j = i), then the release time of job j is at most the launch time of batch i (I.jobs[j].release ≤ sched.launch i).
- For every pair of batch indices i₁, i₂ : Fin sched.m with i₁.val < i₂.val, batch i₁ finishes before batch i₂ launches, in the sense that sched.launch i₁ + offline_tcp_batch_duration I sched i₁ ≤ sched.launch i₂ (where the duration of batch i₁ is the maximum of I.jobs[j].processing over all jobs j in batch i₁).
2. The total cost of sched is at most L:
- The sum over all batches i : Fin sched.m of the launch fee plus the maximum across jobs j in batch i of (sched.launch i - I.jobs[j].release + I.jobs[j].processing) is less than or equal to L.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The offline TCP batch-maximum decision problem. -/ def offline_tcp_batch_max_decision (I : OfflineTCPInstance) (L : ℚ) : Prop := ∃ sched : OfflineTCPSchedule I.jobs.length, is_feasible_offline_tcp_schedule I sched ∧ offline_tcp_batch_max_cost I sched ≤ L