mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Fix typos.
This commit is contained in:
parent
54ba25175c
commit
ae8027e594
23 changed files with 67 additions and 67 deletions
|
@ -51,7 +51,7 @@ namespace api {
|
|||
class context : public tactic_manager {
|
||||
struct add_plugins { add_plugins(ast_manager & m); };
|
||||
context_params m_params;
|
||||
bool m_user_ref_count; //!< if true, the user is responsible for managing referenc counters.
|
||||
bool m_user_ref_count; //!< if true, the user is responsible for managing reference counters.
|
||||
scoped_ptr<ast_manager> m_manager;
|
||||
add_plugins m_plugins;
|
||||
|
||||
|
@ -158,7 +158,7 @@ namespace api {
|
|||
// Create a numeral of the given sort
|
||||
expr * mk_numeral_core(rational const & n, sort * s);
|
||||
|
||||
// Return a conjuction that will be exposed to the "external" world.
|
||||
// Return a conjunction that will be exposed to the "external" world.
|
||||
expr * mk_and(unsigned num_exprs, expr * const * exprs);
|
||||
|
||||
// Hack for preventing an AST for being GC when ref-count is not used
|
||||
|
|
|
@ -187,8 +187,8 @@ namespace z3 {
|
|||
\brief The C++ API uses by defaults exceptions on errors.
|
||||
For applications that don't work well with exceptions (there should be only few)
|
||||
you have the ability to turn off exceptions. The tradeoffs are that applications
|
||||
have to very careful about using check_error() after calls that may result in an errornous
|
||||
state.
|
||||
have to very careful about using check_error() after calls that may result in an
|
||||
erroneous state.
|
||||
*/
|
||||
void set_enable_exceptions(bool f) { m_enable_exceptions = f; }
|
||||
|
||||
|
@ -213,7 +213,7 @@ namespace z3 {
|
|||
|
||||
/**
|
||||
\brief Interrupt the current procedure being executed by any object managed by this context.
|
||||
This is a soft interruption: there is no guarantee the object will actualy stop.
|
||||
This is a soft interruption: there is no guarantee the object will actually stop.
|
||||
*/
|
||||
void interrupt() { Z3_interrupt(m_ctx); }
|
||||
|
||||
|
@ -709,7 +709,7 @@ namespace z3 {
|
|||
|
||||
It only makes sense to use this function if the caller can ensure that
|
||||
the result is an integer or if exceptions are enabled.
|
||||
If exceptions are disabled, then use the the is_numeral_i function.
|
||||
If exceptions are disabled, then use the is_numeral_i function.
|
||||
|
||||
\pre is_numeral()
|
||||
*/
|
||||
|
@ -729,7 +729,7 @@ namespace z3 {
|
|||
|
||||
It only makes sense to use this function if the caller can ensure that
|
||||
the result is an integer or if exceptions are enabled.
|
||||
If exceptions are disabled, then use the the is_numeral_u function.
|
||||
If exceptions are disabled, then use the is_numeral_u function.
|
||||
\pre is_numeral()
|
||||
*/
|
||||
unsigned get_numeral_uint() const {
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace Microsoft.Z3
|
|||
public bool IsDouble { get { return m_is_double; } }
|
||||
|
||||
/// <summary>
|
||||
/// The string representation of the the entry's value.
|
||||
/// The string representation of the entry's value.
|
||||
/// </summary>
|
||||
public string Value
|
||||
{
|
||||
|
|
|
@ -934,7 +934,7 @@ public class Context implements AutoCloseable {
|
|||
* exposed. It follows the semantics prescribed by the SMT-LIB standard.
|
||||
*
|
||||
* You can take the floor of a real by creating an auxiliary integer Term
|
||||
* {@code k} and and asserting
|
||||
* {@code k} and asserting
|
||||
* {@code MakeInt2Real(k) <= t1 < MkInt2Real(k)+1}. The argument
|
||||
* must be of integer sort.
|
||||
**/
|
||||
|
|
|
@ -65,7 +65,7 @@ public class Statistics extends Z3Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* The string representation of the the entry's value.
|
||||
* The string representation of the entry's value.
|
||||
*
|
||||
* @throws Z3Exception
|
||||
**/
|
||||
|
|
|
@ -5741,7 +5741,7 @@ class ModelRef(Z3PPObject):
|
|||
return None
|
||||
|
||||
def num_sorts(self):
|
||||
"""Return the number of unintepreted sorts that contain an interpretation in the model `self`.
|
||||
"""Return the number of uninterpreted sorts that contain an interpretation in the model `self`.
|
||||
|
||||
>>> A = DeclareSort('A')
|
||||
>>> a, b = Consts('a b', A)
|
||||
|
@ -5756,7 +5756,7 @@ class ModelRef(Z3PPObject):
|
|||
return int(Z3_model_get_num_sorts(self.ctx.ref(), self.model))
|
||||
|
||||
def get_sort(self, idx):
|
||||
"""Return the unintepreted sort at position `idx` < self.num_sorts().
|
||||
"""Return the uninterpreted sort at position `idx` < self.num_sorts().
|
||||
|
||||
>>> A = DeclareSort('A')
|
||||
>>> B = DeclareSort('B')
|
||||
|
@ -5796,7 +5796,7 @@ class ModelRef(Z3PPObject):
|
|||
return [ self.get_sort(i) for i in range(self.num_sorts()) ]
|
||||
|
||||
def get_universe(self, s):
|
||||
"""Return the intepretation for the uninterpreted sort `s` in the model `self`.
|
||||
"""Return the interpretation for the uninterpreted sort `s` in the model `self`.
|
||||
|
||||
>>> A = DeclareSort('A')
|
||||
>>> a, b = Consts('a b', A)
|
||||
|
@ -5816,7 +5816,7 @@ class ModelRef(Z3PPObject):
|
|||
return None
|
||||
|
||||
def __getitem__(self, idx):
|
||||
"""If `idx` is an integer, then the declaration at position `idx` in the model `self` is returned. If `idx` is a declaration, then the actual interpreation is returned.
|
||||
"""If `idx` is an integer, then the declaration at position `idx` in the model `self` is returned. If `idx` is a declaration, then the actual interpretation is returned.
|
||||
|
||||
The elements can be retrieved using position or the actual declaration.
|
||||
|
||||
|
@ -5860,7 +5860,7 @@ class ModelRef(Z3PPObject):
|
|||
return None
|
||||
|
||||
def decls(self):
|
||||
"""Return a list with all symbols that have an interpreation in the model `self`.
|
||||
"""Return a list with all symbols that have an interpretation in the model `self`.
|
||||
>>> f = Function('f', IntSort(), IntSort())
|
||||
>>> x = Int('x')
|
||||
>>> s = Solver()
|
||||
|
|
|
@ -363,7 +363,7 @@ extern "C" {
|
|||
void Z3_API Z3_fixedpoint_set_reduce_assign_callback(
|
||||
Z3_context c ,Z3_fixedpoint d, Z3_fixedpoint_reduce_assign_callback_fptr cb);
|
||||
|
||||
/** \brief Register a callback for buildling terms based on the relational operators. */
|
||||
/** \brief Register a callback for building terms based on the relational operators. */
|
||||
void Z3_API Z3_fixedpoint_set_reduce_app_callback(
|
||||
Z3_context c, Z3_fixedpoint d, Z3_fixedpoint_reduce_app_callback_fptr cb);
|
||||
|
||||
|
|
|
@ -433,7 +433,7 @@ extern "C" {
|
|||
\param c logical context
|
||||
\param rm term of RoundingMode sort
|
||||
\param t1 term of FloatingPoint sort
|
||||
\param t2 term of FloatingPoint sor
|
||||
\param t2 term of FloatingPoint sort
|
||||
\param t3 term of FloatingPoint sort
|
||||
|
||||
The result is round((t1 * t2) + t3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue