You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete catalog of definitions and theorems in the formalization, organized by source file. All declarations are fully proved with zero sorry and zero custom axioms.
Headline theorems
F1: Log-ratio convergence
theoremflowerDimension (u v : ℕ) (hu : 1 < u) (huv : u ≤ v) :
Tendsto (fun g : ℕ ↦ log ↑(flowerVertCount u v g) / log ↑(flowerHubDist u v g))
atTop (nhds (log ↑(u + v) / log ↑u))
The ratio (\log |V_g| / \log L_g) converges to (\log(u+v) / \log u) as (g \to \infty). Proved via Route B (squeeze). See Proof Strategy.
File:FlowerDimension.lean
F2: Hub distance bridge
theoremflowerGraph_dist_hubs (u v g : ℕ) (hu : 1 < u) (huv : u ≤ v) :
(flowerGraph u v g hu huv).dist
((flowerVertEquiv u v g hu huv) (.hub0 u v g))
((flowerVertEquiv u v g hu huv) (.hub1 u v g))
= flowerHubDist u v g
The SimpleGraph.dist between hub vertices in the concrete ((u,v))-flower graph on Fin equals (u^g). See Graph Construction.
File:FlowerConstruction.lean
HasLogRatioDimension
defHasLogRatioDimension
{V : ℕ → Type*} [∀ g, Fintype (V g)]
(G : (g : ℕ) → SimpleGraph (V g))
(s t : (g : ℕ) → V g)
(d : ℝ) : Prop :=
Tendsto (fun g ↦ log (Fintype.card (V g) : ℝ) / log ((G g).dist (s g) (t g) : ℝ))
atTop (nhds d)
Predicate asserting that the log-ratio limit equals (d) for a graph family with distinguished vertex pairs. Bridge target for F3 (combining F1 + F2).
File:FlowerLogRatio.lean
Counting formulas (FlowerCounts.lean)
Definitions
defflowerEdgeCount (u v : ℕ) : ℕ → ℕ
| 0 => 1
| g + 1 => (u + v) * flowerEdgeCount u v g
defflowerVertCount (u v : ℕ) : ℕ → ℕ
| 0 => 2
| g + 1 => flowerVertCount u v g + (u + v - 2) * flowerEdgeCount u v g
Exact formulas
Theorem
Statement
flowerEdgeCount_eq_pow
(E_g = (u+v)^g)
flowerVertCount_eq
((w-1) \cdot N_g = (w-2) \cdot w^g + w) where (w = u+v)
Bounds
Theorem
Statement
flowerVertCount_lower
((w-2) \cdot w^g \leq (w-1) \cdot N_g)
flowerVertCount_upper
((w-1) \cdot N_g \leq 2(w-1) \cdot w^g)
Positivity and monotonicity
Theorem
Statement
flowerEdgeCount_pos
(0 < E_g)
flowerVertCount_pos
(0 < N_g)
flowerEdgeCount_strict_mono
(E_g < E_{g+1})
flowerVertCount_strict_mono
(N_g < N_{g+1})
Cast identity
Theorem
Statement
flowerVertCount_cast_eq
The exact recurrence holds in (\mathbb{R}): ((w-1) \cdot N_g = (w-2) \cdot w^g + w)
Hub distance (FlowerDiameter.lean)
Definition
defflowerHubDist (u v : ℕ) : ℕ → ℕ
| 0 => 1
| g + 1 => u * flowerHubDist u v g
Theorems
Theorem
Statement
flowerHubDist_eq_pow
(L_g = u^g)
flowerHubDist_pos
(0 < L_g)
flowerHubDist_strict_mono
(L_g < L_{g+1})
flowerHubDist_cast_eq_pow
(\uparrow!L_g = (\uparrow!u)^g) in (\mathbb{R})
Log identities (FlowerLog.lean)
Theorem
Statement
log_flowerHubDist_eq
(\log L_g = g \cdot \log u)
log_flowerEdgeCount_eq
(\log E_g = g \cdot \log(u+v))
log_flowerVertCount_residual_lower
(\log!\bigl(\tfrac{w-2}{w-1}\bigr) \leq \log N_g - g \cdot \log w)
log_flowerVertCount_residual_upper
(\log N_g - g \cdot \log w \leq \log 2)
Hub vertices (FlowerGraph.lean)
defhub0 (u v g : ℕ) : Fin (flowerVertCount u v g)
defhub1 (u v g : ℕ) : Fin (flowerVertCount u v g)
Theorem
Statement
two_le_flowerVertCount
(2 \leq N_g)
hub0_ne_hub1
The two hubs are distinct
Graph construction (FlowerConstruction.lean)
Types
Definition
Purpose
GadgetPos u v
Position within a replacement gadget (src, tgt, short, long)
LocalEdge u v
Edge index within a gadget: Fin u ⊕ Fin v
FlowerEdge u v g
Recursive edge index type
FlowerVert u v g
Vertex type: Fin 2 ⊕ Σ (k : Fin g), FlowerEdge u v k.val × (Fin (u-1) ⊕ Fin (v-1))
flowerGraph' u v g
SimpleGraph on FlowerVert
Structural theorems
Theorem
Statement
flowerGraph'_adj_iff
Adjacency iff flowerAdj'
gadgetInternal_card
Internal vertex count per gadget = (u+v-2)
flowerVert_card
Fintype.card (FlowerVert u v g) = flowerVertCount u v g