mirror of
https://github.com/Z3Prover/z3
synced 2026-02-18 22:54:21 +00:00
Improve documentation clarity for new APIs
- Add notes to Trail/TrailLevels about SimpleSolver requirement - Clarify congruence closure API documentation - Update test example with more detailed comments - Make it clear when these functions may not work Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
4ccc28cc71
commit
b799238fe8
2 changed files with 15 additions and 9 deletions
|
|
@ -44,9 +44,11 @@ func main() {
|
|||
fmt.Printf(" NonUnit %d: %s\n", i, nu.String())
|
||||
}
|
||||
|
||||
// Note: Trail() and TrailLevels() only work with SimpleSolver
|
||||
// For default solvers created with NewSolver(), these may not be available
|
||||
fmt.Println("Note: Trail() and TrailLevels() are available primarily for SimpleSolver")
|
||||
// Note: Trail() and TrailLevels() work primarily with SimpleSolver.
|
||||
// With default solvers (created with NewSolver()), they may return
|
||||
// errors like "cannot retrieve trail from solvers created using tactics".
|
||||
// For those use cases, Units() and NonUnits() provide similar diagnostic info.
|
||||
fmt.Println("Note: Trail() and TrailLevels() work primarily with SimpleSolver")
|
||||
}
|
||||
|
||||
// Test congruence closure APIs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue