# Ryan Institute of Science and Technology (RIST) > RIST (rist.edu.rs) is an independent, non-profit private academic institution conducting open-access research in network geometry, distributed systems, formal verification, cryptography, and AI applications. ## Institutional Status & Domain Disclosure - **Legal & Academic Nature**: Non-profit private academic institution (privately operated scholarly initiative; non-commercial, non-governmental, non-degree-granting). - **Domain Convention**: The `.rs` suffix in `rist.edu.rs` denotes the Rust (`*.rs`) systems programming ecosystem and implies no national, geographic, or state-accreditation affiliation. - **Publication Classification**: All `RIST-TR` works are open-access institutional technical reports and working preprints paired with reproducible source code (not claimed as external journal/conference proceedings unless a venue DOI is cited). ## Primary Pages - [Home](https://rist.edu.rs/): Overview, research focus, and interactive circle foliation. - [Research & Technical Reports](https://rist.edu.rs/research/): 6 open-access monographs with KaTeX Web Full-Text and inline PDF readers. - [Articles & Institutional Essays](https://rist.edu.rs/articles/): Institutional essays and research commentary. - [Open-Source Software](https://rist.edu.rs/projects/): 8 reference repositories in Rust, CUDA, Python, LibTorch, and Lisp. - [About & Mandate](https://rist.edu.rs/about/): Charter, R.I.S.T. nomenclature, directory, and FAQs. - [Join the Institute](https://rist.edu.rs/join/): CV application via email, collegial peer-review obligation, and endorser CC protocol. - [Complete Technical Reference](https://rist.edu.rs/llms-full.txt) - [XML Sitemap](https://rist.edu.rs/sitemap.xml) ## Monographs & Technical Reports - [RIST-TR-2026-06: LispM LLM: Scale-Invariant Open-Vocabulary Command Routing and Poison-Resistant Continual Learning for Symbolic Agent Harnesses](https://rist.edu.rs/papers/lispm-llm/) — Web Full-Text, [Inline PDF](https://rist.edu.rs/papers/lispm-llm/?view=pdf) (442 KB, 9 pp), [Markdown](https://rist.edu.rs/papers/lispm-llm.md), [Source](https://huggingface.co/ElderRyan/lispm-llm), [Website](https://lispm.ai/) - [RIST-TR-2026-03: LispM: A Live-Image AI Agent Runtime with a Lock-Free CSP Sidecar Kernel](https://rist.edu.rs/papers/lispm/) — Web Full-Text, [Inline PDF](https://rist.edu.rs/papers/lispm/?view=pdf) (672 KB, 12 pp), [Markdown](https://rist.edu.rs/papers/lispm.md), [Source](https://github.com/LispMachineLab/lispm-agent), [Website](https://lispm.ai/) - [RIST-TR-2026-01: Rings: An Algebraic Structured Peer-to-Peer Network for Decentralized Identity and Resource Ownership](https://rist.edu.rs/papers/rings/) — Web Full-Text, [Inline PDF](https://rist.edu.rs/papers/rings/?view=pdf) (661 KB, 23 pp), [Markdown](https://rist.edu.rs/papers/rings.md), [Source](https://github.com/RingsNetwork/rings), [Website](https://rings.rs/) - [RIST-TR-2026-02: The DRanking Protocol: Verifiable Distributed Ranking and Sybil-Bounded Admission for Structured Peer-to-Peer Networks](https://rist.edu.rs/papers/dranking/) — Web Full-Text, [Inline PDF](https://rist.edu.rs/papers/dranking/?view=pdf) (360 KB, 15 pp), [Markdown](https://rist.edu.rs/papers/dranking.md), [Source](https://github.com/RingsNetwork/rings), [Website](https://rings.rs/) - [RIST-TR-2026-04: ZKFly: CUDA-Accelerated Nova for Private Sparse-Graph Execution](https://rist.edu.rs/papers/zkfly/) — Web Full-Text, [Inline PDF](https://rist.edu.rs/papers/zkfly/?view=pdf) (407 KB, 3 pp), [Markdown](https://rist.edu.rs/papers/zkfly.md), [Source](https://github.com/RyanKung/zkfly) - [RIST-TR-2026-05: ZKSM83: Native Lookup Proofs for SM83 Execution — Transparent lattice-backed receipts for the DMG/MBC3 machine](https://rist.edu.rs/papers/zksm83/) — Web Full-Text, [Inline PDF](https://rist.edu.rs/papers/zksm83/?view=pdf) (484 KB, 7 pp), [Markdown](https://rist.edu.rs/papers/zksm83.md), [Source](https://github.com/RyanKung/zksm83) ## Articles & Institutional Essays - [RIST-AR-2026-01: Why We Founded RIST](https://rist.edu.rs/articles/why-we-founded-rist/) (2026-11-29, Founding Essay) — Why widespread AI broke open-source pull-request workflows and academic peer review into Human-in-the-Middle loops, and why RIST operates independently around distributed systems, cryptography, AI applications, and sovereign individualism. ([Markdown](https://rist.edu.rs/articles/why-we-founded-rist.md)) ## Open-Source Research Software - **LispM LLM** (Rust · LibTorch · Elisp): 264K-param Rust/LibTorch zero-eval command router & continual learning for Emacs. ([Paper](https://rist.edu.rs/papers/lispm-llm/) · [Source](https://huggingface.co/ElderRyan/lispm-llm) · [Website](https://lispm.ai/)) - **Rings** (Rust · Wasm): Structured P2P overlay over Chord DHT, WebRTC & Sphinx/AEZ. ([Paper](https://rist.edu.rs/papers/rings/) · [Source](https://github.com/RingsNetwork/rings) · [Website](https://rings.rs/)) - **LispM** (Elisp · SBCL · CSP): Live-image Emacs AI agent runtime with a lock-free SBCL CSP sidecar kernel. ([Paper](https://rist.edu.rs/papers/lispm/) · [Source](https://github.com/LispMachineLab/lispm-agent) · [Website](https://lispm.ai/)) - **zkfly** (Rust · Nova · CUDA): MaleCNS connectome CSR projection & Nova IVC forward proofs. ([Paper](https://rist.edu.rs/papers/zkfly/) · [Source](https://github.com/RyanKung/zkfly)) - **cuda-nova** (CUDA Rust · Nova): CUDA Rust GPU arithmetic sidecar for Microsoft Nova IVC folding. ([Source](https://github.com/RyanKung/cuda-nova)) - **zkSM83** (Rust · Akita): Jolt-style lookup SNARK with Akita lattice commitments for SM83. ([Paper](https://rist.edu.rs/papers/zksm83/) · [Source](https://github.com/RyanKung/zksm83)) - **Klefki** (Python · Algebra): Elliptic curves, pairings, zk-SNARKs, MPC & HE in pure algebra. ([Source](https://github.com/ZeroProphet/klefki)) - **DeTLS & x402** (Rust · Ed25519): Ed25519 mTLS certificates & Rust/Nginx HTTP x402 micropayments. ([Source](https://github.com/polyjuicelab/DeTLS)) ## Correspondence - Principal Researcher: Ryan J. Kung - Email: ryan@rist.edu.rs --- ## Frequently Asked Questions ### What kind of institution is RIST, and what does the .rs domain signify? RIST (Ryan Institute of Science and Technology) is an independent, 100% non-profit private academic institution publishing over HTTPS—not a degree-granting university or government body. Its .rs domain reflects the Rust programming ecosystem rather than any geographic or state affiliation. ### Are RIST publications journal proceedings or institutional technical reports? RIST publishes 100% open-access institutional technical reports and working preprints over HTTPS at rist.edu.rs/papers/—not external conference or journal proceedings unless an external venue is explicitly cited. ### How are RIST research results and software implementations verified? RIST pairs its theoretical specifications and mathematical proofs over HTTPS with 100% open-source reference repositories so models and experiments can be inspected and reproduced independently. --- # Why We Founded RIST Open source grew up around `Issue -> PR -> Review`, and academic research grew up around `Idea -> Submit -> Review -> Publish`. Both workflows used to hold together for a plain reason: writing code and writing papers were slow. A working patch took days of debugging; a solid paper took months of derivation and testing. Because output was naturally limited, maintainers and reviewers on the other end could afford the time to read every line. Widespread AI removed that limit. Generating a clean-looking pull request, an eight-page paper, or four paragraphs of peer review now takes minutes or seconds. Reading the result carefully enough to know it is actually right has not gotten any faster. That shift also changed what people do inside the workflow. For years the industry talked about Human-in-the-Loop, which already treated a person as a cog in an automated pipeline: labeling data, patching gaps, clicking approve. What we have now is Human-in-the-Middle. One person prompts a model to turn a rough idea into a paper or a pull request, an overloaded reviewer feeds that file into another model to produce a review, and a third prompt writes the rebuttal. Two models pass text back and forth while humans sit in the middle copying, pasting, clicking submit, and signing their names, often without fully understanding the proofs or edge cases underneath. You can already see the breakdown in the data. In May 2026, Mohit Kaushik and Kuljit Kaur Chahal analyzed 1,736 abandoned GitHub repositories and 1.3 million pull requests [1]. Before those projects went inactive, open PR backlogs grew more than eightfold, merge times nearly tripled, and open PRs accumulated a median of zero comments until the maintainers simply stopped showing up [1]. That dataset only counted human pull requests, before AI-generated patches arrived in bulk. Academic publishing is in worse shape. Between 2017 and 2025, NeurIPS submissions rose from 3,240 to 21,575, and ICLR rose from 490 to 11,672 [2]. In March 2026, Haokun Liu and Chenhao Tan at the University of Chicago modeled what happens when AI makes papers cheap to write while reviewers are already overloaded [2]: once review noise crosses a threshold, acceptance turns into a lottery. Once it acts like a lottery, submitting more half-finished papers becomes the rational strategy, and simply adding more human reviewers cannot reverse the collapse [2]. Recent scandals made this impossible to miss. During the ICLR 2026 review cycle late last year, researchers noticed peer reviews citing nonexistent papers. Pangram Labs then scanned roughly 75,800 ICLR reviews and found 21% written entirely by AI and over 50% showing signs of AI involvement, with AI reviews giving systematically higher scores [3][4]; days later, an OpenReview bug leaked the identities behind more than ten thousand anonymous submissions and reviews. Meanwhile, researchers tracking ads on Telegram, WhatsApp, and Facebook that sold authorship slots matched them to over two thousand papers across 366 IEEE conference proceedings [5]. On October 23, 2026, IEEE retracted 1,417 conference papers in a single day, a single-day record on top of thousands of conference papers it had already retracted in prior years [6]. Most people inside the system respond by asking for better AI detectors and stricter submission rules. Once both the manuscripts and the reviews are routinely written by models, trying to police the queue misses the point. It makes more sense to step outside it. That is why we founded RIST (Ryan Institute of Science and Technology) as an independent research organization, and stopped tying our work to external academic approval. Our results are strong enough to play the traditional game if we wanted to: Rings [7] and LispM [8], together with our work on decentralized ranking and zero-knowledge proofs [9], easily contain enough original material for at least ten top-tier conference papers. Doing so would just waste two or three years cutting complete systems into small slices, waiting on deadlines, replying to AI-assisted reviews, and resubmitting across venues. Instead, we publish complete technical reports and working source code directly. Everyone who joins RIST takes on a real obligation to review peers' code and proofs firsthand, and endorsed applicants name and CC their endorser on the record. RIST is independent of external academic institutions and focuses on distributed systems, cryptography, and AI applications. Our core value is sovereign individualism: we do not rely on institutional stamps, we do not act as relays between black-box models, and we let mathematical proofs and running code speak for themselves. --- [1] Mohit Kaushik and Kuljit Kaur Chahal, "The Death Spiral of Open Source Projects: A Post-Mortem Analysis of Pull Request Workflow Dynamics," `arXiv:2605.11844`, May 2026. https://arxiv.org/abs/2605.11844 [2] Haokun Liu and Chenhao Tan, "AI-Assisted Reviewing is Necessary for Avoiding the Review Death Spiral," University of Chicago / OpenAIReview Working Paper, March 2026. https://openaireview.org/assets/review-death-spiral.pdf [3] ICLR 2026 Program Chairs, "ICLR 2026 Response to LLM-Generated Papers and Reviews," *ICLR Blog*, November 2025. https://blog.iclr.cc/2025/11/19/iclr-2026-response-to-llm-generated-papers-and-reviews/ [4] Joachim Baumann, Jiaxin Pei, Sanmi Koyejo, and Dirk Hovy, "Stop Automating Peer Review Without Rigorous Evaluation," `arXiv:2605.03202`, May 2026. https://arxiv.org/abs/2605.03202 [5] Anna Abalkina, Marie Kunešová, Yagmur Ozturk, and Solal Pirelli, "Opening Pandora's Box: Paper Mills in Conference Proceedings," *Accountability in Research*, 2026. https://doi.org/10.1080/08989621.2026.2733727 [6] Research Information, "IEEE retracts approximately 1,400 papers following integrity review," October 2026. https://www.researchinformation.info/news/ieee-retracts-approximately-1400-papers-following-integrity-review/ [7] Ryan J. Kung, "Rings: An Algebraic Structured Peer-to-Peer Network for Decentralized Identity and Resource Ownership," `RIST-TR-2026-01`, 2026. https://rist.edu.rs/papers/rings/ [8] Ryan J. Kung, "LispM: A Live-Image AI Agent Runtime with a Lock-Free CSP Sidecar Kernel," `RIST-TR-2026-03`, 2026. https://rist.edu.rs/papers/lispm/ [9] Ryan Institute of Science and Technology (RIST), Publications & Technical Reports. https://rist.edu.rs/research/ --- # LispM LLM: Scale-Invariant Open-Vocabulary Command Routing and Poison-Resistant Continual Learning for Symbolic Agent Harnesses - **Report Number**: RIST-TR-2026-06 - **Publication Status**: Open-Access Institutional Technical Report / Preprint (RIST-TR Series; non-proceedings) - **Institution**: Ryan Institute of Science and Technology (RIST) - **Author**: Ryan J. Kung (ORCID: https://orcid.org/0009-0000-3026-1111) - **Published / Updated**: 2026-11-28 / 2026-11-28 - **Web Full-Text Reader**: https://rist.edu.rs/papers/lispm-llm/ - **Embedded PDF Reader**: https://rist.edu.rs/papers/lispm-llm/?view=pdf - **Direct PDF**: https://rist.edu.rs/papers/lispm-llm.pdf (442 KB, 9 pages, SHA-256: `375b7e78750a4aedf1479b6b657a4e6a6783c3a08ceaa9042bc88ee3d189bd9d`) - **Reproducible Code & Artifacts**: https://huggingface.co/ElderRyan/lispm-llm - **LaTeX Source**: https://huggingface.co/ElderRyan/lispm-llm/blob/main/paper/lispm-llm.tex ## Abstract Interactive symbolic environments such as GNU Emacs and Lisp Machine (LispM) agent harnesses expose hundreds of deterministic editor and application commands, yet routing natural-language instructions to those commands faces a sharp safety–flexibility dilemma. Frontier autoregressive language models synthesize arbitrary Lisp code at hundreds of milliseconds per call while introducing prompt-injection and eval-execution hazards; conversely, tiny closed-set intent classifiers guarantee sub-millisecond bounded dispatch without eval, but freeze their output layer to a fixed action vocabulary and remain static when users phrase commands idiosyncratically or load new packages. We present LispM LLM, a local Rust + LibTorch command-routing architecture that resolves both limitations within 264,322 parameters ( 1.0ms per request on two CPU threads, zero GPU required). First, we formalize an Open-Vocabulary Dual-Tower Bi-Encoder over a zero-eval typed ActionCatalog, proving that naive cosine bi-encoders suffer from reject-prototype domination on unseen open actions, and introducing a Scale-Invariant Semantic–Lexical Bilinear Decomposition in R^2d that simultaneously admits unseen actions zero-shot, rejects unmatched out-of-domain nouns, and blocks inverted/destructive verbs on matched nouns via a single cached matrix multiplication. Second, we introduce a Dual-Speed Poison-Resistant Continual Learning loop that forbids raw self-training: verified external supervision from behavioral user corrections and higher-tier teacher agents updates a sub-millisecond hippocampal episodic store (episodic.json) through a monotonic join-semilattice quarantine ledger (Consistent Obs Conflicted), enforces automatic PII literal scrubbing and held-out benchmark leakage blocking, and consolidates durable weights during editor idle periods behind non-regression gates and an online circuit breaker. Across frozen regression suites (2,542 supported and 243 unsupported cases), an independent 277-case blind evaluation, and 30 real isolated Emacs 31.1 state-execution tasks, the open bi-encoder achieves 30/30 (100%) real-task completion, 66/71 (93.0%) blind two-action composition accuracy, reduces supported wording errors from 6 to 2, and routes newly harvested lispm-kit and Emacs commands zero-shot under major-mode masking. ## Section Outline ## 1 Introduction ## 2 Typed Open-Action Basis and Zero-Eval Safety Boundary ## 3 Scale-Invariant Dual-Tower Bi-Encoder Architecture ### 3.1 Shared Word + Subword Transformer Backbone ### 3.2 Why Naive Bi-Encoders Fail on Zero-Shot Open Actions ### 3.3 Scale-Invariant Semantic–Lexical Bilinear Decomposition ### 3.4 Contrastive Pseudo-Word Training and Calibration ## 4 Dual-Speed Poison-Resistant Continual Learning ### 4.1 External-Oracle Supervision Only ### 4.2 Join-Semilattice Quarantine Algebra and Privacy Scrubbing ### 4.3 Dual-Speed Recall, Idle Consolidation, and Circuit Breaker ## 5 Native Systems Architecture ## 6 Empirical Evaluation ### 6.1 Frozen 48-Action Regression, Blind Generalization, and Real Emacs Execution ### 6.2 Zero-Shot Open-Action Routing, Mode Masking, and Scale-Invariance Ablation ## 7 Limitations and Conclusion ## References ## Citation (BibTeX) ```bibtex @techreport{kung2026lispmllm, author = {Ryan J. Kung}, title = {LispM LLM: Scale-Invariant Open-Vocabulary Command Routing and Poison-Resistant Continual Learning for Symbolic Agent Harnesses}, institution = {Ryan Institute of Science and Technology (RIST)}, year = {2026}, number = {RIST-TR-2026-06}, note = {Open-access institutional technical report, 9 pages}, url = {https://rist.edu.rs/papers/lispm-llm/} } ``` --- # LispM: A Live-Image AI Agent Runtime with a Lock-Free CSP Sidecar Kernel - **Report Number**: RIST-TR-2026-03 - **Publication Status**: Open-Access Institutional Technical Report / Preprint (RIST-TR Series; non-proceedings) - **Institution**: Ryan Institute of Science and Technology (RIST) - **Author**: Ryan J. Kung (ORCID: https://orcid.org/0009-0000-3026-1111) - **Published / Updated**: 2026-11-28 / 2026-11-28 - **Web Full-Text Reader**: https://rist.edu.rs/papers/lispm/ - **Embedded PDF Reader**: https://rist.edu.rs/papers/lispm/?view=pdf - **Direct PDF**: https://rist.edu.rs/papers/lispm.pdf (672 KB, 12 pages, SHA-256: `ef8368458da2c559573274a4c7a301aa94a6f0be491abf22ab093df799274b9e`) - **Reproducible Code & Artifacts**: https://github.com/LispMachineLab/lispm-agent - **LaTeX Source**: https://github.com/LispMachineLab/lispm-paper/blob/main/paper/main.tex ## Abstract Modern AI coding and desktop agent harnesses execute outside the user's interactive software environment, communicating with editors and applications via file-system side effects, sprawling Model Context Protocol (MCP) schemas, or brittle pixel-scraping interfaces. Inverting this architecture—hosting agents directly as first-class objects inside a self-documenting live runtime image (in the Lisp Machine and Smalltalk tradition, realized atop GNU Emacs)—unifies the editor's unsaved buffers, undo trees, and introspection primitives with the agent runtime, collapsing dozens of ad-hoc tool wrappers into live image evaluation. However, hosting concurrent agents inside a 40-year-old single-threaded, stop-the-world garbage-collected Lisp image exposes a severe responsiveness ceiling: scanning multi-megabyte agent transcripts, searching repositories, negotiating TLS, or spawning subprocess bursts stalls the host event loop for hundreds of milliseconds. We present LispM, an in-image agent runtime that resolves this tension through a dual-Lisp split-kernel architecture. Stateful workspace semantics—editable Org-mode context buffers, dirty-buffer coherence, policy-mediated Lisp actions (run_lisp), out-of-tree Git turn journals, and condition/restart recovery—remain inside GNU Emacs's single-threaded image. Latency-critical parallel workloads are offloaded over a zero-eval S-expression wire protocol to lispm- kernel, a crash-isolated Steel Bank Common Lisp (SBCL) sidecar process coordinated exclusively via lock-free Communicating Sequential Processes (CSP) without a single domain mutex. Inside lispm-kernel, a single-owner sequential scheduler, broadcast cancellation gates, a 4 MiB byte-credit backpressure sink with wait-free control bypass, and an async-signal-safe CAS wakeup pipe drive parallel worker pools while Emacs ingests results in 3 ms frame-clock slices that yield immediately to keystrokes. Across 12-run benchmarks over 256 session transcripts (68.6 MB) alongside eight active streaming terminals, LispM cuts median worst-case UI stall from 196.31 ms in pure Emacs Lisp (and 6.64 ms in an earlier mutex sidecar) to 0.54 ms (366× lower; 0.25 ms max stall across a real 314.7 MiB developer trace, 1,268× lower) with zero host garbage collections, while run_lisp replay continuations reduce multi-file refactoring prompt payloads by 178× and prefix-folded Org parsing scales to 120k-token contexts in 3.49 ms. ## Section Outline ## 1 Introduction ## 2 Background and Motivation ### 2.1 From Lisp Machines to Modern Agent Harnesses ### 2.2 Anatomy of Stalls in Single-Threaded Image Hosts ### 2.3 Evolution Beyond FFI Modules and Mutexes ## 3 Image-Native Agent Harness ### 3.1 Agent Object Model and Permission Ceilings ### 3.2 The Buffer Is the Context: Prefix-Cache Co-Design ### 3.3 Policy-Mediated Lisp Actions and Replay Continuations ### 3.4 Live Buffer Coherence, Turn Journals, and Restarts ## 4 Lock-Free CSP Sidecar Kernel ### 4.1 Zero-Eval S-Expression Wire Protocol ### 4.2 CSP Process Topology and Primitives ### 4.3 Single-Owner Coordinator (\(P_{\text{scheduler}}\)) ### 4.4 Async-Signal-Safe Subprocess Multiplexing ### 4.5 Frame-Clock Time-Sliced Host Ingestion ## 5 Split-Responsibility Subsystems ### 5.1 Incremental Session Indexing and \(P_{\text{cache}}\) ### 5.2 Dirty-Buffer-Coherent Parallel Search ### 5.3 Non-Blocking Downloads, HTTP Streaming, and Verified Prebuilts ### 5.4 Implementation Footprint ## 6 Evaluation ### 6.1 RQ1: Session Discovery and Real-World Traces ### 6.2 RQ2: CSP Scheduler Scaling, Cancellation, and Backpressure ### 6.3 RQ3: Subprocess Bursts, Env Ablation, and Search ### 6.4 RQ4: In-Image Harness Overhead, Replay Continuation, and Context Scaling ## 7 Discussion, Related Work, and Conclusion ### 7.1 Limitations and Future Directions ### 7.2 Related Work ### 7.3 Conclusion ## References ## Citation (BibTeX) ```bibtex @techreport{kung2026lispm, author = {Ryan J. Kung}, title = {LispM: A Live-Image AI Agent Runtime with a Lock-Free CSP Sidecar Kernel}, institution = {Ryan Institute of Science and Technology (RIST)}, year = {2026}, number = {RIST-TR-2026-03}, note = {Open-access institutional technical report, 12 pages}, url = {https://rist.edu.rs/papers/lispm/} } ``` --- # Rings: An Algebraic Structured Peer-to-Peer Network for Decentralized Identity and Resource Ownership - **Report Number**: RIST-TR-2026-01 - **Publication Status**: Open-Access Institutional Technical Report / Preprint (RIST-TR Series; non-proceedings) - **Institution**: Ryan Institute of Science and Technology (RIST) - **Author**: Ryan J. Kung (ORCID: https://orcid.org/0009-0000-3026-1111) - **Published / Updated**: 2026-11-28 / 2026-11-28 - **Web Full-Text Reader**: https://rist.edu.rs/papers/rings/ - **Embedded PDF Reader**: https://rist.edu.rs/papers/rings/?view=pdf - **Direct PDF**: https://rist.edu.rs/papers/rings.pdf (661 KB, 23 pages, SHA-256: `64f043d266cec5be1b178c50438e6537e62dc58564699f0bb51aeb1b10992e2d`) - **Reproducible Code & Artifacts**: https://github.com/RingsNetwork/rings - **LaTeX Source**: https://github.com/RingsNetwork/rings/blob/master/papers/rings.tex ## Abstract Rings is an implemented algebraic structured peer-to-peer network for decentralized identity, resource ownership, transport, storage, privacy, and application protocols. Application servers, DNS authorities, and relay providers in conventional Internet deployments frequently become trusted bottlenecks for naming, routing, and user state. Rings instead models identities and resources as algebraic objects over a CorrectChord circular overlay Z/2^160Z, pairing browser WebAssembly and native runtimes over WebRTC/SCTP while keeping all cryptographic operations on carriers disjoint from the routing identifier ring. This paper unifies the core algebraic design with six production subsystems implemented in Rings 1.0: range-proved finger convergence, non-transitive WebRTC Chord routing and single-hop bridge delegation, conflict-free replicated data types (CRDTs) with HLC removal stability and Merkle data provenance, crash-durable local stores and age-gated replicated relay custody, cleanest-first slot accounting across shared node tables, and Sphinx/AEZ-v5 onion Kleisli pipelines (with stateless cryptographic TURN and split-trust TURN–Onion UDP relays) bridging counterparty-signed service receipts to DRanking 2.0. We evaluate the Rust implementation empirically on real hardware and summarize exhaustive Stateright/BFS verification across 9,496,521 reachable finite states (9.50× 10^6) and 54 refuted safety mutants. Core object: Rings=(R,R_N,Set/R,Ω_N,T^E_A,Π,G,X) with R=Z/2^160Z, Ω_N(X,H)=(X,owner_N∘ H), and CryptoCarrier∩ R=∅. ## Section Outline ## I Introduction ## II Problem Statement and Design Goals ## III Algebraic System Model, Threat Model, and Effects ### III-A Carrier, System Scope, and Threat Model ### III-B Architecture as Interfaces ### III-C Category and Effect Monad ## IV Chord Implementation — PeerRing and Overlay Routing ### IV-A Base Chord and CorrectChord Maintenance ### IV-B Range-Proved Finger Convergence ### IV-C Non-Transitive WebRTC Overlay and Bridge-Delegated Delivery ## V CRDT Storage and Removal Stability ### V-A DID, VID, and Replicated Entry Algebra ### V-B Carrier State, HLC Timestamps, and Cryptographic Data Provenance ### V-C Removal Stability Horizon, Factored Carrier, and Tombstone Bounds ### V-D Fetch Cache Linearization and Signed Lease Heartbeats ## VI Durable Local Stores and Replicated Custody ### VI-A Authority Lattice, Presence Markers, and Platform Crash Durability ### VI-B Group Commit and Link-Local Volatile Replay Windows ### VI-C Receiver Custody Set and Age-Gated Replicated Relay Custody ## VII Fair Admission, Slot Accounting, and Load Bounds ### VII-A Cleanest-First Slot Roster and Fair Slot Accounting ### VII-B Replay Stream Eviction and Credit Reclaim ### VII-C Single-Charge Chunk Reassembly and Per-Category Barrier ## VIII Privacy Layer — Cryptographic Carriers and Sphinx Onion Kleisli Pipeline ### VIII-A Separate Cryptographic Carriers ### VIII-B Operation Signature and Kleisli Pipeline Composition ### VIII-C Client-Sealed Loops, Uniform Sphinx Header, and AEZ v5 Carry ### VIII-D SURB Batching, Cover Loops, Replay Admission, and Security Laws ### VIII-E Zero-Database Cryptographic TURN and Multi-Hop TURN–Onion UDP Relay ## IX Decentralized Trust and Ranking — DRanking Bridge ### IX-A Sidecar Witness Ordering ### IX-B Counterparty-Signed Service Receipts and the DRanking 2.0 Bridge ### IX-C Security Predicates and Controls ## X Evaluations and Formal Verification ### X-A Experimental Setup and Reproducibility ### X-B Stateright State Relation and Quantitative Formal Verification ### X-C Overlay Convergence and Non-Transitive WebRTC Routing ### X-D CRDT Carrier Operations, Provenance, and LeaseHeartbeats ### X-E Durable Local Store and Group Commit (put*) ### X-F Sybil-Resistant Slot Accounting and Admission Latency ### X-G Sphinx/AEZ v5 Onion Pipeline, Sliced-Bloom, and Gateway Throughput ### X-H Analytical and Operational Complexity Bounds ### X-I Limitations and Threats to Validity ## XI Related Work ## XII Conclusion ## References ## Citation (BibTeX) ```bibtex @techreport{kung2026rings, author = {Ryan J. Kung}, title = {Rings: An Algebraic Structured Peer-to-Peer Network for Decentralized Identity and Resource Ownership}, institution = {Ryan Institute of Science and Technology (RIST)}, year = {2026}, number = {RIST-TR-2026-01}, note = {Open-access institutional technical report, 23 pages}, url = {https://rist.edu.rs/papers/rings/} } ``` --- # The DRanking Protocol: Verifiable Distributed Ranking and Sybil-Bounded Admission for Structured Peer-to-Peer Networks - **Report Number**: RIST-TR-2026-02 - **Publication Status**: Open-Access Institutional Technical Report / Preprint (RIST-TR Series; non-proceedings) - **Institution**: Ryan Institute of Science and Technology (RIST) - **Author**: Ryan J. Kung (ORCID: https://orcid.org/0009-0000-3026-1111) - **Published / Updated**: 2026-11-27 / 2026-11-27 - **Web Full-Text Reader**: https://rist.edu.rs/papers/dranking/ - **Embedded PDF Reader**: https://rist.edu.rs/papers/dranking/?view=pdf - **Direct PDF**: https://rist.edu.rs/papers/dranking.pdf (360 KB, 15 pages, SHA-256: `d828ba501a54e3a3c7c905b0074d6983dab40fb7180d97fb325ebcea867e1e43`) - **Reproducible Code & Artifacts**: https://github.com/RingsNetwork/rings - **LaTeX Source**: https://github.com/RingsNetwork/rings/blob/master/papers/dranking.tex ## Abstract DRanking converts locally observed peer behavior in an open structured peer-to-peer network into a globally agreed, verifiable service weight that gates admission to protocol roles. Identity creation is free, so no mechanism bounds adversarial count [1]; the protocol instead bounds adversarial weight and prices it. The instruments are: counterparty-signed service receipts in place of unsigned counters; a seed-anchored trust flow t_k+1=α C_k^ Tt_k+(1-α)s obeying conservation, attenuation, and revocation laws, with a proved bound T_k(A)≤α g/(1-α) on Sybil mass; trust-weighted verifiable random sortition in place of oracle sampling; a proof-of-authority ledger trusted for ordering only, with equivocation proofs as first-class slash objects; and a circuit-friendly epoch transition folded by Nova-family incrementally verifiable computation, giving constant-cost verification to browser nodes. Rank is soulbound and slashable; reward is a separate transferable asset; the authority-to-stake transition is conditioned on a security-budget crossover. ## Section Outline ## 1 Introduction ## 2 Model ## 3 Service Receipts ## 4 Trust Algebra ## 5 Sortition ## 6 Admission Ledger ## 7 Folded State ## 8 State Relation ## 9 Economics ## 10 Security Analysis ## 11 Related Work ## 12 Conclusion ## References ## Citation (BibTeX) ```bibtex @techreport{kung2026dranking, author = {Ryan J. Kung}, title = {The DRanking Protocol: Verifiable Distributed Ranking and Sybil-Bounded Admission for Structured Peer-to-Peer Networks}, institution = {Ryan Institute of Science and Technology (RIST)}, year = {2026}, number = {RIST-TR-2026-02}, note = {Open-access institutional technical report, 15 pages}, url = {https://rist.edu.rs/papers/dranking/} } ``` --- # ZKFly: CUDA-Accelerated Nova for Private Sparse-Graph Execution - **Report Number**: RIST-TR-2026-04 - **Publication Status**: Open-Access Institutional Technical Report / Preprint (RIST-TR Series; non-proceedings) - **Institution**: Ryan Institute of Science and Technology (RIST) - **Author**: Ryan J. Kung (ORCID: https://orcid.org/0009-0000-3026-1111) - **Published / Updated**: 2026-09-17 / 2026-09-17 - **Web Full-Text Reader**: https://rist.edu.rs/papers/zkfly/ - **Embedded PDF Reader**: https://rist.edu.rs/papers/zkfly/?view=pdf - **Direct PDF**: https://rist.edu.rs/papers/zkfly.pdf (407 KB, 3 pages, SHA-256: `b68d25f261138c397a42e8cc2c4d3ca1aae6598ca96af9958bc7b8f207cd45e6`) - **Reproducible Code & Artifacts**: https://github.com/RyanKung/zkfly - **LaTeX Source**: https://github.com/RyanKung/zkfly/blob/master/paper/main.tex ## Abstract ZKFly binds a canonical sparse connectome to a Poseidon root and proves a chain of private weighted CSR evaluations with Nova. The public state is two field elements: a vector commitment and a fixed topology root. The implementation uses HyperKZG, GPU multi-scalar multiplication (MSM), and CUDA arithmetic for Nova's R1CS operations. Its main optimization vertically concatenates the three matrices (A,B,C) and replaces three same-vector sparse products by one checked device batch. On a V100, a verified 1,024-step, 14,826-constraint fixture falls from 612.609 \mathrms to 329.535 \mathrms (1.859×); fusion alone removes 4,092 synchronizations and 4,092 allocations relative to the resident-buffer version. For the 166,700-neuron, 25,582,938-edge artifact, we report exact execution measurements and circuit lower bounds, not an unmeasured full-network proof time. ## Section Outline ## 1 Relation ### 1.1 Canonical roots ### 1.2 Recursive state ## 2 CUDA arithmetic boundary ## 3 Operation model ## 4 Measurements ### 4.1 Full artifact: execution, then capacity ## 5 Result boundary ## References ## Citation (BibTeX) ```bibtex @techreport{kung2026zkfly, author = {Ryan J. Kung}, title = {ZKFly: CUDA-Accelerated Nova for Private Sparse-Graph Execution}, institution = {Ryan Institute of Science and Technology (RIST)}, year = {2026}, number = {RIST-TR-2026-04}, note = {Open-access institutional technical report, 3 pages}, url = {https://rist.edu.rs/papers/zkfly/} } ``` --- # ZKSM83: Native Lookup Proofs for SM83 Execution — Transparent lattice-backed receipts for the DMG/MBC3 machine - **Report Number**: RIST-TR-2026-05 - **Publication Status**: Open-Access Institutional Technical Report / Preprint (RIST-TR Series; non-proceedings) - **Institution**: Ryan Institute of Science and Technology (RIST) - **Author**: Ryan J. Kung (ORCID: https://orcid.org/0009-0000-3026-1111) - **Published / Updated**: 2026-09-15 / 2026-09-15 - **Web Full-Text Reader**: https://rist.edu.rs/papers/zksm83/ - **Embedded PDF Reader**: https://rist.edu.rs/papers/zksm83/?view=pdf - **Direct PDF**: https://rist.edu.rs/papers/zksm83.pdf (484 KB, 7 pages, SHA-256: `79793d51a9cf3209e679284dae51031763717995c994642c6e6f7d8b9f305832`) - **Reproducible Code & Artifacts**: https://github.com/RyanKung/zksm83 - **LaTeX Source**: https://github.com/RyanKung/zksm83/blob/master/paper/zksm83.tex ## Abstract ZKSM83 proves CPU-visible execution of an SM83 machine directly. A segment packs at most four instructions per row into N=2^14 rows, commits C=4604 multilinear columns, and checks M=11458 identities of degree at most 23 by sumcheck and a transparent Akita polynomial commitment scheme. ISA, byte-operation, ROM, memory, device, log, and segment-boundary claims share one committed trace. Version 2 is transparent, not witness-hiding; no current end-to-end packed-proof measurement is claimed. ## Section Outline ## 1 Proposition ## 2 Packed trace ## 3 Row relation ## 4 Shout-style lookup equations ## 5 Mutable memory ## 6 Ordered logs and continuity ## 7 Uniform sumcheck and Akita PCS ## 8 Receipt composition ## 9 Conditional soundness ## 10 Static cost and evidence boundary ## 11 Code correspondence ## 12 Conclusion ## References ## Citation (BibTeX) ```bibtex @techreport{kung2026zksm83, author = {Ryan J. Kung}, title = {ZKSM83: Native Lookup Proofs for SM83 Execution — Transparent lattice-backed receipts for the DMG/MBC3 machine}, institution = {Ryan Institute of Science and Technology (RIST)}, year = {2026}, number = {RIST-TR-2026-05}, note = {Open-access institutional technical report, 7 pages}, url = {https://rist.edu.rs/papers/zksm83/} } ```