AFTD Auto-Formalizing Theoretical Domains

op869_extend_colors

def

Extend color histories to a larger vertex universe by assigning no colors to new vertices.

Statement

def op869_extend_colors {n m : ℕ} (h : n ≤ m) (C : Fin n → Finset ℕ)
    (v : Fin m) : Finset ℕ
Source
Padding and monotonicity for the finite adversary game of arXiv:2610.41516 Section 2.
Verified
17 Nov 2026
Axioms
none listed
Used by 5

Lean source view module on GitHub

/-- Extend color histories to a larger vertex universe by assigning no colors to new vertices. -/
def op869_extend_colors {n m : ℕ} (h : n ≤ m) (C : Fin n → Finset ℕ)
    (v : Fin m) : Finset ℕ :=
  if hv : v.val < n then C ⟨v.val, hv⟩ else ∅
See it in the graphDiscuss this resultChallenge it