Struct z3::Pattern [−][src]
pub struct Pattern<'ctx> { /* fields omitted */ }
Expand description
A pattern for quantifier instantiation, used to guide quantifier instantiation.
Implementations
Create a pattern for quantifier instantiation.
Z3 uses pattern matching to instantiate quantifiers. If a pattern is not provided for a quantifier, then Z3 will automatically compute a set of patterns for it. However, for optimal performance, the user should provide the patterns.
Patterns comprise a list of terms. The list should be non-empty. If the list comprises of more than one term, it is a called a multi-pattern.
In general, one can pass in a list of (multi-)patterns in the quantifier constructor.
See also:
ast::forall_const()
ast::exists_const()