GCC Code Coverage Report
Directory: . Exec Total Coverage
File: build-coverage/src/parser/smt2/Smt2Parser.c Lines: 3205 4453 72.0 %
Date: 2021-03-23 Branches: 2464 5503 44.8 %

Line Exec Source
1
/** \file
2
 *  This C source file was generated by $ANTLR version 3.4
3
 *
4
 *     -  From the grammar source file : /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g
5
 *     -                            On : 2021-03-23 01:05:32
6
 *     -                for the parser : Smt2ParserParser
7
 *
8
 * Editing it, at least manually, is not wise.
9
 *
10
 * C language generator and runtime by Jim Idle, jimi|hereisanat|idle|dotgoeshere|ws.
11
 *
12
 *
13
*/
14
// [The "BSD license"]
15
// Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC
16
// http://www.temporal-wave.com
17
// http://www.linkedin.com/in/jimidle
18
//
19
// All rights reserved.
20
//
21
// Redistribution and use in source and binary forms, with or without
22
// modification, are permitted provided that the following conditions
23
// are met:
24
// 1. Redistributions of source code must retain the above copyright
25
//    notice, this list of conditions and the following disclaimer.
26
// 2. Redistributions in binary form must reproduce the above copyright
27
//    notice, this list of conditions and the following disclaimer in the
28
//    documentation and/or other materials provided with the distribution.
29
// 3. The name of the author may not be used to endorse or promote products
30
//    derived from this software without specific prior written permission.
31
//
32
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
33
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
34
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
35
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
36
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37
// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
38
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
39
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
40
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
41
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42
43
44
/* =============================================================================
45
 * This is what the grammar programmer asked us to put at the top of every file.
46
 */
47
48
/**
49
 ** This file is part of the CVC4 project.
50
 ** Copyright (c) 2009-2016 by the authors listed in the file AUTHORS
51
 ** in the top-level source directory) and their institutional affiliations.
52
 ** All rights reserved.  See the file COPYING in the top-level source
53
 ** directory for licensing information.
54
 **/
55
56
/* End of Header action.
57
 * =============================================================================
58
 */
59
60
/* -----------------------------------------
61
 * Include the ANTLR3 generated header file.
62
 */
63
#include    "Smt2Parser.h"
64
65
66
#include <set>
67
#include <sstream>
68
#include <string>
69
#include <unordered_set>
70
#include <vector>
71
72
#include "api/cvc4cpp.h"
73
#include "base/output.h"
74
#include "options/set_language.h"
75
#include "parser/antlr_input.h"
76
#include "parser/parser.h"
77
#include "parser/smt2/smt2.h"
78
#include "util/floatingpoint.h"
79
#include "util/hash.h"
80
#include "util/integer.h"
81
#include "util/rational.h"
82
83
using namespace CVC4;
84
using namespace CVC4::parser;
85
86
/* These need to be macros so they can refer to the PARSER macro, which
87
 * will be defined by ANTLR *after* this section. (If they were functions,
88
 * PARSER would be undefined.) */
89
#undef PARSER_STATE
90
#define PARSER_STATE ((Smt2*)PARSER->super)
91
#undef SOLVER
92
#define SOLVER PARSER_STATE->getSolver()
93
#undef SYM_MAN
94
#define SYM_MAN PARSER_STATE->getSymbolManager()
95
#undef MK_TERM
96
#define MK_TERM SOLVER->mkTerm
97
#define UNSUPPORTED PARSER_STATE->unimplementedFeature
98
99
100
/* ----------------------------------------- */
101
102
103
104
105
106
/* MACROS that hide the C interface implementations from the
107
 * generated code, which makes it a little more understandable to the human eye.
108
 * I am very much against using C pre-processor macros for function calls and bits
109
 * of code as you cannot see what is happening when single stepping in debuggers
110
 * and so on. The exception (in my book at least) is for generated code, where you are
111
 * not maintaining it, but may wish to read and understand it. If you single step it, you know that input()
112
 * hides some indirect calls, but is always referring to the input stream. This is
113
 * probably more readable than ctx->input->istream->input(snarfle0->blarg) and allows me to rejig
114
 * the runtime interfaces without changing the generated code too often, without
115
 * confusing the reader of the generated output, who may not wish to know the gory
116
 * details of the interface inheritance.
117
 */
118
119
#define		CTX	ctx
120
121
/* Aids in accessing scopes for grammar programmers
122
 */
123
#undef	SCOPE_TYPE
124
#undef	SCOPE_STACK
125
#undef	SCOPE_TOP
126
#define	SCOPE_TYPE(scope)   pSmt2Parser_##scope##_SCOPE
127
#define SCOPE_STACK(scope)  pSmt2Parser_##scope##Stack
128
#define	SCOPE_TOP(scope)    ctx->pSmt2Parser_##scope##Top
129
#define	SCOPE_SIZE(scope)		ctx->pSmt2Parser_##scope##Stack_limit
130
#define SCOPE_INSTANCE(scope, i)	(ctx->SCOPE_STACK(scope)->get(ctx->SCOPE_STACK(scope),i))
131
132
/* Macros for accessing things in the parser
133
 */
134
135
#undef	    PARSER
136
#undef	    RECOGNIZER
137
#undef	    HAVEPARSEDRULE
138
#undef		MEMOIZE
139
#undef	    INPUT
140
#undef	    STRSTREAM
141
#undef	    HASEXCEPTION
142
#undef	    EXCEPTION
143
#undef	    MATCHT
144
#undef	    MATCHANYT
145
#undef	    FOLLOWSTACK
146
#undef	    FOLLOWPUSH
147
#undef	    FOLLOWPOP
148
#undef	    PRECOVER
149
#undef	    PREPORTERROR
150
#undef	    LA
151
#undef	    LT
152
#undef	    CONSTRUCTEX
153
#undef	    CONSUME
154
#undef	    MARK
155
#undef	    REWIND
156
#undef	    REWINDLAST
157
#undef	    PERRORRECOVERY
158
#undef	    HASFAILED
159
#undef	    FAILEDFLAG
160
#undef	    RECOVERFROMMISMATCHEDSET
161
#undef	    RECOVERFROMMISMATCHEDELEMENT
162
#undef		INDEX
163
#undef      ADAPTOR
164
#undef		SEEK
165
#undef	    RULEMEMO
166
#undef		DBG
167
168
#define	    PARSER				ctx->pParser
169
#define	    RECOGNIZER				PARSER->rec
170
#define	    PSRSTATE				RECOGNIZER->state
171
#define	    HAVEPARSEDRULE(r)			RECOGNIZER->alreadyParsedRule(RECOGNIZER, r)
172
#define	    MEMOIZE(ri,si)			RECOGNIZER->memoize(RECOGNIZER, ri, si)
173
#define	    INPUT				PARSER->tstream
174
#define	    STRSTREAM				INPUT
175
#define	    ISTREAM				INPUT->istream
176
#define	    INDEX()				ISTREAM->index(INPUT->istream)
177
#define	    HASEXCEPTION()			(PSRSTATE->error == ANTLR3_TRUE)
178
#define	    EXCEPTION				PSRSTATE->exception
179
#define	    MATCHT(t, fs)			RECOGNIZER->match(RECOGNIZER, t, fs)
180
#define	    MATCHANYT()				RECOGNIZER->matchAny(RECOGNIZER)
181
#define	    FOLLOWSTACK				PSRSTATE->following
182
#ifdef  SKIP_FOLLOW_SETS
183
#define	    FOLLOWPUSH(x)
184
#define	    FOLLOWPOP()
185
#else
186
#define	    FOLLOWPUSH(x)			FOLLOWSTACK->push(FOLLOWSTACK, ((void *)(&(x))), NULL)
187
#define	    FOLLOWPOP()				FOLLOWSTACK->pop(FOLLOWSTACK)
188
#endif
189
#define	    PRECOVER()				RECOGNIZER->recover(RECOGNIZER)
190
#define	    PREPORTERROR()			RECOGNIZER->reportError(RECOGNIZER)
191
#define	    LA(n)				INPUT->istream->_LA(ISTREAM, n)
192
#define	    LT(n)				INPUT->_LT(INPUT, n)
193
#define	    CONSTRUCTEX()			RECOGNIZER->exConstruct(RECOGNIZER)
194
#define	    CONSUME()				ISTREAM->consume(ISTREAM)
195
#define	    MARK()				ISTREAM->mark(ISTREAM)
196
#define	    REWIND(m)				ISTREAM->rewind(ISTREAM, m)
197
#define	    REWINDLAST()			ISTREAM->rewindLast(ISTREAM)
198
#define	    SEEK(n)				ISTREAM->seek(ISTREAM, n)
199
#define	    PERRORRECOVERY			PSRSTATE->errorRecovery
200
#define	    FAILEDFLAG				PSRSTATE->failed
201
#define	    HASFAILED()				(FAILEDFLAG == ANTLR3_TRUE)
202
#define	    BACKTRACKING			PSRSTATE->backtracking
203
#define	    RECOVERFROMMISMATCHEDSET(s)		RECOGNIZER->recoverFromMismatchedSet(RECOGNIZER, s)
204
#define	    RECOVERFROMMISMATCHEDELEMENT(e)	RECOGNIZER->recoverFromMismatchedElement(RECOGNIZER, s)
205
#define     ADAPTOR                         ctx->adaptor
206
#define		RULEMEMO						PSRSTATE->ruleMemo
207
#define		DBG								RECOGNIZER->debugger
208
209
210
#define		TOKTEXT(tok, txt)				tok, (pANTLR3_UINT8)txt
211
212
/* The 4 tokens defined below may well clash with your own #defines or token types. If so
213
 * then for the present you must use different names for your defines as these are hard coded
214
 * in the code generator. It would be better not to use such names internally, and maybe
215
 * we can change this in a forthcoming release. I deliberately do not #undef these
216
 * here as this will at least give you a redefined error somewhere if they clash.
217
 */
218
#define	    UP	    ANTLR3_TOKEN_UP
219
#define	    DOWN    ANTLR3_TOKEN_DOWN
220
#define	    EOR	    ANTLR3_TOKEN_EOR
221
#define	    INVALID ANTLR3_TOKEN_INVALID
222
223
224
/* =============================================================================
225
 * Functions to create and destroy scopes. First come the rule scopes, followed
226
 * by the global declared scopes.
227
 */
228
229
230
231
/* ============================================================================= */
232
233
/* =============================================================================
234
 * Start of recognizer
235
 */
236
237
238
/** \brief Table of all token names in symbolic order, mainly used for
239
 *         error reporting.
240
 */
241
pANTLR3_UINT8   Smt2ParserTokenNames[100+4]
242
     = {
243
        (pANTLR3_UINT8) "<invalid>",       /* String to print to indicate an invalid token */
244
        (pANTLR3_UINT8) "<EOR>",
245
        (pANTLR3_UINT8) "<DOWN>",
246
        (pANTLR3_UINT8) "<UP>",
247
        (pANTLR3_UINT8) "ALPHA",
248
        (pANTLR3_UINT8) "ASSERT_TOK",
249
        (pANTLR3_UINT8) "AS_TOK",
250
        (pANTLR3_UINT8) "ATTRIBUTE_INST_LEVEL",
251
        (pANTLR3_UINT8) "ATTRIBUTE_NAMED_TOK",
252
        (pANTLR3_UINT8) "ATTRIBUTE_NO_PATTERN_TOK",
253
        (pANTLR3_UINT8) "ATTRIBUTE_PATTERN_TOK",
254
        (pANTLR3_UINT8) "ATTRIBUTE_QUANTIFIER_ID_TOK",
255
        (pANTLR3_UINT8) "ATTRIBUTE_TOK",
256
        (pANTLR3_UINT8) "BINARY_LITERAL",
257
        (pANTLR3_UINT8) "BLOCK_MODEL_TOK",
258
        (pANTLR3_UINT8) "BLOCK_MODEL_VALUES_TOK",
259
        (pANTLR3_UINT8) "CHAR_TOK",
260
        (pANTLR3_UINT8) "CHECK_SAT_ASSUMING_TOK",
261
        (pANTLR3_UINT8) "CHECK_SAT_TOK",
262
        (pANTLR3_UINT8) "CHECK_SYNTH_TOK",
263
        (pANTLR3_UINT8) "COMMENT",
264
        (pANTLR3_UINT8) "COMPREHENSION_TOK",
265
        (pANTLR3_UINT8) "CONSTRAINT_TOK",
266
        (pANTLR3_UINT8) "CONST_TOK",
267
        (pANTLR3_UINT8) "DECIMAL_LITERAL",
268
        (pANTLR3_UINT8) "DECLARE_CODATATYPES_2_5_TOK",
269
        (pANTLR3_UINT8) "DECLARE_CODATATYPES_TOK",
270
        (pANTLR3_UINT8) "DECLARE_CODATATYPE_TOK",
271
        (pANTLR3_UINT8) "DECLARE_CONST_TOK",
272
        (pANTLR3_UINT8) "DECLARE_DATATYPES_2_5_TOK",
273
        (pANTLR3_UINT8) "DECLARE_DATATYPES_TOK",
274
        (pANTLR3_UINT8) "DECLARE_DATATYPE_TOK",
275
        (pANTLR3_UINT8) "DECLARE_FUNS_TOK",
276
        (pANTLR3_UINT8) "DECLARE_FUN_TOK",
277
        (pANTLR3_UINT8) "DECLARE_HEAP",
278
        (pANTLR3_UINT8) "DECLARE_PREDS_TOK",
279
        (pANTLR3_UINT8) "DECLARE_SORTS_TOK",
280
        (pANTLR3_UINT8) "DECLARE_SORT_TOK",
281
        (pANTLR3_UINT8) "DECLARE_VAR_TOK",
282
        (pANTLR3_UINT8) "DEFINE_CONST_TOK",
283
        (pANTLR3_UINT8) "DEFINE_FUNS_REC_TOK",
284
        (pANTLR3_UINT8) "DEFINE_FUN_REC_TOK",
285
        (pANTLR3_UINT8) "DEFINE_FUN_TOK",
286
        (pANTLR3_UINT8) "DEFINE_SORT_TOK",
287
        (pANTLR3_UINT8) "DEFINE_TOK",
288
        (pANTLR3_UINT8) "DIGIT",
289
        (pANTLR3_UINT8) "ECHO_TOK",
290
        (pANTLR3_UINT8) "EMP_TOK",
291
        (pANTLR3_UINT8) "EXISTS_TOK",
292
        (pANTLR3_UINT8) "EXIT_TOK",
293
        (pANTLR3_UINT8) "FORALL_TOK",
294
        (pANTLR3_UINT8) "GET_ABDUCT_TOK",
295
        (pANTLR3_UINT8) "GET_ASSERTIONS_TOK",
296
        (pANTLR3_UINT8) "GET_ASSIGNMENT_TOK",
297
        (pANTLR3_UINT8) "GET_INFO_TOK",
298
        (pANTLR3_UINT8) "GET_INTERPOL_TOK",
299
        (pANTLR3_UINT8) "GET_MODEL_TOK",
300
        (pANTLR3_UINT8) "GET_OPTION_TOK",
301
        (pANTLR3_UINT8) "GET_PROOF_TOK",
302
        (pANTLR3_UINT8) "GET_QE_DISJUNCT_TOK",
303
        (pANTLR3_UINT8) "GET_QE_TOK",
304
        (pANTLR3_UINT8) "GET_UNSAT_ASSUMPTIONS_TOK",
305
        (pANTLR3_UINT8) "GET_UNSAT_CORE_TOK",
306
        (pANTLR3_UINT8) "GET_VALUE_TOK",
307
        (pANTLR3_UINT8) "HEX_DIGIT",
308
        (pANTLR3_UINT8) "HEX_LITERAL",
309
        (pANTLR3_UINT8) "HO_ARROW_TOK",
310
        (pANTLR3_UINT8) "HO_LAMBDA_TOK",
311
        (pANTLR3_UINT8) "INCLUDE_TOK",
312
        (pANTLR3_UINT8) "INDEX_TOK",
313
        (pANTLR3_UINT8) "INTEGER_LITERAL",
314
        (pANTLR3_UINT8) "INV_CONSTRAINT_TOK",
315
        (pANTLR3_UINT8) "KEYWORD",
316
        (pANTLR3_UINT8) "LET_TOK",
317
        (pANTLR3_UINT8) "LPAREN_TOK",
318
        (pANTLR3_UINT8) "MATCH_TOK",
319
        (pANTLR3_UINT8) "NUMERAL",
320
        (pANTLR3_UINT8) "PAR_TOK",
321
        (pANTLR3_UINT8) "POP_TOK",
322
        (pANTLR3_UINT8) "PUSH_TOK",
323
        (pANTLR3_UINT8) "QUOTED_SYMBOL",
324
        (pANTLR3_UINT8) "RESET_ASSERTIONS_TOK",
325
        (pANTLR3_UINT8) "RESET_TOK",
326
        (pANTLR3_UINT8) "RPAREN_TOK",
327
        (pANTLR3_UINT8) "SET_INFO_TOK",
328
        (pANTLR3_UINT8) "SET_LOGIC_TOK",
329
        (pANTLR3_UINT8) "SET_OPTIONS_TOK",
330
        (pANTLR3_UINT8) "SET_OPTION_TOK",
331
        (pANTLR3_UINT8) "SIMPLE_SYMBOL",
332
        (pANTLR3_UINT8) "SIMPLIFY_TOK",
333
        (pANTLR3_UINT8) "STRING_LITERAL",
334
        (pANTLR3_UINT8) "SYGUS_CONSTANT_TOK",
335
        (pANTLR3_UINT8) "SYGUS_VARIABLE_TOK",
336
        (pANTLR3_UINT8) "SYMBOL_CHAR",
337
        (pANTLR3_UINT8) "SYMBOL_CHAR_NOUNDERSCORE_NOATTRIBUTE",
338
        (pANTLR3_UINT8) "SYNTH_FUN_TOK",
339
        (pANTLR3_UINT8) "SYNTH_INV_TOK",
340
        (pANTLR3_UINT8) "TESTER_TOK",
341
        (pANTLR3_UINT8) "TUPLE_CONST_TOK",
342
        (pANTLR3_UINT8) "TUPLE_PROJECT_TOK",
343
        (pANTLR3_UINT8) "TUPLE_SEL_TOK",
344
        (pANTLR3_UINT8) "UNTERMINATED_QUOTED_SYMBOL",
345
        (pANTLR3_UINT8) "WHITESPACE",
346
        (pANTLR3_UINT8) "'\\\\'"
347
       };
348
349
350
351
// Forward declare the locally static matching functions we have generated.
352
//
353
static
354
 CVC4::api::Term
355
	parseExpr    (pSmt2Parser ctx);
356
static
357
 CVC4::Command*
358
	parseCommand    (pSmt2Parser ctx);
359
static
360
 CVC4::Command*
361
	parseSygus    (pSmt2Parser ctx);
362
static
363
 void
364
	command    (pSmt2Parser ctx, std::unique_ptr<CVC4::Command>* cmd);
365
static
366
 std::unique_ptr<CVC4::Command>
367
	sygusCommand    (pSmt2Parser ctx);
368
static
369
 void
370
	sygusGrammar    (pSmt2Parser ctx, CVC4::api::Grammar*& ret, const std::vector<CVC4::api::Term>& sygusVars, const std::string& fun);
371
static
372
 void
373
	setInfoInternal    (pSmt2Parser ctx, std::unique_ptr<CVC4::Command>* cmd);
374
static
375
 void
376
	setOptionInternal    (pSmt2Parser ctx, std::unique_ptr<CVC4::Command>* cmd);
377
static
378
 void
379
	smt25Command    (pSmt2Parser ctx, std::unique_ptr<CVC4::Command>* cmd);
380
static
381
 void
382
	extendedCommand    (pSmt2Parser ctx, std::unique_ptr<CVC4::Command>* cmd);
383
static
384
 void
385
	datatypeDefCommand    (pSmt2Parser ctx, bool isCo, std::unique_ptr<CVC4::Command>* cmd);
386
static
387
 void
388
	datatypesDefCommand    (pSmt2Parser ctx, bool isCo, std::unique_ptr<CVC4::Command>* cmd);
389
static
390
 void
391
	datatypesDef    (pSmt2Parser ctx, bool isCo, const std::vector<std::string>& dnames, const std::vector<int>& arities, std::unique_ptr<CVC4::Command>* cmd);
392
static
393
 void
394
	simpleSymbolicExprNoKeyword    (pSmt2Parser ctx, std::string& s);
395
static
396
 void
397
	keyword    (pSmt2Parser ctx, std::string& s);
398
static
399
 void
400
	simpleSymbolicExpr    (pSmt2Parser ctx, std::string& s);
401
static
402
 void
403
	symbolicExpr    (pSmt2Parser ctx, CVC4::api::Term& sexpr);
404
static
405
 void
406
	term    (pSmt2Parser ctx, CVC4::api::Term& expr, CVC4::api::Term& expr2);
407
static
408
 void
409
	termNonVariable    (pSmt2Parser ctx, CVC4::api::Term& expr, CVC4::api::Term& expr2);
410
static
411
 void
412
	qualIdentifier    (pSmt2Parser ctx, CVC4::ParseOp& p);
413
static
414
 void
415
	identifier    (pSmt2Parser ctx, CVC4::ParseOp& p);
416
static
417
 void
418
	termAtomic    (pSmt2Parser ctx, CVC4::api::Term& atomTerm);
419
static
420
 void
421
	attribute    (pSmt2Parser ctx, CVC4::api::Term& expr, CVC4::api::Term& retExpr, std::string& attr);
422
static
423
 void
424
	termList    (pSmt2Parser ctx, std::vector<CVC4::api::Term>& formulas, CVC4::api::Term& expr);
425
static
426
 void
427
	str    (pSmt2Parser ctx, std::string& s, bool fsmtlib);
428
static
429
 void
430
	quantOp    (pSmt2Parser ctx, CVC4::api::Kind& kind);
431
static
432
 void
433
	functionName    (pSmt2Parser ctx, std::string& name, CVC4::parser::DeclarationCheck check);
434
static
435
 void
436
	sortList    (pSmt2Parser ctx, std::vector<CVC4::api::Sort>& sorts);
437
static
438
 void
439
	nonemptySortList    (pSmt2Parser ctx, std::vector<CVC4::api::Sort>& sorts);
440
static
441
 void
442
	sortedVarList    (pSmt2Parser ctx, std::vector<std::pair<std::string, CVC4::api::Sort> >& sortedVars);
443
static
444
 void
445
	boundVarList    (pSmt2Parser ctx, CVC4::api::Term& expr);
446
static
447
 void
448
	sortName    (pSmt2Parser ctx, std::string& name, CVC4::parser::DeclarationCheck check);
449
static
450
 void
451
	sortSymbol    (pSmt2Parser ctx, CVC4::api::Sort& t, CVC4::parser::DeclarationCheck check);
452
static
453
 void
454
	symbolList    (pSmt2Parser ctx, std::vector<std::string>& names, CVC4::parser::DeclarationCheck check, CVC4::parser::SymbolType type);
455
static
456
 void
457
	symbol    (pSmt2Parser ctx, std::string& id, CVC4::parser::DeclarationCheck check, CVC4::parser::SymbolType type);
458
static
459
 void
460
	nonemptyNumeralList    (pSmt2Parser ctx, std::vector<uint64_t>& numerals);
461
static
462
 void
463
	datatypeDef    (pSmt2Parser ctx, bool isCo, std::vector<CVC4::api::DatatypeDecl>& datatypes, std::vector< CVC4::api::Sort >& params);
464
static
465
 void
466
	constructorDef    (pSmt2Parser ctx, CVC4::api::DatatypeDecl& type);
467
static
468
 void
469
	selector    (pSmt2Parser ctx, CVC4::api::DatatypeConstructorDecl& ctor);
470
static void	Smt2ParserFree(pSmt2Parser ctx);
471
static void     Smt2ParserReset (pSmt2Parser ctx);
472
473
/* For use in tree output where we are accumulating rule labels via label += ruleRef
474
 * we need a function that knows how to free a return scope when the list is destroyed.
475
 * We cannot just use ANTLR3_FREE because in debug tracking mode, this is a macro.
476
 */
477
static	void ANTLR3_CDECL freeScope(void * scope)
478
{
479
    ANTLR3_FREE(scope);
480
}
481
482
/** \brief Name of the grammar file that generated this code
483
 */
484
static const char fileName[] = "/barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g";
485
486
/** \brief Return the name of the grammar file that generated this code.
487
 */
488
static const char * getGrammarFileName()
489
{
490
	return fileName;
491
}
492
/** \brief Create a new Smt2Parser parser and return a context for it.
493
 *
494
 * \param[in] instream Pointer to an input stream interface.
495
 *
496
 * \return Pointer to new parser context upon success.
497
 */
498
ANTLR3_API pSmt2Parser
499
5010
Smt2ParserNew   (pANTLR3_COMMON_TOKEN_STREAM instream)
500
{
501
	// See if we can create a new parser with the standard constructor
502
	//
503
5010
	return Smt2ParserNewSSD(instream, NULL);
504
}
505
506
/** \brief Create a new Smt2Parser parser and return a context for it.
507
 *
508
 * \param[in] instream Pointer to an input stream interface.
509
 *
510
 * \return Pointer to new parser context upon success.
511
 */
512
ANTLR3_API pSmt2Parser
513
5010
Smt2ParserNewSSD   (pANTLR3_COMMON_TOKEN_STREAM instream, pANTLR3_RECOGNIZER_SHARED_STATE state)
514
{
515
    pSmt2Parser ctx;	    /* Context structure we will build and return   */
516
517
5010
    ctx	= (pSmt2Parser) ANTLR3_CALLOC(1, sizeof(Smt2Parser));
518
519
5010
    if	(ctx == NULL)
520
    {
521
		// Failed to allocate memory for parser context
522
		//
523
        return  NULL;
524
    }
525
526
    /* -------------------------------------------------------------------
527
     * Memory for basic structure is allocated, now to fill in
528
     * the base ANTLR3 structures. We initialize the function pointers
529
     * for the standard ANTLR3 parser function set, but upon return
530
     * from here, the programmer may set the pointers to provide custom
531
     * implementations of each function.
532
     *
533
     * We don't use the macros defined in Smt2Parser.h here, in order that you can get a sense
534
     * of what goes where.
535
     */
536
537
    /* Create a base parser/recognizer, using the supplied token stream
538
     */
539
5010
    ctx->pParser	    = antlr3ParserNewStream(ANTLR3_SIZE_HINT, instream->tstream, state);
540
    /* Install the implementation of our Smt2Parser interface
541
     */
542
5010
    ctx->parseExpr	= parseExpr;
543
5010
    ctx->parseCommand	= parseCommand;
544
5010
    ctx->parseSygus	= parseSygus;
545
5010
    ctx->command	= command;
546
5010
    ctx->sygusCommand	= sygusCommand;
547
5010
    ctx->sygusGrammar	= sygusGrammar;
548
5010
    ctx->setInfoInternal	= setInfoInternal;
549
5010
    ctx->setOptionInternal	= setOptionInternal;
550
5010
    ctx->smt25Command	= smt25Command;
551
5010
    ctx->extendedCommand	= extendedCommand;
552
5010
    ctx->datatypeDefCommand	= datatypeDefCommand;
553
5010
    ctx->datatypesDefCommand	= datatypesDefCommand;
554
5010
    ctx->datatypesDef	= datatypesDef;
555
5010
    ctx->simpleSymbolicExprNoKeyword	= simpleSymbolicExprNoKeyword;
556
5010
    ctx->keyword	= keyword;
557
5010
    ctx->simpleSymbolicExpr	= simpleSymbolicExpr;
558
5010
    ctx->symbolicExpr	= symbolicExpr;
559
5010
    ctx->term	= term;
560
5010
    ctx->termNonVariable	= termNonVariable;
561
5010
    ctx->qualIdentifier	= qualIdentifier;
562
5010
    ctx->identifier	= identifier;
563
5010
    ctx->termAtomic	= termAtomic;
564
5010
    ctx->attribute	= attribute;
565
5010
    ctx->termList	= termList;
566
5010
    ctx->str	= str;
567
5010
    ctx->quantOp	= quantOp;
568
5010
    ctx->functionName	= functionName;
569
5010
    ctx->sortList	= sortList;
570
5010
    ctx->nonemptySortList	= nonemptySortList;
571
5010
    ctx->sortedVarList	= sortedVarList;
572
5010
    ctx->boundVarList	= boundVarList;
573
5010
    ctx->sortName	= sortName;
574
5010
    ctx->sortSymbol	= sortSymbol;
575
5010
    ctx->symbolList	= symbolList;
576
5010
    ctx->symbol	= symbol;
577
5010
    ctx->nonemptyNumeralList	= nonemptyNumeralList;
578
5010
    ctx->datatypeDef	= datatypeDef;
579
5010
    ctx->constructorDef	= constructorDef;
580
5010
    ctx->selector	= selector;
581
5010
    ctx->free			= Smt2ParserFree;
582
5010
    ctx->reset			= Smt2ParserReset;
583
5010
    ctx->getGrammarFileName	= getGrammarFileName;
584
585
    /* Install the scope pushing methods.
586
     */
587
588
    /* Install the token table
589
     */
590
5010
    PSRSTATE->tokenNames   = Smt2ParserTokenNames;
591
592
593
    /* Return the newly built parser to the caller
594
     */
595
5010
    return  ctx;
596
}
597
598
static void
599
Smt2ParserReset (pSmt2Parser ctx)
600
{
601
    RECOGNIZER->reset(RECOGNIZER);
602
}
603
604
/** Free the parser resources
605
 */
606
 static void
607
5010
 Smt2ParserFree(pSmt2Parser ctx)
608
 {
609
    /* Free any scope memory
610
     */
611
612
	// Free this parser
613
	//
614
5010
    ctx->pParser->free(ctx->pParser);
615
616
617
5010
    ANTLR3_FREE(ctx);
618
619
    /* Everything is released, so we can return
620
     */
621
5010
    return;
622
 }
623
624
/** Return token names used by this
625
parser
626
627
 *
628
 * The returned pointer is used as an index into the token names table (using the token
629
 * number as the index).
630
 *
631
 * \return Pointer to first char * in the table.
632
 */
633
static pANTLR3_UINT8    *getTokenNames()
634
{
635
        return Smt2ParserTokenNames;
636
}
637
638
639
/* Declare the bitsets
640
 */
