Repository navigation
[API Coherence] Report for October 8, 2026 - Spacer Advanced Introspection + Re-verification Pass #11106
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11125. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
This run focused on re-verification of cached findings plus a new deep-dive into the Spacer/fixedpoint advanced introspection API family. No GitHub issues/PRs were created — only this report.
Z3_fixedpoint_query_from_lvl,get_ground_sat_answer,get_rules_along_trace,get_rule_names_along_trace,add_invariant,get_reachable)Resolution Updates
No previously cached issues were resolved since the last run (2026-10-07). All 12 spot-checked issues remain open:
#0.NET missing order-relation constructors,#10Go ParamDescrs missing query methods,#22TypeScript missing EnumSort,#24C++ func_interp missingarity(),#26TypeScript missing QE Model Projection,#27TypeScript missing TupleSort,#28Model construction API gaps,#30Go ASTVector missing Push/Set/Resize/Translate,#31TypeScript missing Probe creation/comparison API,#36Go/C++ missing manualZ3_mk_pattern,#40Go missing decl/sort kind introspection,#45GoFixedpoint.GetRules()bug (aliasesString()instead of callingZ3_fixedpoint_get_rules).New High Priority Issue
Spacer Advanced Introspection API — Mostly Missing Outside Go
What's missing: The six functions in
src/api/z3_spacer.h(Spacer-specific fixedpoint introspection) are almost entirely unwrapped outside of Go:Z3_fixedpoint_query_from_lvlZ3_fixedpoint_get_ground_sat_answerZ3_fixedpoint_get_rules_along_traceZ3_fixedpoint_get_rule_names_along_traceZ3_fixedpoint_add_invariantZ3_fixedpoint_get_reachableWhere it's implemented: Go (
src/api/go/fixedpoint.go,spacer.go— full 6/6); Python (src/api/python/z3/z3.py:8269-8312— partial 4/6, missingadd_invariantandget_reachable).Where it's missing: C++ (
z3++.h), Java, .NET, OCaml, TypeScript/JS, and the Rustz3crate all lack wrappers for this entire family.Suggested fix:
add_invariant()/get_reachable()to Python'sFixedpointclass (quick win, mirrors existing pattern atz3.py:8299).fixedpointwrapper class/extension in C++ (z3++.h) exposing all 6 functions, consistent with existingfixedpointclass at line ~3810.Fixedpoint, .NETFixedpoint, OCamlFixedpointmodule, TypeScriptFixedpointhigh-level wrapper, and the Rustz3::Fixedpointstruct (z3/src/fixedpoint.rs).Priority: High — this is Spacer-specific introspection useful for CHC/model-checking users debugging counterexamples; currently locked to Go/Python users only.
Verified: Checked current codebase on 2026-10-08 (Rust confirmed via direct GitHub file fetch of
z3/src/fixedpoint.rs, SHAa5856fb).Reminder: Existing High-Priority Open Issues (unchanged, for context)
Fixedpoint.GetRules()is a mislabeled alias forString()— never callsZ3_fixedpoint_get_rules(src/api/go/fixedpoint.go:187-190)Z3_get_decl_kind/Z3_get_sort_kindwrappers entirely.NET, Java, OCaml, Go missing standalone Model construction API (Z3_mk_model,Z3_add_func_interp, etc.)Z3_mk_pattern)(Full list of 47 tracked issues is maintained in workflow cache memory.)
Progress Tracker
GetRules()bug; Params/ParamDescrs deep-dive for Go and Rust; continue periodic re-auditsNotes on Tooling
git cloneofprove-rs/z3.rsis blocked by a 403 CONNECT tunnel failure in this sandboxed environment (31st consecutive run). GitHub MCPget_file_contentswas used successfully as a workaround to fetch Rust source directly;search_codewas rate-limited (429) partway through this run.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
github.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.
All reactions