AFTD Auto-Formalizing Theoretical Domains

arrival_configuration_bound

def

For a finite type V and period lengths d : V → ℕ, arrival_configuration_bound d is the product of the number of vertices in V and the product of the period lengths d v over all v in V.

Statement

def arrival_configuration_bound {V : Type*} [Fintype V] (d : V → ℕ) : ℕ
Defined in
arXiv:2611.33785, eq. (2.3)
Verified
29 Nov 2026
Axioms
none listed

Read back from the Lean

For any type V with a Fintype instance, and any function d : V → ℕ, arrival_configuration_bound d is defined to be the natural number given by the cardinality of V multiplied by the product over all elements v : V of d v, i.e., |V| * ∏_{v : V} d(v).

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

/-- Configuration bound M = |V| * ∏ d_v on pre-departure configurations in a periodic routing network. -/
def arrival_configuration_bound {V : Type*} [Fintype V] (d : V → ℕ) : ℕ := Fintype.card V * ∏ v : V, d v
See it in the graphDiscuss this resultChallenge it