641
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_parseExpr119  */
642
static	ANTLR3_BITWORD FOLLOW_term_in_parseExpr119_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
643
static  ANTLR3_BITSET_LIST FOLLOW_term_in_parseExpr119	= { FOLLOW_term_in_parseExpr119_bits, 1	};
644
/** Bitset defining follow set for error recovery in rule state: FOLLOW_EOF_in_parseExpr126  */
645
static	ANTLR3_BITWORD FOLLOW_EOF_in_parseExpr126_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
646
static  ANTLR3_BITSET_LIST FOLLOW_EOF_in_parseExpr126	= { FOLLOW_EOF_in_parseExpr126_bits, 1	};
647
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_parseCommand155  */
648
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_parseCommand155_bits[]	= { ANTLR3_UINT64_LIT(0xFFFA5FBFDC06C020), ANTLR3_UINT64_LIT(0x0000000003B6C000) };
649
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_parseCommand155	= { FOLLOW_LPAREN_TOK_in_parseCommand155_bits, 2	};
650
/** Bitset defining follow set for error recovery in rule state: FOLLOW_command_in_parseCommand157  */
651
static	ANTLR3_BITWORD FOLLOW_command_in_parseCommand157_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
652
static  ANTLR3_BITSET_LIST FOLLOW_command_in_parseCommand157	= { FOLLOW_command_in_parseCommand157_bits, 2	};
653
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_parseCommand160  */
654
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_parseCommand160_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
655
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_parseCommand160	= { FOLLOW_RPAREN_TOK_in_parseCommand160_bits, 1	};
656
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_parseCommand173  */
657
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_parseCommand173_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000010) };
658
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_parseCommand173	= { FOLLOW_LPAREN_TOK_in_parseCommand173_bits, 2	};
659
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INCLUDE_TOK_in_parseCommand175  */
660
static	ANTLR3_BITWORD FOLLOW_INCLUDE_TOK_in_parseCommand175_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000004000000) };
661
static  ANTLR3_BITSET_LIST FOLLOW_INCLUDE_TOK_in_parseCommand175	= { FOLLOW_INCLUDE_TOK_in_parseCommand175_bits, 2	};
662
/** Bitset defining follow set for error recovery in rule state: FOLLOW_str_in_parseCommand177  */
663
static	ANTLR3_BITWORD FOLLOW_str_in_parseCommand177_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
664
static  ANTLR3_BITSET_LIST FOLLOW_str_in_parseCommand177	= { FOLLOW_str_in_parseCommand177_bits, 2	};
665
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_parseCommand180  */
666
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_parseCommand180_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
667
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_parseCommand180	= { FOLLOW_RPAREN_TOK_in_parseCommand180_bits, 1	};
668
/** Bitset defining follow set for error recovery in rule state: FOLLOW_EOF_in_parseCommand193  */
669
static	ANTLR3_BITWORD FOLLOW_EOF_in_parseCommand193_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
670
static  ANTLR3_BITSET_LIST FOLLOW_EOF_in_parseCommand193	= { FOLLOW_EOF_in_parseCommand193_bits, 1	};
671
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_parseSygus222  */
672
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_parseSygus222_bits[]	= { ANTLR3_UINT64_LIT(0xFFFA5FFFDC4EC020), ANTLR3_UINT64_LIT(0x0000000183B6C080) };
673
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_parseSygus222	= { FOLLOW_LPAREN_TOK_in_parseSygus222_bits, 2	};
674
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sygusCommand_in_parseSygus226  */
675
static	ANTLR3_BITWORD FOLLOW_sygusCommand_in_parseSygus226_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
676
static  ANTLR3_BITSET_LIST FOLLOW_sygusCommand_in_parseSygus226	= { FOLLOW_sygusCommand_in_parseSygus226_bits, 2	};
677
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_parseSygus228  */
678
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_parseSygus228_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
679
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_parseSygus228	= { FOLLOW_RPAREN_TOK_in_parseSygus228_bits, 1	};
680
/** Bitset defining follow set for error recovery in rule state: FOLLOW_EOF_in_parseSygus234  */
681
static	ANTLR3_BITWORD FOLLOW_EOF_in_parseSygus234_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
682
static  ANTLR3_BITSET_LIST FOLLOW_EOF_in_parseSygus234	= { FOLLOW_EOF_in_parseSygus234_bits, 1	};
683
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SET_LOGIC_TOK_in_command262  */
684
static	ANTLR3_BITWORD FOLLOW_SET_LOGIC_TOK_in_command262_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
685
static  ANTLR3_BITSET_LIST FOLLOW_SET_LOGIC_TOK_in_command262	= { FOLLOW_SET_LOGIC_TOK_in_command262_bits, 2	};
686
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_command264  */
687
static	ANTLR3_BITWORD FOLLOW_symbol_in_command264_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
688
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_command264	= { FOLLOW_symbol_in_command264_bits, 1	};
689
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SET_INFO_TOK_in_command283  */
690
static	ANTLR3_BITWORD FOLLOW_SET_INFO_TOK_in_command283_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000100) };
691
static  ANTLR3_BITSET_LIST FOLLOW_SET_INFO_TOK_in_command283	= { FOLLOW_SET_INFO_TOK_in_command283_bits, 2	};
692
/** Bitset defining follow set for error recovery in rule state: FOLLOW_setInfoInternal_in_command285  */
693
static	ANTLR3_BITWORD FOLLOW_setInfoInternal_in_command285_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
694
static  ANTLR3_BITSET_LIST FOLLOW_setInfoInternal_in_command285	= { FOLLOW_setInfoInternal_in_command285_bits, 1	};
695
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_INFO_TOK_in_command298  */
696
static	ANTLR3_BITWORD FOLLOW_GET_INFO_TOK_in_command298_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000100) };
697
static  ANTLR3_BITSET_LIST FOLLOW_GET_INFO_TOK_in_command298	= { FOLLOW_GET_INFO_TOK_in_command298_bits, 2	};
698
/** Bitset defining follow set for error recovery in rule state: FOLLOW_KEYWORD_in_command300  */
699
static	ANTLR3_BITWORD FOLLOW_KEYWORD_in_command300_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
700
static  ANTLR3_BITSET_LIST FOLLOW_KEYWORD_in_command300	= { FOLLOW_KEYWORD_in_command300_bits, 1	};
701
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SET_OPTION_TOK_in_command318  */
702
static	ANTLR3_BITWORD FOLLOW_SET_OPTION_TOK_in_command318_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000100) };
703
static  ANTLR3_BITSET_LIST FOLLOW_SET_OPTION_TOK_in_command318	= { FOLLOW_SET_OPTION_TOK_in_command318_bits, 2	};
704
/** Bitset defining follow set for error recovery in rule state: FOLLOW_setOptionInternal_in_command320  */
705
static	ANTLR3_BITWORD FOLLOW_setOptionInternal_in_command320_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
706
static  ANTLR3_BITSET_LIST FOLLOW_setOptionInternal_in_command320	= { FOLLOW_setOptionInternal_in_command320_bits, 1	};
707
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_OPTION_TOK_in_command333  */
708
static	ANTLR3_BITWORD FOLLOW_GET_OPTION_TOK_in_command333_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000100) };
709
static  ANTLR3_BITSET_LIST FOLLOW_GET_OPTION_TOK_in_command333	= { FOLLOW_GET_OPTION_TOK_in_command333_bits, 2	};
710
/** Bitset defining follow set for error recovery in rule state: FOLLOW_KEYWORD_in_command335  */
711
static	ANTLR3_BITWORD FOLLOW_KEYWORD_in_command335_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
712
static  ANTLR3_BITSET_LIST FOLLOW_KEYWORD_in_command335	= { FOLLOW_KEYWORD_in_command335_bits, 1	};
713
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_SORT_TOK_in_command353  */
714
static	ANTLR3_BITWORD FOLLOW_DECLARE_SORT_TOK_in_command353_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
715
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_SORT_TOK_in_command353	= { FOLLOW_DECLARE_SORT_TOK_in_command353_bits, 2	};
716
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_command365  */
717
static	ANTLR3_BITWORD FOLLOW_symbol_in_command365_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000040) };
718
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_command365	= { FOLLOW_symbol_in_command365_bits, 2	};
719
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_command380  */
720
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_command380_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
721
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_command380	= { FOLLOW_INTEGER_LITERAL_in_command380_bits, 1	};
722
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DEFINE_SORT_TOK_in_command398  */
723
static	ANTLR3_BITWORD FOLLOW_DEFINE_SORT_TOK_in_command398_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
724
static  ANTLR3_BITSET_LIST FOLLOW_DEFINE_SORT_TOK_in_command398	= { FOLLOW_DEFINE_SORT_TOK_in_command398_bits, 2	};
725
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_command406  */
726
static	ANTLR3_BITWORD FOLLOW_symbol_in_command406_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
727
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_command406	= { FOLLOW_symbol_in_command406_bits, 2	};
728
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_command419  */
729
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_command419_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090000) };
730
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_command419	= { FOLLOW_LPAREN_TOK_in_command419_bits, 2	};
731
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbolList_in_command421  */
732
static	ANTLR3_BITWORD FOLLOW_symbolList_in_command421_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
733
static  ANTLR3_BITSET_LIST FOLLOW_symbolList_in_command421	= { FOLLOW_symbolList_in_command421_bits, 2	};
734
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_command424  */
735
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_command424_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
736
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_command424	= { FOLLOW_RPAREN_TOK_in_command424_bits, 2	};
737
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_command436  */
738
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_command436_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
739
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_command436	= { FOLLOW_sortSymbol_in_command436_bits, 1	};
740
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_FUN_TOK_in_command455  */
741
static	ANTLR3_BITWORD FOLLOW_DECLARE_FUN_TOK_in_command455_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
742
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_FUN_TOK_in_command455	= { FOLLOW_DECLARE_FUN_TOK_in_command455_bits, 2	};
743
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_command463  */
744
static	ANTLR3_BITWORD FOLLOW_symbol_in_command463_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
745
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_command463	= { FOLLOW_symbol_in_command463_bits, 2	};
746
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_command476  */
747
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_command476_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090400) };
748
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_command476	= { FOLLOW_LPAREN_TOK_in_command476_bits, 2	};
749
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortList_in_command478  */
750
static	ANTLR3_BITWORD FOLLOW_sortList_in_command478_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
751
static  ANTLR3_BITSET_LIST FOLLOW_sortList_in_command478	= { FOLLOW_sortList_in_command478_bits, 2	};
752
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_command481  */
753
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_command481_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
754
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_command481	= { FOLLOW_RPAREN_TOK_in_command481_bits, 2	};
755
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_command487  */
756
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_command487_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
757
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_command487	= { FOLLOW_sortSymbol_in_command487_bits, 1	};
758
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DEFINE_FUN_TOK_in_command506  */
759
static	ANTLR3_BITWORD FOLLOW_DEFINE_FUN_TOK_in_command506_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
760
static  ANTLR3_BITSET_LIST FOLLOW_DEFINE_FUN_TOK_in_command506	= { FOLLOW_DEFINE_FUN_TOK_in_command506_bits, 2	};
761
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_command514  */
762
static	ANTLR3_BITWORD FOLLOW_symbol_in_command514_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
763
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_command514	= { FOLLOW_symbol_in_command514_bits, 2	};
764
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_command527  */
765
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_command527_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
766
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_command527	= { FOLLOW_LPAREN_TOK_in_command527_bits, 2	};
767
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortedVarList_in_command529  */
768
static	ANTLR3_BITWORD FOLLOW_sortedVarList_in_command529_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
769
static  ANTLR3_BITSET_LIST FOLLOW_sortedVarList_in_command529	= { FOLLOW_sortedVarList_in_command529_bits, 2	};
770
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_command532  */
771
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_command532_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
772
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_command532	= { FOLLOW_RPAREN_TOK_in_command532_bits, 2	};
773
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_command538  */
774
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_command538_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
775
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_command538	= { FOLLOW_sortSymbol_in_command538_bits, 2	};
776
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_command551  */
777
static	ANTLR3_BITWORD FOLLOW_term_in_command551_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
778
static  ANTLR3_BITSET_LIST FOLLOW_term_in_command551	= { FOLLOW_term_in_command551_bits, 1	};
779
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_DATATYPE_TOK_in_command564  */
780
static	ANTLR3_BITWORD FOLLOW_DECLARE_DATATYPE_TOK_in_command564_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
781
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_DATATYPE_TOK_in_command564	= { FOLLOW_DECLARE_DATATYPE_TOK_in_command564_bits, 2	};
782
/** Bitset defining follow set for error recovery in rule state: FOLLOW_datatypeDefCommand_in_command566  */
783
static	ANTLR3_BITWORD FOLLOW_datatypeDefCommand_in_command566_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
784
static  ANTLR3_BITSET_LIST FOLLOW_datatypeDefCommand_in_command566	= { FOLLOW_datatypeDefCommand_in_command566_bits, 1	};
785
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_DATATYPES_TOK_in_command573  */
786
static	ANTLR3_BITWORD FOLLOW_DECLARE_DATATYPES_TOK_in_command573_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
787
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_DATATYPES_TOK_in_command573	= { FOLLOW_DECLARE_DATATYPES_TOK_in_command573_bits, 2	};
788
/** Bitset defining follow set for error recovery in rule state: FOLLOW_datatypesDefCommand_in_command575  */
789
static	ANTLR3_BITWORD FOLLOW_datatypesDefCommand_in_command575_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
790
static  ANTLR3_BITSET_LIST FOLLOW_datatypesDefCommand_in_command575	= { FOLLOW_datatypesDefCommand_in_command575_bits, 1	};
791
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_VALUE_TOK_in_command588  */
792
static	ANTLR3_BITWORD FOLLOW_GET_VALUE_TOK_in_command588_bits[]	= { ANTLR3_UINT64_LIT(0xFFFFFFFFFFFFFFF0), ANTLR3_UINT64_LIT(0x000000FFFFFFFFFF) };
793
static  ANTLR3_BITSET_LIST FOLLOW_GET_VALUE_TOK_in_command588	= { FOLLOW_GET_VALUE_TOK_in_command588_bits, 2	};
794
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_command598  */
795
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_command598_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
796
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_command598	= { FOLLOW_LPAREN_TOK_in_command598_bits, 2	};
797
/** Bitset defining follow set for error recovery in rule state: FOLLOW_termList_in_command600  */
798
static	ANTLR3_BITWORD FOLLOW_termList_in_command600_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
799
static  ANTLR3_BITSET_LIST FOLLOW_termList_in_command600	= { FOLLOW_termList_in_command600_bits, 2	};
800
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_command603  */
801
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_command603_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
802
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_command603	= { FOLLOW_RPAREN_TOK_in_command603_bits, 1	};
803
/** Bitset defining follow set for error recovery in rule state: FOLLOW_set_in_command619  */
804
static	ANTLR3_BITWORD FOLLOW_set_in_command619_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
805
static  ANTLR3_BITSET_LIST FOLLOW_set_in_command619	= { FOLLOW_set_in_command619_bits, 1	};
806
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_ASSIGNMENT_TOK_in_command646  */
807
static	ANTLR3_BITWORD FOLLOW_GET_ASSIGNMENT_TOK_in_command646_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
808
static  ANTLR3_BITSET_LIST FOLLOW_GET_ASSIGNMENT_TOK_in_command646	= { FOLLOW_GET_ASSIGNMENT_TOK_in_command646_bits, 1	};
809
/** Bitset defining follow set for error recovery in rule state: FOLLOW_ASSERT_TOK_in_command666  */
810
static	ANTLR3_BITWORD FOLLOW_ASSERT_TOK_in_command666_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
811
static  ANTLR3_BITSET_LIST FOLLOW_ASSERT_TOK_in_command666	= { FOLLOW_ASSERT_TOK_in_command666_bits, 2	};
812
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_command680  */
813
static	ANTLR3_BITWORD FOLLOW_term_in_command680_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
814
static  ANTLR3_BITSET_LIST FOLLOW_term_in_command680	= { FOLLOW_term_in_command680_bits, 1	};
815
/** Bitset defining follow set for error recovery in rule state: FOLLOW_CHECK_SAT_TOK_in_command699  */
816
static	ANTLR3_BITWORD FOLLOW_CHECK_SAT_TOK_in_command699_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002002), ANTLR3_UINT64_LIT(0x0000002405010442) };
817
static  ANTLR3_BITSET_LIST FOLLOW_CHECK_SAT_TOK_in_command699	= { FOLLOW_CHECK_SAT_TOK_in_command699_bits, 2	};
818
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_command715  */
819
static	ANTLR3_BITWORD FOLLOW_term_in_command715_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
820
static  ANTLR3_BITSET_LIST FOLLOW_term_in_command715	= { FOLLOW_term_in_command715_bits, 1	};
821
/** Bitset defining follow set for error recovery in rule state: FOLLOW_CHECK_SAT_ASSUMING_TOK_in_command756  */
822
static	ANTLR3_BITWORD FOLLOW_CHECK_SAT_ASSUMING_TOK_in_command756_bits[]	= { ANTLR3_UINT64_LIT(0xFFFFFFFFFFFFFFF0), ANTLR3_UINT64_LIT(0x000000FFFFFFFFFF) };
823
static  ANTLR3_BITSET_LIST FOLLOW_CHECK_SAT_ASSUMING_TOK_in_command756	= { FOLLOW_CHECK_SAT_ASSUMING_TOK_in_command756_bits, 2	};
824
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_command766  */
825
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_command766_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
826
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_command766	= { FOLLOW_LPAREN_TOK_in_command766_bits, 2	};
827
/** Bitset defining follow set for error recovery in rule state: FOLLOW_termList_in_command768  */
828
static	ANTLR3_BITWORD FOLLOW_termList_in_command768_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
829
static  ANTLR3_BITSET_LIST FOLLOW_termList_in_command768	= { FOLLOW_termList_in_command768_bits, 2	};
830
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_command771  */
831
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_command771_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
832
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_command771	= { FOLLOW_RPAREN_TOK_in_command771_bits, 1	};
833
/** Bitset defining follow set for error recovery in rule state: FOLLOW_set_in_command787  */
834
static	ANTLR3_BITWORD FOLLOW_set_in_command787_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
835
static  ANTLR3_BITSET_LIST FOLLOW_set_in_command787	= { FOLLOW_set_in_command787_bits, 1	};
836
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_ASSERTIONS_TOK_in_command814  */
837
static	ANTLR3_BITWORD FOLLOW_GET_ASSERTIONS_TOK_in_command814_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
838
static  ANTLR3_BITSET_LIST FOLLOW_GET_ASSERTIONS_TOK_in_command814	= { FOLLOW_GET_ASSERTIONS_TOK_in_command814_bits, 1	};
839
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_PROOF_TOK_in_command834  */
840
static	ANTLR3_BITWORD FOLLOW_GET_PROOF_TOK_in_command834_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
841
static  ANTLR3_BITSET_LIST FOLLOW_GET_PROOF_TOK_in_command834	= { FOLLOW_GET_PROOF_TOK_in_command834_bits, 1	};
842
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_UNSAT_ASSUMPTIONS_TOK_in_command854  */
843
static	ANTLR3_BITWORD FOLLOW_GET_UNSAT_ASSUMPTIONS_TOK_in_command854_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
844
static  ANTLR3_BITSET_LIST FOLLOW_GET_UNSAT_ASSUMPTIONS_TOK_in_command854	= { FOLLOW_GET_UNSAT_ASSUMPTIONS_TOK_in_command854_bits, 1	};
845
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_UNSAT_CORE_TOK_in_command874  */
846
static	ANTLR3_BITWORD FOLLOW_GET_UNSAT_CORE_TOK_in_command874_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
847
static  ANTLR3_BITSET_LIST FOLLOW_GET_UNSAT_CORE_TOK_in_command874	= { FOLLOW_GET_UNSAT_CORE_TOK_in_command874_bits, 1	};
848
/** Bitset defining follow set for error recovery in rule state: FOLLOW_PUSH_TOK_in_command894  */
849
static	ANTLR3_BITWORD FOLLOW_PUSH_TOK_in_command894_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000040) };
850
static  ANTLR3_BITSET_LIST FOLLOW_PUSH_TOK_in_command894	= { FOLLOW_PUSH_TOK_in_command894_bits, 2	};
851
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_command912  */
852
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_command912_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
853
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_command912	= { FOLLOW_INTEGER_LITERAL_in_command912_bits, 1	};
854
/** Bitset defining follow set for error recovery in rule state: FOLLOW_POP_TOK_in_command936  */
855
static	ANTLR3_BITWORD FOLLOW_POP_TOK_in_command936_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000040) };
856
static  ANTLR3_BITSET_LIST FOLLOW_POP_TOK_in_command936	= { FOLLOW_POP_TOK_in_command936_bits, 2	};
857
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_command954  */
858
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_command954_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
859
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_command954	= { FOLLOW_INTEGER_LITERAL_in_command954_bits, 1	};
860
/** Bitset defining follow set for error recovery in rule state: FOLLOW_EXIT_TOK_in_command988  */
861
static	ANTLR3_BITWORD FOLLOW_EXIT_TOK_in_command988_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
862
static  ANTLR3_BITSET_LIST FOLLOW_EXIT_TOK_in_command988	= { FOLLOW_EXIT_TOK_in_command988_bits, 1	};
863
/** Bitset defining follow set for error recovery in rule state: FOLLOW_smt25Command_in_command1007  */
864
static	ANTLR3_BITWORD FOLLOW_smt25Command_in_command1007_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
865
static  ANTLR3_BITSET_LIST FOLLOW_smt25Command_in_command1007	= { FOLLOW_smt25Command_in_command1007_bits, 1	};
866
/** Bitset defining follow set for error recovery in rule state: FOLLOW_extendedCommand_in_command1021  */
867
static	ANTLR3_BITWORD FOLLOW_extendedCommand_in_command1021_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
868
static  ANTLR3_BITSET_LIST FOLLOW_extendedCommand_in_command1021	= { FOLLOW_extendedCommand_in_command1021_bits, 1	};
869
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SIMPLE_SYMBOL_in_command1041  */
870
static	ANTLR3_BITWORD FOLLOW_SIMPLE_SYMBOL_in_command1041_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
871
static  ANTLR3_BITSET_LIST FOLLOW_SIMPLE_SYMBOL_in_command1041	= { FOLLOW_SIMPLE_SYMBOL_in_command1041_bits, 1	};
872
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_VAR_TOK_in_sygusCommand1075  */
873
static	ANTLR3_BITWORD FOLLOW_DECLARE_VAR_TOK_in_sygusCommand1075_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
874
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_VAR_TOK_in_sygusCommand1075	= { FOLLOW_DECLARE_VAR_TOK_in_sygusCommand1075_bits, 2	};
875
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_sygusCommand1083  */
876
static	ANTLR3_BITWORD FOLLOW_symbol_in_sygusCommand1083_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
877
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_sygusCommand1083	= { FOLLOW_symbol_in_sygusCommand1083_bits, 2	};
878
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_sygusCommand1096  */
879
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_sygusCommand1096_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
880
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_sygusCommand1096	= { FOLLOW_sortSymbol_in_sygusCommand1096_bits, 1	};
881
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SYNTH_FUN_TOK_in_sygusCommand1117  */
882
static	ANTLR3_BITWORD FOLLOW_SYNTH_FUN_TOK_in_sygusCommand1117_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
883
static  ANTLR3_BITSET_LIST FOLLOW_SYNTH_FUN_TOK_in_sygusCommand1117	= { FOLLOW_SYNTH_FUN_TOK_in_sygusCommand1117_bits, 2	};
884
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SYNTH_INV_TOK_in_sygusCommand1129  */
885
static	ANTLR3_BITWORD FOLLOW_SYNTH_INV_TOK_in_sygusCommand1129_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
886
static  ANTLR3_BITSET_LIST FOLLOW_SYNTH_INV_TOK_in_sygusCommand1129	= { FOLLOW_SYNTH_INV_TOK_in_sygusCommand1129_bits, 2	};
887
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_sygusCommand1149  */
888
static	ANTLR3_BITWORD FOLLOW_symbol_in_sygusCommand1149_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
889
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_sygusCommand1149	= { FOLLOW_symbol_in_sygusCommand1149_bits, 2	};
890
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusCommand1156  */
891
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusCommand1156_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
892
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusCommand1156	= { FOLLOW_LPAREN_TOK_in_sygusCommand1156_bits, 2	};
893
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortedVarList_in_sygusCommand1158  */
894
static	ANTLR3_BITWORD FOLLOW_sortedVarList_in_sygusCommand1158_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
895
static  ANTLR3_BITSET_LIST FOLLOW_sortedVarList_in_sygusCommand1158	= { FOLLOW_sortedVarList_in_sygusCommand1158_bits, 2	};
896
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sygusCommand1161  */
897
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sygusCommand1161_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000002001010400) };
898
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sygusCommand1161	= { FOLLOW_RPAREN_TOK_in_sygusCommand1161_bits, 2	};
899
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_sygusCommand1169  */
900
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_sygusCommand1169_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000400) };
901
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_sygusCommand1169	= { FOLLOW_sortSymbol_in_sygusCommand1169_bits, 2	};
902
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sygusGrammar_in_sygusCommand1221  */
903
static	ANTLR3_BITWORD FOLLOW_sygusGrammar_in_sygusCommand1221_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
904
static  ANTLR3_BITSET_LIST FOLLOW_sygusGrammar_in_sygusCommand1221	= { FOLLOW_sygusGrammar_in_sygusCommand1221_bits, 1	};
905
/** Bitset defining follow set for error recovery in rule state: FOLLOW_CONSTRAINT_TOK_in_sygusCommand1247  */
906
static	ANTLR3_BITWORD FOLLOW_CONSTRAINT_TOK_in_sygusCommand1247_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
907
static  ANTLR3_BITSET_LIST FOLLOW_CONSTRAINT_TOK_in_sygusCommand1247	= { FOLLOW_CONSTRAINT_TOK_in_sygusCommand1247_bits, 2	};
908
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_sygusCommand1255  */
909
static	ANTLR3_BITWORD FOLLOW_term_in_sygusCommand1255_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
910
static  ANTLR3_BITSET_LIST FOLLOW_term_in_sygusCommand1255	= { FOLLOW_term_in_sygusCommand1255_bits, 1	};
911
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INV_CONSTRAINT_TOK_in_sygusCommand1274  */
912
static	ANTLR3_BITWORD FOLLOW_INV_CONSTRAINT_TOK_in_sygusCommand1274_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
913
static  ANTLR3_BITSET_LIST FOLLOW_INV_CONSTRAINT_TOK_in_sygusCommand1274	= { FOLLOW_INV_CONSTRAINT_TOK_in_sygusCommand1274_bits, 2	};
914
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_sygusCommand1282  */
915
static	ANTLR3_BITWORD FOLLOW_symbol_in_sygusCommand1282_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000002001010000) };
916
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_sygusCommand1282	= { FOLLOW_symbol_in_sygusCommand1282_bits, 2	};
917
/** Bitset defining follow set for error recovery in rule state: FOLLOW_CHECK_SYNTH_TOK_in_sygusCommand1306  */
918
static	ANTLR3_BITWORD FOLLOW_CHECK_SYNTH_TOK_in_sygusCommand1306_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
919
static  ANTLR3_BITSET_LIST FOLLOW_CHECK_SYNTH_TOK_in_sygusCommand1306	= { FOLLOW_CHECK_SYNTH_TOK_in_sygusCommand1306_bits, 1	};
920
/** Bitset defining follow set for error recovery in rule state: FOLLOW_command_in_sygusCommand1324  */
921
static	ANTLR3_BITWORD FOLLOW_command_in_sygusCommand1324_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
922
static  ANTLR3_BITSET_LIST FOLLOW_command_in_sygusCommand1324	= { FOLLOW_command_in_sygusCommand1324_bits, 1	};
923
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusGrammar1352  */
924
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusGrammar1352_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
925
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusGrammar1352	= { FOLLOW_LPAREN_TOK_in_sygusGrammar1352_bits, 2	};
926
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusGrammar1367  */
927
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusGrammar1367_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
928
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusGrammar1367	= { FOLLOW_LPAREN_TOK_in_sygusGrammar1367_bits, 2	};
929
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_sygusGrammar1369  */
930
static	ANTLR3_BITWORD FOLLOW_symbol_in_sygusGrammar1369_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
931
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_sygusGrammar1369	= { FOLLOW_symbol_in_sygusGrammar1369_bits, 2	};
932
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_sygusGrammar1376  */
933
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_sygusGrammar1376_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
934
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_sygusGrammar1376	= { FOLLOW_sortSymbol_in_sygusGrammar1376_bits, 2	};
935
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusGrammar1401  */
936
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusGrammar1401_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
937
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusGrammar1401	= { FOLLOW_LPAREN_TOK_in_sygusGrammar1401_bits, 2	};
938
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sygusGrammar1417  */
939
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sygusGrammar1417_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
940
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sygusGrammar1417	= { FOLLOW_RPAREN_TOK_in_sygusGrammar1417_bits, 2	};
941
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sygusGrammar1434  */
942
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sygusGrammar1434_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
943
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sygusGrammar1434	= { FOLLOW_RPAREN_TOK_in_sygusGrammar1434_bits, 2	};
944
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusGrammar1445  */
945
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusGrammar1445_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
946
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusGrammar1445	= { FOLLOW_LPAREN_TOK_in_sygusGrammar1445_bits, 2	};
947
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusGrammar1455  */
948
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusGrammar1455_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
949
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusGrammar1455	= { FOLLOW_LPAREN_TOK_in_sygusGrammar1455_bits, 2	};
950
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_sygusGrammar1461  */
951
static	ANTLR3_BITWORD FOLLOW_symbol_in_sygusGrammar1461_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
952
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_sygusGrammar1461	= { FOLLOW_symbol_in_sygusGrammar1461_bits, 2	};
953
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_sygusGrammar1464  */
954
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_sygusGrammar1464_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
955
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_sygusGrammar1464	= { FOLLOW_sortSymbol_in_sygusGrammar1464_bits, 2	};
956
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusGrammar1477  */
957
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusGrammar1477_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
958
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusGrammar1477	= { FOLLOW_LPAREN_TOK_in_sygusGrammar1477_bits, 2	};
959
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_sygusGrammar1491  */
960
static	ANTLR3_BITWORD FOLLOW_term_in_sygusGrammar1491_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405090442) };
961
static  ANTLR3_BITSET_LIST FOLLOW_term_in_sygusGrammar1491	= { FOLLOW_term_in_sygusGrammar1491_bits, 2	};
962
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusGrammar1504  */
963
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusGrammar1504_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000008000000) };
964
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusGrammar1504	= { FOLLOW_LPAREN_TOK_in_sygusGrammar1504_bits, 2	};
965
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SYGUS_CONSTANT_TOK_in_sygusGrammar1506  */
966
static	ANTLR3_BITWORD FOLLOW_SYGUS_CONSTANT_TOK_in_sygusGrammar1506_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
967
static  ANTLR3_BITSET_LIST FOLLOW_SYGUS_CONSTANT_TOK_in_sygusGrammar1506	= { FOLLOW_SYGUS_CONSTANT_TOK_in_sygusGrammar1506_bits, 2	};
968
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_sygusGrammar1508  */
969
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_sygusGrammar1508_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
970
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_sygusGrammar1508	= { FOLLOW_sortSymbol_in_sygusGrammar1508_bits, 2	};
971
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sygusGrammar1511  */
972
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sygusGrammar1511_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405090442) };
973
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sygusGrammar1511	= { FOLLOW_RPAREN_TOK_in_sygusGrammar1511_bits, 2	};
974
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sygusGrammar1523  */
975
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sygusGrammar1523_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000010000000) };
976
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sygusGrammar1523	= { FOLLOW_LPAREN_TOK_in_sygusGrammar1523_bits, 2	};
977
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SYGUS_VARIABLE_TOK_in_sygusGrammar1525  */
978
static	ANTLR3_BITWORD FOLLOW_SYGUS_VARIABLE_TOK_in_sygusGrammar1525_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
979
static  ANTLR3_BITSET_LIST FOLLOW_SYGUS_VARIABLE_TOK_in_sygusGrammar1525	= { FOLLOW_SYGUS_VARIABLE_TOK_in_sygusGrammar1525_bits, 2	};
980
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_sygusGrammar1527  */
981
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_sygusGrammar1527_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
982
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_sygusGrammar1527	= { FOLLOW_sortSymbol_in_sygusGrammar1527_bits, 2	};
983
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sygusGrammar1530  */
984
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sygusGrammar1530_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405090442) };
985
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sygusGrammar1530	= { FOLLOW_RPAREN_TOK_in_sygusGrammar1530_bits, 2	};
986
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sygusGrammar1545  */
987
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sygusGrammar1545_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
988
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sygusGrammar1545	= { FOLLOW_RPAREN_TOK_in_sygusGrammar1545_bits, 2	};
989
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sygusGrammar1551  */
990
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sygusGrammar1551_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
991
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sygusGrammar1551	= { FOLLOW_RPAREN_TOK_in_sygusGrammar1551_bits, 2	};
992
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sygusGrammar1566  */
993
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sygusGrammar1566_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
994
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sygusGrammar1566	= { FOLLOW_RPAREN_TOK_in_sygusGrammar1566_bits, 1	};
995
/** Bitset defining follow set for error recovery in rule state: FOLLOW_KEYWORD_in_setInfoInternal1587  */
996
static	ANTLR3_BITWORD FOLLOW_KEYWORD_in_setInfoInternal1587_bits[]	= { ANTLR3_UINT64_LIT(0xE7724F2241062020), ANTLR3_UINT64_LIT(0x0000002007B7C542) };
997
static  ANTLR3_BITSET_LIST FOLLOW_KEYWORD_in_setInfoInternal1587	= { FOLLOW_KEYWORD_in_setInfoInternal1587_bits, 2	};
998
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbolicExpr_in_setInfoInternal1589  */
999
static	ANTLR3_BITWORD FOLLOW_symbolicExpr_in_setInfoInternal1589_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1000
static  ANTLR3_BITSET_LIST FOLLOW_symbolicExpr_in_setInfoInternal1589	= { FOLLOW_symbolicExpr_in_setInfoInternal1589_bits, 1	};
1001
/** Bitset defining follow set for error recovery in rule state: FOLLOW_keyword_in_setOptionInternal1615  */
1002
static	ANTLR3_BITWORD FOLLOW_keyword_in_setOptionInternal1615_bits[]	= { ANTLR3_UINT64_LIT(0xE7724F2241062020), ANTLR3_UINT64_LIT(0x0000002007B7C542) };
1003
static  ANTLR3_BITSET_LIST FOLLOW_keyword_in_setOptionInternal1615	= { FOLLOW_keyword_in_setOptionInternal1615_bits, 2	};
1004
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbolicExpr_in_setOptionInternal1618  */
1005
static	ANTLR3_BITWORD FOLLOW_symbolicExpr_in_setOptionInternal1618_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1006
static  ANTLR3_BITSET_LIST FOLLOW_symbolicExpr_in_setOptionInternal1618	= { FOLLOW_symbolicExpr_in_setOptionInternal1618_bits, 1	};
1007
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_CONST_TOK_in_smt25Command1650  */
1008
static	ANTLR3_BITWORD FOLLOW_DECLARE_CONST_TOK_in_smt25Command1650_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1009
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_CONST_TOK_in_smt25Command1650	= { FOLLOW_DECLARE_CONST_TOK_in_smt25Command1650_bits, 2	};
1010
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_smt25Command1658  */
1011
static	ANTLR3_BITWORD FOLLOW_symbol_in_smt25Command1658_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1012
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_smt25Command1658	= { FOLLOW_symbol_in_smt25Command1658_bits, 2	};
1013
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_smt25Command1671  */
1014
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_smt25Command1671_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1015
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_smt25Command1671	= { FOLLOW_sortSymbol_in_smt25Command1671_bits, 1	};
1016
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_MODEL_TOK_in_smt25Command1691  */
1017
static	ANTLR3_BITWORD FOLLOW_GET_MODEL_TOK_in_smt25Command1691_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1018
static  ANTLR3_BITSET_LIST FOLLOW_GET_MODEL_TOK_in_smt25Command1691	= { FOLLOW_GET_MODEL_TOK_in_smt25Command1691_bits, 1	};
1019
/** Bitset defining follow set for error recovery in rule state: FOLLOW_ECHO_TOK_in_smt25Command1712  */
1020
static	ANTLR3_BITWORD FOLLOW_ECHO_TOK_in_smt25Command1712_bits[]	= { ANTLR3_UINT64_LIT(0xE7724F2241062022), ANTLR3_UINT64_LIT(0x0000002007B7C142) };
1021
static  ANTLR3_BITSET_LIST FOLLOW_ECHO_TOK_in_smt25Command1712	= { FOLLOW_ECHO_TOK_in_smt25Command1712_bits, 2	};
1022
/** Bitset defining follow set for error recovery in rule state: FOLLOW_simpleSymbolicExpr_in_smt25Command1720  */
1023
static	ANTLR3_BITWORD FOLLOW_simpleSymbolicExpr_in_smt25Command1720_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1024
static  ANTLR3_BITSET_LIST FOLLOW_simpleSymbolicExpr_in_smt25Command1720	= { FOLLOW_simpleSymbolicExpr_in_smt25Command1720_bits, 1	};
1025
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RESET_TOK_in_smt25Command1756  */
1026
static	ANTLR3_BITWORD FOLLOW_RESET_TOK_in_smt25Command1756_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1027
static  ANTLR3_BITSET_LIST FOLLOW_RESET_TOK_in_smt25Command1756	= { FOLLOW_RESET_TOK_in_smt25Command1756_bits, 1	};
1028
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RESET_ASSERTIONS_TOK_in_smt25Command1774  */
1029
static	ANTLR3_BITWORD FOLLOW_RESET_ASSERTIONS_TOK_in_smt25Command1774_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1030
static  ANTLR3_BITSET_LIST FOLLOW_RESET_ASSERTIONS_TOK_in_smt25Command1774	= { FOLLOW_RESET_ASSERTIONS_TOK_in_smt25Command1774_bits, 1	};
1031
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DEFINE_FUN_REC_TOK_in_smt25Command1786  */
1032
static	ANTLR3_BITWORD FOLLOW_DEFINE_FUN_REC_TOK_in_smt25Command1786_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1033
static  ANTLR3_BITSET_LIST FOLLOW_DEFINE_FUN_REC_TOK_in_smt25Command1786	= { FOLLOW_DEFINE_FUN_REC_TOK_in_smt25Command1786_bits, 2	};
1034
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_smt25Command1798  */
1035
static	ANTLR3_BITWORD FOLLOW_symbol_in_smt25Command1798_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1036
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_smt25Command1798	= { FOLLOW_symbol_in_smt25Command1798_bits, 2	};
1037
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_smt25Command1811  */
1038
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_smt25Command1811_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1039
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_smt25Command1811	= { FOLLOW_LPAREN_TOK_in_smt25Command1811_bits, 2	};
1040
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortedVarList_in_smt25Command1813  */
1041
static	ANTLR3_BITWORD FOLLOW_sortedVarList_in_smt25Command1813_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1042
static  ANTLR3_BITSET_LIST FOLLOW_sortedVarList_in_smt25Command1813	= { FOLLOW_sortedVarList_in_smt25Command1813_bits, 2	};
1043
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_smt25Command1816  */
1044
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_smt25Command1816_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1045
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_smt25Command1816	= { FOLLOW_RPAREN_TOK_in_smt25Command1816_bits, 2	};
1046
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_smt25Command1822  */
1047
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_smt25Command1822_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1048
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_smt25Command1822	= { FOLLOW_sortSymbol_in_smt25Command1822_bits, 2	};
1049
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_smt25Command1835  */
1050
static	ANTLR3_BITWORD FOLLOW_term_in_smt25Command1835_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1051
static  ANTLR3_BITSET_LIST FOLLOW_term_in_smt25Command1835	= { FOLLOW_term_in_smt25Command1835_bits, 1	};
1052
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DEFINE_FUNS_REC_TOK_in_smt25Command1848  */
1053
static	ANTLR3_BITWORD FOLLOW_DEFINE_FUNS_REC_TOK_in_smt25Command1848_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1054
static  ANTLR3_BITSET_LIST FOLLOW_DEFINE_FUNS_REC_TOK_in_smt25Command1848	= { FOLLOW_DEFINE_FUNS_REC_TOK_in_smt25Command1848_bits, 2	};
1055
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_smt25Command1860  */
1056
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_smt25Command1860_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1057
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_smt25Command1860	= { FOLLOW_LPAREN_TOK_in_smt25Command1860_bits, 2	};
1058
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_smt25Command1868  */
1059
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_smt25Command1868_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1060
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_smt25Command1868	= { FOLLOW_LPAREN_TOK_in_smt25Command1868_bits, 2	};
1061
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_smt25Command1876  */
1062
static	ANTLR3_BITWORD FOLLOW_symbol_in_smt25Command1876_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1063
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_smt25Command1876	= { FOLLOW_symbol_in_smt25Command1876_bits, 2	};
1064
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_smt25Command1893  */
1065
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_smt25Command1893_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1066
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_smt25Command1893	= { FOLLOW_LPAREN_TOK_in_smt25Command1893_bits, 2	};
1067
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortedVarList_in_smt25Command1895  */
1068
static	ANTLR3_BITWORD FOLLOW_sortedVarList_in_smt25Command1895_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1069
static  ANTLR3_BITSET_LIST FOLLOW_sortedVarList_in_smt25Command1895	= { FOLLOW_sortedVarList_in_smt25Command1895_bits, 2	};
1070
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_smt25Command1898  */
1071
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_smt25Command1898_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1072
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_smt25Command1898	= { FOLLOW_RPAREN_TOK_in_smt25Command1898_bits, 2	};
1073
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_smt25Command1906  */
1074
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_smt25Command1906_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1075
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_smt25Command1906	= { FOLLOW_sortSymbol_in_smt25Command1906_bits, 2	};
1076
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_smt25Command1923  */
1077
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_smt25Command1923_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1078
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_smt25Command1923	= { FOLLOW_RPAREN_TOK_in_smt25Command1923_bits, 2	};
1079
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_smt25Command1936  */
1080
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_smt25Command1936_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1081
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_smt25Command1936	= { FOLLOW_RPAREN_TOK_in_smt25Command1936_bits, 2	};
1082
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_smt25Command1942  */
1083
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_smt25Command1942_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1084
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_smt25Command1942	= { FOLLOW_LPAREN_TOK_in_smt25Command1942_bits, 2	};
1085
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_smt25Command1960  */
1086
static	ANTLR3_BITWORD FOLLOW_term_in_smt25Command1960_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405090442) };
1087
static  ANTLR3_BITSET_LIST FOLLOW_term_in_smt25Command1960	= { FOLLOW_term_in_smt25Command1960_bits, 2	};
1088
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_smt25Command1980  */
1089
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_smt25Command1980_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1090
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_smt25Command1980	= { FOLLOW_RPAREN_TOK_in_smt25Command1980_bits, 1	};
1091
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_CODATATYPE_TOK_in_extendedCommand2011  */
1092
static	ANTLR3_BITWORD FOLLOW_DECLARE_CODATATYPE_TOK_in_extendedCommand2011_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1093
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_CODATATYPE_TOK_in_extendedCommand2011	= { FOLLOW_DECLARE_CODATATYPE_TOK_in_extendedCommand2011_bits, 2	};
1094
/** Bitset defining follow set for error recovery in rule state: FOLLOW_datatypeDefCommand_in_extendedCommand2013  */
1095
static	ANTLR3_BITWORD FOLLOW_datatypeDefCommand_in_extendedCommand2013_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1096
static  ANTLR3_BITSET_LIST FOLLOW_datatypeDefCommand_in_extendedCommand2013	= { FOLLOW_datatypeDefCommand_in_extendedCommand2013_bits, 1	};
1097
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_CODATATYPES_TOK_in_extendedCommand2020  */
1098
static	ANTLR3_BITWORD FOLLOW_DECLARE_CODATATYPES_TOK_in_extendedCommand2020_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1099
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_CODATATYPES_TOK_in_extendedCommand2020	= { FOLLOW_DECLARE_CODATATYPES_TOK_in_extendedCommand2020_bits, 2	};
1100
/** Bitset defining follow set for error recovery in rule state: FOLLOW_datatypesDefCommand_in_extendedCommand2022  */
1101
static	ANTLR3_BITWORD FOLLOW_datatypesDefCommand_in_extendedCommand2022_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1102
static  ANTLR3_BITSET_LIST FOLLOW_datatypesDefCommand_in_extendedCommand2022	= { FOLLOW_datatypesDefCommand_in_extendedCommand2022_bits, 1	};
1103
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_SORTS_TOK_in_extendedCommand2037  */
1104
static	ANTLR3_BITWORD FOLLOW_DECLARE_SORTS_TOK_in_extendedCommand2037_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1105
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_SORTS_TOK_in_extendedCommand2037	= { FOLLOW_DECLARE_SORTS_TOK_in_extendedCommand2037_bits, 2	};
1106
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_extendedCommand2049  */
1107
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_extendedCommand2049_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1108
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_extendedCommand2049	= { FOLLOW_LPAREN_TOK_in_extendedCommand2049_bits, 2	};
1109
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_extendedCommand2057  */
1110
static	ANTLR3_BITWORD FOLLOW_symbol_in_extendedCommand2057_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090000) };
1111
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_extendedCommand2057	= { FOLLOW_symbol_in_extendedCommand2057_bits, 2	};
1112
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_extendedCommand2079  */
1113
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_extendedCommand2079_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1114
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_extendedCommand2079	= { FOLLOW_RPAREN_TOK_in_extendedCommand2079_bits, 1	};
1115
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_FUNS_TOK_in_extendedCommand2092  */
1116
static	ANTLR3_BITWORD FOLLOW_DECLARE_FUNS_TOK_in_extendedCommand2092_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1117
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_FUNS_TOK_in_extendedCommand2092	= { FOLLOW_DECLARE_FUNS_TOK_in_extendedCommand2092_bits, 2	};
1118
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_extendedCommand2106  */
1119
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_extendedCommand2106_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1120
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_extendedCommand2106	= { FOLLOW_LPAREN_TOK_in_extendedCommand2106_bits, 2	};
1121
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_extendedCommand2114  */
1122
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_extendedCommand2114_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1123
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_extendedCommand2114	= { FOLLOW_LPAREN_TOK_in_extendedCommand2114_bits, 2	};
1124
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_extendedCommand2116  */
1125
static	ANTLR3_BITWORD FOLLOW_symbol_in_extendedCommand2116_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1126
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_extendedCommand2116	= { FOLLOW_symbol_in_extendedCommand2116_bits, 2	};
1127
/** Bitset defining follow set for error recovery in rule state: FOLLOW_nonemptySortList_in_extendedCommand2133  */
1128
static	ANTLR3_BITWORD FOLLOW_nonemptySortList_in_extendedCommand2133_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1129
static  ANTLR3_BITSET_LIST FOLLOW_nonemptySortList_in_extendedCommand2133	= { FOLLOW_nonemptySortList_in_extendedCommand2133_bits, 2	};
1130
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_extendedCommand2136  */
1131
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_extendedCommand2136_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1132
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_extendedCommand2136	= { FOLLOW_RPAREN_TOK_in_extendedCommand2136_bits, 2	};
1133
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_extendedCommand2157  */
1134
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_extendedCommand2157_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1135
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_extendedCommand2157	= { FOLLOW_RPAREN_TOK_in_extendedCommand2157_bits, 1	};
1136
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_PREDS_TOK_in_extendedCommand2169  */
1137
static	ANTLR3_BITWORD FOLLOW_DECLARE_PREDS_TOK_in_extendedCommand2169_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1138
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_PREDS_TOK_in_extendedCommand2169	= { FOLLOW_DECLARE_PREDS_TOK_in_extendedCommand2169_bits, 2	};
1139
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_extendedCommand2183  */
1140
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_extendedCommand2183_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1141
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_extendedCommand2183	= { FOLLOW_LPAREN_TOK_in_extendedCommand2183_bits, 2	};
1142
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_extendedCommand2191  */
1143
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_extendedCommand2191_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1144
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_extendedCommand2191	= { FOLLOW_LPAREN_TOK_in_extendedCommand2191_bits, 2	};
1145
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_extendedCommand2193  */
1146
static	ANTLR3_BITWORD FOLLOW_symbol_in_extendedCommand2193_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090400) };
1147
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_extendedCommand2193	= { FOLLOW_symbol_in_extendedCommand2193_bits, 2	};
1148
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortList_in_extendedCommand2210  */
1149
static	ANTLR3_BITWORD FOLLOW_sortList_in_extendedCommand2210_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1150
static  ANTLR3_BITSET_LIST FOLLOW_sortList_in_extendedCommand2210	= { FOLLOW_sortList_in_extendedCommand2210_bits, 2	};
1151
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_extendedCommand2213  */
1152
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_extendedCommand2213_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1153
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_extendedCommand2213	= { FOLLOW_RPAREN_TOK_in_extendedCommand2213_bits, 2	};
1154
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_extendedCommand2234  */
1155
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_extendedCommand2234_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1156
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_extendedCommand2234	= { FOLLOW_RPAREN_TOK_in_extendedCommand2234_bits, 1	};
1157
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DEFINE_TOK_in_extendedCommand2247  */
1158
static	ANTLR3_BITWORD FOLLOW_DEFINE_TOK_in_extendedCommand2247_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1159
static  ANTLR3_BITSET_LIST FOLLOW_DEFINE_TOK_in_extendedCommand2247	= { FOLLOW_DEFINE_TOK_in_extendedCommand2247_bits, 2	};
1160
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_extendedCommand2264  */
1161
static	ANTLR3_BITWORD FOLLOW_symbol_in_extendedCommand2264_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1162
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_extendedCommand2264	= { FOLLOW_symbol_in_extendedCommand2264_bits, 2	};
1163
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_extendedCommand2281  */
1164
static	ANTLR3_BITWORD FOLLOW_term_in_extendedCommand2281_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1165
static  ANTLR3_BITSET_LIST FOLLOW_term_in_extendedCommand2281	= { FOLLOW_term_in_extendedCommand2281_bits, 1	};
1166
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_extendedCommand2305  */
1167
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_extendedCommand2305_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1168
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_extendedCommand2305	= { FOLLOW_LPAREN_TOK_in_extendedCommand2305_bits, 2	};
1169
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_extendedCommand2313  */
1170
static	ANTLR3_BITWORD FOLLOW_symbol_in_extendedCommand2313_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1171
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_extendedCommand2313	= { FOLLOW_symbol_in_extendedCommand2313_bits, 2	};
1172
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortedVarList_in_extendedCommand2330  */
1173
static	ANTLR3_BITWORD FOLLOW_sortedVarList_in_extendedCommand2330_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1174
static  ANTLR3_BITSET_LIST FOLLOW_sortedVarList_in_extendedCommand2330	= { FOLLOW_sortedVarList_in_extendedCommand2330_bits, 2	};
1175
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_extendedCommand2333  */
1176
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_extendedCommand2333_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1177
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_extendedCommand2333	= { FOLLOW_RPAREN_TOK_in_extendedCommand2333_bits, 2	};
1178
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_extendedCommand2349  */
1179
static	ANTLR3_BITWORD FOLLOW_term_in_extendedCommand2349_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1180
static  ANTLR3_BITSET_LIST FOLLOW_term_in_extendedCommand2349	= { FOLLOW_term_in_extendedCommand2349_bits, 1	};
1181
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DEFINE_CONST_TOK_in_extendedCommand2375  */
1182
static	ANTLR3_BITWORD FOLLOW_DEFINE_CONST_TOK_in_extendedCommand2375_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1183
static  ANTLR3_BITSET_LIST FOLLOW_DEFINE_CONST_TOK_in_extendedCommand2375	= { FOLLOW_DEFINE_CONST_TOK_in_extendedCommand2375_bits, 2	};
1184
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_extendedCommand2383  */
1185
static	ANTLR3_BITWORD FOLLOW_symbol_in_extendedCommand2383_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1186
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_extendedCommand2383	= { FOLLOW_symbol_in_extendedCommand2383_bits, 2	};
1187
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_extendedCommand2396  */
1188
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_extendedCommand2396_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1189
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_extendedCommand2396	= { FOLLOW_sortSymbol_in_extendedCommand2396_bits, 2	};
1190
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_extendedCommand2409  */
1191
static	ANTLR3_BITWORD FOLLOW_term_in_extendedCommand2409_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1192
static  ANTLR3_BITSET_LIST FOLLOW_term_in_extendedCommand2409	= { FOLLOW_term_in_extendedCommand2409_bits, 1	};
1193
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SIMPLIFY_TOK_in_extendedCommand2423  */
1194
static	ANTLR3_BITWORD FOLLOW_SIMPLIFY_TOK_in_extendedCommand2423_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1195
static  ANTLR3_BITSET_LIST FOLLOW_SIMPLIFY_TOK_in_extendedCommand2423	= { FOLLOW_SIMPLIFY_TOK_in_extendedCommand2423_bits, 2	};
1196
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_extendedCommand2431  */
1197
static	ANTLR3_BITWORD FOLLOW_term_in_extendedCommand2431_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1198
static  ANTLR3_BITSET_LIST FOLLOW_term_in_extendedCommand2431	= { FOLLOW_term_in_extendedCommand2431_bits, 1	};
1199
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_QE_TOK_in_extendedCommand2444  */
1200
static	ANTLR3_BITWORD FOLLOW_GET_QE_TOK_in_extendedCommand2444_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1201
static  ANTLR3_BITSET_LIST FOLLOW_GET_QE_TOK_in_extendedCommand2444	= { FOLLOW_GET_QE_TOK_in_extendedCommand2444_bits, 2	};
1202
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_extendedCommand2452  */
1203
static	ANTLR3_BITWORD FOLLOW_term_in_extendedCommand2452_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1204
static  ANTLR3_BITSET_LIST FOLLOW_term_in_extendedCommand2452	= { FOLLOW_term_in_extendedCommand2452_bits, 1	};
1205
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_QE_DISJUNCT_TOK_in_extendedCommand2465  */
1206
static	ANTLR3_BITWORD FOLLOW_GET_QE_DISJUNCT_TOK_in_extendedCommand2465_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1207
static  ANTLR3_BITSET_LIST FOLLOW_GET_QE_DISJUNCT_TOK_in_extendedCommand2465	= { FOLLOW_GET_QE_DISJUNCT_TOK_in_extendedCommand2465_bits, 2	};
1208
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_extendedCommand2473  */
1209
static	ANTLR3_BITWORD FOLLOW_term_in_extendedCommand2473_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1210
static  ANTLR3_BITSET_LIST FOLLOW_term_in_extendedCommand2473	= { FOLLOW_term_in_extendedCommand2473_bits, 1	};
1211
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_ABDUCT_TOK_in_extendedCommand2486  */
1212
static	ANTLR3_BITWORD FOLLOW_GET_ABDUCT_TOK_in_extendedCommand2486_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1213
static  ANTLR3_BITSET_LIST FOLLOW_GET_ABDUCT_TOK_in_extendedCommand2486	= { FOLLOW_GET_ABDUCT_TOK_in_extendedCommand2486_bits, 2	};
1214
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_extendedCommand2494  */
1215
static	ANTLR3_BITWORD FOLLOW_symbol_in_extendedCommand2494_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1216
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_extendedCommand2494	= { FOLLOW_symbol_in_extendedCommand2494_bits, 2	};
1217
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_extendedCommand2501  */
1218
static	ANTLR3_BITWORD FOLLOW_term_in_extendedCommand2501_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000400) };
1219
static  ANTLR3_BITSET_LIST FOLLOW_term_in_extendedCommand2501	= { FOLLOW_term_in_extendedCommand2501_bits, 2	};
1220
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sygusGrammar_in_extendedCommand2516  */
1221
static	ANTLR3_BITWORD FOLLOW_sygusGrammar_in_extendedCommand2516_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1222
static  ANTLR3_BITSET_LIST FOLLOW_sygusGrammar_in_extendedCommand2516	= { FOLLOW_sygusGrammar_in_extendedCommand2516_bits, 1	};
1223
/** Bitset defining follow set for error recovery in rule state: FOLLOW_GET_INTERPOL_TOK_in_extendedCommand2536  */
1224
static	ANTLR3_BITWORD FOLLOW_GET_INTERPOL_TOK_in_extendedCommand2536_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1225
static  ANTLR3_BITSET_LIST FOLLOW_GET_INTERPOL_TOK_in_extendedCommand2536	= { FOLLOW_GET_INTERPOL_TOK_in_extendedCommand2536_bits, 2	};
1226
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_extendedCommand2544  */
1227
static	ANTLR3_BITWORD FOLLOW_symbol_in_extendedCommand2544_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1228
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_extendedCommand2544	= { FOLLOW_symbol_in_extendedCommand2544_bits, 2	};
1229
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_extendedCommand2551  */
1230
static	ANTLR3_BITWORD FOLLOW_term_in_extendedCommand2551_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000400) };
1231
static  ANTLR3_BITSET_LIST FOLLOW_term_in_extendedCommand2551	= { FOLLOW_term_in_extendedCommand2551_bits, 2	};
1232
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sygusGrammar_in_extendedCommand2566  */
1233
static	ANTLR3_BITWORD FOLLOW_sygusGrammar_in_extendedCommand2566_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1234
static  ANTLR3_BITSET_LIST FOLLOW_sygusGrammar_in_extendedCommand2566	= { FOLLOW_sygusGrammar_in_extendedCommand2566_bits, 1	};
1235
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECLARE_HEAP_in_extendedCommand2586  */
1236
static	ANTLR3_BITWORD FOLLOW_DECLARE_HEAP_in_extendedCommand2586_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1237
static  ANTLR3_BITSET_LIST FOLLOW_DECLARE_HEAP_in_extendedCommand2586	= { FOLLOW_DECLARE_HEAP_in_extendedCommand2586_bits, 2	};
1238
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_extendedCommand2588  */
1239
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_extendedCommand2588_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1240
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_extendedCommand2588	= { FOLLOW_LPAREN_TOK_in_extendedCommand2588_bits, 2	};
1241
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_extendedCommand2594  */
1242
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_extendedCommand2594_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1243
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_extendedCommand2594	= { FOLLOW_sortSymbol_in_extendedCommand2594_bits, 2	};
1244
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_extendedCommand2601  */
1245
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_extendedCommand2601_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1246
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_extendedCommand2601	= { FOLLOW_sortSymbol_in_extendedCommand2601_bits, 2	};
1247
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_extendedCommand2614  */
1248
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_extendedCommand2614_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1249
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_extendedCommand2614	= { FOLLOW_RPAREN_TOK_in_extendedCommand2614_bits, 1	};
1250
/** Bitset defining follow set for error recovery in rule state: FOLLOW_BLOCK_MODEL_TOK_in_extendedCommand2620  */
1251
static	ANTLR3_BITWORD FOLLOW_BLOCK_MODEL_TOK_in_extendedCommand2620_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1252
static  ANTLR3_BITSET_LIST FOLLOW_BLOCK_MODEL_TOK_in_extendedCommand2620	= { FOLLOW_BLOCK_MODEL_TOK_in_extendedCommand2620_bits, 1	};
1253
/** Bitset defining follow set for error recovery in rule state: FOLLOW_BLOCK_MODEL_VALUES_TOK_in_extendedCommand2635  */
1254
static	ANTLR3_BITWORD FOLLOW_BLOCK_MODEL_VALUES_TOK_in_extendedCommand2635_bits[]	= { ANTLR3_UINT64_LIT(0xFFFFFFFFFFFFFFF0), ANTLR3_UINT64_LIT(0x000000FFFFFFFFFF) };
1255
static  ANTLR3_BITSET_LIST FOLLOW_BLOCK_MODEL_VALUES_TOK_in_extendedCommand2635	= { FOLLOW_BLOCK_MODEL_VALUES_TOK_in_extendedCommand2635_bits, 2	};
1256
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_extendedCommand2645  */
1257
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_extendedCommand2645_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1258
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_extendedCommand2645	= { FOLLOW_LPAREN_TOK_in_extendedCommand2645_bits, 2	};
1259
/** Bitset defining follow set for error recovery in rule state: FOLLOW_termList_in_extendedCommand2647  */
1260
static	ANTLR3_BITWORD FOLLOW_termList_in_extendedCommand2647_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1261
static  ANTLR3_BITSET_LIST FOLLOW_termList_in_extendedCommand2647	= { FOLLOW_termList_in_extendedCommand2647_bits, 2	};
1262
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_extendedCommand2650  */
1263
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_extendedCommand2650_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1264
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_extendedCommand2650	= { FOLLOW_RPAREN_TOK_in_extendedCommand2650_bits, 1	};
1265
/** Bitset defining follow set for error recovery in rule state: FOLLOW_set_in_extendedCommand2666  */
1266
static	ANTLR3_BITWORD FOLLOW_set_in_extendedCommand2666_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1267
static  ANTLR3_BITSET_LIST FOLLOW_set_in_extendedCommand2666	= { FOLLOW_set_in_extendedCommand2666_bits, 1	};
1268
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_datatypeDefCommand2702  */
1269
static	ANTLR3_BITWORD FOLLOW_symbol_in_datatypeDefCommand2702_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1270
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_datatypeDefCommand2702	= { FOLLOW_symbol_in_datatypeDefCommand2702_bits, 2	};
1271
/** Bitset defining follow set for error recovery in rule state: FOLLOW_datatypesDef_in_datatypeDefCommand2709  */
1272
static	ANTLR3_BITWORD FOLLOW_datatypesDef_in_datatypeDefCommand2709_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1273
static  ANTLR3_BITSET_LIST FOLLOW_datatypesDef_in_datatypeDefCommand2709	= { FOLLOW_datatypesDef_in_datatypeDefCommand2709_bits, 1	};
1274
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypesDefCommand2732  */
1275
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypesDefCommand2732_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1276
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypesDefCommand2732	= { FOLLOW_LPAREN_TOK_in_datatypesDefCommand2732_bits, 2	};
1277
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypesDefCommand2740  */
1278
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypesDefCommand2740_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1279
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypesDefCommand2740	= { FOLLOW_LPAREN_TOK_in_datatypesDefCommand2740_bits, 2	};
1280
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_datatypesDefCommand2742  */
1281
static	ANTLR3_BITWORD FOLLOW_symbol_in_datatypesDefCommand2742_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000040) };
1282
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_datatypesDefCommand2742	= { FOLLOW_symbol_in_datatypesDefCommand2742_bits, 2	};
1283
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_datatypesDefCommand2747  */
1284
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_datatypesDefCommand2747_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1285
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_datatypesDefCommand2747	= { FOLLOW_INTEGER_LITERAL_in_datatypesDefCommand2747_bits, 2	};
1286
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypesDefCommand2749  */
1287
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypesDefCommand2749_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1288
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypesDefCommand2749	= { FOLLOW_RPAREN_TOK_in_datatypesDefCommand2749_bits, 2	};
1289
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypesDefCommand2764  */
1290
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypesDefCommand2764_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1291
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypesDefCommand2764	= { FOLLOW_RPAREN_TOK_in_datatypesDefCommand2764_bits, 2	};
1292
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypesDefCommand2768  */
1293
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypesDefCommand2768_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1294
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypesDefCommand2768	= { FOLLOW_LPAREN_TOK_in_datatypesDefCommand2768_bits, 2	};
1295
/** Bitset defining follow set for error recovery in rule state: FOLLOW_datatypesDef_in_datatypesDefCommand2772  */
1296
static	ANTLR3_BITWORD FOLLOW_datatypesDef_in_datatypesDefCommand2772_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1297
static  ANTLR3_BITSET_LIST FOLLOW_datatypesDef_in_datatypesDefCommand2772	= { FOLLOW_datatypesDef_in_datatypesDefCommand2772_bits, 2	};
1298
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypesDefCommand2777  */
1299
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypesDefCommand2777_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1300
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypesDefCommand2777	= { FOLLOW_RPAREN_TOK_in_datatypesDefCommand2777_bits, 1	};
1301
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypesDef2806  */
1302
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypesDef2806_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000002400) };
1303
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypesDef2806	= { FOLLOW_LPAREN_TOK_in_datatypesDef2806_bits, 2	};
1304
/** Bitset defining follow set for error recovery in rule state: FOLLOW_PAR_TOK_in_datatypesDef2816  */
1305
static	ANTLR3_BITWORD FOLLOW_PAR_TOK_in_datatypesDef2816_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1306
static  ANTLR3_BITSET_LIST FOLLOW_PAR_TOK_in_datatypesDef2816	= { FOLLOW_PAR_TOK_in_datatypesDef2816_bits, 2	};
1307
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypesDef2820  */
1308
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypesDef2820_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090000) };
1309
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypesDef2820	= { FOLLOW_LPAREN_TOK_in_datatypesDef2820_bits, 2	};
1310
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_datatypesDef2830  */
1311
static	ANTLR3_BITWORD FOLLOW_symbol_in_datatypesDef2830_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090000) };
1312
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_datatypesDef2830	= { FOLLOW_symbol_in_datatypesDef2830_bits, 2	};
1313
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypesDef2858  */
1314
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypesDef2858_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1315
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypesDef2858	= { FOLLOW_RPAREN_TOK_in_datatypesDef2858_bits, 2	};
1316
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypesDef2868  */
1317
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypesDef2868_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1318
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypesDef2868	= { FOLLOW_LPAREN_TOK_in_datatypesDef2868_bits, 2	};
1319
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypesDef2878  */
1320
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypesDef2878_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1321
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypesDef2878	= { FOLLOW_LPAREN_TOK_in_datatypesDef2878_bits, 2	};
1322
/** Bitset defining follow set for error recovery in rule state: FOLLOW_constructorDef_in_datatypesDef2880  */
1323
static	ANTLR3_BITWORD FOLLOW_constructorDef_in_datatypesDef2880_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1324
static  ANTLR3_BITSET_LIST FOLLOW_constructorDef_in_datatypesDef2880	= { FOLLOW_constructorDef_in_datatypesDef2880_bits, 2	};
1325
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypesDef2883  */
1326
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypesDef2883_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1327
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypesDef2883	= { FOLLOW_RPAREN_TOK_in_datatypesDef2883_bits, 2	};
1328
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypesDef2894  */
1329
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypesDef2894_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1330
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypesDef2894	= { FOLLOW_RPAREN_TOK_in_datatypesDef2894_bits, 2	};
1331
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypesDef2914  */
1332
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypesDef2914_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1333
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypesDef2914	= { FOLLOW_LPAREN_TOK_in_datatypesDef2914_bits, 2	};
1334
/** Bitset defining follow set for error recovery in rule state: FOLLOW_constructorDef_in_datatypesDef2916  */
1335
static	ANTLR3_BITWORD FOLLOW_constructorDef_in_datatypesDef2916_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1336
static  ANTLR3_BITSET_LIST FOLLOW_constructorDef_in_datatypesDef2916	= { FOLLOW_constructorDef_in_datatypesDef2916_bits, 2	};
1337
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypesDef2919  */
1338
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypesDef2919_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1339
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypesDef2919	= { FOLLOW_RPAREN_TOK_in_datatypesDef2919_bits, 2	};
1340
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypesDef2934  */
1341
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypesDef2934_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000400) };
1342
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypesDef2934	= { FOLLOW_RPAREN_TOK_in_datatypesDef2934_bits, 2	};
1343
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_simpleSymbolicExprNoKeyword2959  */
1344
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_simpleSymbolicExprNoKeyword2959_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1345
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_simpleSymbolicExprNoKeyword2959	= { FOLLOW_INTEGER_LITERAL_in_simpleSymbolicExprNoKeyword2959_bits, 1	};
1346
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECIMAL_LITERAL_in_simpleSymbolicExprNoKeyword2971  */
1347
static	ANTLR3_BITWORD FOLLOW_DECIMAL_LITERAL_in_simpleSymbolicExprNoKeyword2971_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1348
static  ANTLR3_BITSET_LIST FOLLOW_DECIMAL_LITERAL_in_simpleSymbolicExprNoKeyword2971	= { FOLLOW_DECIMAL_LITERAL_in_simpleSymbolicExprNoKeyword2971_bits, 1	};
1349
/** Bitset defining follow set for error recovery in rule state: FOLLOW_HEX_LITERAL_in_simpleSymbolicExprNoKeyword2983  */
1350
static	ANTLR3_BITWORD FOLLOW_HEX_LITERAL_in_simpleSymbolicExprNoKeyword2983_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1351
static  ANTLR3_BITSET_LIST FOLLOW_HEX_LITERAL_in_simpleSymbolicExprNoKeyword2983	= { FOLLOW_HEX_LITERAL_in_simpleSymbolicExprNoKeyword2983_bits, 1	};
1352
/** Bitset defining follow set for error recovery in rule state: FOLLOW_BINARY_LITERAL_in_simpleSymbolicExprNoKeyword2995  */
1353
static	ANTLR3_BITWORD FOLLOW_BINARY_LITERAL_in_simpleSymbolicExprNoKeyword2995_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1354
static  ANTLR3_BITSET_LIST FOLLOW_BINARY_LITERAL_in_simpleSymbolicExprNoKeyword2995	= { FOLLOW_BINARY_LITERAL_in_simpleSymbolicExprNoKeyword2995_bits, 1	};
1355
/** Bitset defining follow set for error recovery in rule state: FOLLOW_str_in_simpleSymbolicExprNoKeyword3007  */
1356
static	ANTLR3_BITWORD FOLLOW_str_in_simpleSymbolicExprNoKeyword3007_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1357
static  ANTLR3_BITSET_LIST FOLLOW_str_in_simpleSymbolicExprNoKeyword3007	= { FOLLOW_str_in_simpleSymbolicExprNoKeyword3007_bits, 1	};
1358
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_simpleSymbolicExprNoKeyword3014  */
1359
static	ANTLR3_BITWORD FOLLOW_symbol_in_simpleSymbolicExprNoKeyword3014_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1360
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_simpleSymbolicExprNoKeyword3014	= { FOLLOW_symbol_in_simpleSymbolicExprNoKeyword3014_bits, 1	};
1361
/** Bitset defining follow set for error recovery in rule state: FOLLOW_set_in_simpleSymbolicExprNoKeyword3023  */
1362
static	ANTLR3_BITWORD FOLLOW_set_in_simpleSymbolicExprNoKeyword3023_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1363
static  ANTLR3_BITSET_LIST FOLLOW_set_in_simpleSymbolicExprNoKeyword3023	= { FOLLOW_set_in_simpleSymbolicExprNoKeyword3023_bits, 1	};
1364
/** Bitset defining follow set for error recovery in rule state: FOLLOW_KEYWORD_in_keyword3221  */
1365
static	ANTLR3_BITWORD FOLLOW_KEYWORD_in_keyword3221_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1366
static  ANTLR3_BITSET_LIST FOLLOW_KEYWORD_in_keyword3221	= { FOLLOW_KEYWORD_in_keyword3221_bits, 1	};
1367
/** Bitset defining follow set for error recovery in rule state: FOLLOW_simpleSymbolicExprNoKeyword_in_simpleSymbolicExpr3241  */
1368
static	ANTLR3_BITWORD FOLLOW_simpleSymbolicExprNoKeyword_in_simpleSymbolicExpr3241_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1369
static  ANTLR3_BITSET_LIST FOLLOW_simpleSymbolicExprNoKeyword_in_simpleSymbolicExpr3241	= { FOLLOW_simpleSymbolicExprNoKeyword_in_simpleSymbolicExpr3241_bits, 1	};
1370
/** Bitset defining follow set for error recovery in rule state: FOLLOW_KEYWORD_in_simpleSymbolicExpr3248  */
1371
static	ANTLR3_BITWORD FOLLOW_KEYWORD_in_simpleSymbolicExpr3248_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1372
static  ANTLR3_BITSET_LIST FOLLOW_KEYWORD_in_simpleSymbolicExpr3248	= { FOLLOW_KEYWORD_in_simpleSymbolicExpr3248_bits, 1	};
1373
/** Bitset defining follow set for error recovery in rule state: FOLLOW_simpleSymbolicExpr_in_symbolicExpr3269  */
1374
static	ANTLR3_BITWORD FOLLOW_simpleSymbolicExpr_in_symbolicExpr3269_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1375
static  ANTLR3_BITSET_LIST FOLLOW_simpleSymbolicExpr_in_symbolicExpr3269	= { FOLLOW_simpleSymbolicExpr_in_symbolicExpr3269_bits, 1	};
1376
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_symbolicExpr3282  */
1377
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_symbolicExpr3282_bits[]	= { ANTLR3_UINT64_LIT(0xE7724F2241062020), ANTLR3_UINT64_LIT(0x0000002007BFC542) };
1378
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_symbolicExpr3282	= { FOLLOW_LPAREN_TOK_in_symbolicExpr3282_bits, 2	};
1379
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbolicExpr_in_symbolicExpr3290  */
1380
static	ANTLR3_BITWORD FOLLOW_symbolicExpr_in_symbolicExpr3290_bits[]	= { ANTLR3_UINT64_LIT(0xE7724F2241062020), ANTLR3_UINT64_LIT(0x0000002007BFC542) };
1381
static  ANTLR3_BITSET_LIST FOLLOW_symbolicExpr_in_symbolicExpr3290	= { FOLLOW_symbolicExpr_in_symbolicExpr3290_bits, 2	};
1382
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_symbolicExpr3298  */
1383
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_symbolicExpr3298_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1384
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_symbolicExpr3298	= { FOLLOW_RPAREN_TOK_in_symbolicExpr3298_bits, 1	};
1385
/** Bitset defining follow set for error recovery in rule state: FOLLOW_termNonVariable_in_term3323  */
1386
static	ANTLR3_BITWORD FOLLOW_termNonVariable_in_term3323_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1387
static  ANTLR3_BITSET_LIST FOLLOW_termNonVariable_in_term3323	= { FOLLOW_termNonVariable_in_term3323_bits, 1	};
1388
/** Bitset defining follow set for error recovery in rule state: FOLLOW_qualIdentifier_in_term3335  */
1389
static	ANTLR3_BITWORD FOLLOW_qualIdentifier_in_term3335_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1390
static  ANTLR3_BITSET_LIST FOLLOW_qualIdentifier_in_term3335	= { FOLLOW_qualIdentifier_in_term3335_bits, 1	};
1391
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3363  */
1392
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3363_bits[]	= { ANTLR3_UINT64_LIT(0x0005000000000000) };
1393
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3363	= { FOLLOW_LPAREN_TOK_in_termNonVariable3363_bits, 1	};
1394
/** Bitset defining follow set for error recovery in rule state: FOLLOW_quantOp_in_termNonVariable3365  */
1395
static	ANTLR3_BITWORD FOLLOW_quantOp_in_termNonVariable3365_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1396
static  ANTLR3_BITSET_LIST FOLLOW_quantOp_in_termNonVariable3365	= { FOLLOW_quantOp_in_termNonVariable3365_bits, 2	};
1397
/** Bitset defining follow set for error recovery in rule state: FOLLOW_boundVarList_in_termNonVariable3378  */
1398
static	ANTLR3_BITWORD FOLLOW_boundVarList_in_termNonVariable3378_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1399
static  ANTLR3_BITSET_LIST FOLLOW_boundVarList_in_termNonVariable3378	= { FOLLOW_boundVarList_in_termNonVariable3378_bits, 2	};
1400
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3385  */
1401
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3385_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1402
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3385	= { FOLLOW_term_in_termNonVariable3385_bits, 2	};
1403
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3388  */
1404
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3388_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1405
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3388	= { FOLLOW_RPAREN_TOK_in_termNonVariable3388_bits, 1	};
1406
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3400  */
1407
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3400_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000200000) };
1408
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3400	= { FOLLOW_LPAREN_TOK_in_termNonVariable3400_bits, 1	};
1409
/** Bitset defining follow set for error recovery in rule state: FOLLOW_COMPREHENSION_TOK_in_termNonVariable3402  */
1410
static	ANTLR3_BITWORD FOLLOW_COMPREHENSION_TOK_in_termNonVariable3402_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1411
static  ANTLR3_BITSET_LIST FOLLOW_COMPREHENSION_TOK_in_termNonVariable3402	= { FOLLOW_COMPREHENSION_TOK_in_termNonVariable3402_bits, 2	};
1412
/** Bitset defining follow set for error recovery in rule state: FOLLOW_boundVarList_in_termNonVariable3414  */
1413
static	ANTLR3_BITWORD FOLLOW_boundVarList_in_termNonVariable3414_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1414
static  ANTLR3_BITSET_LIST FOLLOW_boundVarList_in_termNonVariable3414	= { FOLLOW_boundVarList_in_termNonVariable3414_bits, 2	};
1415
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3427  */
1416
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3427_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1417
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3427	= { FOLLOW_term_in_termNonVariable3427_bits, 2	};
1418
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3436  */
1419
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3436_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1420
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3436	= { FOLLOW_term_in_termNonVariable3436_bits, 2	};
1421
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3445  */
1422
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3445_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1423
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3445	= { FOLLOW_RPAREN_TOK_in_termNonVariable3445_bits, 1	};
1424
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3451  */
1425
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3451_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1426
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3451	= { FOLLOW_LPAREN_TOK_in_termNonVariable3451_bits, 2	};
1427
/** Bitset defining follow set for error recovery in rule state: FOLLOW_qualIdentifier_in_termNonVariable3453  */
1428
static	ANTLR3_BITWORD FOLLOW_qualIdentifier_in_termNonVariable3453_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1429
static  ANTLR3_BITSET_LIST FOLLOW_qualIdentifier_in_termNonVariable3453	= { FOLLOW_qualIdentifier_in_termNonVariable3453_bits, 2	};
1430
/** Bitset defining follow set for error recovery in rule state: FOLLOW_termList_in_termNonVariable3460  */
1431
static	ANTLR3_BITWORD FOLLOW_termList_in_termNonVariable3460_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1432
static  ANTLR3_BITSET_LIST FOLLOW_termList_in_termNonVariable3460	= { FOLLOW_termList_in_termNonVariable3460_bits, 2	};
1433
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3463  */
1434
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3463_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1435
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3463	= { FOLLOW_RPAREN_TOK_in_termNonVariable3463_bits, 1	};
1436
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3481  */
1437
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3481_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000200) };
1438
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3481	= { FOLLOW_LPAREN_TOK_in_termNonVariable3481_bits, 2	};
1439
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LET_TOK_in_termNonVariable3490  */
1440
static	ANTLR3_BITWORD FOLLOW_LET_TOK_in_termNonVariable3490_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1441
static  ANTLR3_BITSET_LIST FOLLOW_LET_TOK_in_termNonVariable3490	= { FOLLOW_LET_TOK_in_termNonVariable3490_bits, 2	};
1442
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3492  */
1443
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3492_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1444
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3492	= { FOLLOW_LPAREN_TOK_in_termNonVariable3492_bits, 2	};
1445
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3510  */
1446
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3510_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1447
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3510	= { FOLLOW_LPAREN_TOK_in_termNonVariable3510_bits, 2	};
1448
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_termNonVariable3512  */
1449
static	ANTLR3_BITWORD FOLLOW_symbol_in_termNonVariable3512_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1450
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_termNonVariable3512	= { FOLLOW_symbol_in_termNonVariable3512_bits, 2	};
1451
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3523  */
1452
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3523_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1453
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3523	= { FOLLOW_term_in_termNonVariable3523_bits, 2	};
1454
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3534  */
1455
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3534_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1456
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3534	= { FOLLOW_RPAREN_TOK_in_termNonVariable3534_bits, 2	};
1457
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3577  */
1458
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3577_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1459
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3577	= { FOLLOW_RPAREN_TOK_in_termNonVariable3577_bits, 2	};
1460
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3583  */
1461
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3583_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1462
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3583	= { FOLLOW_term_in_termNonVariable3583_bits, 2	};
1463
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3590  */
1464
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3590_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1465
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3590	= { FOLLOW_RPAREN_TOK_in_termNonVariable3590_bits, 1	};
1466
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3608  */
1467
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3608_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000800) };
1468
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3608	= { FOLLOW_LPAREN_TOK_in_termNonVariable3608_bits, 2	};
1469
/** Bitset defining follow set for error recovery in rule state: FOLLOW_MATCH_TOK_in_termNonVariable3610  */
1470
static	ANTLR3_BITWORD FOLLOW_MATCH_TOK_in_termNonVariable3610_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1471
static  ANTLR3_BITSET_LIST FOLLOW_MATCH_TOK_in_termNonVariable3610	= { FOLLOW_MATCH_TOK_in_termNonVariable3610_bits, 2	};
1472
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3612  */
1473
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3612_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1474
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3612	= { FOLLOW_term_in_termNonVariable3612_bits, 2	};
1475
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3621  */
1476
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3621_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1477
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3621	= { FOLLOW_LPAREN_TOK_in_termNonVariable3621_bits, 2	};
1478
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3642  */
1479
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3642_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1480
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3642	= { FOLLOW_LPAREN_TOK_in_termNonVariable3642_bits, 2	};
1481
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3644  */
1482
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3644_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1483
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3644	= { FOLLOW_LPAREN_TOK_in_termNonVariable3644_bits, 2	};
1484
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3646  */
1485
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3646_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090000) };
1486
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3646	= { FOLLOW_term_in_termNonVariable3646_bits, 2	};
1487
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_termNonVariable3670  */
1488
static	ANTLR3_BITWORD FOLLOW_symbol_in_termNonVariable3670_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090000) };
1489
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_termNonVariable3670	= { FOLLOW_symbol_in_termNonVariable3670_bits, 2	};
1490
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3694  */
1491
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3694_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1492
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3694	= { FOLLOW_RPAREN_TOK_in_termNonVariable3694_bits, 2	};
1493
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3696  */
1494
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3696_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1495
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3696	= { FOLLOW_term_in_termNonVariable3696_bits, 2	};
1496
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3709  */
1497
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3709_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1498
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3709	= { FOLLOW_RPAREN_TOK_in_termNonVariable3709_bits, 2	};
1499
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3726  */
1500
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3726_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1501
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3726	= { FOLLOW_LPAREN_TOK_in_termNonVariable3726_bits, 2	};
1502
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_termNonVariable3728  */
1503
static	ANTLR3_BITWORD FOLLOW_symbol_in_termNonVariable3728_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1504
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_termNonVariable3728	= { FOLLOW_symbol_in_termNonVariable3728_bits, 2	};
1505
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3741  */
1506
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3741_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1507
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3741	= { FOLLOW_term_in_termNonVariable3741_bits, 2	};
1508
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3754  */
1509
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3754_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1510
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3754	= { FOLLOW_RPAREN_TOK_in_termNonVariable3754_bits, 2	};
1511
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3767  */
1512
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3767_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1513
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3767	= { FOLLOW_RPAREN_TOK_in_termNonVariable3767_bits, 2	};
1514
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3769  */
1515
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3769_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1516
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3769	= { FOLLOW_RPAREN_TOK_in_termNonVariable3769_bits, 1	};
1517
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3785  */
1518
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3785_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000001000) };
1519
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3785	= { FOLLOW_LPAREN_TOK_in_termNonVariable3785_bits, 1	};
1520
/** Bitset defining follow set for error recovery in rule state: FOLLOW_ATTRIBUTE_TOK_in_termNonVariable3787  */
1521
static	ANTLR3_BITWORD FOLLOW_ATTRIBUTE_TOK_in_termNonVariable3787_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1522
static  ANTLR3_BITSET_LIST FOLLOW_ATTRIBUTE_TOK_in_termNonVariable3787	= { FOLLOW_ATTRIBUTE_TOK_in_termNonVariable3787_bits, 2	};
1523
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3789  */
1524
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3789_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000F80), ANTLR3_UINT64_LIT(0x0000000000000100) };
1525
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3789	= { FOLLOW_term_in_termNonVariable3789_bits, 2	};
1526
/** Bitset defining follow set for error recovery in rule state: FOLLOW_attribute_in_termNonVariable3798  */
1527
static	ANTLR3_BITWORD FOLLOW_attribute_in_termNonVariable3798_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000F80), ANTLR3_UINT64_LIT(0x0000000000080100) };
1528
static  ANTLR3_BITSET_LIST FOLLOW_attribute_in_termNonVariable3798	= { FOLLOW_attribute_in_termNonVariable3798_bits, 2	};
1529
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3816  */
1530
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3816_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1531
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3816	= { FOLLOW_RPAREN_TOK_in_termNonVariable3816_bits, 1	};
1532
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3834  */
1533
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3834_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000008) };
1534
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3834	= { FOLLOW_LPAREN_TOK_in_termNonVariable3834_bits, 2	};
1535
/** Bitset defining follow set for error recovery in rule state: FOLLOW_HO_LAMBDA_TOK_in_termNonVariable3836  */
1536
static	ANTLR3_BITWORD FOLLOW_HO_LAMBDA_TOK_in_termNonVariable3836_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1537
static  ANTLR3_BITSET_LIST FOLLOW_HO_LAMBDA_TOK_in_termNonVariable3836	= { FOLLOW_HO_LAMBDA_TOK_in_termNonVariable3836_bits, 2	};
1538
/** Bitset defining follow set for error recovery in rule state: FOLLOW_boundVarList_in_termNonVariable3848  */
1539
static	ANTLR3_BITWORD FOLLOW_boundVarList_in_termNonVariable3848_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1540
static  ANTLR3_BITSET_LIST FOLLOW_boundVarList_in_termNonVariable3848	= { FOLLOW_boundVarList_in_termNonVariable3848_bits, 2	};
1541
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3855  */
1542
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3855_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1543
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3855	= { FOLLOW_term_in_termNonVariable3855_bits, 2	};
1544
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3858  */
1545
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3858_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1546
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3858	= { FOLLOW_RPAREN_TOK_in_termNonVariable3858_bits, 1	};
1547
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3870  */
1548
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3870_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000400000000) };
1549
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3870	= { FOLLOW_LPAREN_TOK_in_termNonVariable3870_bits, 2	};
1550
/** Bitset defining follow set for error recovery in rule state: FOLLOW_TUPLE_CONST_TOK_in_termNonVariable3872  */
1551
static	ANTLR3_BITWORD FOLLOW_TUPLE_CONST_TOK_in_termNonVariable3872_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1552
static  ANTLR3_BITSET_LIST FOLLOW_TUPLE_CONST_TOK_in_termNonVariable3872	= { FOLLOW_TUPLE_CONST_TOK_in_termNonVariable3872_bits, 2	};
1553
/** Bitset defining follow set for error recovery in rule state: FOLLOW_termList_in_termNonVariable3874  */
1554
static	ANTLR3_BITWORD FOLLOW_termList_in_termNonVariable3874_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1555
static  ANTLR3_BITSET_LIST FOLLOW_termList_in_termNonVariable3874	= { FOLLOW_termList_in_termNonVariable3874_bits, 2	};
1556
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3877  */
1557
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3877_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1558
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3877	= { FOLLOW_RPAREN_TOK_in_termNonVariable3877_bits, 1	};
1559
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termNonVariable3887  */
1560
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termNonVariable3887_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000800000000) };
1561
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termNonVariable3887	= { FOLLOW_LPAREN_TOK_in_termNonVariable3887_bits, 2	};
1562
/** Bitset defining follow set for error recovery in rule state: FOLLOW_TUPLE_PROJECT_TOK_in_termNonVariable3889  */
1563
static	ANTLR3_BITWORD FOLLOW_TUPLE_PROJECT_TOK_in_termNonVariable3889_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1564
static  ANTLR3_BITSET_LIST FOLLOW_TUPLE_PROJECT_TOK_in_termNonVariable3889	= { FOLLOW_TUPLE_PROJECT_TOK_in_termNonVariable3889_bits, 2	};
1565
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termNonVariable3891  */
1566
static	ANTLR3_BITWORD FOLLOW_term_in_termNonVariable3891_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1567
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termNonVariable3891	= { FOLLOW_term_in_termNonVariable3891_bits, 2	};
1568
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termNonVariable3894  */
1569
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termNonVariable3894_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1570
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termNonVariable3894	= { FOLLOW_RPAREN_TOK_in_termNonVariable3894_bits, 1	};
1571
/** Bitset defining follow set for error recovery in rule state: FOLLOW_termAtomic_in_termNonVariable3910  */
1572
static	ANTLR3_BITWORD FOLLOW_termAtomic_in_termNonVariable3910_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1573
static  ANTLR3_BITSET_LIST FOLLOW_termAtomic_in_termNonVariable3910	= { FOLLOW_termAtomic_in_termNonVariable3910_bits, 1	};
1574
/** Bitset defining follow set for error recovery in rule state: FOLLOW_identifier_in_qualIdentifier3933  */
1575
static	ANTLR3_BITWORD FOLLOW_identifier_in_qualIdentifier3933_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1576
static  ANTLR3_BITSET_LIST FOLLOW_identifier_in_qualIdentifier3933	= { FOLLOW_identifier_in_qualIdentifier3933_bits, 1	};
1577
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_qualIdentifier3940  */
1578
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_qualIdentifier3940_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000040) };
1579
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_qualIdentifier3940	= { FOLLOW_LPAREN_TOK_in_qualIdentifier3940_bits, 1	};
1580
/** Bitset defining follow set for error recovery in rule state: FOLLOW_AS_TOK_in_qualIdentifier3942  */
1581
static	ANTLR3_BITWORD FOLLOW_AS_TOK_in_qualIdentifier3942_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000800000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1582
static  ANTLR3_BITSET_LIST FOLLOW_AS_TOK_in_qualIdentifier3942	= { FOLLOW_AS_TOK_in_qualIdentifier3942_bits, 2	};
1583
/** Bitset defining follow set for error recovery in rule state: FOLLOW_CONST_TOK_in_qualIdentifier3950  */
1584
static	ANTLR3_BITWORD FOLLOW_CONST_TOK_in_qualIdentifier3950_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1585
static  ANTLR3_BITSET_LIST FOLLOW_CONST_TOK_in_qualIdentifier3950	= { FOLLOW_CONST_TOK_in_qualIdentifier3950_bits, 2	};
1586
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_qualIdentifier3952  */
1587
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_qualIdentifier3952_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1588
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_qualIdentifier3952	= { FOLLOW_sortSymbol_in_qualIdentifier3952_bits, 2	};
1589
/** Bitset defining follow set for error recovery in rule state: FOLLOW_identifier_in_qualIdentifier3969  */
1590
static	ANTLR3_BITWORD FOLLOW_identifier_in_qualIdentifier3969_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1591
static  ANTLR3_BITSET_LIST FOLLOW_identifier_in_qualIdentifier3969	= { FOLLOW_identifier_in_qualIdentifier3969_bits, 2	};
1592
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_qualIdentifier3978  */
1593
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_qualIdentifier3978_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1594
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_qualIdentifier3978	= { FOLLOW_sortSymbol_in_qualIdentifier3978_bits, 2	};
1595
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_qualIdentifier3999  */
1596
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_qualIdentifier3999_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1597
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_qualIdentifier3999	= { FOLLOW_RPAREN_TOK_in_qualIdentifier3999_bits, 1	};
1598
/** Bitset defining follow set for error recovery in rule state: FOLLOW_functionName_in_identifier4018  */
1599
static	ANTLR3_BITWORD FOLLOW_functionName_in_identifier4018_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1600
static  ANTLR3_BITSET_LIST FOLLOW_functionName_in_identifier4018	= { FOLLOW_functionName_in_identifier4018_bits, 1	};
1601
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_identifier4030  */
1602
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_identifier4030_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000020) };
1603
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_identifier4030	= { FOLLOW_LPAREN_TOK_in_identifier4030_bits, 2	};
1604
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INDEX_TOK_in_identifier4032  */
1605
static	ANTLR3_BITWORD FOLLOW_INDEX_TOK_in_identifier4032_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000001A01000000) };
1606
static  ANTLR3_BITSET_LIST FOLLOW_INDEX_TOK_in_identifier4032	= { FOLLOW_INDEX_TOK_in_identifier4032_bits, 2	};
1607
/** Bitset defining follow set for error recovery in rule state: FOLLOW_TESTER_TOK_in_identifier4040  */
1608
static	ANTLR3_BITWORD FOLLOW_TESTER_TOK_in_identifier4040_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1609
static  ANTLR3_BITSET_LIST FOLLOW_TESTER_TOK_in_identifier4040	= { FOLLOW_TESTER_TOK_in_identifier4040_bits, 2	};
1610
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_identifier4042  */
1611
static	ANTLR3_BITWORD FOLLOW_term_in_identifier4042_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1612
static  ANTLR3_BITSET_LIST FOLLOW_term_in_identifier4042	= { FOLLOW_term_in_identifier4042_bits, 2	};
1613
/** Bitset defining follow set for error recovery in rule state: FOLLOW_TUPLE_SEL_TOK_in_identifier4059  */
1614
static	ANTLR3_BITWORD FOLLOW_TUPLE_SEL_TOK_in_identifier4059_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000040) };
1615
static  ANTLR3_BITSET_LIST FOLLOW_TUPLE_SEL_TOK_in_identifier4059	= { FOLLOW_TUPLE_SEL_TOK_in_identifier4059_bits, 2	};
1616
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_identifier4063  */
1617
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_identifier4063_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1618
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_identifier4063	= { FOLLOW_INTEGER_LITERAL_in_identifier4063_bits, 2	};
1619
/** Bitset defining follow set for error recovery in rule state: FOLLOW_TUPLE_PROJECT_TOK_in_identifier4079  */
1620
static	ANTLR3_BITWORD FOLLOW_TUPLE_PROJECT_TOK_in_identifier4079_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000040) };
1621
static  ANTLR3_BITSET_LIST FOLLOW_TUPLE_PROJECT_TOK_in_identifier4079	= { FOLLOW_TUPLE_PROJECT_TOK_in_identifier4079_bits, 2	};
1622
/** Bitset defining follow set for error recovery in rule state: FOLLOW_nonemptyNumeralList_in_identifier4081  */
1623
static	ANTLR3_BITWORD FOLLOW_nonemptyNumeralList_in_identifier4081_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1624
static  ANTLR3_BITSET_LIST FOLLOW_nonemptyNumeralList_in_identifier4081	= { FOLLOW_nonemptyNumeralList_in_identifier4081_bits, 2	};
1625
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SIMPLE_SYMBOL_in_identifier4100  */
1626
static	ANTLR3_BITWORD FOLLOW_SIMPLE_SYMBOL_in_identifier4100_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000040) };
1627
static  ANTLR3_BITSET_LIST FOLLOW_SIMPLE_SYMBOL_in_identifier4100	= { FOLLOW_SIMPLE_SYMBOL_in_identifier4100_bits, 2	};
1628
/** Bitset defining follow set for error recovery in rule state: FOLLOW_nonemptyNumeralList_in_identifier4102  */
1629
static	ANTLR3_BITWORD FOLLOW_nonemptyNumeralList_in_identifier4102_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1630
static  ANTLR3_BITSET_LIST FOLLOW_nonemptyNumeralList_in_identifier4102	= { FOLLOW_nonemptyNumeralList_in_identifier4102_bits, 2	};
1631
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_identifier4123  */
1632
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_identifier4123_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1633
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_identifier4123	= { FOLLOW_RPAREN_TOK_in_identifier4123_bits, 1	};
1634
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_termAtomic4150  */
1635
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_termAtomic4150_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1636
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_termAtomic4150	= { FOLLOW_INTEGER_LITERAL_in_termAtomic4150_bits, 1	};
1637
/** Bitset defining follow set for error recovery in rule state: FOLLOW_DECIMAL_LITERAL_in_termAtomic4162  */
1638
static	ANTLR3_BITWORD FOLLOW_DECIMAL_LITERAL_in_termAtomic4162_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1639
static  ANTLR3_BITSET_LIST FOLLOW_DECIMAL_LITERAL_in_termAtomic4162	= { FOLLOW_DECIMAL_LITERAL_in_termAtomic4162_bits, 1	};
1640
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_termAtomic4181  */
1641
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_termAtomic4181_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000020) };
1642
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_termAtomic4181	= { FOLLOW_LPAREN_TOK_in_termAtomic4181_bits, 2	};
1643
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INDEX_TOK_in_termAtomic4183  */
1644
static	ANTLR3_BITWORD FOLLOW_INDEX_TOK_in_termAtomic4183_bits[]	= { ANTLR3_UINT64_LIT(0x0000800000010000), ANTLR3_UINT64_LIT(0x0000000001000000) };
1645
static  ANTLR3_BITSET_LIST FOLLOW_INDEX_TOK_in_termAtomic4183	= { FOLLOW_INDEX_TOK_in_termAtomic4183_bits, 2	};
1646
/** Bitset defining follow set for error recovery in rule state: FOLLOW_EMP_TOK_in_termAtomic4191  */
1647
static	ANTLR3_BITWORD FOLLOW_EMP_TOK_in_termAtomic4191_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1648
static  ANTLR3_BITSET_LIST FOLLOW_EMP_TOK_in_termAtomic4191	= { FOLLOW_EMP_TOK_in_termAtomic4191_bits, 2	};
1649
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_termAtomic4199  */
1650
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_termAtomic4199_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1651
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_termAtomic4199	= { FOLLOW_sortSymbol_in_termAtomic4199_bits, 2	};
1652
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_termAtomic4208  */
1653
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_termAtomic4208_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1654
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_termAtomic4208	= { FOLLOW_sortSymbol_in_termAtomic4208_bits, 2	};
1655
/** Bitset defining follow set for error recovery in rule state: FOLLOW_CHAR_TOK_in_termAtomic4225  */
1656
static	ANTLR3_BITWORD FOLLOW_CHAR_TOK_in_termAtomic4225_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000002) };
1657
static  ANTLR3_BITSET_LIST FOLLOW_CHAR_TOK_in_termAtomic4225	= { FOLLOW_CHAR_TOK_in_termAtomic4225_bits, 2	};
1658
/** Bitset defining follow set for error recovery in rule state: FOLLOW_HEX_LITERAL_in_termAtomic4227  */
1659
static	ANTLR3_BITWORD FOLLOW_HEX_LITERAL_in_termAtomic4227_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1660
static  ANTLR3_BITSET_LIST FOLLOW_HEX_LITERAL_in_termAtomic4227	= { FOLLOW_HEX_LITERAL_in_termAtomic4227_bits, 2	};
1661
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SIMPLE_SYMBOL_in_termAtomic4246  */
1662
static	ANTLR3_BITWORD FOLLOW_SIMPLE_SYMBOL_in_termAtomic4246_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000040) };
1663
static  ANTLR3_BITSET_LIST FOLLOW_SIMPLE_SYMBOL_in_termAtomic4246	= { FOLLOW_SIMPLE_SYMBOL_in_termAtomic4246_bits, 2	};
1664
/** Bitset defining follow set for error recovery in rule state: FOLLOW_nonemptyNumeralList_in_termAtomic4248  */
1665
static	ANTLR3_BITWORD FOLLOW_nonemptyNumeralList_in_termAtomic4248_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1666
static  ANTLR3_BITSET_LIST FOLLOW_nonemptyNumeralList_in_termAtomic4248	= { FOLLOW_nonemptyNumeralList_in_termAtomic4248_bits, 2	};
1667
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_termAtomic4269  */
1668
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_termAtomic4269_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1669
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_termAtomic4269	= { FOLLOW_RPAREN_TOK_in_termAtomic4269_bits, 1	};
1670
/** Bitset defining follow set for error recovery in rule state: FOLLOW_HEX_LITERAL_in_termAtomic4279  */
1671
static	ANTLR3_BITWORD FOLLOW_HEX_LITERAL_in_termAtomic4279_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1672
static  ANTLR3_BITSET_LIST FOLLOW_HEX_LITERAL_in_termAtomic4279	= { FOLLOW_HEX_LITERAL_in_termAtomic4279_bits, 1	};
1673
/** Bitset defining follow set for error recovery in rule state: FOLLOW_BINARY_LITERAL_in_termAtomic4291  */
1674
static	ANTLR3_BITWORD FOLLOW_BINARY_LITERAL_in_termAtomic4291_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1675
static  ANTLR3_BITSET_LIST FOLLOW_BINARY_LITERAL_in_termAtomic4291	= { FOLLOW_BINARY_LITERAL_in_termAtomic4291_bits, 1	};
1676
/** Bitset defining follow set for error recovery in rule state: FOLLOW_str_in_termAtomic4307  */
1677
static	ANTLR3_BITWORD FOLLOW_str_in_termAtomic4307_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1678
static  ANTLR3_BITSET_LIST FOLLOW_str_in_termAtomic4307	= { FOLLOW_str_in_termAtomic4307_bits, 1	};
1679
/** Bitset defining follow set for error recovery in rule state: FOLLOW_TUPLE_CONST_TOK_in_termAtomic4324  */
1680
static	ANTLR3_BITWORD FOLLOW_TUPLE_CONST_TOK_in_termAtomic4324_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1681
static  ANTLR3_BITSET_LIST FOLLOW_TUPLE_CONST_TOK_in_termAtomic4324	= { FOLLOW_TUPLE_CONST_TOK_in_termAtomic4324_bits, 1	};
1682
/** Bitset defining follow set for error recovery in rule state: FOLLOW_KEYWORD_in_attribute4351  */
1683
static	ANTLR3_BITWORD FOLLOW_KEYWORD_in_attribute4351_bits[]	= { ANTLR3_UINT64_LIT(0xE7724F2241062022), ANTLR3_UINT64_LIT(0x0000002007B7C042) };
1684
static  ANTLR3_BITSET_LIST FOLLOW_KEYWORD_in_attribute4351	= { FOLLOW_KEYWORD_in_attribute4351_bits, 2	};
1685
/** Bitset defining follow set for error recovery in rule state: FOLLOW_simpleSymbolicExprNoKeyword_in_attribute4355  */
1686
static	ANTLR3_BITWORD FOLLOW_simpleSymbolicExprNoKeyword_in_attribute4355_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1687
static  ANTLR3_BITSET_LIST FOLLOW_simpleSymbolicExprNoKeyword_in_attribute4355	= { FOLLOW_simpleSymbolicExprNoKeyword_in_attribute4355_bits, 1	};
1688
/** Bitset defining follow set for error recovery in rule state: FOLLOW_ATTRIBUTE_PATTERN_TOK_in_attribute4371  */
1689
static	ANTLR3_BITWORD FOLLOW_ATTRIBUTE_PATTERN_TOK_in_attribute4371_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1690
static  ANTLR3_BITSET_LIST FOLLOW_ATTRIBUTE_PATTERN_TOK_in_attribute4371	= { FOLLOW_ATTRIBUTE_PATTERN_TOK_in_attribute4371_bits, 2	};
1691
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_attribute4373  */
1692
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_attribute4373_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1693
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_attribute4373	= { FOLLOW_LPAREN_TOK_in_attribute4373_bits, 2	};
1694
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_attribute4381  */
1695
static	ANTLR3_BITWORD FOLLOW_term_in_attribute4381_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405090442) };
1696
static  ANTLR3_BITSET_LIST FOLLOW_term_in_attribute4381	= { FOLLOW_term_in_attribute4381_bits, 2	};
1697
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_attribute4399  */
1698
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_attribute4399_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1699
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_attribute4399	= { FOLLOW_RPAREN_TOK_in_attribute4399_bits, 1	};
1700
/** Bitset defining follow set for error recovery in rule state: FOLLOW_ATTRIBUTE_NO_PATTERN_TOK_in_attribute4411  */
1701
static	ANTLR3_BITWORD FOLLOW_ATTRIBUTE_NO_PATTERN_TOK_in_attribute4411_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002000), ANTLR3_UINT64_LIT(0x0000002405010442) };
1702
static  ANTLR3_BITSET_LIST FOLLOW_ATTRIBUTE_NO_PATTERN_TOK_in_attribute4411	= { FOLLOW_ATTRIBUTE_NO_PATTERN_TOK_in_attribute4411_bits, 2	};
1703
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_attribute4413  */
1704
static	ANTLR3_BITWORD FOLLOW_term_in_attribute4413_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1705
static  ANTLR3_BITSET_LIST FOLLOW_term_in_attribute4413	= { FOLLOW_term_in_attribute4413_bits, 1	};
1706
/** Bitset defining follow set for error recovery in rule state: FOLLOW_ATTRIBUTE_INST_LEVEL_in_attribute4430  */
1707
static	ANTLR3_BITWORD FOLLOW_ATTRIBUTE_INST_LEVEL_in_attribute4430_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000040) };
1708
static  ANTLR3_BITSET_LIST FOLLOW_ATTRIBUTE_INST_LEVEL_in_attribute4430	= { FOLLOW_ATTRIBUTE_INST_LEVEL_in_attribute4430_bits, 2	};
1709
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_attribute4434  */
1710
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_attribute4434_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1711
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_attribute4434	= { FOLLOW_INTEGER_LITERAL_in_attribute4434_bits, 1	};
1712
/** Bitset defining follow set for error recovery in rule state: FOLLOW_ATTRIBUTE_QUANTIFIER_ID_TOK_in_attribute4450  */
1713
static	ANTLR3_BITWORD FOLLOW_ATTRIBUTE_QUANTIFIER_ID_TOK_in_attribute4450_bits[]	= { ANTLR3_UINT64_LIT(0xE7724F2241062020), ANTLR3_UINT64_LIT(0x0000002007B7C542) };
1714
static  ANTLR3_BITSET_LIST FOLLOW_ATTRIBUTE_QUANTIFIER_ID_TOK_in_attribute4450	= { FOLLOW_ATTRIBUTE_QUANTIFIER_ID_TOK_in_attribute4450_bits, 2	};
1715
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbolicExpr_in_attribute4454  */
1716
static	ANTLR3_BITWORD FOLLOW_symbolicExpr_in_attribute4454_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1717
static  ANTLR3_BITSET_LIST FOLLOW_symbolicExpr_in_attribute4454	= { FOLLOW_symbolicExpr_in_attribute4454_bits, 1	};
1718
/** Bitset defining follow set for error recovery in rule state: FOLLOW_ATTRIBUTE_NAMED_TOK_in_attribute4467  */
1719
static	ANTLR3_BITWORD FOLLOW_ATTRIBUTE_NAMED_TOK_in_attribute4467_bits[]	= { ANTLR3_UINT64_LIT(0xE7724F2241062020), ANTLR3_UINT64_LIT(0x0000002007B7C542) };
1720
static  ANTLR3_BITSET_LIST FOLLOW_ATTRIBUTE_NAMED_TOK_in_attribute4467	= { FOLLOW_ATTRIBUTE_NAMED_TOK_in_attribute4467_bits, 2	};
1721
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbolicExpr_in_attribute4469  */
1722
static	ANTLR3_BITWORD FOLLOW_symbolicExpr_in_attribute4469_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1723
static  ANTLR3_BITSET_LIST FOLLOW_symbolicExpr_in_attribute4469	= { FOLLOW_symbolicExpr_in_attribute4469_bits, 1	};
1724
/** Bitset defining follow set for error recovery in rule state: FOLLOW_term_in_termList4501  */
1725
static	ANTLR3_BITWORD FOLLOW_term_in_termList4501_bits[]	= { ANTLR3_UINT64_LIT(0x0000000001002002), ANTLR3_UINT64_LIT(0x0000002405010442) };
1726
static  ANTLR3_BITSET_LIST FOLLOW_term_in_termList4501	= { FOLLOW_term_in_termList4501_bits, 2	};
1727
/** Bitset defining follow set for error recovery in rule state: FOLLOW_STRING_LITERAL_in_str4523  */
1728
static	ANTLR3_BITWORD FOLLOW_STRING_LITERAL_in_str4523_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1729
static  ANTLR3_BITSET_LIST FOLLOW_STRING_LITERAL_in_str4523	= { FOLLOW_STRING_LITERAL_in_str4523_bits, 1	};
1730
/** Bitset defining follow set for error recovery in rule state: FOLLOW_EXISTS_TOK_in_quantOp4548  */
1731
static	ANTLR3_BITWORD FOLLOW_EXISTS_TOK_in_quantOp4548_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1732
static  ANTLR3_BITSET_LIST FOLLOW_EXISTS_TOK_in_quantOp4548	= { FOLLOW_EXISTS_TOK_in_quantOp4548_bits, 1	};
1733
/** Bitset defining follow set for error recovery in rule state: FOLLOW_FORALL_TOK_in_quantOp4559  */
1734
static	ANTLR3_BITWORD FOLLOW_FORALL_TOK_in_quantOp4559_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1735
static  ANTLR3_BITSET_LIST FOLLOW_FORALL_TOK_in_quantOp4559	= { FOLLOW_FORALL_TOK_in_quantOp4559_bits, 1	};
1736
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_functionName4580  */
1737
static	ANTLR3_BITWORD FOLLOW_symbol_in_functionName4580_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1738
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_functionName4580	= { FOLLOW_symbol_in_functionName4580_bits, 1	};
1739
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_sortList4604  */
1740
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_sortList4604_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000002001010400) };
1741
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_sortList4604	= { FOLLOW_sortSymbol_in_sortList4604_bits, 2	};
1742
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_nonemptySortList4631  */
1743
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_nonemptySortList4631_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000002001010400) };
1744
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_nonemptySortList4631	= { FOLLOW_sortSymbol_in_nonemptySortList4631_bits, 2	};
1745
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sortedVarList4660  */
1746
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sortedVarList4660_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1747
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sortedVarList4660	= { FOLLOW_LPAREN_TOK_in_sortedVarList4660_bits, 2	};
1748
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_sortedVarList4662  */
1749
static	ANTLR3_BITWORD FOLLOW_symbol_in_sortedVarList4662_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1750
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_sortedVarList4662	= { FOLLOW_symbol_in_sortedVarList4662_bits, 2	};
1751
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_sortedVarList4671  */
1752
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_sortedVarList4671_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1753
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_sortedVarList4671	= { FOLLOW_sortSymbol_in_sortedVarList4671_bits, 2	};
1754
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sortedVarList4674  */
1755
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sortedVarList4674_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000400) };
1756
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sortedVarList4674	= { FOLLOW_RPAREN_TOK_in_sortedVarList4674_bits, 2	};
1757
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_boundVarList4709  */
1758
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_boundVarList4709_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080400) };
1759
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_boundVarList4709	= { FOLLOW_LPAREN_TOK_in_boundVarList4709_bits, 2	};
1760
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortedVarList_in_boundVarList4711  */
1761
static	ANTLR3_BITWORD FOLLOW_sortedVarList_in_boundVarList4711_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1762
static  ANTLR3_BITSET_LIST FOLLOW_sortedVarList_in_boundVarList4711	= { FOLLOW_sortedVarList_in_boundVarList4711_bits, 2	};
1763
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_boundVarList4714  */
1764
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_boundVarList4714_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1765
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_boundVarList4714	= { FOLLOW_RPAREN_TOK_in_boundVarList4714_bits, 1	};
1766
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_sortName4734  */
1767
static	ANTLR3_BITWORD FOLLOW_symbol_in_sortName4734_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1768
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_sortName4734	= { FOLLOW_symbol_in_sortName4734_bits, 1	};
1769
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortName_in_sortSymbol4754  */
1770
static	ANTLR3_BITWORD FOLLOW_sortName_in_sortSymbol4754_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1771
static  ANTLR3_BITSET_LIST FOLLOW_sortName_in_sortSymbol4754	= { FOLLOW_sortName_in_sortSymbol4754_bits, 1	};
1772
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sortSymbol4767  */
1773
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sortSymbol4767_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010020) };
1774
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sortSymbol4767	= { FOLLOW_LPAREN_TOK_in_sortSymbol4767_bits, 2	};
1775
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INDEX_TOK_in_sortSymbol4770  */
1776
static	ANTLR3_BITWORD FOLLOW_INDEX_TOK_in_sortSymbol4770_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1777
static  ANTLR3_BITSET_LIST FOLLOW_INDEX_TOK_in_sortSymbol4770	= { FOLLOW_INDEX_TOK_in_sortSymbol4770_bits, 2	};
1778
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_sortSymbol4783  */
1779
static	ANTLR3_BITWORD FOLLOW_symbol_in_sortSymbol4783_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090440) };
1780
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_sortSymbol4783	= { FOLLOW_symbol_in_sortSymbol4783_bits, 2	};
1781
/** Bitset defining follow set for error recovery in rule state: FOLLOW_nonemptyNumeralList_in_sortSymbol4792  */
1782
static	ANTLR3_BITWORD FOLLOW_nonemptyNumeralList_in_sortSymbol4792_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1783
static  ANTLR3_BITSET_LIST FOLLOW_nonemptyNumeralList_in_sortSymbol4792	= { FOLLOW_nonemptyNumeralList_in_sortSymbol4792_bits, 2	};
1784
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortList_in_sortSymbol4809  */
1785
static	ANTLR3_BITWORD FOLLOW_sortList_in_sortSymbol4809_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1786
static  ANTLR3_BITSET_LIST FOLLOW_sortList_in_sortSymbol4809	= { FOLLOW_sortList_in_sortSymbol4809_bits, 2	};
1787
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sortSymbol4826  */
1788
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sortSymbol4826_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1789
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sortSymbol4826	= { FOLLOW_RPAREN_TOK_in_sortSymbol4826_bits, 1	};
1790
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_sortSymbol4832  */
1791
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_sortSymbol4832_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000004) };
1792
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_sortSymbol4832	= { FOLLOW_LPAREN_TOK_in_sortSymbol4832_bits, 2	};
1793
/** Bitset defining follow set for error recovery in rule state: FOLLOW_HO_ARROW_TOK_in_sortSymbol4834  */
1794
static	ANTLR3_BITWORD FOLLOW_HO_ARROW_TOK_in_sortSymbol4834_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001090400) };
1795
static  ANTLR3_BITSET_LIST FOLLOW_HO_ARROW_TOK_in_sortSymbol4834	= { FOLLOW_HO_ARROW_TOK_in_sortSymbol4834_bits, 2	};
1796
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortList_in_sortSymbol4836  */
1797
static	ANTLR3_BITWORD FOLLOW_sortList_in_sortSymbol4836_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1798
static  ANTLR3_BITSET_LIST FOLLOW_sortList_in_sortSymbol4836	= { FOLLOW_sortList_in_sortSymbol4836_bits, 2	};
1799
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_sortSymbol4839  */
1800
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_sortSymbol4839_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1801
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_sortSymbol4839	= { FOLLOW_RPAREN_TOK_in_sortSymbol4839_bits, 1	};
1802
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_symbolList4868  */
1803
static	ANTLR3_BITWORD FOLLOW_symbol_in_symbolList4868_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000002001010000) };
1804
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_symbolList4868	= { FOLLOW_symbol_in_symbolList4868_bits, 2	};
1805
/** Bitset defining follow set for error recovery in rule state: FOLLOW_SIMPLE_SYMBOL_in_symbol4890  */
1806
static	ANTLR3_BITWORD FOLLOW_SIMPLE_SYMBOL_in_symbol4890_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1807
static  ANTLR3_BITSET_LIST FOLLOW_SIMPLE_SYMBOL_in_symbol4890	= { FOLLOW_SIMPLE_SYMBOL_in_symbol4890_bits, 1	};
1808
/** Bitset defining follow set for error recovery in rule state: FOLLOW_QUOTED_SYMBOL_in_symbol4902  */
1809
static	ANTLR3_BITWORD FOLLOW_QUOTED_SYMBOL_in_symbol4902_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1810
static  ANTLR3_BITSET_LIST FOLLOW_QUOTED_SYMBOL_in_symbol4902	= { FOLLOW_QUOTED_SYMBOL_in_symbol4902_bits, 1	};
1811
/** Bitset defining follow set for error recovery in rule state: FOLLOW_UNTERMINATED_QUOTED_SYMBOL_in_symbol4914  */
1812
static	ANTLR3_BITWORD FOLLOW_UNTERMINATED_QUOTED_SYMBOL_in_symbol4914_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000008000000000) };
1813
static  ANTLR3_BITSET_LIST FOLLOW_UNTERMINATED_QUOTED_SYMBOL_in_symbol4914	= { FOLLOW_UNTERMINATED_QUOTED_SYMBOL_in_symbol4914_bits, 2	};
1814
/** Bitset defining follow set for error recovery in rule state: FOLLOW_EOF_in_symbol4922  */
1815
static	ANTLR3_BITWORD FOLLOW_EOF_in_symbol4922_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1816
static  ANTLR3_BITSET_LIST FOLLOW_EOF_in_symbol4922	= { FOLLOW_EOF_in_symbol4922_bits, 1	};
1817
/** Bitset defining follow set for error recovery in rule state: FOLLOW_103_in_symbol4938  */
1818
static	ANTLR3_BITWORD FOLLOW_103_in_symbol4938_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1819
static  ANTLR3_BITSET_LIST FOLLOW_103_in_symbol4938	= { FOLLOW_103_in_symbol4938_bits, 1	};
1820
/** Bitset defining follow set for error recovery in rule state: FOLLOW_INTEGER_LITERAL_in_nonemptyNumeralList4970  */
1821
static	ANTLR3_BITWORD FOLLOW_INTEGER_LITERAL_in_nonemptyNumeralList4970_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000040) };
1822
static  ANTLR3_BITSET_LIST FOLLOW_INTEGER_LITERAL_in_nonemptyNumeralList4970	= { FOLLOW_INTEGER_LITERAL_in_nonemptyNumeralList4970_bits, 2	};
1823
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_datatypeDef5012  */
1824
static	ANTLR3_BITWORD FOLLOW_symbol_in_datatypeDef5012_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000000400) };
1825
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_datatypeDef5012	= { FOLLOW_symbol_in_datatypeDef5012_bits, 2	};
1826
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_datatypeDef5029  */
1827
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_datatypeDef5029_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1828
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_datatypeDef5029	= { FOLLOW_LPAREN_TOK_in_datatypeDef5029_bits, 2	};
1829
/** Bitset defining follow set for error recovery in rule state: FOLLOW_constructorDef_in_datatypeDef5031  */
1830
static	ANTLR3_BITWORD FOLLOW_constructorDef_in_datatypeDef5031_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1831
static  ANTLR3_BITSET_LIST FOLLOW_constructorDef_in_datatypeDef5031	= { FOLLOW_constructorDef_in_datatypeDef5031_bits, 2	};
1832
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_datatypeDef5034  */
1833
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_datatypeDef5034_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000400) };
1834
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_datatypeDef5034	= { FOLLOW_RPAREN_TOK_in_datatypeDef5034_bits, 2	};
1835
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_constructorDef5064  */
1836
static	ANTLR3_BITWORD FOLLOW_symbol_in_constructorDef5064_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000400) };
1837
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_constructorDef5064	= { FOLLOW_symbol_in_constructorDef5064_bits, 2	};
1838
/** Bitset defining follow set for error recovery in rule state: FOLLOW_LPAREN_TOK_in_constructorDef5079  */
1839
static	ANTLR3_BITWORD FOLLOW_LPAREN_TOK_in_constructorDef5079_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010000) };
1840
static  ANTLR3_BITSET_LIST FOLLOW_LPAREN_TOK_in_constructorDef5079	= { FOLLOW_LPAREN_TOK_in_constructorDef5079_bits, 2	};
1841
/** Bitset defining follow set for error recovery in rule state: FOLLOW_selector_in_constructorDef5081  */
1842
static	ANTLR3_BITWORD FOLLOW_selector_in_constructorDef5081_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000000000080000) };
1843
static  ANTLR3_BITSET_LIST FOLLOW_selector_in_constructorDef5081	= { FOLLOW_selector_in_constructorDef5081_bits, 2	};
1844
/** Bitset defining follow set for error recovery in rule state: FOLLOW_RPAREN_TOK_in_constructorDef5084  */
1845
static	ANTLR3_BITWORD FOLLOW_RPAREN_TOK_in_constructorDef5084_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002), ANTLR3_UINT64_LIT(0x0000000000000400) };
1846
static  ANTLR3_BITSET_LIST FOLLOW_RPAREN_TOK_in_constructorDef5084	= { FOLLOW_RPAREN_TOK_in_constructorDef5084_bits, 2	};
1847
/** Bitset defining follow set for error recovery in rule state: FOLLOW_symbol_in_selector5112  */
1848
static	ANTLR3_BITWORD FOLLOW_symbol_in_selector5112_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000000), ANTLR3_UINT64_LIT(0x0000002001010400) };
1849
static  ANTLR3_BITSET_LIST FOLLOW_symbol_in_selector5112	= { FOLLOW_symbol_in_selector5112_bits, 2	};
1850
/** Bitset defining follow set for error recovery in rule state: FOLLOW_sortSymbol_in_selector5115  */
1851
static	ANTLR3_BITWORD FOLLOW_sortSymbol_in_selector5115_bits[]	= { ANTLR3_UINT64_LIT(0x0000000000000002) };
1852
static  ANTLR3_BITSET_LIST FOLLOW_sortSymbol_in_selector5115	= { FOLLOW_sortSymbol_in_selector5115_bits, 1	};
1853
1854
1855
/* ==============================================
1856
 * Parsing rules
1857
 */
