Skip to content

Integrate Coq/OCaml extraction into Bazel #16

@avrabe

Description

@avrabe

Goal

Build Coq proofs and OCaml extraction in Bazel pipeline.

Tasks

  • Add rules_ocaml to MODULE.bazel
  • Create BUILD files for coq/theories/
  • Add Coq compilation targets
  • Add OCaml extraction targets
  • Build extracted OCaml code
  • Create FFI layer: Rust ↔ OCaml
  • Integrate into compilation pipeline

Coq Theories

  • WASM/, ARM/, Synth/, Common/, Extraction/

Acceptance Criteria

  • ✅ Coq proofs compile in Bazel
  • ✅ OCaml extraction happens automatically
  • ✅ Rust can call extracted OCaml (or vice versa)
  • ✅ End-to-end verified compilation works

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions