-
Notifications
You must be signed in to change notification settings - Fork 0
/
parser.output
2146 lines (1206 loc) · 45 KB
/
parser.output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Terminals unused in grammar
TK_EOF
"get-model"
Grammar
0 $accept: single_command $end
1 single_command: command
2 command: cmd_set_logic
3 | cmd_declare_sort
4 | cmd_define_sort
5 | cmd_declare_fun
6 | cmd_define_fun
7 | cmd_push
8 | cmd_pop
9 | cmd_assert
10 | cmd_check_sat
11 | cmd_get_assertions
12 | cmd_get_unsat_core
13 | cmd_get_proof
14 | cmd_set_option
15 | cmd_get_info
16 | cmd_set_info
17 | cmd_get_assignment
18 | cmd_get_value
19 | cmd_exit
20 | cmd_error
21 cmd_error: %empty
22 cmd_set_logic: '(' "set-logic" logic_name ')'
23 cmd_declare_sort: '(' "declare-sort" SYMBOL NUMERAL ')'
24 cmd_define_sort: '(' "define-sort" SYMBOL '(' ')' a_sort ')'
25 | '(' "define-sort" SYMBOL '(' sort_param_list ')' a_sort ')'
26 cmd_declare_fun: '(' "declare-fun" SYMBOL '(' ')' a_sort ')'
27 | '(' "declare-fun" SYMBOL '(' order_parens ')' a_sort ')'
28 cmd_define_fun: '(' "define-fun" SYMBOL '(' ')' a_sort a_term ')'
29 | '(' "define-fun" SYMBOL '(' quant_var_list ')' a_sort a_term ')'
30 cmd_push: '(' "push" NUMERAL ')'
31 cmd_pop: '(' "pop" NUMERAL ')'
32 cmd_assert: '(' "assert" a_term ')'
33 cmd_check_sat: '(' "check-sat" ')'
34 cmd_get_assertions: '(' "get-assertions" ')'
35 cmd_get_unsat_core: '(' "get-unsat-core" ')'
36 cmd_get_proof: '(' "get-proof" ')'
37 cmd_set_option: '(' "set-option" KEYWORD NUMERAL ')'
38 | '(' "set-option" KEYWORD RATCONSTANT ')'
39 | '(' "set-option" KEYWORD SYMBOL ')'
40 | '(' "set-option" KEYWORD STRING ')'
41 cmd_get_info: '(' "get-info" KEYWORD ')'
42 cmd_set_info: '(' "set-info" KEYWORD info_argument ')'
43 info_argument: NUMERAL
44 | RATCONSTANT
45 | SYMBOL
46 | STRING
47 cmd_get_assignment: '(' "get-assignment" ')'
48 cmd_get_value: '(' "get-value" '(' term_list ')' ')'
49 cmd_exit: '(' "exit" ')'
50 a_term: annotated_term
51 | plain_term
52 annotated_term: '(' "!" a_term term_attribute_list ')'
53 plain_term: '(' begin_let_scope '(' let_bindings ')' a_term ')'
54 | '(' "forall" '(' quant_var_list ')' a_term ')'
55 | '(' "exists" '(' quant_var_list ')' a_term ')'
56 | term_num_constant
57 | term_symbol
58 | '(' term_symbol term_list ')'
59 term_symbol: term_unqualified_symbol
60 | '(' "as" term_unqualified_symbol a_sort ')'
61 term_unqualified_symbol: SYMBOL
62 | '(' "_" SYMBOL num_list ')'
63 term_num_constant: NUMERAL
64 | RATCONSTANT
65 | BINCONSTANT
66 | HEXCONSTANT
67 | '(' "_" BVCONSTANT NUMERAL ')'
68 term_attribute_list: term_attribute
69 | term_attribute_list term_attribute
70 term_attribute: KEYWORD generic_sexp
71 generic_sexp: info_argument
72 | '(' ')'
73 | '(' generic_sexp_list ')'
74 generic_sexp_list: generic_sexp
75 | generic_sexp_list generic_sexp
76 num_list: NUMERAL
77 | num_list NUMERAL
78 int_list: NUMERAL
79 | int_list NUMERAL
80 term_list: a_term
81 | term_list a_term
82 quant_var_list: '(' SYMBOL a_sort ')'
83 | quant_var_list '(' SYMBOL a_sort ')'
84 begin_let_scope: "let"
85 let_bindings: let_binding
86 | let_bindings let_binding
87 let_binding: '(' SYMBOL a_term ')'
88 logic_name: SYMBOL
89 | SYMBOL '[' NUMERAL ']'
90 order_parens: a_sort
91 | order_parens a_sort
92 a_sort: SYMBOL
93 | '(' "_" SYMBOL int_list ')'
94 | '(' SYMBOL order_parens ')'
95 sort_param_list: a_sort_param
96 | sort_param_list a_sort_param
97 a_sort_param: SYMBOL
Terminals, with rules where they appear
$end (0) 0
'(' (40) 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
42 47 48 49 52 53 54 55 58 60 62 67 72 73 82 83 87 93 94
')' (41) 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
42 47 48 49 52 53 54 55 58 60 62 67 72 73 82 83 87 93 94
'[' (91) 89
']' (93) 89
error (256)
BINCONSTANT (258) 65
HEXCONSTANT (259) 66
BVCONSTANT (260) 67
RATCONSTANT (261) 38 44 64
NUMERAL (262) 23 30 31 37 43 63 67 76 77 78 79 89
STRING (263) 40 46
SYMBOL (264) 23 24 25 26 27 28 29 39 45 61 62 82 83 87 88 89 92 93
94 97
KEYWORD (265) 37 38 39 40 41 42 70
TK_EOF (266)
"as" (267) 60
"_" (268) 62 67 93
"let" (269) 84
"!" (270) 52
"forall" (271) 54
"exists" (272) 55
"set-logic" (273) 22
"declare-sort" (274) 23
"define-sort" (275) 24 25
"declare-fun" (276) 26 27
"define-fun" (277) 28 29
"push" (278) 30
"pop" (279) 31
"assert" (280) 32
"check-sat" (281) 33
"get-assertions" (282) 34
"get-unsat-core" (283) 35
"get-proof" (284) 36
"set-option" (285) 37 38 39 40
"get-info" (286) 41
"set-info" (287) 42
"get-assignment" (288) 47
"get-model" (289)
"get-value" (290) 48
"exit" (291) 49
Nonterminals, with rules where they appear
$accept (41)
on left: 0
single_command (42)
on left: 1, on right: 0
command (43)
on left: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20, on right:
1
cmd_error (44)
on left: 21, on right: 20
cmd_set_logic (45)
on left: 22, on right: 2
cmd_declare_sort (46)
on left: 23, on right: 3
cmd_define_sort (47)
on left: 24 25, on right: 4
cmd_declare_fun (48)
on left: 26 27, on right: 5
cmd_define_fun (49)
on left: 28 29, on right: 6
cmd_push (50)
on left: 30, on right: 7
cmd_pop (51)
on left: 31, on right: 8
cmd_assert (52)
on left: 32, on right: 9
cmd_check_sat (53)
on left: 33, on right: 10
cmd_get_assertions (54)
on left: 34, on right: 11
cmd_get_unsat_core (55)
on left: 35, on right: 12
cmd_get_proof (56)
on left: 36, on right: 13
cmd_set_option (57)
on left: 37 38 39 40, on right: 14
cmd_get_info (58)
on left: 41, on right: 15
cmd_set_info (59)
on left: 42, on right: 16
info_argument (60)
on left: 43 44 45 46, on right: 42 71
cmd_get_assignment (61)
on left: 47, on right: 17
cmd_get_value (62)
on left: 48, on right: 18
cmd_exit (63)
on left: 49, on right: 19
a_term (64)
on left: 50 51, on right: 28 29 32 52 53 54 55 80 81 87
annotated_term (65)
on left: 52, on right: 50
plain_term (66)
on left: 53 54 55 56 57 58, on right: 51
term_symbol (67)
on left: 59 60, on right: 57 58
term_unqualified_symbol (68)
on left: 61 62, on right: 59 60
term_num_constant (69)
on left: 63 64 65 66 67, on right: 56
term_attribute_list (70)
on left: 68 69, on right: 52 69
term_attribute (71)
on left: 70, on right: 68 69
generic_sexp (72)
on left: 71 72 73, on right: 70 74 75
generic_sexp_list (73)
on left: 74 75, on right: 73 75
num_list (74)
on left: 76 77, on right: 62 77
int_list (75)
on left: 78 79, on right: 79 93
term_list (76)
on left: 80 81, on right: 48 58 81
quant_var_list (77)
on left: 82 83, on right: 29 54 55 83
begin_let_scope (78)
on left: 84, on right: 53
let_bindings (79)
on left: 85 86, on right: 53 86
let_binding (80)
on left: 87, on right: 85 86
logic_name (81)
on left: 88 89, on right: 22
order_parens (82)
on left: 90 91, on right: 27 91 94
a_sort (83)
on left: 92 93 94, on right: 24 25 26 27 28 29 60 82 83 90 91
sort_param_list (84)
on left: 95 96, on right: 25 96
a_sort_param (85)
on left: 97, on right: 95 96
State 0
0 $accept: . single_command $end
'(' shift, and go to state 1
$default reduce using rule 21 (cmd_error)
single_command go to state 2
command go to state 3
cmd_error go to state 4
cmd_set_logic go to state 5
cmd_declare_sort go to state 6
cmd_define_sort go to state 7
cmd_declare_fun go to state 8
cmd_define_fun go to state 9
cmd_push go to state 10
cmd_pop go to state 11
cmd_assert go to state 12
cmd_check_sat go to state 13
cmd_get_assertions go to state 14
cmd_get_unsat_core go to state 15
cmd_get_proof go to state 16
cmd_set_option go to state 17
cmd_get_info go to state 18
cmd_set_info go to state 19
cmd_get_assignment go to state 20
cmd_get_value go to state 21
cmd_exit go to state 22
State 1
22 cmd_set_logic: '(' . "set-logic" logic_name ')'
23 cmd_declare_sort: '(' . "declare-sort" SYMBOL NUMERAL ')'
24 cmd_define_sort: '(' . "define-sort" SYMBOL '(' ')' a_sort ')'
25 | '(' . "define-sort" SYMBOL '(' sort_param_list ')' a_sort ')'
26 cmd_declare_fun: '(' . "declare-fun" SYMBOL '(' ')' a_sort ')'
27 | '(' . "declare-fun" SYMBOL '(' order_parens ')' a_sort ')'
28 cmd_define_fun: '(' . "define-fun" SYMBOL '(' ')' a_sort a_term ')'
29 | '(' . "define-fun" SYMBOL '(' quant_var_list ')' a_sort a_term ')'
30 cmd_push: '(' . "push" NUMERAL ')'
31 cmd_pop: '(' . "pop" NUMERAL ')'
32 cmd_assert: '(' . "assert" a_term ')'
33 cmd_check_sat: '(' . "check-sat" ')'
34 cmd_get_assertions: '(' . "get-assertions" ')'
35 cmd_get_unsat_core: '(' . "get-unsat-core" ')'
36 cmd_get_proof: '(' . "get-proof" ')'
37 cmd_set_option: '(' . "set-option" KEYWORD NUMERAL ')'
38 | '(' . "set-option" KEYWORD RATCONSTANT ')'
39 | '(' . "set-option" KEYWORD SYMBOL ')'
40 | '(' . "set-option" KEYWORD STRING ')'
41 cmd_get_info: '(' . "get-info" KEYWORD ')'
42 cmd_set_info: '(' . "set-info" KEYWORD info_argument ')'
47 cmd_get_assignment: '(' . "get-assignment" ')'
48 cmd_get_value: '(' . "get-value" '(' term_list ')' ')'
49 cmd_exit: '(' . "exit" ')'
"set-logic" shift, and go to state 23
"declare-sort" shift, and go to state 24
"define-sort" shift, and go to state 25
"declare-fun" shift, and go to state 26
"define-fun" shift, and go to state 27
"push" shift, and go to state 28
"pop" shift, and go to state 29
"assert" shift, and go to state 30
"check-sat" shift, and go to state 31
"get-assertions" shift, and go to state 32
"get-unsat-core" shift, and go to state 33
"get-proof" shift, and go to state 34
"set-option" shift, and go to state 35
"get-info" shift, and go to state 36
"set-info" shift, and go to state 37
"get-assignment" shift, and go to state 38
"get-value" shift, and go to state 39
"exit" shift, and go to state 40
State 2
0 $accept: single_command . $end
$end shift, and go to state 41
State 3
1 single_command: command .
$default reduce using rule 1 (single_command)
State 4
20 command: cmd_error .
$default reduce using rule 20 (command)
State 5
2 command: cmd_set_logic .
$default reduce using rule 2 (command)
State 6
3 command: cmd_declare_sort .
$default reduce using rule 3 (command)
State 7
4 command: cmd_define_sort .
$default reduce using rule 4 (command)
State 8
5 command: cmd_declare_fun .
$default reduce using rule 5 (command)
State 9
6 command: cmd_define_fun .
$default reduce using rule 6 (command)
State 10
7 command: cmd_push .
$default reduce using rule 7 (command)
State 11
8 command: cmd_pop .
$default reduce using rule 8 (command)
State 12
9 command: cmd_assert .
$default reduce using rule 9 (command)
State 13
10 command: cmd_check_sat .
$default reduce using rule 10 (command)
State 14
11 command: cmd_get_assertions .
$default reduce using rule 11 (command)
State 15
12 command: cmd_get_unsat_core .
$default reduce using rule 12 (command)
State 16
13 command: cmd_get_proof .
$default reduce using rule 13 (command)
State 17
14 command: cmd_set_option .
$default reduce using rule 14 (command)
State 18
15 command: cmd_get_info .
$default reduce using rule 15 (command)
State 19
16 command: cmd_set_info .
$default reduce using rule 16 (command)
State 20
17 command: cmd_get_assignment .
$default reduce using rule 17 (command)
State 21
18 command: cmd_get_value .
$default reduce using rule 18 (command)
State 22
19 command: cmd_exit .
$default reduce using rule 19 (command)
State 23
22 cmd_set_logic: '(' "set-logic" . logic_name ')'
SYMBOL shift, and go to state 42
logic_name go to state 43
State 24
23 cmd_declare_sort: '(' "declare-sort" . SYMBOL NUMERAL ')'
SYMBOL shift, and go to state 44
State 25
24 cmd_define_sort: '(' "define-sort" . SYMBOL '(' ')' a_sort ')'
25 | '(' "define-sort" . SYMBOL '(' sort_param_list ')' a_sort ')'
SYMBOL shift, and go to state 45
State 26
26 cmd_declare_fun: '(' "declare-fun" . SYMBOL '(' ')' a_sort ')'
27 | '(' "declare-fun" . SYMBOL '(' order_parens ')' a_sort ')'
SYMBOL shift, and go to state 46
State 27
28 cmd_define_fun: '(' "define-fun" . SYMBOL '(' ')' a_sort a_term ')'
29 | '(' "define-fun" . SYMBOL '(' quant_var_list ')' a_sort a_term ')'
SYMBOL shift, and go to state 47
State 28
30 cmd_push: '(' "push" . NUMERAL ')'
NUMERAL shift, and go to state 48
State 29
31 cmd_pop: '(' "pop" . NUMERAL ')'
NUMERAL shift, and go to state 49
State 30
32 cmd_assert: '(' "assert" . a_term ')'
BINCONSTANT shift, and go to state 50
HEXCONSTANT shift, and go to state 51
RATCONSTANT shift, and go to state 52
NUMERAL shift, and go to state 53
SYMBOL shift, and go to state 54
'(' shift, and go to state 55
a_term go to state 56
annotated_term go to state 57
plain_term go to state 58
term_symbol go to state 59
term_unqualified_symbol go to state 60
term_num_constant go to state 61
State 31
33 cmd_check_sat: '(' "check-sat" . ')'
')' shift, and go to state 62
State 32
34 cmd_get_assertions: '(' "get-assertions" . ')'
')' shift, and go to state 63
State 33
35 cmd_get_unsat_core: '(' "get-unsat-core" . ')'
')' shift, and go to state 64
State 34
36 cmd_get_proof: '(' "get-proof" . ')'
')' shift, and go to state 65
State 35
37 cmd_set_option: '(' "set-option" . KEYWORD NUMERAL ')'
38 | '(' "set-option" . KEYWORD RATCONSTANT ')'
39 | '(' "set-option" . KEYWORD SYMBOL ')'
40 | '(' "set-option" . KEYWORD STRING ')'
KEYWORD shift, and go to state 66
State 36
41 cmd_get_info: '(' "get-info" . KEYWORD ')'
KEYWORD shift, and go to state 67
State 37
42 cmd_set_info: '(' "set-info" . KEYWORD info_argument ')'
KEYWORD shift, and go to state 68
State 38
47 cmd_get_assignment: '(' "get-assignment" . ')'
')' shift, and go to state 69
State 39
48 cmd_get_value: '(' "get-value" . '(' term_list ')' ')'
'(' shift, and go to state 70
State 40
49 cmd_exit: '(' "exit" . ')'
')' shift, and go to state 71
State 41
0 $accept: single_command $end .
$default accept
State 42
88 logic_name: SYMBOL .
89 | SYMBOL . '[' NUMERAL ']'
'[' shift, and go to state 72
$default reduce using rule 88 (logic_name)
State 43
22 cmd_set_logic: '(' "set-logic" logic_name . ')'
')' shift, and go to state 73
State 44
23 cmd_declare_sort: '(' "declare-sort" SYMBOL . NUMERAL ')'
NUMERAL shift, and go to state 74
State 45
24 cmd_define_sort: '(' "define-sort" SYMBOL . '(' ')' a_sort ')'
25 | '(' "define-sort" SYMBOL . '(' sort_param_list ')' a_sort ')'
'(' shift, and go to state 75
State 46
26 cmd_declare_fun: '(' "declare-fun" SYMBOL . '(' ')' a_sort ')'
27 | '(' "declare-fun" SYMBOL . '(' order_parens ')' a_sort ')'
'(' shift, and go to state 76
State 47
28 cmd_define_fun: '(' "define-fun" SYMBOL . '(' ')' a_sort a_term ')'
29 | '(' "define-fun" SYMBOL . '(' quant_var_list ')' a_sort a_term ')'
'(' shift, and go to state 77
State 48
30 cmd_push: '(' "push" NUMERAL . ')'
')' shift, and go to state 78
State 49
31 cmd_pop: '(' "pop" NUMERAL . ')'
')' shift, and go to state 79
State 50
65 term_num_constant: BINCONSTANT .
$default reduce using rule 65 (term_num_constant)
State 51
66 term_num_constant: HEXCONSTANT .
$default reduce using rule 66 (term_num_constant)
State 52
64 term_num_constant: RATCONSTANT .
$default reduce using rule 64 (term_num_constant)
State 53
63 term_num_constant: NUMERAL .
$default reduce using rule 63 (term_num_constant)
State 54
61 term_unqualified_symbol: SYMBOL .
$default reduce using rule 61 (term_unqualified_symbol)
State 55
52 annotated_term: '(' . "!" a_term term_attribute_list ')'
53 plain_term: '(' . begin_let_scope '(' let_bindings ')' a_term ')'
54 | '(' . "forall" '(' quant_var_list ')' a_term ')'
55 | '(' . "exists" '(' quant_var_list ')' a_term ')'
58 | '(' . term_symbol term_list ')'
60 term_symbol: '(' . "as" term_unqualified_symbol a_sort ')'
62 term_unqualified_symbol: '(' . "_" SYMBOL num_list ')'
67 term_num_constant: '(' . "_" BVCONSTANT NUMERAL ')'
SYMBOL shift, and go to state 54
"as" shift, and go to state 80
"_" shift, and go to state 81
"let" shift, and go to state 82
"!" shift, and go to state 83
"forall" shift, and go to state 84
"exists" shift, and go to state 85
'(' shift, and go to state 86
term_symbol go to state 87
term_unqualified_symbol go to state 60
begin_let_scope go to state 88
State 56
32 cmd_assert: '(' "assert" a_term . ')'
')' shift, and go to state 89
State 57
50 a_term: annotated_term .
$default reduce using rule 50 (a_term)
State 58
51 a_term: plain_term .
$default reduce using rule 51 (a_term)
State 59
57 plain_term: term_symbol .
$default reduce using rule 57 (plain_term)
State 60
59 term_symbol: term_unqualified_symbol .
$default reduce using rule 59 (term_symbol)
State 61
56 plain_term: term_num_constant .
$default reduce using rule 56 (plain_term)
State 62
33 cmd_check_sat: '(' "check-sat" ')' .
$default reduce using rule 33 (cmd_check_sat)
State 63
34 cmd_get_assertions: '(' "get-assertions" ')' .
$default reduce using rule 34 (cmd_get_assertions)
State 64
35 cmd_get_unsat_core: '(' "get-unsat-core" ')' .
$default reduce using rule 35 (cmd_get_unsat_core)
State 65
36 cmd_get_proof: '(' "get-proof" ')' .
$default reduce using rule 36 (cmd_get_proof)
State 66
37 cmd_set_option: '(' "set-option" KEYWORD . NUMERAL ')'
38 | '(' "set-option" KEYWORD . RATCONSTANT ')'
39 | '(' "set-option" KEYWORD . SYMBOL ')'
40 | '(' "set-option" KEYWORD . STRING ')'
RATCONSTANT shift, and go to state 90
NUMERAL shift, and go to state 91
STRING shift, and go to state 92
SYMBOL shift, and go to state 93
State 67
41 cmd_get_info: '(' "get-info" KEYWORD . ')'
')' shift, and go to state 94
State 68
42 cmd_set_info: '(' "set-info" KEYWORD . info_argument ')'
RATCONSTANT shift, and go to state 95
NUMERAL shift, and go to state 96
STRING shift, and go to state 97
SYMBOL shift, and go to state 98
info_argument go to state 99
State 69
47 cmd_get_assignment: '(' "get-assignment" ')' .
$default reduce using rule 47 (cmd_get_assignment)
State 70
48 cmd_get_value: '(' "get-value" '(' . term_list ')' ')'
BINCONSTANT shift, and go to state 50
HEXCONSTANT shift, and go to state 51
RATCONSTANT shift, and go to state 52
NUMERAL shift, and go to state 53
SYMBOL shift, and go to state 54
'(' shift, and go to state 55
a_term go to state 100
annotated_term go to state 57
plain_term go to state 58
term_symbol go to state 59
term_unqualified_symbol go to state 60
term_num_constant go to state 61
term_list go to state 101
State 71
49 cmd_exit: '(' "exit" ')' .
$default reduce using rule 49 (cmd_exit)
State 72
89 logic_name: SYMBOL '[' . NUMERAL ']'
NUMERAL shift, and go to state 102
State 73
22 cmd_set_logic: '(' "set-logic" logic_name ')' .
$default reduce using rule 22 (cmd_set_logic)
State 74
23 cmd_declare_sort: '(' "declare-sort" SYMBOL NUMERAL . ')'
')' shift, and go to state 103
State 75
24 cmd_define_sort: '(' "define-sort" SYMBOL '(' . ')' a_sort ')'
25 | '(' "define-sort" SYMBOL '(' . sort_param_list ')' a_sort ')'
SYMBOL shift, and go to state 104
')' shift, and go to state 105
sort_param_list go to state 106
a_sort_param go to state 107
State 76
26 cmd_declare_fun: '(' "declare-fun" SYMBOL '(' . ')' a_sort ')'
27 | '(' "declare-fun" SYMBOL '(' . order_parens ')' a_sort ')'
SYMBOL shift, and go to state 108
'(' shift, and go to state 109
')' shift, and go to state 110
order_parens go to state 111
a_sort go to state 112
State 77
28 cmd_define_fun: '(' "define-fun" SYMBOL '(' . ')' a_sort a_term ')'
29 | '(' "define-fun" SYMBOL '(' . quant_var_list ')' a_sort a_term ')'
'(' shift, and go to state 113
')' shift, and go to state 114
quant_var_list go to state 115
State 78
30 cmd_push: '(' "push" NUMERAL ')' .
$default reduce using rule 30 (cmd_push)
State 79
31 cmd_pop: '(' "pop" NUMERAL ')' .
$default reduce using rule 31 (cmd_pop)