1858
/**
1859
 * $ANTLR start parseExpr
1860
 * /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:139:1: parseExpr returns [CVC4::api::Term expr = CVC4::api::Term()] : ( term[expr, expr2] | EOF );
1861
 */
1862
static CVC4::api::Term
1863
116
parseExpr(pSmt2Parser ctx)
1864
{
1865
116
    CVC4::api::Term expr;
1866
1867
1868
1869
232
      CVC4::api::Term expr2;
1870
1871
    /* Initialize rule variables
1872
     */
1873
116
    expr =  CVC4::api::Term();
1874
1875
1876
    {
1877
        {
1878
            //  /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:143:3: ( term[expr, expr2] | EOF )
1879
1880
            ANTLR3_UINT32 alt1;
1881
1882
116
            alt1=2;
1883
1884
116
            switch ( LA(1) )
1885
            {
1886
69
            case BINARY_LITERAL:
1887
            case DECIMAL_LITERAL:
1888
            case HEX_LITERAL:
1889
            case INTEGER_LITERAL:
1890
            case LPAREN_TOK:
1891
            case QUOTED_SYMBOL:
1892
            case SIMPLE_SYMBOL:
1893
            case STRING_LITERAL:
1894
            case TUPLE_CONST_TOK:
1895
            case UNTERMINATED_QUOTED_SYMBOL:
1896
            	{
1897
69
            		alt1=1;
1898
            	}
1899
69
                break;
1900
37
            case EOF:
1901
            	{
1902
37
            		alt1=2;
1903
            	}
1904
37
                break;
1905
1906
            default:
1907
                CONSTRUCTEX();
1908
                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
1909
                EXCEPTION->message      = (void *)"";
1910
                EXCEPTION->decisionNum  = 1;
1911
                EXCEPTION->state        = 0;
1912
1913
1914
                goto ruleparseExprEx;
1915
1916
            }
1917
1918
106
            switch (alt1)
1919
            {
1920
69
        	case 1:
1921
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:143:5: term[expr, expr2]
1922
        	    {
1923
69
        	        FOLLOWPUSH(FOLLOW_term_in_parseExpr119);
1924
69
        	        term(ctx, expr, expr2);
1925
1926
37
        	        FOLLOWPOP();
1927
37
        	        if  (HASEXCEPTION())
1928
        	        {
1929
        	            goto ruleparseExprEx;
1930
        	        }
1931
1932
1933
        	    }
1934
37
        	    break;
1935
37
        	case 2:
1936
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:144:5: EOF
1937
        	    {
1938
37
        	         MATCHT(EOF, &FOLLOW_EOF_in_parseExpr126);
1939
37
        	        if  (HASEXCEPTION())
1940
        	        {
1941
        	            goto ruleparseExprEx;
1942
        	        }
1943
1944
1945
        	    }
1946
37
        	    break;
1947
1948
            }
1949
        }
1950
    }
1951
1952
    // This is where rules clean up and exit
1953
    //
1954
74
    goto ruleparseExprEx; /* Prevent compiler warnings */
1955
74
    ruleparseExprEx: ;
1956
1957
74
            if (HASEXCEPTION())
1958
            {
1959
                PREPORTERROR();
1960
                PRECOVER();
1961
            }
1962
148
    return expr;
1963
}
1964
/* $ANTLR end parseExpr */
1965
1966
/**
1967
 * $ANTLR start parseCommand
1968
 * /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:151:1: parseCommand returns [CVC4::Command* cmd_return = NULL] : ( LPAREN_TOK command[&cmd] RPAREN_TOK | LPAREN_TOK INCLUDE_TOK str[name,true] RPAREN_TOK | EOF );
1969
 */
1970
static CVC4::Command*
1971
263514
parseCommand(pSmt2Parser ctx)
1972
{
1973
    CVC4::Command* cmd_return;
1974
1975
1976
1977
527028
      std::unique_ptr<CVC4::Command> cmd;
1978
527028
      std::string name;
1979
1980
    /* Initialize rule variables
1981
     */
1982
263514
    cmd_return =  NULL;
1983
1984
1985
    {
1986
        {
1987
            //  /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:159:3: ( LPAREN_TOK command[&cmd] RPAREN_TOK | LPAREN_TOK INCLUDE_TOK str[name,true] RPAREN_TOK | EOF )
1988
1989
            ANTLR3_UINT32 alt2;
1990
1991
263514
            alt2=3;
1992
1993
263514
            switch ( LA(1) )
1994
            {
1995
259668
            case LPAREN_TOK:
1996
            	{
1997
259668
            		switch ( LA(2) )
1998
            		{
1999
            		case INCLUDE_TOK:
2000
            			{
2001
            				alt2=2;
2002
            			}
2003
            		    break;
2004
259668
            		case ASSERT_TOK:
2005
            		case BLOCK_MODEL_TOK:
2006
            		case BLOCK_MODEL_VALUES_TOK:
2007
            		case CHECK_SAT_ASSUMING_TOK:
2008
            		case CHECK_SAT_TOK:
2009
            		case DECLARE_CODATATYPES_TOK:
2010
            		case DECLARE_CODATATYPE_TOK:
2011
            		case DECLARE_CONST_TOK:
2012
            		case DECLARE_DATATYPES_TOK:
2013
            		case DECLARE_DATATYPE_TOK:
2014
            		case DECLARE_FUNS_TOK:
2015
            		case DECLARE_FUN_TOK:
2016
            		case DECLARE_HEAP:
2017
            		case DECLARE_PREDS_TOK:
2018
            		case DECLARE_SORTS_TOK:
2019
            		case DECLARE_SORT_TOK:
2020
            		case DEFINE_CONST_TOK:
2021
            		case DEFINE_FUNS_REC_TOK:
2022
            		case DEFINE_FUN_REC_TOK:
2023
            		case DEFINE_FUN_TOK:
2024
            		case DEFINE_SORT_TOK:
2025
            		case DEFINE_TOK:
2026
            		case ECHO_TOK:
2027
            		case EXIT_TOK:
2028
            		case GET_ABDUCT_TOK:
2029
            		case GET_ASSERTIONS_TOK:
2030
            		case GET_ASSIGNMENT_TOK:
2031
            		case GET_INFO_TOK:
2032
            		case GET_INTERPOL_TOK:
2033
            		case GET_MODEL_TOK:
2034
            		case GET_OPTION_TOK:
2035
            		case GET_PROOF_TOK:
2036
            		case GET_QE_DISJUNCT_TOK:
2037
            		case GET_QE_TOK:
2038
            		case GET_UNSAT_ASSUMPTIONS_TOK:
2039
            		case GET_UNSAT_CORE_TOK:
2040
            		case GET_VALUE_TOK:
2041
            		case POP_TOK:
2042
            		case PUSH_TOK:
2043
            		case RESET_ASSERTIONS_TOK:
2044
            		case RESET_TOK:
2045
            		case SET_INFO_TOK:
2046
            		case SET_LOGIC_TOK:
2047
            		case SET_OPTION_TOK:
2048
            		case SIMPLE_SYMBOL:
2049
            		case SIMPLIFY_TOK:
2050
            			{
2051
259668
            				alt2=1;
2052
            			}
2053
259668
            		    break;
2054
2055
            		default:
2056
            		    CONSTRUCTEX();
2057
            		    EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
2058
            		    EXCEPTION->message      = (void *)"";
2059
            		    EXCEPTION->decisionNum  = 2;
2060
            		    EXCEPTION->state        = 1;
2061
2062
2063
            		    goto ruleparseCommandEx;
2064
2065
            		}
2066
2067
            	}
2068
259668
                break;
2069
3846
            case EOF:
2070
            	{
2071
3846
            		alt2=3;
2072
            	}
2073
3846
                break;
2074
2075
            default:
2076
                CONSTRUCTEX();
2077
                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
2078
                EXCEPTION->message      = (void *)"";
2079
                EXCEPTION->decisionNum  = 2;
2080
                EXCEPTION->state        = 0;
2081
2082
2083
                goto ruleparseCommandEx;
2084
2085
            }
2086
2087
263514
            switch (alt2)
2088
            {
2089
259668
        	case 1:
2090
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:159:5: LPAREN_TOK command[&cmd] RPAREN_TOK
2091
        	    {
2092
259668
        	         MATCHT(LPAREN_TOK, &FOLLOW_LPAREN_TOK_in_parseCommand155);
2093
259668
        	        if  (HASEXCEPTION())
2094
        	        {
2095
        	            goto ruleparseCommandEx;
2096
        	        }
2097
2098
2099
259668
        	        FOLLOWPUSH(FOLLOW_command_in_parseCommand157);
2100
259668
        	        command(ctx, &cmd);
2101
2102
259639
        	        FOLLOWPOP();
2103
259639
        	        if  (HASEXCEPTION())
2104
        	        {
2105
        	            goto ruleparseCommandEx;
2106
        	        }
2107
2108
2109
259639
        	         MATCHT(RPAREN_TOK, &FOLLOW_RPAREN_TOK_in_parseCommand160);
2110
259639
        	        if  (HASEXCEPTION())
2111
        	        {
2112
2
        	            goto ruleparseCommandEx;
2113
        	        }
2114
2115
2116
        	    }
2117
259637
        	    break;
2118
        	case 2:
2119
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:164:5: LPAREN_TOK INCLUDE_TOK str[name,true] RPAREN_TOK
2120
        	    {
2121
        	         MATCHT(LPAREN_TOK, &FOLLOW_LPAREN_TOK_in_parseCommand173);
2122
        	        if  (HASEXCEPTION())
2123
        	        {
2124
        	            goto ruleparseCommandEx;
2125
        	        }
2126
2127
2128
        	         MATCHT(INCLUDE_TOK, &FOLLOW_INCLUDE_TOK_in_parseCommand175);
2129
        	        if  (HASEXCEPTION())
2130
        	        {
2131
        	            goto ruleparseCommandEx;
2132
        	        }
2133
2134
2135
        	        FOLLOWPUSH(FOLLOW_str_in_parseCommand177);
2136
        	        str(ctx, name, true);
2137
2138
        	        FOLLOWPOP();
2139
        	        if  (HASEXCEPTION())
2140
        	        {
2141
        	            goto ruleparseCommandEx;
2142
        	        }
2143
2144
2145
        	         MATCHT(RPAREN_TOK, &FOLLOW_RPAREN_TOK_in_parseCommand180);
2146
        	        if  (HASEXCEPTION())
2147
        	        {
2148
        	            goto ruleparseCommandEx;
2149
        	        }
2150
2151
2152
        	        {
2153
        	             if(!PARSER_STATE->canIncludeFile()) {
2154
        	                    PARSER_STATE->parseError("include-file feature was disabled for this "
2155
        	                                             "run.");
2156
        	                  }
2157
        	                  if(PARSER_STATE->strictModeEnabled()) {
2158
        	                    PARSER_STATE->parseError("Extended commands are not permitted while "
2159
        	                                             "operating in strict compliance mode.");
2160
        	                  }
2161
        	                  PARSER_STATE->includeFile(name);
2162
        	                  // The command of the included file will be produced at the next
2163
        	                  // parseCommand() call
2164
        	                  cmd.reset(new EmptyCommand("include::" + name));
2165
2166
        	        }
2167
2168
2169
        	    }
2170
        	    break;
2171
3846
        	case 3:
2172
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:179:5: EOF
2173
        	    {
2174
3846
        	         MATCHT(EOF, &FOLLOW_EOF_in_parseCommand193);
2175
3846
        	        if  (HASEXCEPTION())
2176
        	        {
2177
        	            goto ruleparseCommandEx;
2178
        	        }
2179
2180
2181
        	    }
2182
3846
        	    break;
2183
2184
            }
2185
        }
2186
    }
2187
2188
    // This is where rules clean up and exit
2189
    //
2190
263483
    goto ruleparseCommandEx; /* Prevent compiler warnings */
2191
263485
    ruleparseCommandEx: ;
2192
2193
263485
            if (HASEXCEPTION())
2194
            {
2195
2
                PREPORTERROR();
2196
                PRECOVER();
2197
            }
2198
            else
2199
            {
2200
                {
2201
2202
263483
                      cmd_return = cmd.release();
2203
2204
                }
2205
            }
2206
2207
2208
526966
    return cmd_return;
2209
}
2210
/* $ANTLR end parseCommand */
2211
2212
/**
2213
 * $ANTLR start parseSygus
2214
 * /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:187:1: parseSygus returns [CVC4::Command* cmd_return = NULL] : ( LPAREN_TOK cmd= sygusCommand RPAREN_TOK | EOF );
2215
 */
