Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Z3Prover/z3/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Fixedpoint API provides a context for solving recursive predicate queries using Datalog-style rules. It supports Horn clauses, queries, and least fixedpoint computation.Types
Z3_fixedpoint
Context for the recursive predicate solver. Used for Datalog queries and Horn clause solving.Fixedpoint Creation
Z3_mk_fixedpoint
New fixedpoint instance
Z3_fixedpoint_inc_ref
Z3_fixedpoint_dec_ref
Predicate Registration
Z3_fixedpoint_register_relation
Adding Rules
Z3_fixedpoint_add_rule
- Facts:
P(args) - Rules:
(implies (and body...) head)
Z3_fixedpoint_add_fact
Queries
Z3_fixedpoint_query
Z3_L_TRUE if derivable, Z3_L_FALSE if not derivable, Z3_L_UNDEF if unknown
Z3_fixedpoint_query_relations
Satisfiability result
Results and Answers
Z3_fixedpoint_get_answer
Answer expression (derivation or counterexample)
Z3_fixedpoint_get_reason_unknown
Reason string
Level and Cover Management
Z3_fixedpoint_get_num_levels
Number of levels
Z3_fixedpoint_get_cover_delta
Cover expression
Z3_fixedpoint_add_cover
Backtracking
Z3_fixedpoint_push
Z3_fixedpoint_pop
Information
Z3_fixedpoint_to_string
String representation (Datalog format)
Z3_fixedpoint_get_rules
Vector of rules
Z3_fixedpoint_get_assertions
Vector of assertions
