mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
Formalized the 4-primitive framework applied to Erdős–Rényi random graphs G(n,p) in Lean. Lean file: 0-Core-Formalism/lean/Semantics/ExtensionScaffold/Math/FourPrimitiveErdosRenyi.lean Formalization includes: - Field primitive (ρ(x⃗)): edge density field - Shear primitive (G = AᵀA): Laplacian deformation metric - Packet primitive (Γᵢ): adjacency matrix encoding - Spectral primitive (C = UΛUᵀ): eigenbasis decomposition Definitions: - FieldPrimitive: edge density - ShearPrimitive: Gram matrix AᵀA - PacketPrimitive: adjacency matrix - SpectralPrimitive: eigen decomposition - spectralRadius, spectralGap, algebraicConnectivity - Laplacian matrix - connectivityThreshold, giantComponentThreshold - detectPhaseTransition Theorems (schematic): - FourPrimitiveFramework_Validation - SpectralPrimitive_PhaseTransition - FieldPrimitive_Density - ShearPrimitive_Deformation - PacketPrimitive_Encoding Canonical statement included: The compactified core reduces the stack to four mutually orthogonal primitives: field state, shear metric, packet witness, and spectral basis. |
||
|---|---|---|
| .. | ||
| core | ||
| lean | ||
| otom | ||
| rust/ftdi_gimbal | ||
| README.md | ||
0-Core-Formalism
Purpose: Formal foundations for the entire Research Stack — Lean modules, bind primitive, Triumvirate consensus, core source.
No external dependencies. All other layers depend on this.
Contents (Target)
| Source | Destination |
|---|---|
0-Core-Formalism/lean/Semantics/ |
0-Core-Formalism/lean/Semantics/ |
core/ |
0-Core-Formalism/core/ |
Concepts
- bind — State → (State → Action) → State
- TriumvirateClock — ternary consensus (ADD/PAUSE/SUBTRACT)
- Builder/Judge/Warden — roles mapped to hardware registers
- OTOM — Ordered Transformation & Orchestration Model
Build
cd "0-Core-Formalism"
lake build