Z3 expression translator fixes: - implies(x, y) now preserves both arguments (was dropping both → (=> true true)) - Multi-level field access m.price.amount → m_price_amount (was m_price.(>= amount 0)) - len() now handled same as length() (was left as bare len()) - nil/null translated to speckl_nil sentinel constant - != now properly converts to (distinct X Y) via convertToPrefix (was bare 'distinct') - Added 'distinct' as binary operator in convertToPrefix - speckl_nil declared as Int constant in output All 8 product spec constraints now produce valid SMT-LIB2. 57/57 tests pass.
61 lines
No EOL
1.6 KiB
Text
61 lines
No EOL
1.6 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:RetryHandler",
|
|
"prov:qualifiedGeneration": {
|
|
"@type": "prov:Generation",
|
|
"prov:activity": {
|
|
"@type": "prov:Activity",
|
|
"prov:startTime": "2026-06-30T00:31:19.971Z"
|
|
}
|
|
},
|
|
"rdfs:label": "RetryHandler",
|
|
"prov:wasDerivedFrom": {
|
|
"@id": "speck:FaultHandler"
|
|
},
|
|
"rdfs:comment": "specialization for retry logic",
|
|
"speckl:satisfies": {
|
|
"@id": "requirement:RESILIENCE-REQ-01"
|
|
},
|
|
"prov:wasAttributedTo": {
|
|
"@id": "agent:Scott Scoble"
|
|
},
|
|
"prov:wasInformedBy": {
|
|
"@id": "source:architecture_review:AR-2024-0215"
|
|
}
|
|
},
|
|
{
|
|
"@type": "prov:Entity",
|
|
"@id": "speck:FaultHandler"
|
|
},
|
|
{
|
|
"@type": "prov:Entity",
|
|
"@id": "requirement:RESILIENCE-REQ-01",
|
|
"rdfs:label": "RESILIENCE-REQ-01",
|
|
"speckl:clause": "3.1.2"
|
|
},
|
|
{
|
|
"@type": "prov:Entity",
|
|
"@id": "requirement:RESILIENCE-REQ-02",
|
|
"rdfs:label": "RESILIENCE-REQ-02"
|
|
},
|
|
{
|
|
"@type": "prov:Agent",
|
|
"@id": "agent:Scott Scoble",
|
|
"rdfs:label": "Scott Scoble",
|
|
"foaf:email": "scott@scoble.me"
|
|
},
|
|
{
|
|
"@type": "prov:Activity",
|
|
"@id": "source:architecture_review:AR-2024-0215",
|
|
"prov:type": "architecture_review",
|
|
"rdfs:label": "architecture_review - AR-2024-0215"
|
|
}
|
|
]
|
|
} |