Skip to content

Claude/academic proofs verification ax1p y#26

Merged
hyperpolymath merged 3 commits intomainfrom
claude/academic-proofs-verification-AX1pY
Dec 31, 2025
Merged

Claude/academic proofs verification ax1p y#26
hyperpolymath merged 3 commits intomainfrom
claude/academic-proofs-verification-AX1pY

Conversation

@hyperpolymath
Copy link
Owner

No description provided.

claude and others added 3 commits December 31, 2025 12:32
This commit adds extensive academic documentation covering all theoretical
foundations required for rigorous academic scrutiny of the Oblibeny
oblivious computing ecosystem.

Documentation includes:

Foundations:
- Set-theoretic foundations and memory models
- Type-theoretic security (information flow, linear types, effects)
- Categorical semantics (monads, functors, natural transformations)
- Probability theory (concentration bounds, negligible functions)
- Algebra and number theory (groups, fields, lattices, elliptic curves)
- Logic and proof theory (modal, temporal, separation logic)

Cryptography:
- ORAM security proofs (Path ORAM, Circuit ORAM, recursive ORAM)
- Encryption primitives (AES-GCM, PRFs, Merkle trees, commitments)

Formal Methods:
- Formal verification (Hoare logic, refinement, model checking)
- Program analysis (abstract interpretation, taint tracking)
- Concurrency theory (linearizability, consensus, Byzantine FT)

Complexity and Information Theory:
- Time/space/communication complexity with lower bounds
- Information-theoretic leakage analysis
- Statistical security methodology

Engineering:
- RISC-V ISA extensions for oblivious computing
- Protocol specifications (client-server, filesystem)

Also includes:
- Technical white paper with complete system overview
- Index with reading guides for different audiences
- Consolidated TODO list with prioritized future work

Total: 19 AsciiDoc files covering all academic requirements
This commit defines the split-compiler architecture for Oblibeny:

Architecture:
- OCaml frontend for parsing, type checking, security analysis
- Rust backend for code generation and ORAM runtime
- OIR (Oblivious IR) as the boundary format between them

OCaml Frontend (docs/specs/frontend/):
- Lexer specification (ocamllex)
- Parser grammar (Menhir)
- AST and typed AST definitions
- Security type system with @low/@high annotations
- Obliviousness checker for leak detection
- IR lowering to OIR

OIR Specification (docs/specs/ir/):
- Complete schema for types, functions, instructions
- Security level annotations
- Explicit ORAM operations (oram_read, oram_write, cmov)
- JSON and MessagePack serialization formats
- Both OCaml and Rust type definitions

Rust Backend (docs/specs/backend/):
- IR parser and validator
- Optimizer (batching, inlining, DCE)
- Code generators (Rust, RISC-V, WASM, C)
- Path ORAM implementation
- Constant-time primitives (cmov, cswap)
- Oblivious collections (OArray, OMap)
- Crypto layer (AES-GCM, SHA-256, BLAKE3, Merkle)

This architecture leverages:
- OCaml's strengths in symbolic manipulation
- Rust's strengths in systems programming
- Clean IR boundary for separation of concerns
@hyperpolymath hyperpolymath merged commit 70c72fe into main Dec 31, 2025
2 of 4 checks passed
@hyperpolymath hyperpolymath deleted the claude/academic-proofs-verification-AX1pY branch December 31, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants