Struct z3::Goal[][src]

pub struct Goal<'ctx> { /* fields omitted */ }
Expand description

Set of formulas that can be solved and/or transformed using tactics and solvers.

Implementations

Add a new formula a to the given goal.

Return true if the given goal contains the formula false.

Return the depth of the given goal. It tracks how many transformations were applied to it.

Return the number of formulas in the given goal.

Return the number of formulas, subformulas and terms in the given goal.

Return true if the goal is empty, and it is precise or the product of a under approximation.

Return true if the goal contains false, and it is precise or the product of an over approximation.

Erase all formulas from the given goal.

Copy a goal g from the context source to the context target.

Return the “precision” of the given goal. Goals can be transformed using over and under approximations.

Return a vector of the formulas from the given goal.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.