2216
static CVC4::Command*
2217
4114
parseSygus(pSmt2Parser ctx)
2218
{
2219
    CVC4::Command* cmd_return;
2220
2221
2222
2223
8228
      std::string name;
2224
2225
8228
    std::unique_ptr<CVC4::Command> cmd;
2226
    #undef	RETURN_TYPE_cmd
2227
    #define	RETURN_TYPE_cmd std::unique_ptr<CVC4::Command>
2228
2229
    /* Initialize rule variables
2230
     */
2231
4114
    cmd_return =  NULL;
2232
2233
2234
    {
2235
        {
2236
            //  /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:194:3: ( LPAREN_TOK cmd= sygusCommand RPAREN_TOK | EOF )
2237
2238
            ANTLR3_UINT32 alt3;
2239
2240
4114
            alt3=2;
2241
2242
4114
            switch ( LA(1) )
2243
            {
2244
3768
            case LPAREN_TOK:
2245
            	{
2246
3768
            		alt3=1;
2247
            	}
2248
3768
                break;
2249
346
            case EOF:
2250
            	{
2251
346
            		alt3=2;
2252
            	}
2253
346
                break;
2254
2255
            default:
2256
                CONSTRUCTEX();
2257
                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
2258
                EXCEPTION->message      = (void *)"";
2259
                EXCEPTION->decisionNum  = 3;
2260
                EXCEPTION->state        = 0;
2261
2262
2263
                goto ruleparseSygusEx;
2264
2265
            }
2266
2267
4114
            switch (alt3)
2268
            {
2269
3768
        	case 1:
2270
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:194:5: LPAREN_TOK cmd= sygusCommand RPAREN_TOK
2271
        	    {
2272
3768
        	         MATCHT(LPAREN_TOK, &FOLLOW_LPAREN_TOK_in_parseSygus222);
2273
3768
        	        if  (HASEXCEPTION())
2274
        	        {
2275
        	            goto ruleparseSygusEx;
2276
        	        }
2277
2278
2279
3768
        	        FOLLOWPUSH(FOLLOW_sygusCommand_in_parseSygus226);
2280
3768
        	        cmd=sygusCommand(ctx);
2281
2282
3764
        	        FOLLOWPOP();
2283
3764
        	        if  (HASEXCEPTION())
2284
        	        {
2285
        	            goto ruleparseSygusEx;
2286
        	        }
2287
2288
2289
3764
        	         MATCHT(RPAREN_TOK, &FOLLOW_RPAREN_TOK_in_parseSygus228);
2290
3764
        	        if  (HASEXCEPTION())
2291
        	        {
2292
        	            goto ruleparseSygusEx;
2293
        	        }
2294
2295
2296
        	    }
2297
3764
        	    break;
2298
346
        	case 2:
2299
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:195:5: EOF
2300
        	    {
2301
346
        	         MATCHT(EOF, &FOLLOW_EOF_in_parseSygus234);
2302
346
        	        if  (HASEXCEPTION())
2303
        	        {
2304
        	            goto ruleparseSygusEx;
2305
        	        }
2306
2307
2308
        	    }
2309
346
        	    break;
2310
2311
            }
2312
        }
2313
    }
2314
2315
    // This is where rules clean up and exit
2316
    //
2317
4110
    goto ruleparseSygusEx; /* Prevent compiler warnings */
2318
4110
    ruleparseSygusEx: ;
2319
2320
4110
            if (HASEXCEPTION())
2321
            {
2322
                PREPORTERROR();
2323
                PRECOVER();
2324
            }
2325
            else
2326
            {
2327
                {
2328
2329
4110
                      cmd_return = cmd.release();
2330
2331
                }
2332
            }
2333
2334
2335
8220
    return cmd_return;
2336
}
2337
/* $ANTLR end parseSygus */
2338
2339
/**
2340
 * $ANTLR start command
2341
 * /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:202:1: command[std::unique_ptr<CVC4::Command>* cmd] : ( SET_LOGIC_TOK symbol[name,CHECK_NONE,SYM_SORT] | SET_INFO_TOK setInfoInternal[cmd] | GET_INFO_TOK KEYWORD | SET_OPTION_TOK setOptionInternal[cmd] | GET_OPTION_TOK KEYWORD | DECLARE_SORT_TOK symbol[name,CHECK_UNDECLARED,SYM_SORT] n= INTEGER_LITERAL | DEFINE_SORT_TOK symbol[name,CHECK_UNDECLARED,SYM_SORT] LPAREN_TOK symbolList[names,CHECK_NONE,SYM_SORT] RPAREN_TOK sortSymbol[t,CHECK_DECLARED] | DECLARE_FUN_TOK symbol[name,CHECK_NONE,SYM_VARIABLE] LPAREN_TOK sortList[sorts] RPAREN_TOK sortSymbol[t,CHECK_DECLARED] | DEFINE_FUN_TOK symbol[name,CHECK_UNDECLARED,SYM_VARIABLE] LPAREN_TOK sortedVarList[sortedVarNames] RPAREN_TOK sortSymbol[t,CHECK_DECLARED] term[expr, expr2] | DECLARE_DATATYPE_TOK datatypeDefCommand[false, cmd] | DECLARE_DATATYPES_TOK datatypesDefCommand[false, cmd] | GET_VALUE_TOK ( LPAREN_TOK termList[terms,expr] RPAREN_TOK |~ LPAREN_TOK ) | GET_ASSIGNMENT_TOK | ASSERT_TOK term[expr, expr2] | CHECK_SAT_TOK ( term[expr, expr2] |) | CHECK_SAT_ASSUMING_TOK ( LPAREN_TOK termList[terms,expr] RPAREN_TOK |~ LPAREN_TOK ) | GET_ASSERTIONS_TOK | GET_PROOF_TOK | GET_UNSAT_ASSUMPTIONS_TOK | GET_UNSAT_CORE_TOK | PUSH_TOK (k= INTEGER_LITERAL |) | POP_TOK (k= INTEGER_LITERAL |) | EXIT_TOK | smt25Command[cmd] | extendedCommand[cmd] | SIMPLE_SYMBOL );
2342
 */
