Generic finite-graph framework for the degree--diameter preprint #
This file contains only generic graph definitions and lemmas. In particular, it does not assume the flag-graph construction or any asymptotic input.
We use SimpleGraph.ediam, not SimpleGraph.diam: the latter is defined to be zero when the
extended diameter is infinite, and would therefore allow disconnected graphs accidentally.
Lean Pool port of wewantmoore commit d59bd80ea93fabb9faf769e790ab47692645e022. The port adds a namespace and adapts proofs to the current Mathlib APIs and repository style.
Every vertex of G has degree at most d, expressed without choosing a decidable adjacency
relation. For a finite vertex type, Set.ncard (G.neighborSet v) is the ordinary vertex degree.
Equations
- MooreBound.DegreeDiameter.MaxDegreeLE G d = ∀ (v : V), (G.neighborSet v).ncard ≤ d
Instances For
A coarse breadth-first bound #
One legal breadth-first move: stay at the current vertex, or cross one edge.
Instances For
Exact-length breadth-first routes. Unlike graph walks, these permit stationary moves.
Equations
- MooreBound.DegreeDiameter.BFSRouteCode G x✝ 0 = PUnit.{?u.1 + 1}
- MooreBound.DegreeDiameter.BFSRouteCode G x✝ n.succ = ((y : MooreBound.DegreeDiameter.ClosedNeighbor G x✝) × MooreBound.DegreeDiameter.BFSRouteCode G (↑y) n)
Instances For
The endpoint of a breadth-first route code.
Equations
Instances For
A graph walk of length at most n can be padded by stationary moves to an exact-length
breadth-first route code with the same endpoint.
Each closed neighborhood embeds in the uniform alphabet of size d + 1.
Equations
Instances For
Encode a breadth-first route into a fixed-length word over Fin (d + 1).
Equations
- One or more equations did not get rendered due to their size.
- MooreBound.DegreeDiameter.encodeBFSRoute hdegree 0 x✝¹ x✝ = PUnit.unit
Instances For
Embed length-n routes into the finite set of degree-bounded BFS codes.
Equations
- MooreBound.DegreeDiameter.bfsRouteEmbedding hdegree n x = { toFun := MooreBound.DegreeDiameter.encodeBFSRoute hdegree n x, inj' := ⋯ }
Instances For
Coarse breadth-first bound. Its leading term is still d^k, so it is sufficient for the
upper asymptotic in Theorem 1.1.
A coarse degree bound for line graphs #
Encode an edge neighboring e in the line graph by a shared endpoint of e and the other
endpoint of the neighboring edge.
Equations
Instances For
Recover the encoded neighboring edge.
Instances For
A coarse line-graph maximum-degree bound. The sharper standard estimate is
2 * (d - 1); 2 * d is enough to establish finite boundedness of the edge extremum.
A finite simple graph of order n, maximum degree at most d, and diameter at most k.
The quantified vertex type is kept native instead of transporting every construction to Fin n.
Finite V makes Nat.card V and the set cardinalities mathematically meaningful.
Equations
- MooreBound.DegreeDiameter.OrderAdmissible k d n = ∃ (V : Type) (G : SimpleGraph V), Finite V ∧ Nat.card V = n ∧ MooreBound.DegreeDiameter.MaxDegreeLE G d ∧ G.ediam ≤ ↑k
Instances For
The degree--diameter extremal order. The specification lemmas below require (and later the Moore bound supplies) boundedness of the defining set.
Equations
Instances For
A finite simple graph with m edges, maximum degree at most d, and line-graph diameter at
most ell.
Equations
- MooreBound.DegreeDiameter.EdgeAdmissible ell d m = ∃ (V : Type) (G : SimpleGraph V), Finite V ∧ G.edgeSet.ncard = m ∧ MooreBound.DegreeDiameter.MaxDegreeLE G d ∧ G.lineGraph.ediam ≤ ↑ell
Instances For
The defining edge-count set is bounded, unconditionally.
The exact Moore expression.
Equations
- MooreBound.DegreeDiameter.mooreBound k d = 1 + d * ∑ j ∈ Finset.range k, (d - 1) ^ j
Instances For
The admissible-order set is always nonempty; the one-vertex edgeless graph is a witness.
The admissible-edge-count set is always nonempty; an edgeless graph is a witness.
Any admissible order is at most the extremal value, once boundedness has been established.
Under boundedness, nKD is itself attained by a finite simple graph.
Conditional maximum specification for nKD.
Unconditional extremal specification, using the coarse breadth-first bound above.
Unconditional edge-extremum specifications, using the coarse line-graph bound above.