Skip to content

Commit 73b3da3

Browse files
Typo fixes.
1 parent e8a9e1a commit 73b3da3

33 files changed

+120
-120
lines changed

README-CMake.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ of the project written in the ``CMakeLists.txt`` files and emits a build
55
system for that project of your choice using one of CMake's "generators".
66
This allows CMake to support many different platforms and build tools.
77
You can run ``cmake --help`` to see the list of supported "generators"
8-
on your platform. Example generators include "UNIX Makfiles" and "Visual Studio
8+
on your platform. Example generators include "UNIX Makefiles" and "Visual Studio
99
12 2013".
1010

1111
## Getting started
@@ -44,7 +44,7 @@ cmake -G "Unix Makefiles" ../
4444
make -j4 # Replace 4 with an appropriate number
4545
```
4646

47-
Note that on some platforms "Unix Makesfiles" is the default generator so on those
47+
Note that on some platforms "Unix Makefiles" is the default generator so on those
4848
platforms you don't need to pass ``-G "Unix Makefiles"`` command line option to
4949
``cmake``.
5050

RELEASE_NOTES

+1-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ The following bugs are fixed in this release:
712712
bvshl when using a shift amount that evaluates to the length
713713
of the bit-vector. Thanks to Trevor Hansen and Robert Brummayer.
714714

715-
- Incorrect NNF conversion in linear quantifier elimniation routines.
715+
- Incorrect NNF conversion in linear quantifier elimination routines.
716716
Thanks to Josh Berdine.
717717

718718
- Missing constant folding of extraction for large bit-vectors.

cmake/Z3Config.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# @AUTO_GEN_MSG@
33
#
44
# This file is intended to be consumed by clients who wish to use Z3 from CMake.
5-
# It can be use by doing `find_package(Z3 config)` from within a
5+
# It can be used by doing `find_package(Z3 config)` from within a
66
# `CMakeLists.txt` file. If CMake doesn't find this package automatically you
77
# can give it a hint by passing `-DZ3_DIR=<path>` to the CMake invocation where
88
# `<path>` is the path to the directory containing this file.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Sanitizer supression files
1+
# Sanitizer suppression files
22

33
This directory contains files used to suppress
44
ASan/LSan/UBSan warnings/errors.

examples/c/test_capi.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ void two_contexts_example1()
15461546
}
15471547

15481548
/**
1549-
\brief Demonstrates how error codes can be read insted of registering an error handler.
1549+
\brief Demonstrates how error codes can be read instead of registering an error handler.
15501550
*/
15511551
void error_code_example1()
15521552
{
@@ -2533,7 +2533,7 @@ void reference_counter_example() {
25332533

25342534
cfg = Z3_mk_config();
25352535
Z3_set_param_value(cfg, "model", "true");
2536-
// Create a Z3 context where the user is reponsible for managing
2536+
// Create a Z3 context where the user is responsible for managing
25372537
// Z3_ast reference counters.
25382538
ctx = Z3_mk_context_rc(cfg);
25392539
Z3_del_config(cfg);

examples/dotnet/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ static void QuantifierExample2(Context ctx)
622622
Console.WriteLine("{0}", q1);
623623
}
624624

625-
// Quantifier with de-Brujin indices.
625+
// Quantifier with de-Bruijn indices.
626626
{
627627
Expr x = ctx.MkBound(1, ctx.IntSort);
628628
Expr y = ctx.MkBound(0, ctx.IntSort);

examples/java/JavaExample.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ void quantifierExample2(Context ctx)
660660
System.out.println(q1);
661661
}
662662

663-
// Quantifier with de-Brujin indices.
663+
// Quantifier with de-Bruijn indices.
664664
{
665665
Expr x = ctx.mkBound(1, ctx.getIntSort());
666666
Expr y = ctx.mkBound(0, ctx.getIntSort());

examples/maxsat/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ On OSX and Linux, you must install z3 first using
99
sudo make install
1010
OR update LD_LIBRARY_PATH (Linux) or DYLD_LIBRARY_PATH (OSX) with the build directory. You need that to be able to find the Z3 shared library.
1111

12-
This directory contains a test file (ex.smt) that can be use as input for the maxsat test application.
12+
This directory contains a test file (ex.smt) that can be used as input for the maxsat test application.

src/api/dotnet/Context.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -2262,7 +2262,7 @@ public ArrayExpr MkConstArray(Sort domain, Expr v)
22622262
/// Maps f on the argument arrays.
22632263
/// </summary>
22642264
/// <remarks>
2265-
/// Eeach element of <c>args</c> must be of an array sort <c>[domain_i -> range_i]</c>.
2265+
/// Each element of <c>args</c> must be of an array sort <c>[domain_i -> range_i]</c>.
22662266
/// The function declaration <c>f</c> must have type <c> range_1 .. range_n -> range</c>.
22672267
/// <c>v</c> must have sort range. The sort of the result is <c>[domain_i -> range]</c>.
22682268
/// <seealso cref="MkArraySort(Sort, Sort)"/>
@@ -2862,7 +2862,7 @@ public Expr MkNumeral(string v, Sort ty)
28622862
}
28632863

28642864
/// <summary>
2865-
/// Create a Term of a given sort. This function can be use to create numerals that fit in a machine integer.
2865+
/// Create a Term of a given sort. This function can be used to create numerals that fit in a machine integer.
28662866
/// It is slightly faster than <c>MakeNumeral</c> since it is not necessary to parse a string.
28672867
/// </summary>
28682868
/// <param name="v">Value of the numeral</param>
@@ -2878,7 +2878,7 @@ public Expr MkNumeral(int v, Sort ty)
28782878
}
28792879

28802880
/// <summary>
2881-
/// Create a Term of a given sort. This function can be use to create numerals that fit in a machine integer.
2881+
/// Create a Term of a given sort. This function can be used to create numerals that fit in a machine integer.
28822882
/// It is slightly faster than <c>MakeNumeral</c> since it is not necessary to parse a string.
28832883
/// </summary>
28842884
/// <param name="v">Value of the numeral</param>
@@ -2894,7 +2894,7 @@ public Expr MkNumeral(uint v, Sort ty)
28942894
}
28952895

28962896
/// <summary>
2897-
/// Create a Term of a given sort. This function can be use to create numerals that fit in a machine integer.
2897+
/// Create a Term of a given sort. This function can be used to create numerals that fit in a machine integer.
28982898
/// It is slightly faster than <c>MakeNumeral</c> since it is not necessary to parse a string.
28992899
/// </summary>
29002900
/// <param name="v">Value of the numeral</param>
@@ -2910,7 +2910,7 @@ public Expr MkNumeral(long v, Sort ty)
29102910
}
29112911

29122912
/// <summary>
2913-
/// Create a Term of a given sort. This function can be use to create numerals that fit in a machine integer.
2913+
/// Create a Term of a given sort. This function can be used to create numerals that fit in a machine integer.
29142914
/// It is slightly faster than <c>MakeNumeral</c> since it is not necessary to parse a string.
29152915
/// </summary>
29162916
/// <param name="v">Value of the numeral</param>
@@ -3211,7 +3211,7 @@ public Quantifier MkForall(Expr[] boundConstants, Expr body, uint weight = 1, Pa
32113211
/// Create an existential Quantifier.
32123212
/// </summary>
32133213
/// <remarks>
3214-
/// Creates an existential quantifier using de-Brujin indexed variables.
3214+
/// Creates an existential quantifier using de-Bruijn indexed variables.
32153215
/// (<see cref="MkForall(Sort[], Symbol[], Expr, uint, Pattern[], Expr[], Symbol, Symbol)"/>).
32163216
/// </remarks>
32173217
public Quantifier MkExists(Sort[] sorts, Symbol[] names, Expr body, uint weight = 1, Pattern[] patterns = null, Expr[] noPatterns = null, Symbol quantifierID = null, Symbol skolemID = null)

src/api/dotnet/Expr.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ public bool IsBV
959959
/// Tn: (R t_n s_n)
960960
/// [monotonicity T1 ... Tn]: (R (f t_1 ... t_n) (f s_1 ... s_n))
961961
/// Remark: if t_i == s_i, then the antecedent Ti is suppressed.
962-
/// That is, reflexivity proofs are supressed to save space.
962+
/// That is, reflexivity proofs are suppressed to save space.
963963
/// </remarks>
964964
public bool IsProofMonotonicity { get { return IsApp && FuncDecl.DeclKind == Z3_decl_kind.Z3_OP_PR_MONOTONICITY; } }
965965

@@ -1002,7 +1002,7 @@ public bool IsBV
10021002
public bool IsProofAndElimination { get { return IsApp && FuncDecl.DeclKind == Z3_decl_kind.Z3_OP_PR_AND_ELIM; } }
10031003

10041004
/// <summary>
1005-
/// Indicates whether the term is a proof by eliminiation of not-or
1005+
/// Indicates whether the term is a proof by elimination of not-or
10061006
/// </summary>
10071007
/// <remarks>
10081008
/// Given a proof for (not (or l_1 ... l_n)), produces a proof for (not l_i).
@@ -1112,7 +1112,7 @@ public bool IsBV
11121112
public bool IsProofQuantInst { get { return IsApp && FuncDecl.DeclKind == Z3_decl_kind.Z3_OP_PR_QUANT_INST; } }
11131113

11141114
/// <summary>
1115-
/// Indicates whether the term is a hypthesis marker.
1115+
/// Indicates whether the term is a hypothesis marker.
11161116
/// </summary>
11171117
/// <remarks>Mark a hypothesis in a natural deduction style proof.</remarks>
11181118
public bool IsProofHypothesis { get { return IsApp && FuncDecl.DeclKind == Z3_decl_kind.Z3_OP_PR_HYPOTHESIS; } }
@@ -1433,7 +1433,7 @@ public bool IsRelation
14331433
/// <remarks>
14341434
/// Filter (restrict) a relation with respect to a predicate.
14351435
/// The first argument is a relation.
1436-
/// The second argument is a predicate with free de-Brujin indices
1436+
/// The second argument is a predicate with free de-Bruijn indices
14371437
/// corresponding to the columns of the relation.
14381438
/// So the first column in the relation has index 0.
14391439
/// </remarks>
@@ -1649,7 +1649,7 @@ public bool IsFPRMExpr {
16491649
public bool IsFPMul { get { return IsApp && FuncDecl.DeclKind == Z3_decl_kind.Z3_OP_FPA_MUL; } }
16501650

16511651
/// <summary>
1652-
/// Indicates whether the term is a floating-point divison term
1652+
/// Indicates whether the term is a floating-point division term
16531653
/// </summary>
16541654
public bool IsFPDiv { get { return IsApp && FuncDecl.DeclKind == Z3_decl_kind.Z3_OP_FPA_DIV; } }
16551655

@@ -1709,7 +1709,7 @@ public bool IsFPRMExpr {
17091709
public bool IsFPLe { get { return IsApp && FuncDecl.DeclKind == Z3_decl_kind.Z3_OP_FPA_LE; } }
17101710

17111711
/// <summary>
1712-
/// Indicates whether the term is a floating-point greater-than or erqual term
1712+
/// Indicates whether the term is a floating-point greater-than or equal term
17131713
/// </summary>
17141714
public bool IsFPGe { get { return IsApp && FuncDecl.DeclKind == Z3_decl_kind.Z3_OP_FPA_GE; } }
17151715

@@ -1789,7 +1789,7 @@ public bool IsFPRMExpr {
17891789

17901790
#region Bound Variables
17911791
/// <summary>
1792-
/// The de-Burijn index of a bound variable.
1792+
/// The de-Bruijn index of a bound variable.
17931793
/// </summary>
17941794
/// <remarks>
17951795
/// Bound variables are indexed by de-Bruijn indices. It is perhaps easiest to explain

src/api/dotnet/Model.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public Expr Evaluate(Expr t, bool completion = false)
253253
/// The uninterpreted sorts that the model has an interpretation for.
254254
/// </summary>
255255
/// <remarks>
256-
/// Z3 also provides an intepretation for uninterpreted sorts used in a formula.
256+
/// Z3 also provides an interpretation for uninterpreted sorts used in a formula.
257257
/// The interpretation for a sort is a finite set of distinct values. We say this finite set is
258258
/// the "universe" of the sort.
259259
/// </remarks>

src/api/java/Context.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@ public Expr mkNumeral(String v, Sort ty)
22342234
}
22352235

22362236
/**
2237-
* Create a Term of a given sort. This function can be use to create
2237+
* Create a Term of a given sort. This function can be used to create
22382238
* numerals that fit in a machine integer. It is slightly faster than
22392239
* {@code MakeNumeral} since it is not necessary to parse a string.
22402240
*
@@ -2250,7 +2250,7 @@ public Expr mkNumeral(int v, Sort ty)
22502250
}
22512251

22522252
/**
2253-
* Create a Term of a given sort. This function can be use to create
2253+
* Create a Term of a given sort. This function can be used to create
22542254
* numerals that fit in a machine integer. It is slightly faster than
22552255
* {@code MakeNumeral} since it is not necessary to parse a string.
22562256
*
@@ -2438,7 +2438,7 @@ public Quantifier mkForall(Expr[] boundConstants, Expr body, int weight,
24382438
}
24392439

24402440
/**
2441-
* Creates an existential quantifier using de-Brujin indexed variables.
2441+
* Creates an existential quantifier using de-Bruijn indexed variables.
24422442
* @see #mkForall(Sort[],Symbol[],Expr,int,Pattern[],Expr[],Symbol,Symbol)
24432443
**/
24442444
public Quantifier mkExists(Sort[] sorts, Symbol[] names, Expr body,

src/api/java/Expr.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ public boolean isProofTransitivityStar()
14211421
* Remarks: T1:
14221422
* (R t_1 s_1) ... Tn: (R t_n s_n) [monotonicity T1 ... Tn]: (R (f t_1 ...
14231423
* t_n) (f s_1 ... s_n)) Remark: if t_i == s_i, then the antecedent Ti is
1424-
* suppressed. That is, reflexivity proofs are supressed to save space.
1424+
* suppressed. That is, reflexivity proofs are suppressed to save space.
14251425
*
14261426
* @throws Z3Exception on error
14271427
* @return a boolean
@@ -1473,7 +1473,7 @@ public boolean isProofAndElimination()
14731473
}
14741474

14751475
/**
1476-
* Indicates whether the term is a proof by eliminiation of not-or
1476+
* Indicates whether the term is a proof by elimination of not-or
14771477
* Remarks: * Given a proof for (not (or l_1 ... l_n)), produces a proof for (not l_i). * T1: (not (or l_1 ... l_n)) [not-or-elim T1]: (not l_i)
14781478
* @throws Z3Exception on error
14791479
* @return a boolean
@@ -1605,7 +1605,7 @@ public boolean isProofQuantInst()
16051605
}
16061606

16071607
/**
1608-
* Indicates whether the term is a hypthesis marker.
1608+
* Indicates whether the term is a hypothesis marker.
16091609
* Remarks: Mark a
16101610
* hypothesis in a natural deduction style proof.
16111611
* @throws Z3Exception on error
@@ -1987,7 +1987,7 @@ public boolean isRelationProject()
19871987
* Indicates whether the term is a relation filter
19881988
* Remarks: Filter
19891989
* (restrict) a relation with respect to a predicate. The first argument is
1990-
* a relation. The second argument is a predicate with free de-Brujin
1990+
* a relation. The second argument is a predicate with free de-Bruijn
19911991
* indices corresponding to the columns of the relation. So the first column
19921992
* in the relation has index 0.
19931993
* @throws Z3Exception on error
@@ -2094,7 +2094,7 @@ public boolean isFiniteDomainLT()
20942094
}
20952095

20962096
/**
2097-
* The de-Burijn index of a bound variable.
2097+
* The de-Bruijn index of a bound variable.
20982098
* Remarks: Bound variables are
20992099
* indexed by de-Bruijn indices. It is perhaps easiest to explain the
21002100
* meaning of de-Bruijn indices by indicating the compilation process from

src/api/java/Model.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public int getNumSorts()
239239

240240
/**
241241
* The uninterpreted sorts that the model has an interpretation for.
242-
* Remarks: Z3 also provides an intepretation for uninterpreted sorts used
242+
* Remarks: Z3 also provides an interpretation for uninterpreted sorts used
243243
* in a formula. The interpretation for a sort is a finite set of distinct
244244
* values. We say this finite set is the "universe" of the sort.
245245
*

0 commit comments

Comments
 (0)