structure
definition
DirectedEdge
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.Mathematics.RamanujanBridge.DirectedFlux24 on GitHub at line 66.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
formal source
63
64/-- A directed edge on the Q₃ lattice: oriented pair (source, target)
65 connected by an edge of the cube. -/
66structure DirectedEdge where
67 /-- Source vertex (3-bit binary) -/
68 source : Fin 8
69 /-- Target vertex (3-bit binary) -/
70 target : Fin 8
71 /-- They differ in exactly one coordinate (edge condition) -/
72 adjacent : source ≠ target
73
74/-- The number of undirected edges in Q_D: D · 2^{D-1}. -/
75theorem edges_QD (d : ℕ) : cube_edges d = d * 2 ^ (d - 1) := rfl
76
77/-- Q₃ has exactly 12 undirected edges. -/
78theorem edges_Q3 : cube_edges D = 12 := edges_at_D3
79
80/-- The double-entry principle: each undirected edge becomes TWO directed
81 edges (one per direction) in the recognition ledger.
82
83 This is forced by J-symmetry: J(x) = J(1/x) means every flow has
84 a reciprocal, requiring both orientations to be tracked. -/
85def directed_edge_count (d : ℕ) : ℕ := 2 * cube_edges d
86
87/-- **KEY THEOREM: Q₃ has exactly 24 directed edges.**
88
89 This is the source of the "magic number" 24 in:
90 - Ramanujan's modular discriminant Δ(q) = η(τ)²⁴
91 - The Leech lattice dimension
92 - Bosonic string theory's "26 dimensions"
93
94 It is NOT about extra spatial dimensions. It counts ledger flux modes. -/
95theorem directed_edges_Q3 : directed_edge_count D = 24 := by
96 simp only [directed_edge_count, edges_at_D3]