Add quantifiers API example, fixes #879 (#1146)
[cvc5.git] / COPYING
1 CVC4 is copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 by its
2 authors and contributors (see the file AUTHORS) and their institutional
3 affiliations. All rights reserved.
4
5 The source code of CVC4 is open and available to students, researchers,
6 software companies, and everyone else to study, to modify, and to redistribute
7 original or modified versions; distribution is under the terms of the modified
8 BSD license (reproduced below). Please note that CVC4 can be configured
9 (however, by default it is not) to link against some GPLed libraries, and
10 therefore the use of these builds may be restricted in non-GPL-compatible
11 projects. See below for a discussion of CLN, GLPK, and Readline (the three
12 GPLed optional library dependences for CVC4), and how to ensure you have a
13 build that doesn't link against GPLed libraries.
14
15 Redistribution and use in source and binary forms, with or without
16 modification, are permitted provided that the following conditions are
17 met:
18
19 1. Redistributions of source code must retain the above copyright
20 notice, this list of conditions and the following disclaimer.
21
22 2. Redistributions in binary form must reproduce the above copyright
23 notice, this list of conditions and the following disclaimer in the
24 documentation and/or other materials provided with the distribution.
25
26 3. Neither the name of the copyright holder nor the names of its
27 contributors may be used to endorse or promote products derived from
28 this software without specific prior written permission.
29
30 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT OWNERS AND CONTRIBUTORS
31 ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
32 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
33 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
34 OWNERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
35 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
36 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
37 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
38 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
39 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
42 ----------------------------------------------------------------------
43
44 CVC4 incorporates MiniSat code, excluded from the above copyright.
45 See src/sat/minisat. Its copyright:
46
47 MiniSat -- Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson
48 Copyright (c) 2007-2010 Niklas Sorensson
49
50 Permission is hereby granted, free of charge, to any person obtaining a
51 copy of this software and associated documentation files (the
52 "Software"), to deal in the Software without restriction, including
53 without limitation the rights to use, copy, modify, merge, publish,
54 distribute, sublicense, and/or sell copies of the Software, and to
55 permit persons to whom the Software is furnished to do so, subject to
56 the following conditions:
57
58 The above copyright notice and this permission notice shall be included
59 in all copies or substantial portions of the Software.
60
61 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
62 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
63 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
64 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
65 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
66 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
67 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
68
69 CVC4 incorporates the script "autogen.sh", excluded from the above copyright.
70 See autogen.sh. Its copyright:
71
72 Copyright (c) 2005-2009 United States Government as represented by
73 the U.S. Army Research Laboratory.
74
75 Redistribution and use in source and binary forms, with or without
76 modification, are permitted provided that the following conditions
77 are met:
78
79 1. Redistributions of source code must retain the above copyright
80 notice, this list of conditions and the following disclaimer.
81
82 2. Redistributions in binary form must reproduce the above
83 copyright notice, this list of conditions and the following
84 disclaimer in the documentation and/or other materials provided
85 with the distribution.
86
87 3. The name of the author may not be used to endorse or promote
88 products derived from this software without specific prior written
89 permission.
90
91 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
92 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
93 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
94 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
95 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
96 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
97 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
98 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
99 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
100 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
101 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
102
103 CVC4 incorporates the script "doxygen.am", excluded from the above copyright.
104 See config/doxygen.am. Its copyright:
105
106 Copyright (C) 2004 Oren Ben-Kiki
107 This file is distributed under the same terms as the Automake macro files.
108
109 CVC4 incorporates the m4 macro file "pkg.m4", excluded from the above
110 copyright. See config/pkg.m4. Its copyright:
111
112 Copyright (c) 2004 Scott James Remnant <scott@netsplit.com>.
113
114 This program is free software; you can redistribute it and/or modify
115 it under the terms of the GNU General Public License as published by
116 the Free Software Foundation; either version 2 of the License, or
117 (at your option) any later version.
118
119 This program is distributed in the hope that it will be useful, but
120 WITHOUT ANY WARRANTY; without even the implied warranty of
121 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
122 General Public License for more details.
123
124 You should have received a copy of the GNU General Public License
125 along with this program; if not, write to the Free Software
126 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
127
128 As a special exception to the GNU General Public License, if you
129 distribute this file as part of a program that contains a
130 configuration script generated by Autoconf, you may include it under
131 the same distribution terms that you use for the rest of that program.
132
133 CVC4 incorporates the m4 macro file "boost.m4", excluded from the above
134 copyright and downloaded from http://github.com/tsuna/boost.m4 .
135 See config/boost.m4. Its copyright:
136
137 Copyright (C) 2007 Benoit Sigoure <tsuna@lrde.epita.fr>
138
139 This program is free software: you can redistribute it and/or modify
140 it under the terms of the GNU General Public License as published by
141 the Free Software Foundation, either version 3 of the License, or
142 (at your option) any later version.
143
144 This program is distributed in the hope that it will be useful,
145 but WITHOUT ANY WARRANTY; without even the implied warranty of
146 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
147 GNU General Public License for more details.
148
149 You should have received a copy of the GNU General Public License
150 along with this program. If not, see <http://www.gnu.org/licenses/>.
151
152 Additional permission under section 7 of the GNU General Public
153 License, version 3 ("GPLv3"):
154
155 If you convey this file as part of a work that contains a
156 configuration script generated by Autoconf, you may do so under
157 terms of your choice.
158
159 CVC4 incorporates some code from Boost (see src/util/channel.h). This
160 is covered by the Boost Software License, version 1.0, available at
161 http://www.boost.org/LICENSE_1_0.txt and reprinted below:
162
163 Boost Software License - Version 1.0 - August 17th, 2003
164
165 Permission is hereby granted, free of charge, to any person or organization
166 obtaining a copy of the software and accompanying documentation covered by
167 this license (the "Software") to use, reproduce, display, distribute,
168 execute, and transmit the Software, and to prepare derivative works of the
169 Software, and to permit third-parties to whom the Software is furnished to
170 do so, all subject to the following:
171
172 The copyright notices in the Software and this entire statement, including
173 the above license grant, this restriction and the following disclaimer,
174 must be included in all copies of the Software, in whole or in part, and
175 all derivative works of the Software, unless such copies or derivative
176 works are solely in the form of machine-executable object code generated by
177 a source language processor.
178
179 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
180 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
181 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
182 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
183 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
184 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
185 DEALINGS IN THE SOFTWARE.
186
187 CVC4 incorporates code from ANTLR3, excluded from the above copyright.
188 See http://www.antlr3.org/, and the files src/parser/bounded_token_buffer.h,
189 src/parser/bounded_token_buffer.cpp, and src/parser/antlr_input_imports.cpp.
190 Their copyright:
191
192 [The "BSD licence"]
193 Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC
194 http://www.temporal-wave.com
195 http://www.linkedin.com/in/jimidle
196
197 All rights reserved.
198
199 Redistribution and use in source and binary forms, with or without
200 modification, are permitted provided that the following conditions
201 are met:
202 1. Redistributions of source code must retain the above copyright
203 notice, this list of conditions and the following disclaimer.
204 2. Redistributions in binary form must reproduce the above copyright
205 notice, this list of conditions and the following disclaimer in the
206 documentation and/or other materials provided with the distribution.
207 3. The name of the author may not be used to endorse or promote products
208 derived from this software without specific prior written permission.
209
210 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
211 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
212 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
213 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
214 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
215 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
216 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
217 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
218 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
219 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
220
221 CVC4 can be optionally configured to link against CLN, the Class Library for
222 Numbers, available here:
223
224 http://www.ginac.de/CLN/
225
226 Please be advised that as this library is covered under the GPLv3, if you
227 choose to use the combined work, "CVC4+CLN," by building CVC4 with CLN,
228 then it is also covered under the GPLv3. If you want to make sure you build
229 a version of CVC4 that uses no GPLed libraries, configure CVC4 with the
230 "--bsd" option before building (which is the default). CVC4 can then be used
231 in contexts where you want to license CVC4 under the (modified) BSD license.
232
233 CVC4 can be optionally configured to link against GLPK, the GNU Linear
234 Programming Kit, available here:
235
236 http://www.gnu.org/software/glpk/
237
238 Please be advised that as this library is covered under the GPLv3, if
239 you choose to use the combined work, "CVC4+GLPK," by building CVC4 with
240 GLPK, then it is also covered under the GPLv3. If you want to make sure you
241 build a version of CVC4 that uses no GPLed libraries, configure CVC4 with the
242 "--bsd" option before building (which is the default). CVC4 can then be used
243 in contexts where you want to license CVC4 under the (modified) BSD license.
244
245 CVC4 can be optionally configured to link against GNU Readline for improved
246 text-editing support in interactive mode. GNU Readline is available here:
247
248 http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
249
250 Please be advised that as this library is covered under the GPLv3, if
251 you choose to use the combined work, "CVC4+Readline," by building CVC4 with
252 Readline, then it is also covered under the GPLv3. If you want to make sure
253 you build a version of CVC4 that uses no GPLed libraries, configure CVC4 with
254 the "--bsd" option before building (which is the default). CVC4 can then be
255 used in contexts where you want to license CVC4 under the (modified) BSD
256 license.
257
258 CVC4 sources incorporate those of the LFSC proof checker, which is
259 covered by the following license:
260
261 LFSC is copyright (C) 2012, 2013 The University of Iowa. All rights
262 reserved.
263
264 LFSC is open-source; distribution is under the terms of the modified
265 BSD license.
266
267 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT OWNERS AND CONTRIBUTORS
268 AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
269 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
270 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
271 OWNERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
272 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
273 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
274 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
275 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
276 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
277 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.