Merge branch 'feature/z3-backend' (Z3 backend + KRaft spec)

This commit is contained in:
Scott Scoble 2026-05-09 22:34:40 -07:00
parent 6c6daaf90f
commit c5ca757e80
12 changed files with 81 additions and 956 deletions

View file

@ -30,7 +30,7 @@ export class VerificationSME extends SME {
this.compileConstraint(c.expression, speck)
);
// In production, this would invoke Z3 via subprocess or WASM.
// In production, this would invoke Z3 via subprocess.
// For the reference implementation, we simulate the result.
const z3Result = this.simulateZ3(speck, z3Assertions);

View file

@ -99,7 +99,7 @@ export interface Task {
export type TaskType =
| "verify_speck" // Run Z3 verification on a Speck
| "compile_to_dst" // Compile verified Speck to DST
| "compile_to_wasm" // Compile DST to WASM
| "compile_to_typescript" // Compile DST to TypeScript
| "generate_code" // Generate code from verified Speck
| "generate_docs" // Generate documentation from provenance graph
| "integrate" // Integration/glue code
@ -142,7 +142,7 @@ export interface TaskResult {
export interface ProvenanceNode {
id: string;
type: "speck" | "z3_assertion" | "dst" | "wasm" | "code" | "docs" | "event";
type: "speck" | "z3_assertion" | "dst" | "code" | "docs" | "event";
label: string;
metadata: Record<string, unknown>;
}