Skip to main content

Sector9 Strategic Overview

1. Executive Summary

Sector9 is a high-integrity Motoko-derived language and verification toolchain for asynchronous actors on the Internet Computer (IC). Its current verification stack combines local deductive verification through Viper with an active, evolving TLA+ lane for protocol-level reasoning from the same source surface.

In an era defined by autonomous software and high-value on-chain protocols, Sector9 aims to replace best-effort audits with machine-checked proof obligations wherever the current toolchain can model the behavior.


2. The Macro Thesis: Intelligence, Energy, and Trust

The global race for AI supply (compute and energy) has left a critical gap: The Trust Gap. As autonomous agents take on more economic activity, high-value systems need explicit rules, machine-checkable evidence, and clear assumptions instead of human best-effort audits alone.

Sector9 layers verification on the Internet Computer's deterministic runtime. This creates a dual-layer assurance model:

  • SR9 (Logic Proof): Checks source-level contracts, invariants, and proof obligations under the verifier model.
  • Internet Computer (Execution Proof): Provides replicated deterministic execution and platform-level protection against malicious node providers.

Sector9 moves critical logic from a probabilistic "best-guess" process toward explicit, checkable proof obligations.


3. Technical Core: The Multi-Lane Verification Engine

A. The Actor-Boundary Invariant Model

Sector9 attacks the "Async Interference" (Reentrancy) problem directly. By treating await points as hard semantic boundaries where the actor's state is "havoced" (invalidated), the verifier forces the developer to prove that actor invariants hold before every suspension and rejects local reasoning that depends on unstated stale-state assumptions.

B. Algebraic Framing and Effect Inference

To maintain solver stability, Sector9 employs an iterative fixpoint analysis over the call graph to calculate precise reads and modifies footprints. This "Algebraic Framing" ensures that updates to one part of a ledger cannot accidentally corrupt unrelated state, solving the "Frame Problem" without overwhelming the SMT solver.

C. Deductive Resource Logic (The Token System)

Sector9 provides verifier-enforced ownership boundaries for digital assets in a non-linear language. Using the token keyword, the system enforces module-level ownership and CHASH-backed identity. At canister boundaries, the compiler rewrites token transport through the module's NameShared conversion wrappers; the module's toShared implementation is responsible for consume-on-return behavior, and that conversion is verified rather than silently inserted as an automatic burn. Stable token persistence is a separate raw-state upgrade lane gated by the defining token module CHASH, not by those shared conversion hooks.


4. The Unified Bridge: One Source Surface, Two Verification Lanes

The core innovation of Sector9 is the Unified Semantic Bridge. The Viper lane lowers Sector9 through MVIR and checks local contracts, frames, permissions, and await obligations. The TLA+ lane consumes authored protocol catalogs plus typed semantic facts exported from the Viper/MVIR lane, then model-checks the resulting protocol IR.

  • Viper checks that each handler step satisfies its local contracts under the verifier's interference model.
  • TLA+ checks the modeled schedule of protocol actions, interleavings, and async failures against temporal properties. This reduces "Model-Code Drift" by deriving protocol-facing facts from the same source-level async surface and fail-closed bridge, without claiming that TLA+ is a second full proof of the implementation.

5. Ergonomics: Specification as Code

A. Phase Blocks

Sector9 introduces Authored Phase Blocks (phase label ... do { ... };) to segment complex async functions into verifiable atomic steps. These blocks carry selected local values across awaits and provide semantic anchors for high-level temporal properties (e.g., "Always eventually Alice gets her refund").

B. Runtime Projection and Code Identity

The system uses recursive ghost erasure and runtime projection so proof-only syntax does not participate in runtime output or runtime CHASH. When changes are strictly proof-only, they can leave the runtime hash unchanged.


6. The Proving Ground: Intelligence-Driven Collective Mining

Sector9 transforms security from a cost center into a profit center through the Collective Mining model, operating within a high-stakes Proving Ground.

  • The Total Adversary Model: We assume all participants (SR9 toolchain developers, protocol developers, hackers, auditors, and node providers) are rational adversaries. Trust is not a prerequisite; it is something earned through incentives, explicit claims, and reproducible evidence.
  • Intelligence-Driven Mining: Both developing (evolution) and hacking (exploitation) are reframed as forms of intelligent mining. Whether using Human Intelligence or AI, "Miners" extract value by either fortifying the protocol or exposing its vulnerabilities.
  • Collective Responsibility & Slashing: Security is a shared stake. Participants who stake on or approve a change can be slashed if a flaw is later discovered and proven under the protocol's rules.
  • Proof-of-Flaw Payloads: The Proving Ground adjudicates two primary submission types for bounty hunters:
    • Unsoundness Payload: Proves the SR9 verifier itself is broken (e.g., proving 1=0).
    • Protocol Leak: Proves the underlying logic is flawed despite verification (e.g., a double-spend or unauthorized state transition).
  • The Adjudicator: Deterministic SMT solvers and model checkers provide objective artifacts for reward issuance and slashing, with governance handling scope and edge cases.

This high-integrity cycle is intended to make verifier and protocol claims explicit, reproducible, and adversarially checked.


7. The AI Engine: RLAF and Benchmarking

Sector9 can serve as a training and evaluation ground for AI-assisted software engineering because solver feedback is explicit and checkable.

  • S9B Leaderboard: A real-time benchmark for LLMs, measuring their ability to produce formal proofs rather than just "passing tests."
  • RLAF (Reinforcement Learning from Axiomatic Feedback): AI makers can use Sector9's solvers as deterministic teachers for scoped specification satisfaction and counterexample repair.
  • Verified Dataset: The DAO can generate a valuable dataset of formal reasoning artifacts, which can be licensed to AI makers for model training.

8. Strategic Evaluation: Competitive Moat

PlatformTotal ScoreAsync SafetyDXAsset Safety
Sector99.5109Verifier-enforced
Move8.549Type-enforced
Solidity5.0210Manual/None

Sector9 targets verified asynchronous actors with a pragmatic SMT-first workflow and a protocol-model lane for async schedules.


9. Conclusion: The Underwriters of the New Internet

Sector9 is more than a compiler: it is a toolchain for putting high-value actor logic under explicit verification, while keeping the limits and trusted assumptions visible.

Explicit claims. Adversarial review. Checkable evidence.