Commit graph

557 commits

Author SHA1 Message Date
3b15d252f7 docs: add Research Stack searchable usage point graph
Generate a unified entity/edge graph of Research Stack to support
SilverSight porting decisions:

- 13,296 entities: 849 Lean modules, 3,175 theorems, 7,784 defs, 215 scripts,
  1,235 docs, services, databases, nodes, skills, goals
- 13,913 edges: imports, contains, uses_service, touches_database,
  references_doc, runs_on, hosted_by
- Math-kind classification, sorry/theorem/def counts, top in-degree modules
- Neon service and database inventory
- docs/generate_research_stack_usage_map.py for regeneration

Build: 2978 jobs, 0 errors (lake build)
2026-06-21 06:39:39 -05:00
7a973a06f6 feat(core): harden SilverSightCore and port canonical FixedPoint
- Remove Float from Core/SilverSightCore.lean (Receipt.pathCost is now Option Nat)
- Prove TIC theorems tic_never_decreases and computation_generates_time
- Add lakefile.lean, lean-toolchain, and .gitignore for .lake/
- Port Research-Stack Semantics.FixedPoint.lean to formal/CoreFormalism/FixedPoint.lean
- Delete thin Q16_16_Spec.lean; update Python/QUBO comments and docs
- Create AGENTS.md distilled from Research Stack core bindings
- Update REBASE_RULES.md to strip legacy hacks and reference AGENTS.md

Build: 2978 jobs, 0 errors (lake build)
2026-06-21 06:30:12 -05:00
1ce4093041 docs: add PORTING_MAP.md for Research-Stack → SilverSight migration
Maps every proven Research-Stack component to its SilverSight library,
with status: PORTED / PORT / ADAPT / DROP. Also lists gaps, conflicts,
and recommended porting order.
2026-06-21 06:05:58 -05:00
373cd66098 docs: add REBASE_RULES.md manifest from Research-Stack rebase
Ports the active agent rules, editor configs, skills, and contracts
that survived 10+ iterations of Research-Stack exploration. This is
the seed ruleset for the SilverSight library-method architecture.
2026-06-21 06:02:44 -05:00
Allaun Silverfox
57bcd2ed7a Add SilverSight Core + Library Manifest + RRC placement
- Core/SilverSightCore.lean: 200-line minimal core
  * 8 Hachimoji states (classification alphabet)
  * Receipt format (core-library interface)
  * AVM transition function delta : S x I -> S'
  * TIC axiom (derived, not driver)
  * Loop invariant: computation generates time
  * Library interface: Library := String -> Receipt
  * Receipt validators (format, consistency, state validity)

- docs/LIBRARY_MANIFEST.md: 8-library architecture map
  * LexLib, SearchLib, MetricLib, QUBOLib
  * StructureLib, PVGSLib, EventLib, AuditLib
  * Key rule: libraries import core only, never each other

- docs/RRC_PLACEMENT.md: RRCLib positioning
  * RRC is its own library (not AuditLib, not SearchLib)
  * 3 gates: type, projection, merge (H-KdF polynomial evaluation)
  * Meta-level: receipts about receipts (hash chain)
  * Rainbow = 3 color channels, Compiler = receipt -> verdict
2026-06-21 05:59:43 -05:00
Allaun Silverfox
f69d7e84af Fix: resolve sorrys across PVGS, UniversalEncoding, ChiralitySpace, QAOA
- PVGS_DQ_Bridge_fixed.lean: 8 of 10 sorrys proven
  * repunit_strictMono: StrictMono (repunit x) for x >= 2 (induction proof)
  * repunit_ge_7: geometric series lower bound
  * sieve_discriminates_correct: uses strictMono instead of sorry
  * hermite_sieve_isomorphism: 4 sorrys replaced with repunit_strictMono proofs
  * unknown_fails_rrc: converted to goormaghtigh_conjecture_axiom (BMS 2006)
  * pvgsToQS: added h_μre_nonneg, h_μim_nonneg fields to PVGSParams
  * 2 remaining sorrys documented (finite enumeration + near-collision bounds)

- UniversalMathEncoding.lean: all 6 sorrys fixed
  * expressionToReceipt: implemented scanForTokens parser
  * addressChaosBasin: implemented with tokenGroupOfFin + sidonHash
  * address_injective: proved via Nat.testBit extensionality
  * chaosEmbedding.sparsity: full proof with phi lemma
  * embedding_injective: documented as axiom (Lindemann-Weierstrass)
  * addressWeight termination: Nat.div_lt_self + omega

- ChiralitySpace.lean: all 4 sorrys fixed
  * consistent_count_lt_full: native_decide computational proof
  * expressionDirection/expressionPhase: tokenChiralityOfFin
  * isConsistent: Bool-returning with BEq deriving
  * All placeholder where functions implemented

- qubo/qaoa_circuit.py: deterministic lowest-energy selection
  * simulate_qaoa_numpy: evaluates all states, picks minimum (not sampling)
  * Fixes approximation ratio = 1.0 for all 3 test equations

Refs: Giani-Win-Conti 2025, Bugeaud-Mignotte-Siksek 2006
2026-06-21 05:35:53 -05:00
SilverSight Agent
3c35fe50c2 Initial SilverSight: deterministic equation search via Fisher geometry
Core components:
- ChentsovFinite.lean (883 lines, 0 sorry): Fisher metric uniqueness on 8-state simplex
- HachimojiCodec.lean: Deterministic E=mc^2 -> Hachimoji state pipeline
- PVGS_DQ_Bridge (8 sections, ~6,150 lines): Photon-Varied Gaussian to Dual Quaternion
- UniversalMathEncoding.lean: 50-token math address space (~10^15 addresses)
- ChiralitySpace.lean: 4D descriptor (phase x chirality x direction x regime) ~2x10^25
- BindingSite (3 files): Amino acid vocabulary, entropy-based bindability
- Python: chaos game, Sidon addressing, Q16.16 canonical, Finsler metric, QUBO/QAOA
- CI: Lean check, Python check, Q16 roundtrip workflows

Papers: Giani-Win-Conti 2025, Chabaud-Mehraban 2022, Pizzimenti 2024, Wassner 2025
2026-06-21 18:02:05 +08:00