AFTD Auto-Formalizing Theoretical Domains

is_list_colorable

def

A simple graph G on vertex type V is colorable from a finite list assignment L : V → Finset κ if there exists a proper coloring c : G.Coloring κ such that c(v) ∈ L(v) for all v : V.

Statement

def is_list_colorable {V κ : Type*} (G : SimpleGraph V) (L : V → Finset κ) : Prop
Defined in
arXiv:2611.25850: Section 1
Verified
21 Nov 2026
Axioms
none listed

Read back from the Lean

For types V and κ, a simple graph G on V, and a color list assignment L : V → Finset κ, is_list_colorable G L asserts that there exists a proper coloring c : G.Coloring κ such that for every vertex v : V, the color c v belongs to L 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

/-- A graph is colorable from a finite list assignment L. -/
def is_list_colorable {V κ : Type*} (G : SimpleGraph V) (L : V → Finset κ) : Prop := ∃ c : G.Coloring κ, ∀ v, c v ∈ L v
See it in the graphDiscuss this resultChallenge it