2343
static void
2344
260747
command(pSmt2Parser ctx, std::unique_ptr<CVC4::Command>* cmd)
2345
{
2346
2347
521494
      std::string name;
2348
521494
      std::vector<std::string> names;
2349
521494
      CVC4::api::Term expr, expr2;
2350
521494
      CVC4::api::Sort t;
2351
521494
      std::vector<CVC4::api::Term> terms;
2352
521494
      std::vector<api::Sort> sorts;
2353
521494
      std::vector<std::pair<std::string, CVC4::api::Sort> > sortedVarNames;
2354
521494
      std::vector<CVC4::api::Term> flattenVars;
2355
2356
    pANTLR3_COMMON_TOKEN    n;
2357
    pANTLR3_COMMON_TOKEN    k;
2358
    pANTLR3_COMMON_TOKEN    KEYWORD1;
2359
    pANTLR3_COMMON_TOKEN    KEYWORD2;
2360
    pANTLR3_COMMON_TOKEN    SIMPLE_SYMBOL3;
2361
2362
    /* Initialize rule variables
2363
     */
2364
2365
260747
    n       = NULL;
2366
260747
    k       = NULL;
2367
260747
    KEYWORD1       = NULL;
2368
260747
    KEYWORD2       = NULL;
2369
260747
    SIMPLE_SYMBOL3       = NULL;
2370
2371
    {
2372
        {
2373
            //  /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:213:3: ( SET_LOGIC_TOK symbol[name,CHECK_NONE,SYM_SORT] | SET_INFO_TOK setInfoInternal[cmd] | GET_INFO_TOK KEYWORD | SET_OPTION_TOK setOptionInternal[cmd] | GET_OPTION_TOK KEYWORD | DECLARE_SORT_TOK symbol[name,CHECK_UNDECLARED,SYM_SORT] n= INTEGER_LITERAL | DEFINE_SORT_TOK symbol[name,CHECK_UNDECLARED,SYM_SORT] LPAREN_TOK symbolList[names,CHECK_NONE,SYM_SORT] RPAREN_TOK sortSymbol[t,CHECK_DECLARED] | DECLARE_FUN_TOK symbol[name,CHECK_NONE,SYM_VARIABLE] LPAREN_TOK sortList[sorts] RPAREN_TOK sortSymbol[t,CHECK_DECLARED] | DEFINE_FUN_TOK symbol[name,CHECK_UNDECLARED,SYM_VARIABLE] LPAREN_TOK sortedVarList[sortedVarNames] RPAREN_TOK sortSymbol[t,CHECK_DECLARED] term[expr, expr2] | DECLARE_DATATYPE_TOK datatypeDefCommand[false, cmd] | DECLARE_DATATYPES_TOK datatypesDefCommand[false, cmd] | GET_VALUE_TOK ( LPAREN_TOK termList[terms,expr] RPAREN_TOK |~ LPAREN_TOK ) | GET_ASSIGNMENT_TOK | ASSERT_TOK term[expr, expr2] | CHECK_SAT_TOK ( term[expr, expr2] |) | CHECK_SAT_ASSUMING_TOK ( LPAREN_TOK termList[terms,expr] RPAREN_TOK |~ LPAREN_TOK ) | GET_ASSERTIONS_TOK | GET_PROOF_TOK | GET_UNSAT_ASSUMPTIONS_TOK | GET_UNSAT_CORE_TOK | PUSH_TOK (k= INTEGER_LITERAL |) | POP_TOK (k= INTEGER_LITERAL |) | EXIT_TOK | smt25Command[cmd] | extendedCommand[cmd] | SIMPLE_SYMBOL )
2374
2375
            ANTLR3_UINT32 alt9;
2376
2377
260747
            alt9=26;
2378
2379
260747
            switch ( LA(1) )
2380
            {
2381
4901
            case SET_LOGIC_TOK:
2382
            	{
2383
4901
            		alt9=1;
2384
            	}
2385
4901
                break;
2386
5331
            case SET_INFO_TOK:
2387
            	{
2388
5331
            		alt9=2;
2389
            	}
2390
5331
                break;
2391
19
            case GET_INFO_TOK:
2392
            	{
2393
19
            		alt9=3;
2394
            	}
2395
19
                break;
2396
1751
            case SET_OPTION_TOK:
2397
            	{
2398
1751
            		alt9=4;
2399
            	}
2400
1751
                break;
2401
10
            case GET_OPTION_TOK:
2402
            	{
2403
10
            		alt9=5;
2404
            	}
2405
10
                break;
2406
3793
            case DECLARE_SORT_TOK:
2407
            	{
2408
3793
            		alt9=6;
2409
            	}
2410
3793
                break;
2411
211
            case DEFINE_SORT_TOK:
2412
            	{
2413
211
            		alt9=7;
2414
            	}
2415
211
                break;
2416
158549
            case DECLARE_FUN_TOK:
2417
            	{
2418
158549
            		alt9=8;
2419
            	}
2420
158549
                break;
2421
2211
            case DEFINE_FUN_TOK:
2422
            	{
2423
2211
            		alt9=9;
2424
            	}
2425
2211
                break;
2426
129
            case DECLARE_DATATYPE_TOK:
2427
            	{
2428
129
            		alt9=10;
2429
            	}
2430
129
                break;
2431
629
            case DECLARE_DATATYPES_TOK:
2432
            	{
2433
629
            		alt9=11;
2434
            	}
2435
629
                break;
2436
56
            case GET_VALUE_TOK:
2437
            	{
2438
56
            		alt9=12;
2439
            	}
2440
56
                break;
2441
8
            case GET_ASSIGNMENT_TOK:
2442
            	{
2443
8
            		alt9=13;
2444
            	}
2445
8
                break;
2446
67628
            case ASSERT_TOK:
2447
            	{
2448
67628
            		alt9=14;
2449
            	}
2450
67628
                break;
2451
6967
            case CHECK_SAT_TOK:
2452
            	{
2453
6967
            		alt9=15;
2454
            	}
2455
6967
                break;
2456
983
            case CHECK_SAT_ASSUMING_TOK:
2457
            	{
2458
983
            		alt9=16;
2459
            	}
2460
983
                break;
2461
            case GET_ASSERTIONS_TOK:
2462
            	{
2463
            		alt9=17;
2464
            	}
2465
                break;
2466
            case GET_PROOF_TOK:
2467
            	{
2468
            		alt9=18;
2469
            	}
2470
                break;
2471
8
            case GET_UNSAT_ASSUMPTIONS_TOK:
2472
            	{
2473
8
            		alt9=19;
2474
            	}
2475
8
                break;
2476
9
            case GET_UNSAT_CORE_TOK:
2477
            	{
2478
9
            		alt9=20;
2479
            	}
2480
9
                break;
2481
2438
            case PUSH_TOK:
2482
            	{
2483
2438
            		alt9=21;
2484
            	}
2485
2438
                break;
2486
1968
            case POP_TOK:
2487
            	{
2488
1968
            		alt9=22;
2489
            	}
2490
1968
                break;
2491
673
            case EXIT_TOK:
2492
            	{
2493
673
            		alt9=23;
2494
            	}
2495
673
                break;
2496
2298
            case DECLARE_CONST_TOK:
2497
            case DEFINE_FUNS_REC_TOK:
2498
            case DEFINE_FUN_REC_TOK:
2499
            case ECHO_TOK:
2500
            case GET_MODEL_TOK:
2501
            case RESET_ASSERTIONS_TOK:
2502
            case RESET_TOK:
2503
            	{
2504
2298
            		alt9=24;
2505
            	}
2506
2298
                break;
2507
177
            case BLOCK_MODEL_TOK:
2508
            case BLOCK_MODEL_VALUES_TOK:
2509
            case DECLARE_CODATATYPES_TOK:
2510
            case DECLARE_CODATATYPE_TOK:
2511
            case DECLARE_FUNS_TOK:
2512
            case DECLARE_HEAP:
2513
            case DECLARE_PREDS_TOK:
2514
            case DECLARE_SORTS_TOK:
2515
            case DEFINE_CONST_TOK:
2516
            case DEFINE_TOK:
2517
            case GET_ABDUCT_TOK:
2518
            case GET_INTERPOL_TOK:
2519
            case GET_QE_DISJUNCT_TOK:
2520
            case GET_QE_TOK:
2521
            case SIMPLIFY_TOK:
2522
            	{
2523
177
            		alt9=25;
2524
            	}
2525
177
                break;
2526
            case SIMPLE_SYMBOL:
2527
            	{
2528
            		alt9=26;
2529
            	}
2530
                break;
2531
2532
            default:
2533
                CONSTRUCTEX();
2534
                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
2535
                EXCEPTION->message      = (void *)"";
2536
                EXCEPTION->decisionNum  = 9;
2537
                EXCEPTION->state        = 0;
2538
2539
2540
                goto rulecommandEx;
2541
2542
            }
2543
2544
260747
            switch (alt9)
2545
            {
2546
4901
        	case 1:
2547
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:214:5: SET_LOGIC_TOK symbol[name,CHECK_NONE,SYM_SORT]
2548
        	    {
2549
4901
        	         MATCHT(SET_LOGIC_TOK, &FOLLOW_SET_LOGIC_TOK_in_command262);
2550
4901
        	        if  (HASEXCEPTION())
2551
        	        {
2552
        	            goto rulecommandEx;
2553
        	        }
2554
2555
2556
4901
        	        FOLLOWPUSH(FOLLOW_symbol_in_command264);
2557
4901
        	        symbol(ctx, name, CHECK_NONE, SYM_SORT);
2558
2559
4901
        	        FOLLOWPOP();
2560
4901
        	        if  (HASEXCEPTION())
2561
        	        {
2562
        	            goto rulecommandEx;
2563
        	        }
2564
2565
2566
        	        {
2567
2568
4902
        	                  cmd->reset(PARSER_STATE->setLogic(name));
2569
2570
        	        }
2571
2572
2573
        	    }
2574
4900
        	    break;
2575
5331
        	case 2:
2576
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:219:5: SET_INFO_TOK setInfoInternal[cmd]
2577
        	    {
2578
5331
        	         MATCHT(SET_INFO_TOK, &FOLLOW_SET_INFO_TOK_in_command283);
2579
5331
        	        if  (HASEXCEPTION())
2580
        	        {
2581
        	            goto rulecommandEx;
2582
        	        }
2583
2584
2585
5331
        	        FOLLOWPUSH(FOLLOW_setInfoInternal_in_command285);
2586
5331
        	        setInfoInternal(ctx, cmd);
2587
2588
5331
        	        FOLLOWPOP();
2589
5331
        	        if  (HASEXCEPTION())
2590
        	        {
2591
        	            goto rulecommandEx;
2592
        	        }
2593
2594
2595
        	    }
2596
5331
        	    break;
2597
19
        	case 3:
2598
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:221:5: GET_INFO_TOK KEYWORD
2599
        	    {
2600
19
        	         MATCHT(GET_INFO_TOK, &FOLLOW_GET_INFO_TOK_in_command298);
2601
19
        	        if  (HASEXCEPTION())
2602
        	        {
2603
        	            goto rulecommandEx;
2604
        	        }
2605
2606
2607
19
        	        KEYWORD1 = (pANTLR3_COMMON_TOKEN) MATCHT(KEYWORD, &FOLLOW_KEYWORD_in_command300);
2608
19
        	        if  (HASEXCEPTION())
2609
        	        {
2610
        	            goto rulecommandEx;
2611
        	        }
2612
2613
2614
        	        {
2615
76
        	             cmd->reset(new GetInfoCommand(
2616
57
        	                      AntlrInput::tokenText(KEYWORD1).c_str() + 1));
2617
2618
        	        }
2619
2620
2621
        	    }
2622
19
        	    break;
2623
1751
        	case 4:
2624
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:226:5: SET_OPTION_TOK setOptionInternal[cmd]
2625
        	    {
2626
1751
        	         MATCHT(SET_OPTION_TOK, &FOLLOW_SET_OPTION_TOK_in_command318);
2627
1751
        	        if  (HASEXCEPTION())
2628
        	        {
2629
        	            goto rulecommandEx;
2630
        	        }
2631
2632
2633
1751
        	        FOLLOWPUSH(FOLLOW_setOptionInternal_in_command320);
2634
1751
        	        setOptionInternal(ctx, cmd);
2635
2636
1751
        	        FOLLOWPOP();
2637
1751
        	        if  (HASEXCEPTION())
2638
        	        {
2639
        	            goto rulecommandEx;
2640
        	        }
2641
2642
2643
        	    }
2644
1751
        	    break;
2645
10
        	case 5:
2646
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:228:5: GET_OPTION_TOK KEYWORD
2647
        	    {
2648
10
        	         MATCHT(GET_OPTION_TOK, &FOLLOW_GET_OPTION_TOK_in_command333);
2649
10
        	        if  (HASEXCEPTION())
2650
        	        {
2651
        	            goto rulecommandEx;
2652
        	        }
2653
2654
2655
10
        	        KEYWORD2 = (pANTLR3_COMMON_TOKEN) MATCHT(KEYWORD, &FOLLOW_KEYWORD_in_command335);
2656
10
        	        if  (HASEXCEPTION())
2657
        	        {
2658
        	            goto rulecommandEx;
2659
        	        }
2660
2661
2662
        	        {
2663
40
        	             cmd->reset(new GetOptionCommand(
2664
30
        	                      AntlrInput::tokenText(KEYWORD2).c_str() + 1));
2665
2666
        	        }
2667
2668
2669
        	    }
2670
10
        	    break;
2671
3793
        	case 6:
2672
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:233:5: DECLARE_SORT_TOK symbol[name,CHECK_UNDECLARED,SYM_SORT] n= INTEGER_LITERAL
2673
        	    {
2674
3793
        	         MATCHT(DECLARE_SORT_TOK, &FOLLOW_DECLARE_SORT_TOK_in_command353);
2675
3793
        	        if  (HASEXCEPTION())
2676
        	        {
2677
        	            goto rulecommandEx;
2678
        	        }
2679
2680
2681
        	        {
2682
2683
3793
        	                  PARSER_STATE->checkThatLogicIsSet();
2684
3793
        	                  PARSER_STATE->checkLogicAllowsFreeSorts();
2685
2686
        	        }
2687
2688
2689
3793
        	        FOLLOWPUSH(FOLLOW_symbol_in_command365);
2690
3793
        	        symbol(ctx, name, CHECK_UNDECLARED, SYM_SORT);
2691
2692
3791
        	        FOLLOWPOP();
2693
3791
        	        if  (HASEXCEPTION())
2694
        	        {
2695
        	            goto rulecommandEx;
2696
        	        }
2697
2698
2699
        	        {
2700
3791
        	             PARSER_STATE->checkUserSymbol(name);
2701
        	        }
2702
2703
2704
3791
        	        n = (pANTLR3_COMMON_TOKEN) MATCHT(INTEGER_LITERAL, &FOLLOW_INTEGER_LITERAL_in_command380);
2705
3791
        	        if  (HASEXCEPTION())
2706
        	        {
2707
2
        	            goto rulecommandEx;
2708
        	        }
2709
2710
2711
        	        {
2712
7578
        	             Debug("parser") << "declare sort: '" << name
2713
3789
        	                                  << "' arity=" << n << std::endl;
2714
3789
        	                  unsigned arity = AntlrInput::tokenToUnsigned(n);
2715
3789
        	                  if(arity == 0) {
2716
7532
        	                    api::Sort type = PARSER_STATE->mkSort(name);
2717
3766
        	                    cmd->reset(new DeclareSortCommand(name, 0, type));
2718
        	                  } else {
2719
46
        	                    api::Sort type = PARSER_STATE->mkSortConstructor(name, arity);
2720
23
        	                    cmd->reset(new DeclareSortCommand(name, arity, type));
2721
        	                  }
2722
2723
        	        }
2724
2725
2726
        	    }
2727
3789
        	    break;
2728
211
        	case 7:
2729
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:253:5: DEFINE_SORT_TOK symbol[name,CHECK_UNDECLARED,SYM_SORT] LPAREN_TOK symbolList[names,CHECK_NONE,SYM_SORT] RPAREN_TOK sortSymbol[t,CHECK_DECLARED]
2730
        	    {
2731
211
        	         MATCHT(DEFINE_SORT_TOK, &FOLLOW_DEFINE_SORT_TOK_in_command398);
2732
211
        	        if  (HASEXCEPTION())
2733
        	        {
2734
        	            goto rulecommandEx;
2735
        	        }
2736
2737
2738
        	        {
2739
211
        	             PARSER_STATE->checkThatLogicIsSet();
2740
        	        }
2741
2742
2743
211
        	        FOLLOWPUSH(FOLLOW_symbol_in_command406);
2744
211
        	        symbol(ctx, name, CHECK_UNDECLARED, SYM_SORT);
2745
2746
211
        	        FOLLOWPOP();
2747
211
        	        if  (HASEXCEPTION())
2748
        	        {
2749
        	            goto rulecommandEx;
2750
        	        }
2751
2752
2753
        	        {
2754
211
        	             PARSER_STATE->checkUserSymbol(name);
2755
        	        }
2756
2757
2758
211
        	         MATCHT(LPAREN_TOK, &FOLLOW_LPAREN_TOK_in_command419);
2759
211
        	        if  (HASEXCEPTION())
2760
        	        {
2761
        	            goto rulecommandEx;
2762
        	        }
2763
2764
2765
211
        	        FOLLOWPUSH(FOLLOW_symbolList_in_command421);
2766
211
        	        symbolList(ctx, names, CHECK_NONE, SYM_SORT);
2767
2768
211
        	        FOLLOWPOP();
2769
211
        	        if  (HASEXCEPTION())
2770
        	        {
2771
        	            goto rulecommandEx;
2772
        	        }
2773
2774
2775
211
        	         MATCHT(RPAREN_TOK, &FOLLOW_RPAREN_TOK_in_command424);
2776
211
        	        if  (HASEXCEPTION())
2777
        	        {
2778
        	            goto rulecommandEx;
2779
        	        }
2780
2781
2782
        	        {
2783
211
        	             PARSER_STATE->pushScope();
2784
213
        	                  for(std::vector<std::string>::const_iterator i = names.begin(),
2785
211
        	                        iend = names.end();
2786
213
        	                      i != iend;
2787
        	                      ++i) {
2788
2
        	                    sorts.push_back(PARSER_STATE->mkSort(*i));
2789
        	                  }
2790
2791
        	        }
2792
2793
2794
211
        	        FOLLOWPUSH(FOLLOW_sortSymbol_in_command436);
2795
211
        	        sortSymbol(ctx, t, CHECK_DECLARED);
2796
2797
211
        	        FOLLOWPOP();
2798
211
        	        if  (HASEXCEPTION())
2799
        	        {
2800
        	            goto rulecommandEx;
2801
        	        }
2802
2803
2804
        	        {
2805
211
        	             PARSER_STATE->popScope();
2806
        	                  // Do NOT call mkSort, since that creates a new sort!
2807
        	                  // This name is not its own distinct sort, it's an alias.
2808
211
        	                  PARSER_STATE->defineParameterizedType(name, sorts, t);
2809
211
        	                  cmd->reset(new DefineSortCommand(name, sorts, t));
2810
2811
        	        }
2812
2813
2814
        	    }
2815
211
        	    break;
2816
158549
        	case 8:
2817
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:273:5: DECLARE_FUN_TOK symbol[name,CHECK_NONE,SYM_VARIABLE] LPAREN_TOK sortList[sorts] RPAREN_TOK sortSymbol[t,CHECK_DECLARED]
2818
        	    {
2819
158549
        	         MATCHT(DECLARE_FUN_TOK, &FOLLOW_DECLARE_FUN_TOK_in_command455);
2820
158549
        	        if  (HASEXCEPTION())
2821
        	        {
2822
        	            goto rulecommandEx;
2823
        	        }
2824
2825
2826
        	        {
2827
158549
        	             PARSER_STATE->checkThatLogicIsSet();
2828
        	        }
2829
2830
2831
158547
        	        FOLLOWPUSH(FOLLOW_symbol_in_command463);
2832
158547
        	        symbol(ctx, name, CHECK_NONE, SYM_VARIABLE);
2833
2834
158547
        	        FOLLOWPOP();
2835
158547
        	        if  (HASEXCEPTION())
2836
        	        {
2837
        	            goto rulecommandEx;
2838
        	        }
2839
2840
2841
        	        {
2842
158547
        	             PARSER_STATE->checkUserSymbol(name);
2843
        	        }
2844
2845
2846
158545
        	         MATCHT(LPAREN_TOK, &FOLLOW_LPAREN_TOK_in_command476);
2847
158545
        	        if  (HASEXCEPTION())
2848
        	        {
2849
2
        	            goto rulecommandEx;
2850
        	        }
2851
2852
2853
158543
        	        FOLLOWPUSH(FOLLOW_sortList_in_command478);
2854
158543
        	        sortList(ctx, sorts);
2855
2856
158542
        	        FOLLOWPOP();
2857
158542
        	        if  (HASEXCEPTION())
2858
        	        {
2859
        	            goto rulecommandEx;
2860
        	        }
2861
2862
2863
158542
        	         MATCHT(RPAREN_TOK, &FOLLOW_RPAREN_TOK_in_command481);
2864
158542
        	        if  (HASEXCEPTION())
2865
        	        {
2866
        	            goto rulecommandEx;
2867
        	        }
2868
2869
2870
158542
        	        FOLLOWPUSH(FOLLOW_sortSymbol_in_command487);
2871
158542
        	        sortSymbol(ctx, t, CHECK_DECLARED);
2872
2873
158541
        	        FOLLOWPOP();
2874
158541
        	        if  (HASEXCEPTION())
2875
        	        {
2876
        	            goto rulecommandEx;
2877
        	        }
2878
2879
2880
        	        {
2881
158541
        	             Debug("parser") << "declare fun: '" << name << "'" << std::endl;
2882
158541
        	                  if( !sorts.empty() ) {
2883
14054
        	                    t = PARSER_STATE->mkFlatFunctionType(sorts, t);
2884
        	                  }
2885
158541
        	                  if(t.isFunction())
2886
        	                  {
2887
14065
        	                    PARSER_STATE->checkLogicAllowsFunctions();
2888
        	                  }
2889
        	                  // we allow overloading for function declarations
2890
158541
        	                  if( PARSER_STATE->sygus() )
2891
        	                  {
2892
        	                    PARSER_STATE->parseErrorLogic("declare-fun are not allowed in sygus "
2893
        	                                                  "version 2.0");
2894
        	                  }
2895
        	                  else
2896
        	                  {
2897
        	                    api::Term func =
2898
317082
        	                        PARSER_STATE->bindVar(name, t, false, true);
2899
158541
        	                    cmd->reset(new DeclareFunctionCommand(name, func, t));
2900
        	                  }
2901
2902
        	        }
2903
2904
2905
        	    }
2906
158541
        	    break;
2907
2211
        	case 9:
2908
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:300:5: DEFINE_FUN_TOK symbol[name,CHECK_UNDECLARED,SYM_VARIABLE] LPAREN_TOK sortedVarList[sortedVarNames] RPAREN_TOK sortSymbol[t,CHECK_DECLARED] term[expr, expr2]
2909
        	    {
2910
2211
        	         MATCHT(DEFINE_FUN_TOK, &FOLLOW_DEFINE_FUN_TOK_in_command506);
2911
2211
        	        if  (HASEXCEPTION())
2912
        	        {
2913
        	            goto rulecommandEx;
2914
        	        }
2915
2916
2917
        	        {
2918
2211
        	             PARSER_STATE->checkThatLogicIsSet();
2919
        	        }
2920
2921
2922
2211
        	        FOLLOWPUSH(FOLLOW_symbol_in_command514);
2923
2211
        	        symbol(ctx, name, CHECK_UNDECLARED, SYM_VARIABLE);
2924
2925
2211
        	        FOLLOWPOP();
2926
2211
        	        if  (HASEXCEPTION())
2927
        	        {
2928
        	            goto rulecommandEx;
2929
        	        }
2930
2931
2932
        	        {
2933
2211
        	             PARSER_STATE->checkUserSymbol(name);
2934
        	        }
2935
2936
2937
2211
        	         MATCHT(LPAREN_TOK, &FOLLOW_LPAREN_TOK_in_command527);
2938
2211
        	        if  (HASEXCEPTION())
2939
        	        {
2940
        	            goto rulecommandEx;
2941
        	        }
2942
2943
2944
2211
        	        FOLLOWPUSH(FOLLOW_sortedVarList_in_command529);
2945
2211
        	        sortedVarList(ctx, sortedVarNames);
2946
2947
2211
        	        FOLLOWPOP();
2948
2211
        	        if  (HASEXCEPTION())
2949
        	        {
2950
        	            goto rulecommandEx;
2951
        	        }
2952
2953
2954
2211
        	         MATCHT(RPAREN_TOK, &FOLLOW_RPAREN_TOK_in_command532);
2955
2211
        	        if  (HASEXCEPTION())
2956
        	        {
2957
        	            goto rulecommandEx;
2958
        	        }
2959
2960
2961
2211
        	        FOLLOWPUSH(FOLLOW_sortSymbol_in_command538);
2962
2211
        	        sortSymbol(ctx, t, CHECK_DECLARED);
2963
2964
2211
        	        FOLLOWPOP();
2965
2211
        	        if  (HASEXCEPTION())
2966
        	        {
2967
        	            goto rulecommandEx;
2968
        	        }
2969
2970
2971
        	        {
2972
        	             /* add variables to parser state before parsing term */
2973
2211
        	                  Debug("parser") << "define fun: '" << name << "'" << std::endl;
2974
2211
        	                  if( sortedVarNames.size() > 0 ) {
2975
1412
        	                    sorts.reserve(sortedVarNames.size());
2976
4152
        	                    for(std::vector<std::pair<std::string, api::Sort> >::const_iterator i =
2977
1412
        	                          sortedVarNames.begin(), iend = sortedVarNames.end();
2978
5564
        	                        i != iend;
2979
        	                        ++i) {
2980
4152
        	                      sorts.push_back((*i).second);
2981
        	                    }
2982
        	                  }
2983
2984
2211
        	                  t = PARSER_STATE->mkFlatFunctionType(sorts, t, flattenVars);
2985
2211
        	                  PARSER_STATE->pushScope();
2986
2211
        	                  terms = PARSER_STATE->bindBoundVars(sortedVarNames);
2987
2988
        	        }
2989
2990
2991
2211
        	        FOLLOWPUSH(FOLLOW_term_in_command551);
2992
2211
        	        term(ctx, expr, expr2);
2993
2994
2211
        	        FOLLOWPOP();
2995
2211
        	        if  (HASEXCEPTION())
2996
        	        {
2997
        	            goto rulecommandEx;
2998
        	        }
2999
3000
3001
        	        {
3002
3003
2211
        	                  if( !flattenVars.empty() ){
3004
        	                    // if this function has any implicit variables flattenVars,
3005
        	                    // we apply the body of the definition to the flatten vars
3006
4
        	                    expr = PARSER_STATE->mkHoApply(expr, flattenVars);
3007
4
        	                    terms.insert(terms.end(), flattenVars.begin(), flattenVars.end());
3008
        	                  }
3009
2211
        	                  PARSER_STATE->popScope();
3010
        	                  // declare the name down here (while parsing term, signature
3011
        	                  // must not be extended with the name itself; no recursion
3012
        	                  // permitted)
3013
        	                  // we allow overloading for function definitions
3014
4422
        	                  api::Term func = PARSER_STATE->bindVar(name, t, false, true);
3015
4422
        	                  cmd->reset(new DefineFunctionCommand(
3016
2211
        	                      name, func, terms, expr, SYM_MAN->getGlobalDeclarations()));
3017
3018
2211
        	        }
3019
3020
3021
        	    }
3022
2211
        	    break;
3023
129
        	case 10:
3024
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:338:5: DECLARE_DATATYPE_TOK datatypeDefCommand[false, cmd]
3025
        	    {
3026
129
        	         MATCHT(DECLARE_DATATYPE_TOK, &FOLLOW_DECLARE_DATATYPE_TOK_in_command564);
3027
129
        	        if  (HASEXCEPTION())
3028
        	        {
3029
        	            goto rulecommandEx;
3030
        	        }
3031
3032
3033
129
        	        FOLLOWPUSH(FOLLOW_datatypeDefCommand_in_command566);
3034
129
        	        datatypeDefCommand(ctx, false, cmd);
3035
3036
129
        	        FOLLOWPOP();
3037
129
        	        if  (HASEXCEPTION())
3038
        	        {
3039
        	            goto rulecommandEx;
3040
        	        }
3041
3042
3043
        	    }
3044
129
        	    break;
3045
629
        	case 11:
3046
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:339:5: DECLARE_DATATYPES_TOK datatypesDefCommand[false, cmd]
3047
        	    {
3048
629
        	         MATCHT(DECLARE_DATATYPES_TOK, &FOLLOW_DECLARE_DATATYPES_TOK_in_command573);
3049
629
        	        if  (HASEXCEPTION())
3050
        	        {
3051
        	            goto rulecommandEx;
3052
        	        }
3053
3054
3055
629
        	        FOLLOWPUSH(FOLLOW_datatypesDefCommand_in_command575);
3056
629
        	        datatypesDefCommand(ctx, false, cmd);
3057
3058
629
        	        FOLLOWPOP();
3059
629
        	        if  (HASEXCEPTION())
3060
        	        {
3061
        	            goto rulecommandEx;
3062
        	        }
3063
3064
3065
        	    }
3066
629
        	    break;
3067
56
        	case 12:
3068
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:341:5: GET_VALUE_TOK ( LPAREN_TOK termList[terms,expr] RPAREN_TOK |~ LPAREN_TOK )
3069
        	    {
3070
56
        	         MATCHT(GET_VALUE_TOK, &FOLLOW_GET_VALUE_TOK_in_command588);
3071
56
        	        if  (HASEXCEPTION())
3072
        	        {
3073
        	            goto rulecommandEx;
3074
        	        }
3075
3076
3077
        	        {
3078
56
        	             PARSER_STATE->checkThatLogicIsSet();
3079
        	        }
3080
3081
3082
        	        // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:342:5: ( LPAREN_TOK termList[terms,expr] RPAREN_TOK |~ LPAREN_TOK )
3083
        	        {
3084
56
        	            int alt4=2;
3085
56
        	            switch ( LA(1) )
3086
        	            {
3087
56
        	            case LPAREN_TOK:
3088
        	            	{
3089
56
        	            		alt4=1;
3090
        	            	}
3091
56
        	                break;
3092
        	            case ALPHA:
3093
        	            case ASSERT_TOK:
3094
        	            case AS_TOK:
3095
        	            case ATTRIBUTE_INST_LEVEL:
3096
        	            case ATTRIBUTE_NAMED_TOK:
3097
        	            case ATTRIBUTE_NO_PATTERN_TOK:
3098
        	            case ATTRIBUTE_PATTERN_TOK:
3099
        	            case ATTRIBUTE_QUANTIFIER_ID_TOK:
3100
        	            case ATTRIBUTE_TOK:
3101
        	            case BINARY_LITERAL:
3102
        	            case BLOCK_MODEL_TOK:
3103
        	            case BLOCK_MODEL_VALUES_TOK:
3104
        	            case CHAR_TOK:
3105
        	            case CHECK_SAT_ASSUMING_TOK:
3106
        	            case CHECK_SAT_TOK:
3107
        	            case CHECK_SYNTH_TOK:
3108
        	            case COMMENT:
3109
        	            case COMPREHENSION_TOK:
3110
        	            case CONSTRAINT_TOK:
3111
        	            case CONST_TOK:
3112
        	            case DECIMAL_LITERAL:
3113
        	            case DECLARE_CODATATYPES_2_5_TOK:
3114
        	            case DECLARE_CODATATYPES_TOK:
3115
        	            case DECLARE_CODATATYPE_TOK:
3116
        	            case DECLARE_CONST_TOK:
3117
        	            case DECLARE_DATATYPES_2_5_TOK:
3118
        	            case DECLARE_DATATYPES_TOK:
3119
        	            case DECLARE_DATATYPE_TOK:
3120
        	            case DECLARE_FUNS_TOK:
3121
        	            case DECLARE_FUN_TOK:
3122
        	            case DECLARE_HEAP:
3123
        	            case DECLARE_PREDS_TOK:
3124
        	            case DECLARE_SORTS_TOK:
3125
        	            case DECLARE_SORT_TOK:
3126
        	            case DECLARE_VAR_TOK:
3127
        	            case DEFINE_CONST_TOK:
3128
        	            case DEFINE_FUNS_REC_TOK:
3129
        	            case DEFINE_FUN_REC_TOK:
3130
        	            case DEFINE_FUN_TOK:
3131
        	            case DEFINE_SORT_TOK:
3132
        	            case DEFINE_TOK:
3133
        	            case DIGIT:
3134
        	            case ECHO_TOK:
3135
        	            case EMP_TOK:
3136
        	            case EXISTS_TOK:
3137
        	            case EXIT_TOK:
3138
        	            case FORALL_TOK:
3139
        	            case GET_ABDUCT_TOK:
3140
        	            case GET_ASSERTIONS_TOK:
3141
        	            case GET_ASSIGNMENT_TOK:
3142
        	            case GET_INFO_TOK:
3143
        	            case GET_INTERPOL_TOK:
3144
        	            case GET_MODEL_TOK:
3145
        	            case GET_OPTION_TOK:
3146
        	            case GET_PROOF_TOK:
3147
        	            case GET_QE_DISJUNCT_TOK:
3148
        	            case GET_QE_TOK:
3149
        	            case GET_UNSAT_ASSUMPTIONS_TOK:
3150
        	            case GET_UNSAT_CORE_TOK:
3151
        	            case GET_VALUE_TOK:
3152
        	            case HEX_DIGIT:
3153
        	            case HEX_LITERAL:
3154
        	            case HO_ARROW_TOK:
3155
        	            case HO_LAMBDA_TOK:
3156
        	            case INCLUDE_TOK:
3157
        	            case INDEX_TOK:
3158
        	            case INTEGER_LITERAL:
3159
        	            case INV_CONSTRAINT_TOK:
3160
        	            case KEYWORD:
3161
        	            case LET_TOK:
3162
        	            case MATCH_TOK:
3163
        	            case NUMERAL:
3164
        	            case PAR_TOK:
3165
        	            case POP_TOK:
3166
        	            case PUSH_TOK:
3167
        	            case QUOTED_SYMBOL:
3168
        	            case RESET_ASSERTIONS_TOK:
3169
        	            case RESET_TOK:
3170
        	            case RPAREN_TOK:
3171
        	            case SET_INFO_TOK:
3172
        	            case SET_LOGIC_TOK:
3173
        	            case SET_OPTIONS_TOK:
3174
        	            case SET_OPTION_TOK:
3175
        	            case SIMPLE_SYMBOL:
3176
        	            case SIMPLIFY_TOK:
3177
        	            case STRING_LITERAL:
3178
        	            case SYGUS_CONSTANT_TOK:
3179
        	            case SYGUS_VARIABLE_TOK:
3180
        	            case SYMBOL_CHAR:
3181
        	            case SYMBOL_CHAR_NOUNDERSCORE_NOATTRIBUTE:
3182
        	            case SYNTH_FUN_TOK:
3183
        	            case SYNTH_INV_TOK:
3184
        	            case TESTER_TOK:
3185
        	            case TUPLE_CONST_TOK:
3186
        	            case TUPLE_PROJECT_TOK:
3187
        	            case TUPLE_SEL_TOK:
3188
        	            case UNTERMINATED_QUOTED_SYMBOL:
3189
        	            case WHITESPACE:
3190
        	            case 103:
3191
        	            	{
3192
        	            		alt4=2;
3193
        	            	}
3194
        	                break;
3195
3196
        	            default:
3197
        	                CONSTRUCTEX();
3198
        	                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
3199
        	                EXCEPTION->message      = (void *)"";
3200
        	                EXCEPTION->decisionNum  = 4;
3201
        	                EXCEPTION->state        = 0;
3202
3203
3204
        	                goto rulecommandEx;
3205
3206
        	            }
3207
3208
56
        	            switch (alt4)
3209
        	            {
3210
56
        	        	case 1:
3211
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:342:7: LPAREN_TOK termList[terms,expr] RPAREN_TOK
3212
        	        	    {
3213
56
        	        	         MATCHT(LPAREN_TOK, &FOLLOW_LPAREN_TOK_in_command598);
3214
56
        	        	        if  (HASEXCEPTION())
3215
        	        	        {
3216
        	        	            goto rulecommandEx;
3217
        	        	        }
3218
3219
3220
56
        	        	        FOLLOWPUSH(FOLLOW_termList_in_command600);
3221
56
        	        	        termList(ctx, terms, expr);
3222
3223
56
        	        	        FOLLOWPOP();
3224
56
        	        	        if  (HASEXCEPTION())
3225
        	        	        {
3226
        	        	            goto rulecommandEx;
3227
        	        	        }
3228
3229
3230
56
        	        	         MATCHT(RPAREN_TOK, &FOLLOW_RPAREN_TOK_in_command603);
3231
56
        	        	        if  (HASEXCEPTION())
3232
        	        	        {
3233
        	        	            goto rulecommandEx;
3234
        	        	        }
3235
3236
3237
        	        	        {
3238
56
        	        	             cmd->reset(new GetValueCommand(terms));
3239
        	        	        }
3240
3241
3242
        	        	    }
3243
56
        	        	    break;
3244
        	        	case 2:
3245
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:344:7: ~ LPAREN_TOK
3246
        	        	    {
3247
        	        	        if ( ((LA(1) >= ALPHA) && (LA(1) <= LET_TOK)) || ((LA(1) >= MATCH_TOK) && (LA(1) <= 103)) )
3248
        	        	        {
3249
        	        	            CONSUME();
3250
        	        	            PERRORRECOVERY=ANTLR3_FALSE;
3251
        	        	        }
3252
        	        	        else
3253
        	        	        {
3254
        	        	            CONSTRUCTEX();
3255
        	        	            EXCEPTION->type         = ANTLR3_MISMATCHED_SET_EXCEPTION;
3256
        	        	            EXCEPTION->name         = (void *)ANTLR3_MISMATCHED_SET_NAME;
3257
        	        	            EXCEPTION->expectingSet = NULL;
3258
3259
        	        	            goto rulecommandEx;
3260
        	        	        }
3261
3262
3263
        	        	        {
3264
        	        	             PARSER_STATE->parseError("The get-value command expects a list of "
3265
        	        	                                             "terms.  Perhaps you forgot a pair of "
3266
        	        	                                             "parentheses?");
3267
3268
        	        	        }
3269
3270
3271
        	        	    }
3272
        	        	    break;
3273
3274
        	            }
3275
        	        }
3276
3277
        	    }
3278
56
        	    break;
3279
8
        	case 13:
3280
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:351:5: GET_ASSIGNMENT_TOK
3281
        	    {
3282
8
        	         MATCHT(GET_ASSIGNMENT_TOK, &FOLLOW_GET_ASSIGNMENT_TOK_in_command646);
3283
8
        	        if  (HASEXCEPTION())
3284
        	        {
3285
        	            goto rulecommandEx;
3286
        	        }
3287
3288
3289
        	        {
3290
8
        	             PARSER_STATE->checkThatLogicIsSet();
3291
        	        }
3292
3293
3294
        	        {
3295
8
        	             cmd->reset(new GetAssignmentCommand());
3296
        	        }
3297
3298
3299
        	    }
3300
8
        	    break;
3301
67628
        	case 14:
3302
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:354:5: ASSERT_TOK term[expr, expr2]
3303
        	    {
3304
67628
        	         MATCHT(ASSERT_TOK, &FOLLOW_ASSERT_TOK_in_command666);
3305
67628
        	        if  (HASEXCEPTION())
3306
        	        {
3307
        	            goto rulecommandEx;
3308
        	        }
3309
3310
3311
        	        {
3312
67628
        	             PARSER_STATE->checkThatLogicIsSet();
3313
        	        }
3314
3315
3316
        	        {
3317
67626
        	             PARSER_STATE->clearLastNamedTerm();
3318
        	        }
3319
3320
3321
67626
        	        FOLLOWPUSH(FOLLOW_term_in_command680);
3322
67626
        	        term(ctx, expr, expr2);
3323
3324
67618
        	        FOLLOWPOP();
3325
67618
        	        if  (HASEXCEPTION())
3326
        	        {
3327
        	            goto rulecommandEx;
3328
        	        }
3329
3330
3331
        	        {
3332
67618
        	             bool inUnsatCore = PARSER_STATE->lastNamedTerm().first == expr;
3333
67618
        	                  cmd->reset(new AssertCommand(expr, inUnsatCore));
3334
67618
        	                  if(inUnsatCore) {
3335
        	                    // set the expression name, if there was a named term
3336
        	                    std::pair<api::Term, std::string> namedTerm =
3337
9212
        	                        PARSER_STATE->lastNamedTerm();
3338
4606
        	                    SYM_MAN->setExpressionName(namedTerm.first, namedTerm.second, true);
3339
        	                  }
3340
3341
        	        }
3342
3343
3344
        	    }
3345
67618
        	    break;
3346
6967
        	case 15:
3347
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:367:5: CHECK_SAT_TOK ( term[expr, expr2] |)
3348
        	    {
3349
6967
        	         MATCHT(CHECK_SAT_TOK, &FOLLOW_CHECK_SAT_TOK_in_command699);
3350
6967
        	        if  (HASEXCEPTION())
3351
        	        {
3352
        	            goto rulecommandEx;
3353
        	        }
3354
3355
3356
        	        {
3357
6967
        	             PARSER_STATE->checkThatLogicIsSet();
3358
        	        }
3359
3360
3361
        	        {
3362
6967
        	             if( PARSER_STATE->sygus() ){
3363
        	                    PARSER_STATE->parseError("Sygus does not support check-sat command.");
3364
        	                  }
3365
3366
        	        }
3367
3368
3369
        	        // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:372:5: ( term[expr, expr2] |)
3370
        	        {
3371
6967
        	            int alt5=2;
3372
6967
        	            switch ( LA(1) )
3373
        	            {
3374
2
        	            case BINARY_LITERAL:
3375
        	            case DECIMAL_LITERAL:
3376
        	            case HEX_LITERAL:
3377
        	            case INTEGER_LITERAL:
3378
        	            case LPAREN_TOK:
3379
        	            case QUOTED_SYMBOL:
3380
        	            case SIMPLE_SYMBOL:
3381
        	            case STRING_LITERAL:
3382
        	            case TUPLE_CONST_TOK:
3383
        	            case UNTERMINATED_QUOTED_SYMBOL:
3384
        	            	{
3385
2
        	            		alt5=1;
3386
        	            	}
3387
2
        	                break;
3388
6965
        	            case RPAREN_TOK:
3389
        	            	{
3390
6965
        	            		alt5=2;
3391
        	            	}
3392
6965
        	                break;
3393
3394
        	            default:
3395
        	                CONSTRUCTEX();
3396
        	                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
3397
        	                EXCEPTION->message      = (void *)"";
3398
        	                EXCEPTION->decisionNum  = 5;
3399
        	                EXCEPTION->state        = 0;
3400
3401
3402
        	                goto rulecommandEx;
3403
3404
        	            }
3405
3406
6967
        	            switch (alt5)
3407
        	            {
3408
2
        	        	case 1:
3409
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:372:7: term[expr, expr2]
3410
        	        	    {
3411
2
        	        	        FOLLOWPUSH(FOLLOW_term_in_command715);
3412
2
        	        	        term(ctx, expr, expr2);
3413
3414
2
        	        	        FOLLOWPOP();
3415
2
        	        	        if  (HASEXCEPTION())
3416
        	        	        {
3417
        	        	            goto rulecommandEx;
3418
        	        	        }
3419
3420
3421
        	        	        {
3422
2
        	        	             if(PARSER_STATE->strictModeEnabled()) {
3423
4
        	        	                      PARSER_STATE->parseError(
3424
        	        	                          "Extended commands (such as check-sat with an argument) are not "
3425
        	        	                          "permitted while operating in strict compliance mode.");
3426
        	        	                    }
3427
3428
        	        	        }
3429
3430
3431
        	        	    }
3432
        	        	    break;
3433
6965
        	        	case 2:
3434
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:379:7:
3435
        	        	    {
3436
        	        	        {
3437
6965
        	        	             expr = api::Term();
3438
        	        	        }
3439
3440
3441
        	        	    }
3442
6965
        	        	    break;
3443
3444
        	            }
3445
        	        }
3446
3447
        	        {
3448
6965
        	             cmd->reset(new CheckSatCommand(expr));
3449
        	        }
3450
3451
3452
        	    }
3453
6965
        	    break;
3454
983
        	case 16:
3455
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:383:5: CHECK_SAT_ASSUMING_TOK ( LPAREN_TOK termList[terms,expr] RPAREN_TOK |~ LPAREN_TOK )
3456
        	    {
3457
983
        	         MATCHT(CHECK_SAT_ASSUMING_TOK, &FOLLOW_CHECK_SAT_ASSUMING_TOK_in_command756);
3458
983
        	        if  (HASEXCEPTION())
3459
        	        {
3460
        	            goto rulecommandEx;
3461
        	        }
3462
3463
3464
        	        {
3465
983
        	             PARSER_STATE->checkThatLogicIsSet();
3466
        	        }
3467
3468
3469
        	        // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:384:5: ( LPAREN_TOK termList[terms,expr] RPAREN_TOK |~ LPAREN_TOK )
3470
        	        {
3471
983
        	            int alt6=2;
3472
983
        	            switch ( LA(1) )
3473
        	            {
3474
983
        	            case LPAREN_TOK:
3475
        	            	{
3476
983
        	            		alt6=1;
3477
        	            	}
3478
983
        	                break;
3479
        	            case ALPHA:
3480
        	            case ASSERT_TOK:
3481
        	            case AS_TOK:
3482
        	            case ATTRIBUTE_INST_LEVEL:
3483
        	            case ATTRIBUTE_NAMED_TOK:
3484
        	            case ATTRIBUTE_NO_PATTERN_TOK:
3485
        	            case ATTRIBUTE_PATTERN_TOK:
3486
        	            case ATTRIBUTE_QUANTIFIER_ID_TOK:
3487
        	            case ATTRIBUTE_TOK:
3488
        	            case BINARY_LITERAL:
3489
        	            case BLOCK_MODEL_TOK:
3490
        	            case BLOCK_MODEL_VALUES_TOK:
3491
        	            case CHAR_TOK:
3492
        	            case CHECK_SAT_ASSUMING_TOK:
3493
        	            case CHECK_SAT_TOK:
3494
        	            case CHECK_SYNTH_TOK:
3495
        	            case COMMENT:
3496
        	            case COMPREHENSION_TOK:
3497
        	            case CONSTRAINT_TOK:
3498
        	            case CONST_TOK:
3499
        	            case DECIMAL_LITERAL:
3500
        	            case DECLARE_CODATATYPES_2_5_TOK:
3501
        	            case DECLARE_CODATATYPES_TOK:
3502
        	            case DECLARE_CODATATYPE_TOK:
3503
        	            case DECLARE_CONST_TOK:
3504
        	            case DECLARE_DATATYPES_2_5_TOK:
3505
        	            case DECLARE_DATATYPES_TOK:
3506
        	            case DECLARE_DATATYPE_TOK:
3507
        	            case DECLARE_FUNS_TOK:
3508
        	            case DECLARE_FUN_TOK:
3509
        	            case DECLARE_HEAP:
3510
        	            case DECLARE_PREDS_TOK:
3511
        	            case DECLARE_SORTS_TOK:
3512
        	            case DECLARE_SORT_TOK:
3513
        	            case DECLARE_VAR_TOK:
3514
        	            case DEFINE_CONST_TOK:
3515
        	            case DEFINE_FUNS_REC_TOK:
3516
        	            case DEFINE_FUN_REC_TOK:
3517
        	            case DEFINE_FUN_TOK:
3518
        	            case DEFINE_SORT_TOK:
3519
        	            case DEFINE_TOK:
3520
        	            case DIGIT:
3521
        	            case ECHO_TOK:
3522
        	            case EMP_TOK:
3523
        	            case EXISTS_TOK:
3524
        	            case EXIT_TOK:
3525
        	            case FORALL_TOK:
3526
        	            case GET_ABDUCT_TOK:
3527
        	            case GET_ASSERTIONS_TOK:
3528
        	            case GET_ASSIGNMENT_TOK:
3529
        	            case GET_INFO_TOK:
3530
        	            case GET_INTERPOL_TOK:
3531
        	            case GET_MODEL_TOK:
3532
        	            case GET_OPTION_TOK:
3533
        	            case GET_PROOF_TOK:
3534
        	            case GET_QE_DISJUNCT_TOK:
3535
        	            case GET_QE_TOK:
3536
        	            case GET_UNSAT_ASSUMPTIONS_TOK:
3537
        	            case GET_UNSAT_CORE_TOK:
3538
        	            case GET_VALUE_TOK:
3539
        	            case HEX_DIGIT:
3540
        	            case HEX_LITERAL:
3541
        	            case HO_ARROW_TOK:
3542
        	            case HO_LAMBDA_TOK:
3543
        	            case INCLUDE_TOK:
3544
        	            case INDEX_TOK:
3545
        	            case INTEGER_LITERAL:
3546
        	            case INV_CONSTRAINT_TOK:
3547
        	            case KEYWORD:
3548
        	            case LET_TOK:
3549
        	            case MATCH_TOK:
3550
        	            case NUMERAL:
3551
        	            case PAR_TOK:
3552
        	            case POP_TOK:
3553
        	            case PUSH_TOK:
3554
        	            case QUOTED_SYMBOL:
3555
        	            case RESET_ASSERTIONS_TOK:
3556
        	            case RESET_TOK:
3557
        	            case RPAREN_TOK:
3558
        	            case SET_INFO_TOK:
3559
        	            case SET_LOGIC_TOK:
3560
        	            case SET_OPTIONS_TOK:
3561
        	            case SET_OPTION_TOK:
3562
        	            case SIMPLE_SYMBOL:
3563
        	            case SIMPLIFY_TOK:
3564
        	            case STRING_LITERAL:
3565
        	            case SYGUS_CONSTANT_TOK:
3566
        	            case SYGUS_VARIABLE_TOK:
3567
        	            case SYMBOL_CHAR:
3568
        	            case SYMBOL_CHAR_NOUNDERSCORE_NOATTRIBUTE:
3569
        	            case SYNTH_FUN_TOK:
3570
        	            case SYNTH_INV_TOK:
3571
        	            case TESTER_TOK:
3572
        	            case TUPLE_CONST_TOK:
3573
        	            case TUPLE_PROJECT_TOK:
3574
        	            case TUPLE_SEL_TOK:
3575
        	            case UNTERMINATED_QUOTED_SYMBOL:
3576
        	            case WHITESPACE:
3577
        	            case 103:
3578
        	            	{
3579
        	            		alt6=2;
3580
        	            	}
3581
        	                break;
3582
3583
        	            default:
3584
        	                CONSTRUCTEX();
3585
        	                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
3586
        	                EXCEPTION->message      = (void *)"";
3587
        	                EXCEPTION->decisionNum  = 6;
3588
        	                EXCEPTION->state        = 0;
3589
3590
3591
        	                goto rulecommandEx;
3592
3593
        	            }
3594
3595
983
        	            switch (alt6)
3596
        	            {
3597
983
        	        	case 1:
3598
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:384:7: LPAREN_TOK termList[terms,expr] RPAREN_TOK
3599
        	        	    {
3600
983
        	        	         MATCHT(LPAREN_TOK, &FOLLOW_LPAREN_TOK_in_command766);
3601
983
        	        	        if  (HASEXCEPTION())
3602
        	        	        {
3603
        	        	            goto rulecommandEx;
3604
        	        	        }
3605
3606
3607
983
        	        	        FOLLOWPUSH(FOLLOW_termList_in_command768);
3608
983
        	        	        termList(ctx, terms, expr);
3609
3610
980
        	        	        FOLLOWPOP();
3611
980
        	        	        if  (HASEXCEPTION())
3612
        	        	        {
3613
        	        	            goto rulecommandEx;
3614
        	        	        }
3615
3616
3617
980
        	        	         MATCHT(RPAREN_TOK, &FOLLOW_RPAREN_TOK_in_command771);
3618
980
        	        	        if  (HASEXCEPTION())
3619
        	        	        {
3620
        	        	            goto rulecommandEx;
3621
        	        	        }
3622
3623
3624
        	        	        {
3625
3626
980
        	        	                    cmd->reset(new CheckSatAssumingCommand(terms));
3627
3628
        	        	        }
3629
3630
3631
        	        	    }
3632
980
        	        	    break;
3633
        	        	case 2:
3634
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:388:7: ~ LPAREN_TOK
3635
        	        	    {
3636
        	        	        if ( ((LA(1) >= ALPHA) && (LA(1) <= LET_TOK)) || ((LA(1) >= MATCH_TOK) && (LA(1) <= 103)) )
3637
        	        	        {
3638
        	        	            CONSUME();
3639
        	        	            PERRORRECOVERY=ANTLR3_FALSE;
3640
        	        	        }
3641
        	        	        else
3642
        	        	        {
3643
        	        	            CONSTRUCTEX();
3644
        	        	            EXCEPTION->type         = ANTLR3_MISMATCHED_SET_EXCEPTION;
3645
        	        	            EXCEPTION->name         = (void *)ANTLR3_MISMATCHED_SET_NAME;
3646
        	        	            EXCEPTION->expectingSet = NULL;
3647
3648
        	        	            goto rulecommandEx;
3649
        	        	        }
3650
3651
3652
        	        	        {
3653
        	        	             PARSER_STATE->parseError("The check-sat-assuming command expects a "
3654
        	        	                                             "list of terms.  Perhaps you forgot a pair of "
3655
        	        	                                             "parentheses?");
3656
3657
        	        	        }
3658
3659
3660
        	        	    }
3661
        	        	    break;
3662
3663
        	            }
3664
        	        }
3665
3666
        	    }
3667
980
        	    break;
3668
        	case 17:
3669
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:395:5: GET_ASSERTIONS_TOK
3670
        	    {
3671
        	         MATCHT(GET_ASSERTIONS_TOK, &FOLLOW_GET_ASSERTIONS_TOK_in_command814);
3672
        	        if  (HASEXCEPTION())
3673
        	        {
3674
        	            goto rulecommandEx;
3675
        	        }
3676
3677
3678
        	        {
3679
        	             PARSER_STATE->checkThatLogicIsSet();
3680
        	        }
3681
3682
3683
        	        {
3684
        	             cmd->reset(new GetAssertionsCommand());
3685
        	        }
3686
3687
3688
        	    }
3689
        	    break;
3690
        	case 18:
3691
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:398:5: GET_PROOF_TOK
3692
        	    {
3693
        	         MATCHT(GET_PROOF_TOK, &FOLLOW_GET_PROOF_TOK_in_command834);
3694
        	        if  (HASEXCEPTION())
3695
        	        {
3696
        	            goto rulecommandEx;
3697
        	        }
3698
3699
3700
        	        {
3701
        	             PARSER_STATE->checkThatLogicIsSet();
3702
        	        }
3703
3704
3705
        	        {
3706
        	             cmd->reset(new GetProofCommand());
3707
        	        }
3708
3709
3710
        	    }
3711
        	    break;
3712
8
        	case 19:
3713
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:401:5: GET_UNSAT_ASSUMPTIONS_TOK
3714
        	    {
3715
8
        	         MATCHT(GET_UNSAT_ASSUMPTIONS_TOK, &FOLLOW_GET_UNSAT_ASSUMPTIONS_TOK_in_command854);
3716
8
        	        if  (HASEXCEPTION())
3717
        	        {
3718
        	            goto rulecommandEx;
3719
        	        }
3720
3721
3722
        	        {
3723
8
        	             PARSER_STATE->checkThatLogicIsSet();
3724
        	        }
3725
3726
3727
        	        {
3728
8
        	             cmd->reset(new GetUnsatAssumptionsCommand);
3729
        	        }
3730
3731
3732
        	    }
3733
8
        	    break;
3734
9
        	case 20:
3735
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:404:5: GET_UNSAT_CORE_TOK
3736
        	    {
3737
9
        	         MATCHT(GET_UNSAT_CORE_TOK, &FOLLOW_GET_UNSAT_CORE_TOK_in_command874);
3738
9
        	        if  (HASEXCEPTION())
3739
        	        {
3740
        	            goto rulecommandEx;
3741
        	        }
3742
3743
3744
        	        {
3745
9
        	             PARSER_STATE->checkThatLogicIsSet();
3746
        	        }
3747
3748
3749
        	        {
3750
9
        	             cmd->reset(new GetUnsatCoreCommand);
3751
        	        }
3752
3753
3754
        	    }
3755
9
        	    break;
3756
2438
        	case 21:
3757
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:407:5: PUSH_TOK (k= INTEGER_LITERAL |)
3758
        	    {
3759
2438
        	         MATCHT(PUSH_TOK, &FOLLOW_PUSH_TOK_in_command894);
3760
2438
        	        if  (HASEXCEPTION())
3761
        	        {
3762
        	            goto rulecommandEx;
3763
        	        }
3764
3765
3766
        	        {
3767
2438
        	             PARSER_STATE->checkThatLogicIsSet();
3768
        	        }
3769
3770
3771
        	        {
3772
2438
        	             if( PARSER_STATE->sygus() ){
3773
        	                    PARSER_STATE->parseError("Sygus does not support push command.");
3774
        	                  }
3775
3776
        	        }
3777
3778
3779
        	        // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:412:5: (k= INTEGER_LITERAL |)
3780
        	        {
3781
2438
        	            int alt7=2;
3782
2438
        	            switch ( LA(1) )
3783
        	            {
3784
2307
        	            case INTEGER_LITERAL:
3785
        	            	{
3786
2307
        	            		alt7=1;
3787
        	            	}
3788
2307
        	                break;
3789
131
        	            case RPAREN_TOK:
3790
        	            	{
3791
131
        	            		alt7=2;
3792
        	            	}
3793
131
        	                break;
3794
3795
        	            default:
3796
        	                CONSTRUCTEX();
3797
        	                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
3798
        	                EXCEPTION->message      = (void *)"";
3799
        	                EXCEPTION->decisionNum  = 7;
3800
        	                EXCEPTION->state        = 0;
3801
3802
3803
        	                goto rulecommandEx;
3804
3805
        	            }
3806
3807
2438
        	            switch (alt7)
3808
        	            {
3809
2307
        	        	case 1:
3810
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:412:7: k= INTEGER_LITERAL
3811
        	        	    {
3812
2307
        	        	        k = (pANTLR3_COMMON_TOKEN) MATCHT(INTEGER_LITERAL, &FOLLOW_INTEGER_LITERAL_in_command912);
3813
2307
        	        	        if  (HASEXCEPTION())
3814
        	        	        {
3815
        	        	            goto rulecommandEx;
3816
        	        	        }
3817
3818
3819
        	        	        {
3820
2307
        	        	             unsigned num = AntlrInput::tokenToUnsigned(k);
3821
2307
        	        	                    if(num == 0) {
3822
        	        	                      cmd->reset(new EmptyCommand());
3823
2307
        	        	                    } else if(num == 1) {
3824
2303
        	        	                      PARSER_STATE->pushScope(true);
3825
2303
        	        	                      cmd->reset(new PushCommand());
3826
        	        	                    } else {
3827
8
        	        	                      std::unique_ptr<CommandSequence> seq(new CommandSequence());
3828
10
        	        	                      do {
3829
14
        	        	                        PARSER_STATE->pushScope(true);
3830
14
        	        	                        Command* push_cmd = new PushCommand();
3831
14
        	        	                        push_cmd->setMuted(num > 1);
3832
14
        	        	                        seq->addCommand(push_cmd);
3833
14
        	        	                        --num;
3834
14
        	        	                        } while(num > 0);
3835
4
        	        	                      cmd->reset(seq.release());
3836
        	        	                    }
3837
3838
        	        	        }
3839
3840
3841
        	        	    }
3842
2307
        	        	    break;
3843
131
        	        	case 2:
3844
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:431:7:
3845
        	        	    {
3846
        	        	        {
3847
131
        	        	             if(PARSER_STATE->strictModeEnabled()) {
3848
        	        	                      PARSER_STATE->parseError(
3849
        	        	                          "Strict compliance mode demands an integer to be provided to "
3850
        	        	                          "PUSH.  Maybe you want (push 1)?");
3851
        	        	                    } else {
3852
131
        	        	                      PARSER_STATE->pushScope(true);
3853
131
        	        	                      cmd->reset(new PushCommand());
3854
        	        	                    }
3855
3856
        	        	        }
3857
3858
3859
        	        	    }
3860
131
        	        	    break;
3861
3862
        	            }
3863
        	        }
3864
3865
        	    }
3866
2438
        	    break;
3867
1968
        	case 22:
3868
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:440:5: POP_TOK (k= INTEGER_LITERAL |)
3869
        	    {
3870
1968
        	         MATCHT(POP_TOK, &FOLLOW_POP_TOK_in_command936);
3871
1968
        	        if  (HASEXCEPTION())
3872
        	        {
3873
        	            goto rulecommandEx;
3874
        	        }
3875
3876
3877
        	        {
3878
1968
        	             PARSER_STATE->checkThatLogicIsSet();
3879
        	        }
3880
3881
3882
        	        {
3883
1968
        	             if( PARSER_STATE->sygus() ){
3884
        	                    PARSER_STATE->parseError("Sygus does not support pop command.");
3885
        	                  }
3886
3887
        	        }
3888
3889
3890
        	        // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:445:5: (k= INTEGER_LITERAL |)
3891
        	        {
3892
1968
        	            int alt8=2;
3893
1968
        	            switch ( LA(1) )
3894
        	            {
3895
1849
        	            case INTEGER_LITERAL:
3896
        	            	{
3897
1849
        	            		alt8=1;
3898
        	            	}
3899
1849
        	                break;
3900
119
        	            case RPAREN_TOK:
3901
        	            	{
3902
119
        	            		alt8=2;
3903
        	            	}
3904
119
        	                break;
3905
3906
        	            default:
3907
        	                CONSTRUCTEX();
3908
        	                EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
3909
        	                EXCEPTION->message      = (void *)"";
3910
        	                EXCEPTION->decisionNum  = 8;
3911
        	                EXCEPTION->state        = 0;
3912
3913
3914
        	                goto rulecommandEx;
3915
3916
        	            }
3917
3918
1968
        	            switch (alt8)
3919
        	            {
3920
1849
        	        	case 1:
3921
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:445:7: k= INTEGER_LITERAL
3922
        	        	    {
3923
1849
        	        	        k = (pANTLR3_COMMON_TOKEN) MATCHT(INTEGER_LITERAL, &FOLLOW_INTEGER_LITERAL_in_command954);
3924
1849
        	        	        if  (HASEXCEPTION())
3925
        	        	        {
3926
        	        	            goto rulecommandEx;
3927
        	        	        }
3928
3929
3930
        	        	        {
3931
1849
        	        	             unsigned num = AntlrInput::tokenToUnsigned(k);
3932
1849
        	        	                    if(num > PARSER_STATE->scopeLevel()) {
3933
        	        	                      PARSER_STATE->parseError("Attempted to pop above the top stack "
3934
        	        	                                               "frame.");
3935
        	        	                    }
3936
1849
        	        	                    if(num == 0) {
3937
48
        	        	                      cmd->reset(new EmptyCommand());
3938
1801
        	        	                    } else if(num == 1) {
3939
1732
        	        	                      PARSER_STATE->popScope();
3940
1732
        	        	                      cmd->reset(new PopCommand());
3941
        	        	                    } else {
3942
138
        	        	                      std::unique_ptr<CommandSequence> seq(new CommandSequence());
3943
117
        	        	                      do {
3944
186
        	        	                        PARSER_STATE->popScope();
3945
186
        	        	                        Command* pop_command = new PopCommand();
3946
186
        	        	                        pop_command->setMuted(num > 1);
3947
186
        	        	                        seq->addCommand(pop_command);
3948
186
        	        	                        --num;
3949
186
        	        	                      } while(num > 0);
3950
69
        	        	                      cmd->reset(seq.release());
3951
        	        	                    }
3952
3953
        	        	        }
3954
3955
3956
        	        	    }
3957
1849
        	        	    break;
3958
119
        	        	case 2:
3959
        	        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:468:7:
3960
        	        	    {
3961
        	        	        {
3962
119
        	        	             if(PARSER_STATE->strictModeEnabled()) {
3963
        	        	                      PARSER_STATE->parseError(
3964
        	        	                          "Strict compliance mode demands an integer to be provided to POP."
3965
        	        	                          "Maybe you want (pop 1)?");
3966
        	        	                    } else {
3967
119
        	        	                      PARSER_STATE->popScope();
3968
119
        	        	                      cmd->reset(new PopCommand());
3969
        	        	                    }
3970
3971
        	        	        }
3972
3973
3974
        	        	    }
3975
119
        	        	    break;
3976
3977
        	            }
3978
        	        }
3979
3980
        	    }
3981
1968
        	    break;
3982
673
        	case 23:
3983
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:479:5: EXIT_TOK
3984
        	    {
3985
673
        	         MATCHT(EXIT_TOK, &FOLLOW_EXIT_TOK_in_command988);
3986
673
        	        if  (HASEXCEPTION())
3987
        	        {
3988
        	            goto rulecommandEx;
3989
        	        }
3990
3991
3992
        	        {
3993
673
        	             cmd->reset(new QuitCommand());
3994
        	        }
3995
3996
3997
        	    }
3998
673
        	    break;
3999
2298
        	case 24:
4000
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:483:5: smt25Command[cmd]
4001
        	    {
4002
2298
        	        FOLLOWPUSH(FOLLOW_smt25Command_in_command1007);
4003
2298
        	        smt25Command(ctx, cmd);
4004
4005
2298
        	        FOLLOWPOP();
4006
2298
        	        if  (HASEXCEPTION())
4007
        	        {
4008
        	            goto rulecommandEx;
4009
        	        }
4010
4011
4012
        	    }
4013
2298
        	    break;
4014
177
        	case 25:
4015
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:486:5: extendedCommand[cmd]
4016
        	    {
4017
177
        	        FOLLOWPUSH(FOLLOW_extendedCommand_in_command1021);
4018
177
        	        extendedCommand(ctx, cmd);
4019
4020
176
        	        FOLLOWPOP();
4021
176
        	        if  (HASEXCEPTION())
4022
        	        {
4023
        	            goto rulecommandEx;
4024
        	        }
4025
4026
4027
        	        {
4028
176
        	             if(PARSER_STATE->strictModeEnabled()) {
4029
        	                    PARSER_STATE->parseError(
4030
        	                        "Extended commands are not permitted while operating in strict "
4031
        	                        "compliance mode.");
4032
        	                  }
4033
4034
        	        }
4035
4036
4037
        	    }
4038
176
        	    break;
4039
        	case 26:
4040
        	    // /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:495:5: SIMPLE_SYMBOL
4041
        	    {
4042
        	        SIMPLE_SYMBOL3 = (pANTLR3_COMMON_TOKEN) MATCHT(SIMPLE_SYMBOL, &FOLLOW_SIMPLE_SYMBOL_in_command1041);
4043
        	        if  (HASEXCEPTION())
4044
        	        {
4045
        	            goto rulecommandEx;
4046
        	        }
4047
4048
4049
        	        {
4050
        	             std::string id = AntlrInput::tokenText(SIMPLE_SYMBOL3);
4051
        	                  if(id == "benchmark") {
4052
        	                    PARSER_STATE->parseError(
4053
        	                        "In SMT-LIBv2 mode, but got something that looks like SMT-LIBv1, "
4054
        	                        "which is not supported anymore.");
4055
        	                  } else {
4056
        	                    PARSER_STATE->parseError("expected SMT-LIBv2 command, got `" + id +
4057
        	                                             "'.");
4058
        	                  }
4059
4060
        	        }
4061
4062
4063
        	    }
4064
        	    break;
4065
4066
            }
4067
        }
4068
    }
4069
4070
    // This is where rules clean up and exit
4071
    //
4072
260718
    goto rulecommandEx; /* Prevent compiler warnings */
4073
260722
    rulecommandEx: ;
4074
4075
260722
            if (HASEXCEPTION())
4076
            {
4077
4
                PREPORTERROR();
4078
                PRECOVER();
4079
            }
4080
521436
    return ;
4081
}
4082
/* $ANTLR end command */
4083
4084
/**
4085
 * $ANTLR start sygusCommand
4086
 * /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:508:1: sygusCommand returns [std::unique_ptr<CVC4::Command> cmd] : ( DECLARE_VAR_TOK symbol[name,CHECK_UNDECLARED,SYM_VARIABLE] sortSymbol[t,CHECK_DECLARED] | ( SYNTH_FUN_TOK | SYNTH_INV_TOK ) symbol[name,CHECK_UNDECLARED,SYM_VARIABLE] LPAREN_TOK sortedVarList[sortedVarNames] RPAREN_TOK ( sortSymbol[range,CHECK_DECLARED] )? ( sygusGrammar[grammar, sygusVars, name] )? | CONSTRAINT_TOK term[expr, expr2] | INV_CONSTRAINT_TOK ( symbol[name,CHECK_NONE,SYM_VARIABLE] )+ | CHECK_SYNTH_TOK | command[&cmd] );
4087
 */
