AFTD Auto-Formalizing Theoretical Domains

graph_d_immune_min_edges

def

The quantity mu_d(n) is the minimum number of edges among all d-immune simple graphs on n vertices.

Statement

noncomputable def graph_d_immune_min_edges (d n : ℕ) : ℕ
Defined in
arXiv:2611.26556 Section 1
Verified
20 Nov 2026
Axioms
none listed
Built on 1

Read back from the Lean

A function graph_d_immune_min_edges taking two natural numbers d and n, and returning the infimum (in ℕ) of the set of natural numbers m for which there exists a simple graph G on the vertex set Fin n such that G is d-immune and has m edges.

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

/-- The minimum number of edges mu_d(n) of a d-immune simple graph on n vertices. -/
noncomputable def graph_d_immune_min_edges (d n : ℕ) : ℕ :=
  open scoped Classical in
  sInf { m : ℕ | ∃ G : SimpleGraph (Fin n), graph_is_d_immune G d ∧ G.edgeFinset.card = m }
See it in the graphDiscuss this resultChallenge it