- New generator: compiler/src/generators/z3.ts (1,034 lines) - Translates SpeckDL state → Z3 sort declarations - Translates invariants → Z3 define-fun returning Bool - Translates actions → Z3 transition predicates (enabled + step) - BMC unrolling with --verify-depth=N (default: 10) - CLI: --target=z3 or --target=all - ToggleSwitch and TigerBeetleLedger generate valid SMT-LIB2 - KafkaKRaft spec generates valid SMT-LIB2 structure - Complex forall/set expressions emit 'true' as placeholders (to be improved) - All 41 existing tests still pass This unblocks M1.2 (KRaft verification), M3.2 (Show HN), and M4.3 (OAuth verification).
38 lines
No EOL
1 KiB
Text
38 lines
No EOL
1 KiB
Text
{
|
|
"@context": {
|
|
"prov": "http://www.w3.org/ns/prov#",
|
|
"speckl": "https://speckl.scoble.me/ns/v0.2#",
|
|
"rdfs": "http://www.w3.org/2000/01/rdf-schema#"
|
|
},
|
|
"@graph": [
|
|
{
|
|
"@type": "prov:Entity",
|
|
"@id": "speck:KafkaKRaft",
|
|
"prov:qualifiedGeneration": {
|
|
"@type": "prov:Generation",
|
|
"prov:activity": {
|
|
"@type": "prov:Activity",
|
|
"prov:startTime": "2026-05-10T05:28:26.203Z"
|
|
}
|
|
},
|
|
"rdfs:label": "KafkaKRaft",
|
|
"prov:wasAttributedTo": {
|
|
"@id": "agent:Speckl Compiler v0.3"
|
|
},
|
|
"prov:wasInformedBy": {
|
|
"@id": "source:architecture_review:KRaft-Core-Consensus"
|
|
}
|
|
},
|
|
{
|
|
"@type": "prov:Agent",
|
|
"@id": "agent:Speckl Compiler v0.3",
|
|
"rdfs:label": "Speckl Compiler v0.3"
|
|
},
|
|
{
|
|
"@type": "prov:Activity",
|
|
"@id": "source:architecture_review:KRaft-Core-Consensus",
|
|
"prov:type": "architecture_review",
|
|
"rdfs:label": "architecture_review - KRaft-Core-Consensus"
|
|
}
|
|
]
|
|
} |