How futuretechlab/rh-garden works
RH Garden is a typed research graph and proof-search scaffold, not an RH prover: its documented result is route exploration, exact finite calculations, numerical research views, and separate kernel-checked Lean theorems. The main user workflow is to explore obligations and representations through the Navigator or CLI, inspect routes and trust levels, and keep experimental evidence distinct from formal proofs. README statements establish the high-level links; source excerpts confirm selected UI and candidate/regression calls. Unsampled runtime wiring is omitted where it cannot be supported.
Main entry points: Main.hs CLI · Registry.hs Garden Registry · App.tsx Navigator UI · data Exported Data
Components 23
Typed Research Model
- Obligations
src/RHGarden/Core.hs - Representations
src/RHGarden/Representation.hs - Garden Registry
src/RHGarden/Registry.hs
Search And Checks
- CLI
app/Main.hs - Exact Algebra
src/RHGarden/Algebra.hs - Mobius Checker
src/RHGarden/Mobius.hs - Finite Evidence
src/RHGarden/Evidence.hs - Route Search
src/RHGarden/Search.hs - UI Export
src/RHGarden/UIExport.hs
Lean Proofs
- Lean Theorems
formal/RHGarden
Suzuki Research
- Suzuki Explorer
src/RHGarden/Explorer/Suzuki.hs - Sieve Candidate
scripts/suzuki-sieve-candidate.mjs - Sieve Regression
scripts/suzuki-sieve-regression.mjs - Moment Candidate
scripts/suzuki-moment-candidate.mjs - Moment Regression
scripts/suzuki-moment-regression.mjs - Event Report
scripts/suzuki-event-report.mjs - Surcharge Profile
scripts/suzuki-surcharge-profile.mjs
Research Navigator
- Navigator UI
ui/src/App.tsx - Data Types
ui/src/types.ts - UI Entry
ui/src/main.tsx - Exported Data
ui/public/data
Other components
- Researcher
- Browser User
Connections 20
- Researcher → CLI: runs commands
README.md - CLI → Garden Registry: loads routes
- CLI → Route Search: finds paths
- CLI → Mobius Checker: checks identity
README.md - Obligations → Garden Registry: registered in
- Representations → Garden Registry: registered in
- CLI → Finite Evidence: runs finite checks
- Researcher → Navigator UI: explores research
README.md - UI Entry → Navigator UI: renders
ui/src/main.tsx - Navigator UI → Data Types: uses data types
ui/src/App.tsx - UI Export → Exported Data: writes JSON
README.md - Exported Data → Navigator UI: feeds views
README.md - Garden Registry → UI Export: supplies registry
README.md - Suzuki Explorer → UI Export: supplies scans
README.md - Lean Theorems → Garden Registry: backs trust labels
- Sieve Regression → Sieve Candidate: validates candidate
scripts/suzuki-sieve-regression.mjs - Moment Regression → Moment Candidate: checks bounds
scripts/suzuki-moment-regression.mjs - Browser User → Navigator UI: inspects views
README.md - Event Report → Exported Data: reads diagnostics
- Surcharge Profile → Exported Data: reads diagnostics