Skip to content

hyperpolymath/boinc-boinc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

License: MPL-2.0 Palimpsest

RSR Level License TPCF Security

The first programming language developed with the cooperation of a global supercomputer

Oblibeny is a revolutionary programming language that uses BOINC (Berkeley Open Infrastructure for Network Computing) to crowd-source formal verification of language properties through distributed computation.

RSR Compliance: Gold Level 🏆

This project adheres to the Rhodium Standard Repository (RSR) framework:

  • Score: 110/110 (100%)

  • Level: Gold (certified)

  • TPCF Perimeter: 3 (Community Sandbox)

  • Test Coverage: Infrastructure ready (tests in progress)

See RSR_COMPLIANCE for detailed compliance report.

Vision

Oblibeny combines:

🔐 Security by Design
Two-phase compilation ensures deployment-time code is provably terminating and resource-bounded

🤖 First-Class AI
AI effects are typed, tracked, and verified at compile-time

Distributed Verification
BOINC-powered crowd-sourced formal verification

🌍 Sustainability-Focused
Explicit resource tracking for energy, carbon, and computational costs

📐 Formally Verified
Properties proven through property-based testing and formal methods

The Two-Phase Philosophy

┌─────────────────────┐         ┌─────────────────────┐
│  COMPILE-TIME       │         │  DEPLOYMENT-TIME    │
│  (Turing-Complete)  │  ════>  │  (Turing-Incomplete)│
│                     │         │                     │
│  • AI Integration   │         │  • Provably Safe    │
│  • Code Generation  │         │  • Resource-Bounded │
│  • Optimization     │         │  • No Halting Issue │
│  • Metaprogramming  │         │  • Edge-Ready       │
└─────────────────────┘         └─────────────────────┘

Quick Start

Using Just (Task Runner - Recommended)

# Show all available commands
just

# Validate RSR compliance
just validate

# Build all components
just build

# Run tests
just test

# Check RSR compliance status
just rsr-status

# Deploy locally
just deploy-local

Using Nix (Reproducible Builds)

# Enter development environment
nix develop

# Build all components
nix build .#default

# Build specific components
nix build .#oblibeny-parser
nix build .#oblibeny-coordinator
nix build .#oblibeny-proofs

Using Docker/Podman

cd deployment/podman
podman-compose up -d

This starts:

  • ArangoDB database (port 8529)

  • Elixir coordinator (port 4000)

  • BOINC server (ports 80/443)

  • Prometheus (port 9090)

  • Grafana (port 3000)

Manual Build

Rust Parser

cd rust-parser
cargo build --release
./target/release/oblibeny --help

Elixir Coordinator

cd elixir-coordinator
mix deps.get
mix compile
iex -S mix

Lean 4 Proofs

cd lean-proofs
lake build

Architecture

Components

  1. Rust Parser (rust-parser/)

    • Parses Oblibeny source code

    • Phase separation analysis

    • Resource bounds checking

    • Termination verification

      . Elixir Coordinator (elixir-coordinator/) +

    • OTP-based distributed coordination

    • BOINC work unit generation

    • Result validation with quorum consensus

    • Proof progress tracking

      . Lean 4 Proofs (lean-proofs/) +

    • Formal verification of 7 key properties

    • Machine-checked proofs

    • Theorem library

      . ArangoDB (Database) +

    • Multi-model storage (documents + graphs)

    • Work units, results, proofs

    • Proof dependency graphs

      . BOINC Integration (boinc-app/) +

    • Validator (Ada)

    • Work generator

    • Result assimilator

The 7 Properties

Property Description Status
1. Phase Separation Soundness No compile-time constructs in deployment code ⚠️ Scaffolding
2. Deployment Termination All deploy-time code provably halts ⚠️ Scaffolding
3. Resource Bounds Enforcement Never exceed declared budgets ⚠️ Scaffolding
4. Capability System Soundness I/O only within capability scope ⏳ TODO
5. Obfuscation Semantic Preservation Code morphing preserves semantics ⏳ TODO
6. Call Graph Acyclicity No recursion in deployment ⏳ TODO
7. Memory Safety All accesses within bounds ⏳ TODO

Example Program

(program temperature-monitor
  (resource-budget
    (time-ms 120000)
    (memory-bytes 2048)
    (network-bytes 1024))

  (defcap temp-sensor (device) "Temperature sensor capability")
  (defcap network (device) "Network send capability")

  (defun-deploy read-and-send (sensor-cap network-cap) : void
    (let ((readings (array int32 10)))
      (bounded-for i 0 10
        (let ((temp (with-capability sensor-cap
                      (sensor-read sensor-cap))))
          (array-set readings i temp)
          (sleep-ms 1000)))

      (with-capability network-cap
        (network-send network-cap readings)))))

BOINC Volunteer Instructions

Want to help verify Oblibeny? Join our BOINC project:

  1. Download the BOINC client

  2. Add project URL: http://oblibeny.boinc.project (when deployed)

  3. Your computer will automatically download and verify test programs

Your contribution helps:

  • Test millions of program variants

  • Find edge cases and counterexamples

  • Build confidence in language properties

  • Advance the state of verified programming languages

Development

Project Structure

oblibeny-boinc/
├── rust-parser/           # Rust parser & analyzer
├── elixir-coordinator/    # Elixir/OTP coordination
├── lean-proofs/           # Lean 4 formal proofs
├── boinc-app/             # BOINC integration
├── deployment/            # Docker/Podman/Nix configs
├── grammar/               # Language grammar & semantics
├── examples/              # Example programs
├── docs/                  # Documentation
└── flake.nix              # Nix build configuration

Contributing

See CONTRIBUTING for guidelines.

We follow the Tri-Perimeter Contribution Framework (TPCF):

  • Perimeter 3 (Community): Open contributions via pull requests

  • Perimeter 2 (Expert): Trusted contributors with review rights

  • Perimeter 1 (Core): Maintainers with full access

Documentation

Monitoring

Performance Targets

Component Target
Parser < 100ms for 1000-line programs
Work Generation 1000 units/second
Result Validation 500 results/second
BOINC Server 10,000 concurrent volunteers

License

This project is dual-licensed:

SPDX-License-Identifier: MIT AND Palimpsest-0.8

Note

You may choose to use this software under:

  • MPL-2.0-1.0 License for permissive use

  • GPL-3.0-or-later for copyleft projects (compatible option)

  • MIT + Palimpsest-0.8 for politically autonomous software (philosophically encouraged)

The MPL-2.0 adds principles of reversibility, attribution, emotional safety, distributed trust, offline-first design, and political autonomy.

See LICENSE for full text and CONTRIBUTING for contribution terms.

Citations

If you use Oblibeny in research, please cite:

@software{oblibeny2024,
  title={Oblibeny: Distributed Verification via BOINC},
  author={Oblibeny Project Contributors},
  year={2024},
  url={https://github.com/oblibeny/boinc},
  license={MIT AND Palimpsest-0.8}
}

Acknowledgments

Built with:

Contact

Purpose Contact
General Inquiries hello@oblibeny.org
Security Issues security@oblibeny.org (RFC 9116)
Code of Conduct conduct@oblibeny.org
Press press@oblibeny.org
RSR Compliance rsr@oblibeny.org
AI Training Policies ai-training@oblibeny.org (ai)

Status

Active Development (v0.6.0)

Empowering global collaboration for verified, safe programming languages


For AI assistants: See CLAUDE for comprehensive development guide.

For humans: See .well-known/humans.txt for credits and attribution.

Architecture

See TOPOLOGY for a visual architecture map and completion dashboard.

About

Oblibeny BOINC Platform for distributed computing projects

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages