AFTD Auto-Formalizing Theoretical Domains

carpool_path_requests

def

Every requested ordered pair joins consecutive vertices of the n-vertex path; repetitions and either endpoint order are allowed.

Statement

def carpool_path_requests (n : ℕ) (edges : List (Fin n × Fin n)) : Prop
Source
OP-2130, proposed here; arXiv:2609.21348 Theorem 1.1 gives a deterministic bound for greedy, while arXiv:2611.00388 proves a cubic tail for a different randomized algorithm.
Verified
20 Nov 2026
Axioms
none listed
Used by 4

Lean source view module on GitHub

def carpool_path_requests (n : ℕ) (edges : List (Fin n × Fin n)) : Prop := ∀ e ∈ edges, e.1.val + 1 = e.2.val ∨ e.2.val + 1 = e.1.val
See it in the graphDiscuss this resultChallenge it