4088
static std::unique_ptr<CVC4::Command>
4089
3768
sygusCommand(pSmt2Parser ctx)
4090
{
4091
3768
    std::unique_ptr<CVC4::Command> cmd;
4092
4093
4094
4095
7536
      CVC4::api::Term expr, expr2, fun;
4096
7536
      CVC4::api::Sort t, range;
4097
7536
      std::vector<std::string> names;
4098
7536
      std::vector<std::pair<std::string, CVC4::api::Sort> > sortedVarNames;
4099
7536
      std::vector<CVC4::api::Term> sygusVars;
4100
7536
      std::string name;
4101
      bool isInv;
4102
3768
      CVC4::api::Grammar* grammar = nullptr;
4103
4104
    /* Initialize rule variables
4105
     */
4106
4107
    {
4108
        {
4109
            //  /barrett/scratch/cvc4-nightly/src/cvc4-2021-03-23/src/parser/smt2/Smt2.g:519:3: ( DECLARE_VAR_TOK symbol[name,CHECK_UNDECLARED,SYM_VARIABLE] sortSymbol[t,CHECK_DECLARED] | ( SYNTH_FUN_TOK | SYNTH_INV_TOK ) symbol[name,CHECK_UNDECLARED,SYM_VARIABLE] LPAREN_TOK sortedVarList[sortedVarNames] RPAREN_TOK ( sortSymbol[range,CHECK_DECLARED] )? ( sygusGrammar[grammar, sygusVars, name] )? | CONSTRAINT_TOK term[expr, expr2] | INV_CONSTRAINT_TOK ( symbol[name,CHECK_NONE,SYM_VARIABLE] )+ | CHECK_SYNTH_TOK | command[&cmd] )
4110
4111
            ANTLR3_UINT32 alt14;
4112
4113
3768
            alt14=6;
4114
4115
3768
            switch ( LA(1) )
4116
            {
4117
572
            case DECLARE_VAR_TOK:
4118
            	{
4119
572
            		alt14=1;
4120
            	}
4121
572
                break;
4122
541
            case SYNTH_FUN_TOK:
4123
            case SYNTH_INV_TOK:
4124
            	{
4125
541
            		alt14=2;
4126
            	}
4127
541
                break;
4128
1191
            case CONSTRAINT_TOK:
4129
            	{
4130
1191
            		alt14=3;
4131
            	}
4132
1191
                break;
4133
27
            case INV_CONSTRAINT_TOK:
4134
            	{
4135
27
            		alt14=4;
4136
            	}
4137
27
                break;
4138
358
            case CHECK_SYNTH_TOK:
4139
            	{
4140
358
            		alt14=5;
4141
            	}
4142
358
                break;
4143
1079
            case ASSERT_TOK:
4144
            case BLOCK_MODEL_TOK:
4145
            case BLOCK_MODEL_VALUES_TOK:
4146
            case CHECK_SAT_ASSUMING_TOK:
4147
            case CHECK_SAT_TOK:
4148
            case DECLARE_CODATATYPES_TOK:
4149
            case DECLARE_CODATATYPE_TOK:
4150
            case DECLARE_CONST_TOK:
4151
            case DECLARE_DATATYPES_TOK:
4152
            case DECLARE_DATATYPE_TOK:
4153
            case DECLARE_FUNS_TOK:
4154
            case DECLARE_FUN_TOK:
4155
            case DECLARE_HEAP:
4156</