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