mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
Replace the TODO(lean-port) sorry with a complete proof of the
projectionOrdering theorem: for positive SourceValue pairs s1 < s2
with s2 ≤ maxExpected, projectToCoding preserves strict ordering
of the Q0_64 values.
The proof uses Nat-only arithmetic (no Float) and handles two cases:
- a2 < d: both values fit in Q0_64 range, ordering follows from
monotonicity of integer division
- a2 = d: a2*s/d = s clamped to q0_64MaxRaw; a1*s/d < q0_64MaxRaw
via the key inequality (d-1)*s < (s-1)*d
Build: 8598 jobs, 0 errors (lake build)
|
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| data | ||
| docs | ||
| formal/lean/SidonAudit | ||
| hardware/verilog/core | ||
| prototypes/webgpu-lean-ontology | ||
| specs | ||
| tools/lean/Semantics | ||
| CITATION.cff | ||
| README.md | ||
OTOM — Ordered Transformation & Orchestration Model
OTOM is the canonical GitHub seed repository for the Research Stack: a Lean-first system for information theory, compression, graph/torsion routing, neural/manifold semantics, infrastructure shims, and hardware extraction targets.
Grounding axioms
- Lean is the source of truth. Python, Rust, Verilog, GraphML, Mermaid, and UI surfaces are extraction targets or projections.
- Publishing pipeline: Substrate / ENE ↔ Surface / Notion ↔ Intent / Linear ⟹ Metatype.
- Settlement lifecycle:
SEED → FORMING → STABLE → CRYSTALLIZED → COMPRESSED.
Authority rule
Lean / Graph.lean = canonical structure and proof authority
GraphML = transport format
Mermaid = static projection
Ace Knowledge Graph = interactive projection only
Notion = semantic registry / spec source
Linear = task graph
Airtable = operational mirror if connected later
Consensus = literature context, not proof
GitHub = code/provenance surface once seeded
Nothing updates canonical memory directly. Every item must become an artifact first:
artifact → fingerprint → route → outcome → memory
Placement tuple
All promoted artifacts use:
Project → Domain → Type → Settlement State
See docs/plumbing/PROJECT_DOMAIN_TYPE_MAP.md.
Current bootstrap docs
docs/plumbing/GITHUB_MISSING_MAP.mddocs/plumbing/PROJECT_DOMAIN_TYPE_MAP.mdPROJECT_MAP.mdROADMAP.md(authoritative roadmap;TODO_MAP.mdis deprecated)CONCEPTS.mddocs/AGENTS.mddocs/ENE_SCHEMA.md
Canonical Lean entry
tools/lean/Semantics/Semantics/Constitution.lean
Repository status
This repo is being seeded from connected-source audit results. Treat current modules as FORMING until lake build and proof obligations are wired into CI.