AFTD Auto-Formalizing Theoretical Domains

OfflineTCPJob

structure

In offline TCP acknowledgment with batch processing, a job has a rational release time r_j and processing time p_j.

Statement

structure OfflineTCPJob where
  release : ℚ
  processing : ℚ
Defined in
arXiv:2611.33678, Sec. 2 & 7
Verified
28 Nov 2026
Axioms
none listed
Used by 10
  • OfflineTCPTotalFlowPolyTimeAlgorithmA polynomial-time algorithm for offline TCP total-flow decision consists of an evaluation function eval mapping an instance I and bound L…
  • 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.
  • op_2401_offline_tcp_poly_time_solvableOpen Problem OP-2401: with arbitrarily many distinct processing lengths, either the offline TCP total-flow objective or the offline TCP…
  • 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_durationFor an offline TCP instance I, a schedule sched on I.jobs.length jobs, and a batch index i : Fin sched.m, offline_tcp_batch_duration I…
  • offline_tcp_total_flow_costThe total-flow cost of a schedule sched for an offline TCP instance I is sched.m * I.launchFee + ∑ i : Fin sched.m, ∑ j ∈…
  • 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…
  • OfflineTCPBatchMaxPolyTimeAlgorithmA polynomial-time algorithm for offline TCP batch-maximum decision consists of an evaluation function eval mapping an instance I and bound…
  • offline_tcp_total_flow_decisionThe offline TCP total-flow decision problem asks whether there exists a feasible schedule sched for instance I whose total-flow cost is at…
  • offline_tcp_batch_max_decisionThe offline TCP batch-maximum decision problem asks whether there exists a feasible schedule sched for instance I whose batch-maximum cost…

Read back from the Lean

A structure OfflineTCPJob with two fields: 1. release, a rational number (ℚ). 2. processing, a rational number (ℚ), with a default value provided by by sorry.

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

/-- A job in the offline TCP acknowledgment problem with batch processing, with rational release and processing times. -/
structure OfflineTCPJob where
  release : ℚ
  processing : ℚ
See it in the graphDiscuss this resultChallenge it