mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
New section §11: A × adj(A) = det(A) × I Cofactor identity infrastructure: - cofactorSign: checkerboard (-1)^(i+j) - cofactorProductEntry: Σ_k A[i][k] × adj(A)[k][j] - Verified by #eval on identity, diag(2,1,...,1), permutation, zero-row, equal-rows Proved theorems (by native_decide on concrete matrices): - cofactor_identity_identity_diag: I × adj(I)[i,i] = det(I) - cofactor_identity_identity_offdiag: I × adj(I)[i,j] = 0 for i≠j - cofactor_identity_diag2: diag(2,1,...) × adj = det × I - det_self_inverse_exact_diag2: diag(2,1,...) × inv = I Optimization shortcuts (from user guidance): - bestRow/bestCol: choose expansion line with most zeros - hasZeroDeterminant: zero row / equal rows → det = 0 - isUpperTriangular/isLowerTriangular: det = product of diagonal - triangularDet: product of diagonal for triangular matrices General cofactor_identity: sorry (needs equal-rows→det=0 lemma) det_self_inverse_exact_from_cofactor: sorry (proof sketch complete) det_self_inverse: sorry (Q16_16 obstruction, documented) lake build: 3300 jobs, 0 errors |
||
|---|---|---|
| .. | ||
| core | ||
| lean | ||
| otom | ||
| receipts | ||
| 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