File size: 67,985 Bytes
6fa4bc9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
{
    "paper_id": "P99-1013",
    "header": {
        "generated_with": "S2ORC 1.0.0",
        "date_generated": "2023-01-19T09:31:45.412064Z"
    },
    "title": "Compositional Semantics for Linguistic Formalisms",
    "authors": [
        {
            "first": "Shuly",
            "middle": [],
            "last": "Wintner",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "Cognitive Science University of Pennsylvania",
                "location": {
                    "addrLine": "3401 Walnut St., Suite 400A Philadelphia",
                    "postCode": "19018",
                    "region": "PA"
                }
            },
            "email": ""
        }
    ],
    "year": "",
    "venue": null,
    "identifiers": {},
    "abstract": "In what sense is a grammar the union of its rules? This paper adapts the notion of composition, well developed in the context of programming languages, to the domain of linguistic formalisms. We study alternative definitions for the semantics of such formalisms, suggesting a denotational semantics that we show to be compositional and fully-abstract. This facilitates a clear, mathematically sound way for defining grammar modularity.",
    "pdf_parse": {
        "paper_id": "P99-1013",
        "_pdf_hash": "",
        "abstract": [
            {
                "text": "In what sense is a grammar the union of its rules? This paper adapts the notion of composition, well developed in the context of programming languages, to the domain of linguistic formalisms. We study alternative definitions for the semantics of such formalisms, suggesting a denotational semantics that we show to be compositional and fully-abstract. This facilitates a clear, mathematically sound way for defining grammar modularity.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Abstract",
                "sec_num": null
            }
        ],
        "body_text": [
            {
                "text": "Developing large scale grammars for natural languages is a complicated task, and the problems grammar engineers face when designing broad-coverage grammars are reminiscent of those tackled by software engineering (Erbach and Uszkoreit, 1990) . Viewing contemporary linguistic formalisms as very high level declarative programming languages, a grammar for a natural language can be viewed as a program. It is therefore possible to adapt methods and techniques of software engineering to the domain of natural language formalisms. We believe that any advances in grammar engineering must be preceded by a more theoretical work, concentrating on the semantics of grammars. This view reflects the situation in logic programming, where developments in alternative definitions for predicate logic semantics led to implementations of various program composition operators (Bugliesi et al., 1994) .",
                "cite_spans": [
                    {
                        "start": 213,
                        "end": 241,
                        "text": "(Erbach and Uszkoreit, 1990)",
                        "ref_id": "BIBREF4"
                    },
                    {
                        "start": 865,
                        "end": 888,
                        "text": "(Bugliesi et al., 1994)",
                        "ref_id": "BIBREF1"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "This paper suggests a denotational semantics tbr unification-based linguistic formalisms and shows that it is compositional and fully-*I am grateful to Nissim Francez for commenting on an em'lier version of this paper. This work was supported by an IRCS Fellowship and NSF grant SBR 8920230. abstract. This facilitates a clear, mathematically sound way for defining grammar modularity. While most of the results we report on are probably not surprising, we believe that it is important to derive them directly for linguistic formalisms for two reasons. First, practitioners of linguistic formMisms usually do not view them as instances of a general logic programming framework, but rather as first-class programming environments which deserve independent study. Second, there are some crucial differences between contemporary linguistic formalisms and, say, Prolog: the basic elements --typed feature-structures --are more general than first-order terms, the notion of unification is different, and computations amount to parsing, rather than SLD-resolution. The fact that we can derive similar results in this new domain is encouraging, and should not be considered trivial.",
                "cite_spans": [
                    {
                        "start": 254,
                        "end": 291,
                        "text": "Fellowship and NSF grant SBR 8920230.",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "Analogously to logic programming languages, the denotation of grammars can be defined using various techniques. We review alternative approaches, operational and denotational, to the semantics of linguistic formalisms in section 2 and show that they are \"too crude\" to support grammar composition. Section 3 presents an alternative semantics, shown to be compositional (with respect to grammar union, a simple syntactic combination operation on grammars).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "However, this definition is \"too fine\": in section 4 we present an adequate, compositional and fully-abstract semantics for linguistic formalisms. For lack of space, some proofs are omitted; an extended version is available as a technical report (Wintner, 1999) .",
                "cite_spans": [
                    {
                        "start": 246,
                        "end": 261,
                        "text": "(Wintner, 1999)",
                        "ref_id": "BIBREF14"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "Viewing grammars as formal entities that share many features with computer programs, it is natural to consider the notion of semantics of ratification-based formalisms. We review in this se(:tion the operational definition of Shieber et a,1. (1995) and the denotational definition of, e.g., Pereira and Shieber (1984) or Carpenter (1992, pp. 204-206) . We show that these definitions are equivalent and that none of them supports compositionality.",
                "cite_spans": [
                    {
                        "start": 291,
                        "end": 317,
                        "text": "Pereira and Shieber (1984)",
                        "ref_id": "BIBREF9"
                    },
                    {
                        "start": 321,
                        "end": 350,
                        "text": "Carpenter (1992, pp. 204-206)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Grammar semantics",
                "sec_num": "2"
            },
            {
                "text": "Basic notions W(, assume familiarity with theories of feature structure based unification grammars, as formulated by, e.g., Carpenter (1992) or Shieber (1992) . Grammars are defined over typed featwre .structures (TFSs) which can be viewed as generalizations of first-order terms (Carpenter, 1991) . TFSs are partially ordered by subsumption, with \u00b1 the least (or most general) TFS. A multi-rooted structure (MRS, see Sikkel (1997) ()r Wintner and Francez (1999) ) is a sequence of TFSs, with possible reentrancies among diffi;rent elements in the sequence. Meta-variables A,/3 range over TFSs and a, p -over MRSs. MRSs are partially ordered by subsumption, den()ted '__', with a least upper bound operation ()f 'an'llfication, denoted 'U', and a greatest lowest t)(mnd denoted 'W. We assume the existence of a. fixed, finite set WORDS of words. A lexicon associates with every word a set of TFSs, its category. Meta-variable a ranges over WORDS and .w --over strings of words (elements of WORDS*). Grammars are defined over a signature of types and features, assumed to be fixed below. The definition of unification is lifted to MRSs: let a,p be two MRSs of the same length; the 'Grammars are displayed using a simple description language, where ':' denotes feature values.",
                "cite_spans": [
                    {
                        "start": 124,
                        "end": 140,
                        "text": "Carpenter (1992)",
                        "ref_id": "BIBREF3"
                    },
                    {
                        "start": 152,
                        "end": 158,
                        "text": "(1992)",
                        "ref_id": null
                    },
                    {
                        "start": 280,
                        "end": 297,
                        "text": "(Carpenter, 1991)",
                        "ref_id": "BIBREF2"
                    },
                    {
                        "start": 408,
                        "end": 431,
                        "text": "(MRS, see Sikkel (1997)",
                        "ref_id": null
                    },
                    {
                        "start": 436,
                        "end": 462,
                        "text": "Wintner and Francez (1999)",
                        "ref_id": "BIBREF13"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "2.1",
                "sec_num": null
            },
            {
                "text": "2Assmne that in all the example grammars, the types s, n, v and vp are maximal and (pairwise) inconsistent. i,j E {0,1,2,3,...}}. Let Z = 2 ITEMS. Metavariables x, y range over items and I -over sets of items. When 27 is ordered by set inclusion it forms a complete lattice with set union as a least upper bound (lub) operation. A flmction T : 27 -+ 27 is monotone if whenever 11 C_/2, also T(I1) C_ T(I2). It is continuous iftbr every chain I1 C_ /2 C_ ..., T(Uj< ~/.i) = Uj<~T(Ij) . If a function T is monotone it has a least fixpoint (Tarski-Knaster theorem); if T is also continuous, the fixpoint can be obtained by iterative application of T to the empty set (Kleene theorem): lfp(T) = TSw, where TI\" 0 = 0 and T t n = T(T t (n-1)) when 'n is a successor ordinal and (_Jk<n(T i\" n) when n is a limit ordinal.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "2.1",
                "sec_num": null
            },
            {
                "text": "When the semantics of programming languages are concerned, a notion of observables is called for: Ob is a flmction associating a set of objects, the observables, with every program. The choice of semantics induces a natural equivalence operator on grammars: given a semantics 'H', G1 ~ G2 iff ~GI~ = ~G2~. An essential requirement of any semantic equivalence is that it 97'",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "2.1",
                "sec_num": null
            },
            {
                "text": "be correct (observables-preserving): if G1 -G2, then Ob(G1) = Ob(G2).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "2.1",
                "sec_num": null
            },
            {
                "text": "Let 'U' be a composition operation on grammars and '\u2022' a combination operator on denorations. A (correct) semantics 'H' is compo-.s'itional (Gaifinan and Shapiro, 1989) if whenever ~1~ : ~G2~ and ~G3] --~G4], also ~G, U G3~ = [G2 U G4]. A semantics is commutative (Brogi et al., 1992) if ~G1 UG2] = ~G,~ \u2022 [G2~. This is a stronger notion than (:ompositionality: if a semantics is commutative with respect to some operator then it is compositional.",
                "cite_spans": [
                    {
                        "start": 140,
                        "end": 168,
                        "text": "(Gaifinan and Shapiro, 1989)",
                        "ref_id": null
                    },
                    {
                        "start": 264,
                        "end": 284,
                        "text": "(Brogi et al., 1992)",
                        "ref_id": "BIBREF0"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "2.1",
                "sec_num": null
            },
            {
                "text": "As Van Emden and Kowalski (1976) note, \"to define an operational semantics for a programruing language is to define an implementational independent interpreter for it. For predicate logic the proof procedure behaves as such an interpreter.\" Shieber et al. (1995) view parsing as a. deductive process that proves claims about the grammatical status of strings from assumptions derived from the grammar. We follow their insight and notation and list a deductive system for parsing unification-based grammars.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "An operational semantics",
                "sec_num": "2.2"
            },
            {
                "text": "Definition 3. The deductive parsing system associated with a grammar G = (7~,F.,AS} is defined over ITEMS and is characterized by:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "An operational semantics",
                "sec_num": "2.2"
            },
            {
                "text": "Axioms: [a, i, A, i + 1] i.f B E Z.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "An operational semantics",
                "sec_num": "2.2"
            },
            {
                "text": "[e, i, A, i] if B is an e-rule in T~ and B K_ A",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "(a) and B K A;",
                "sec_num": null
            },
            {
                "text": "Goals: [w, 0, A, [w]] where A ~ A s",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "(a) and B K A;",
                "sec_num": null
            },
            {
                "text": "Inference rules: [wx , i l , A1, ill, ..., [Wk, ik, Ak , Jk ] [Wl \" \" \" Wk, i, A, j] if .'h = i1,+1 .for 1 <_ l < k and i = il and J = Jk and (A1,...,Ak) =>a A",
                "cite_spans": [
                    {
                        "start": 17,
                        "end": 22,
                        "text": "[wx ,",
                        "ref_id": null
                    },
                    {
                        "start": 23,
                        "end": 28,
                        "text": "i l ,",
                        "ref_id": null
                    },
                    {
                        "start": 29,
                        "end": 32,
                        "text": "A1,",
                        "ref_id": null
                    },
                    {
                        "start": 33,
                        "end": 37,
                        "text": "ill,",
                        "ref_id": null
                    },
                    {
                        "start": 38,
                        "end": 42,
                        "text": "...,",
                        "ref_id": null
                    },
                    {
                        "start": 43,
                        "end": 47,
                        "text": "[Wk,",
                        "ref_id": null
                    },
                    {
                        "start": 48,
                        "end": 51,
                        "text": "ik,",
                        "ref_id": null
                    },
                    {
                        "start": 52,
                        "end": 56,
                        "text": "Ak ,",
                        "ref_id": null
                    },
                    {
                        "start": 57,
                        "end": 75,
                        "text": "Jk ] [Wl \" \" \" Wk,",
                        "ref_id": null
                    },
                    {
                        "start": 76,
                        "end": 78,
                        "text": "i,",
                        "ref_id": null
                    },
                    {
                        "start": 79,
                        "end": 81,
                        "text": "A,",
                        "ref_id": null
                    },
                    {
                        "start": 82,
                        "end": 84,
                        "text": "j]",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "(a) and B K A;",
                "sec_num": null
            },
            {
                "text": "When an item [w,i,A,j] can be deduced, applying k times the inference rules associ-z~ted with a grammar G, we write F-~[w, i, A, j]. When the number of inference steps is irrelevant it is omitted. Notice that the domain of items is infinite, and in particular that the number of axioms is infinite. Also, notice that the goal is to deduce a TFS which is subsumed by the start symbol, and when TFSs can be cyclic, there can be infinitely many such TFSs (and, hence, goals) -see Wintner and Francez (1999) . ",
                "cite_spans": [
                    {
                        "start": 13,
                        "end": 22,
                        "text": "[w,i,A,j]",
                        "ref_id": null
                    },
                    {
                        "start": 477,
                        "end": 503,
                        "text": "Wintner and Francez (1999)",
                        "ref_id": "BIBREF13"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "(a) and B K A;",
                "sec_num": null
            },
            {
                "text": "We use the operational semantics to define the language generated by a grammar G:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "G2 iy ]C1 o, = G2Bo ,",
                "sec_num": null
            },
            {
                "text": "L(G) = {(w,A} [ [w,O,A,l',,[] E [G]o,}.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "G2 iy ]C1 o, = G2Bo ,",
                "sec_num": null
            },
            {
                "text": "Notice that a language is not merely a set of strings; rather, each string is associated with a TFS through the deduction procedure. Note also that the start symbol A ' does not play a role in this definition; this is equivalent to assuming that the start symbol is always the most general TFS, _k.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "G2 iy ]C1 o, = G2Bo ,",
                "sec_num": null
            },
            {
                "text": "The most natural observable for a grammar would be its language, either as a set of strings or augmented by TFSs. Thus we take Ob(G) to be L(G) and by definition, the operational semantics '~.] op' preserves observables.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "G2 iy ]C1 o, = G2Bo ,",
                "sec_num": null
            },
            {
                "text": "In this section we consider denotational semantics through a fixpoint of a transformational operator associated with grammars. -This is essentially similar to the definition of Pereira and Shieber (1984) and Carpenter (1992, pp. 204-206) . We then show that the denotational semantics is equivalent to the operational one.",
                "cite_spans": [
                    {
                        "start": 177,
                        "end": 203,
                        "text": "Pereira and Shieber (1984)",
                        "ref_id": "BIBREF9"
                    },
                    {
                        "start": 208,
                        "end": 237,
                        "text": "Carpenter (1992, pp. 204-206)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Denotational semantics",
                "sec_num": "2.3"
            },
            {
                "text": "Associate with a grammar G an operator 7~ that, analogously to the immediate consequence operator of logic programming, can be thought of as a \"parsing step\" operator in the context of grammatical formalisms. For the following discussion fix a particular grammar G = (n,E,A~). For every grammar G, To., is monotone and continuous, and hence its least fixpoint exists and l.fp(TG) = TG $ w. Following the paradigm of logic programming languages, define a fixpoint semantics for unification-based grammars by taking the least fixpoint of the parsing step operator as the denotation of a grammar. The denotational definition is equivalent to the operational one:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Denotational semantics",
                "sec_num": "2.3"
            },
            {
                "text": "Theorem 1. For x E ITEMS, X E lfp(TG) iff ~-(? x.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Denotational semantics",
                "sec_num": "2.3"
            },
            {
                "text": "The proof is that [w,i,A,j] E Ta $ n iff F-7;,[w, i, A, j], by induction on n.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Denotational semantics",
                "sec_num": "2.3"
            },
            {
                "text": "Corollary 2. The relation '=fp' is correct: whenever G1 =.fp G2, also Ob(G1) = Ob(a2).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Denotational semantics",
                "sec_num": "2.3"
            },
            {
                "text": "While the operational and the denotational semantics defined above are standard for complete grammars, they are too coarse to serve as a model when the composition of grammars is concerned. When the denotation of a grammar is taken to be ~G]op, important characteristics of the internal structure of the grammar are lost. To demonstrate the problem, we introduce a natural composition operator on grammars, namely union of the sets of rules (and the lexicons) in the composed grammars.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Compositionality",
                "sec_num": "2.4"
            },
            {
                "text": "Definition 7. /f GI = <T\u00a21, ~1, A~) and G2 = (7-~2,E'2,A~) are two grammars over the same signature, then the union of the two grammars, denoted G1 U G2, is a new grammar G = (T~, \u00a3, AS> such that T~ = 7~ 1 (.J 7\"~2, ft. = ff~l + ff~2 and A s = A~ rq A~. The implication of the above proposition is that while grammar union might be a natural, well defined syntactic operation on grammars, the standard semantics of grannnars is too coarse to support it. Intuitively, this is because when a grammar G1 includes a particular rule p that is inapplicable for reduction, this rule contributes nothing to the denotation of the grammar. But when G1 is combined with some other grammar, G2, p might be used for reduction in G1 U G2, where it can interact with the rules of G2. We suggest an alternative, fixpoint based semantics for unification based grammars that naturally supports compositionality.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Compositionality",
                "sec_num": "2.4"
            },
            {
                "text": "To overcome the problems delineated above, we follow Mancarella and Pedreschi (1988) in considering the grammar transformation operator itself (rather than its fixpoint) as the denota-tion of a grammar.",
                "cite_spans": [
                    {
                        "start": 53,
                        "end": 84,
                        "text": "Mancarella and Pedreschi (1988)",
                        "ref_id": "BIBREF8"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "Definition 8. The algebraic denotation o.f G is ffGffa I = Ta. G1 -at G2 iff Tal = TG2.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "Not only is the algebraic semantics composi-tionM, it is also commutative with respect to grammar union. To show that, a composition operation on denotations has to be defined, and we tbllow Mancarella and Pedreschi (1988) G1, G2, [alffat\" ~G2ffal = :G I [-J G 2 ff (tl . Proof. It has to be shown that, for every set of items L Tca~a., (I) = Ta, (I)u Ta.,(I).",
                "cite_spans": [
                    {
                        "start": 191,
                        "end": 222,
                        "text": "Mancarella and Pedreschi (1988)",
                        "ref_id": "BIBREF8"
                    },
                    {
                        "start": 223,
                        "end": 271,
                        "text": "G1, G2, [alffat\" ~G2ffal = :G I [-J G 2 ff (tl .",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "\u2022 if x E TG1 (I) U TG~, (I) then either x G Tch (I) or x E Ta., (I) . From the definition of grammar union, x E TG1uG2(I) in any case.",
                "cite_spans": [
                    {
                        "start": 64,
                        "end": 67,
                        "text": "(I)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "\u2022 if z E Ta~ua.,(I) then x can be added by either of the three clauses in the definition of Ta.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "if x is added by the first clause then there is a rule p G 7~1 U T~2 that licenses the derivation through which z is added. Then either p E 7~1 or p G T~2, but in any case p would have licensed the same derivation, so either ~ Ta~ (I) or \u2022 ~ Ta~ (I).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "if x is added by the second clause then there is an e-rule in G1 U G2 due to which x is added, and by the same",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "rationale either x C TG~(I) or x E TG~(I).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "if x is added by the third clause then there exists a lexical category in \u00a31 U \u00a32 due to which x is added, hence this category exists in either \u00a31 or \u00a32, and therefore x C TG~ (I) U TG2 (I).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "[]",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "Since '==-at' is commutative, it is also compositional with respect to grammar union. Intuitively, since TG captures only one step of the computation, it cannot capture interactions among different rules in the (unioned) grammar, and hence taking To: to be the denotation of G yields a compositional semantics. The Ta operator reflects the structure of the grammar better than its fixpoint. In other words, the equivalence relation induced by TG is finer than the relation induced by lfp(Tc). The question is, how fine is the '-al' relation? To make sure that a semantics is not too fine, one usually checks the reverse direction.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "Definition 9. A fully-abstract equivalence relation '-' is such that G1 =- G'2 'i, Ob(G1 U G) = Ob(G.e U G). \u2022 for all G, Ob(G U G~) = Ob(G [3 G2). The only difference between GUG1 and GUG2 is the presence of the rule (cat : up) -+ (cat : up) in the former. This rule can contribute nothing to a deduction procedure, since any item it licenses must already be deducible. Therefore, any item deducible with G U G1 is also deducible with G U G2 and hence",
                "cite_spans": [
                    {
                        "start": 75,
                        "end": 82,
                        "text": "G'2 'i,",
                        "ref_id": null
                    },
                    {
                        "start": 83,
                        "end": 93,
                        "text": "Ob(G1 U G)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A compositional semantics",
                "sec_num": "3"
            },
            {
                "text": "A better attempt would have been to consider, instead of TG, the fbllowing operator as the denotation of G: [G] ",
                "cite_spans": [
                    {
                        "start": 108,
                        "end": 111,
                        "text": "[G]",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Ob(G U G1) ----Ob(G U G,2). []",
                "sec_num": null
            },
            {
                "text": "We have shown so far that 'Hfp' is not compositional, and that 'Hid' is compositional but not fully abstract. The \"right\" semantics, therefore, lies somewhere in between: since the choice of semantics induces a natural equivalence on grammars, we seek an equivalence that is cruder thzm 'Hid' but finer than 'H.fp'. In this section we adapt results from Lassez and Maher (1984) a.nd Maher (1988) to the domain of unification-b~Lsed linguistic formalisms.",
                "cite_spans": [
                    {
                        "start": 354,
                        "end": 377,
                        "text": "Lassez and Maher (1984)",
                        "ref_id": "BIBREF6"
                    },
                    {
                        "start": 383,
                        "end": 395,
                        "text": "Maher (1988)",
                        "ref_id": "BIBREF7"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A fully abstract semantics",
                "sec_num": "4"
            },
            {
                "text": "Consider the following semantics for logic programs: rather than taking the operator assodated with the entire program, look only at the rules (excluding the facts), and take the meaning of a program to be the function that is obtained by an infinite applications of the operator associated with the rules. In our framework, this would amount to associating the following operator with a grammar:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A fully abstract semantics",
                "sec_num": "4"
            },
            {
                "text": "Definition 10. Let RG : Z -~ Z be a transformation on sets o.f items, where .for every [ C ITEMS, [w,i,A,j] E RG(I) iff there exist Yl,...,Yk E I such that yl = [wz,it,Al,jd . Observe that Rc is defined similarly to Ta (definition 5), ignoring the items added (by Ta) due to e-rules and lexical items. If we define the set of items I'nitc to be those items that are a.dded by TG independently of the argument it operates on, then for every grammar G and every set of items I, Ta(I) = Ra(I) U Inita. Relating the functional semantics to the fixpoint one, we tbllow Lassez and Maher (1984) in proving that the fixpoint of the grammar transformation operator can be computed by applying the fimctional semantics to the set InitG.",
                "cite_spans": [
                    {
                        "start": 87,
                        "end": 107,
                        "text": "[ C ITEMS, [w,i,A,j]",
                        "ref_id": null
                    },
                    {
                        "start": 132,
                        "end": 175,
                        "text": "Yl,...,Yk E I such that yl = [wz,it,Al,jd .",
                        "ref_id": null
                    },
                    {
                        "start": 564,
                        "end": 587,
                        "text": "Lassez and Maher (1984)",
                        "ref_id": "BIBREF6"
                    }
                ],
                "ref_spans": [
                    {
                        "start": 264,
                        "end": 267,
                        "text": "Ta)",
                        "ref_id": null
                    }
                ],
                "eq_spans": [],
                "section": "A fully abstract semantics",
                "sec_num": "4"
            },
            {
                "text": "Theorem 6. For every grammar G, (R.c + fd.) (z',,.itcd = tb(TG) Proof. We show that tbr every 'n., ( []",
                "cite_spans": [
                    {
                        "start": 21,
                        "end": 43,
                        "text": "grammar G, (R.c + fd.)",
                        "ref_id": null
                    },
                    {
                        "start": 44,
                        "end": 63,
                        "text": "(z',,.itcd = tb(TG)",
                        "ref_id": null
                    },
                    {
                        "start": 99,
                        "end": 100,
                        "text": "(",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 11. For G = (hg,\u00a3,A~), Initc = {[e,i,A,i] [ B is an e~-rule in G and B E_A} U {[a,i,A,i + 1J I B E \u00a3(a) .for B E A}",
                "sec_num": null
            },
            {
                "text": "The choice of 'Hfl~' as the semantics calls for a different notion of' observables. The denotation of a grammar is now a flmction which reflects an infinite number of' applications of the grammar's rules, but completely ignores the erules and the lexical entries. If we took the observables of a grammar G to be L(G) we could in general have ~G1].f,. = ~G2]fl~. but Ob(G1) 7 ~ Ob(G2) (due to different lexicons), that is, the semantics would not be correct. However, when the lexical entries in a grammar (including the erules, which can be viewed as empty categories, or the lexical entries of traces) are taken as input, a natural notion of observables preservation is obtained. To guarantee correctness, we define the observables of a grammar G with respect to a given input. Ol, ( a,e ).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 11. For G = (hg,\u00a3,A~), Initc = {[e,i,A,i] [ B is an e~-rule in G and B E_A} U {[a,i,A,i + 1J I B E \u00a3(a) .for B E A}",
                "sec_num": null
            },
            {
                "text": "The above definition corresponds to the previous one in a natural way: when the input is taken to be Inita, the observables of a grammar are its language.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 11. For G = (hg,\u00a3,A~), Initc = {[e,i,A,i] [ B is an e~-rule in G and B E_A} U {[a,i,A,i + 1J I B E \u00a3(a) .for B E A}",
                "sec_num": null
            },
            {
                "text": "Theorem 8. For all G, L(G) = Obinita(G). P'moJ: Theorem 9. fiG1 U G2~fn = ~Gl]fn \" ~G2~.fn.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 11. For G = (hg,\u00a3,A~), Initc = {[e,i,A,i] [ B is an e~-rule in G and B E_A} U {[a,i,A,i + 1J I B E \u00a3(a) .for B E A}",
                "sec_num": null
            },
            {
                "text": "L(G) = definition of L(G) { (',,",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 11. For G = (hg,\u00a3,A~), Initc = {[e,i,A,i] [ B is an e~-rule in G and B E_A} U {[a,i,A,i + 1J I B E \u00a3(a) .for B E A}",
                "sec_num": null
            },
            {
                "text": "The proof is basically similar to the case of logic programming (Lassez and Maher, 1984) and is detailed in Wintner (1999) .",
                "cite_spans": [
                    {
                        "start": 64,
                        "end": 88,
                        "text": "(Lassez and Maher, 1984)",
                        "ref_id": "BIBREF6"
                    },
                    {
                        "start": 108,
                        "end": 122,
                        "text": "Wintner (1999)",
                        "ref_id": "BIBREF14"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 11. For G = (hg,\u00a3,A~), Initc = {[e,i,A,i] [ B is an e~-rule in G and B E_A} U {[a,i,A,i + 1J I B E \u00a3(a) .for B E A}",
                "sec_num": null
            },
            {
                "text": "Theorem 10. The semantics '~'[fn' is fully abstract: ,for every two grammars G1 and G2, 'llf .for\" every grammar G and set of items I, Obr(G1 U G) = ObI(G2 U G), then G1 =fn G2.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 11. For G = (hg,\u00a3,A~), Initc = {[e,i,A,i] [ B is an e~-rule in G and B E_A} U {[a,i,A,i + 1J I B E \u00a3(a) .for B E A}",
                "sec_num": null
            },
            {
                "text": "The proof is constructive: assuming that G t ~f;~ G2, we show a grammar G (which det)ends on G1 and G2) such that Obt(G1 U G) \u00a2 Obr(G2 U G). For the details, see Wintner (1999) .",
                "cite_spans": [
                    {
                        "start": 162,
                        "end": 176,
                        "text": "Wintner (1999)",
                        "ref_id": "BIBREF14"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 11. For G = (hg,\u00a3,A~), Initc = {[e,i,A,i] [ B is an e~-rule in G and B E_A} U {[a,i,A,i + 1J I B E \u00a3(a) .for B E A}",
                "sec_num": null
            },
            {
                "text": "This paper discusses alternative definitions for the semantics of unification-based linguistic formalisms, culminating in one that is both compositional and fully-abstract (with respect to grammar union, a simple syntactic combination operations on grammars). This is mostly an adaptation of well-known results from h)gic programming to the ti'amework of unification-based linguistic tbrmalisms, and it is encouraging to see that the same choice of semantics which is compositional and fiflly-abstra(:t for Prolog turned out to have the same desirable properties in our domain.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Conclusions",
                "sec_num": "5"
            },
            {
                "text": "The functional semantics '~.].f,' defined here assigns to a grammar a fimction which reflects the (possibly infinite) successive application of grammar rules, viewing the lexicon as input to the parsing process. We, believe that this is a key to modularity in grammar design. A grammar module has to define a set of items that it \"exports\", and a set of items that can be \"imported\", in a similar way to the declaration of interfaces in programming languages. We are currently working out the details of such a definition. An immediate application will facilitate the implementation of grammar development systems that support modularity in a clear, mathematically sound way.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Conclusions",
                "sec_num": "5"
            },
            {
                "text": "The results reported here can be extended in various directions. First, we are only concerned in this work with one composition operator, grammar union. But alternative operators are possible, too. In particular, it would be interesting to define an operator which combines the information encoded in two grammar rules, for example by unifying the rules. Such an operator would facilitate a separate development of grammars along a different axis: one module can define the syntactic component of a grammar while another module would account for the semantics. The composition operator will unify each rule of one module with an associated rule in the other. It remains to be seen whether the grammar semantics we define here is compositional and fully abstract with respect to such an operator.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Conclusions",
                "sec_num": "5"
            },
            {
                "text": "A different extension of these results should provide for a distribution of the type hierarchy among several grammar modules. While we assume in this work that all grammars are defined over a given signature, it is more realistic to assume separate, interacting signatures. We hope to be able to explore these directions in the future.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Conclusions",
                "sec_num": "5"
            }
        ],
        "back_matter": [],
        "bib_entries": {
            "BIBREF0": {
                "ref_id": "b0",
                "title": "Compositional model-theoretic semantics for logic programs",
                "authors": [
                    {
                        "first": "Antonio",
                        "middle": [],
                        "last": "Brogi",
                        "suffix": ""
                    },
                    {
                        "first": "Evelina",
                        "middle": [],
                        "last": "Lamina",
                        "suffix": ""
                    },
                    {
                        "first": "Paola",
                        "middle": [],
                        "last": "Mello",
                        "suffix": ""
                    }
                ],
                "year": 1992,
                "venue": "New Generation Computing",
                "volume": "11",
                "issue": "",
                "pages": "1--21",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Antonio Brogi, Evelina Lamina, and Paola Mello. 1992. Compositional model-theoretic semantics for logic programs. New Genera- tion Computing, 11:1-21.",
                "links": null
            },
            "BIBREF1": {
                "ref_id": "b1",
                "title": "Modularity in logic programming",
                "authors": [
                    {
                        "first": "Michele",
                        "middle": [],
                        "last": "Bugliesi",
                        "suffix": ""
                    },
                    {
                        "first": "Evelina",
                        "middle": [],
                        "last": "Lamina",
                        "suffix": ""
                    },
                    {
                        "first": "Paola",
                        "middle": [],
                        "last": "Mello",
                        "suffix": ""
                    }
                ],
                "year": 1994,
                "venue": "Journal of Logic Programming",
                "volume": "19",
                "issue": "",
                "pages": "443--502",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Michele Bugliesi, Evelina Lamina, and Paola Mello. 1994. Modularity in logic pro- gramming. Journal of Logic Programming, 19,20:443 502.",
                "links": null
            },
            "BIBREF2": {
                "ref_id": "b2",
                "title": "Typed feature structures: A generalization of first-order terms",
                "authors": [
                    {
                        "first": "Bob",
                        "middle": [],
                        "last": "Carpenter",
                        "suffix": ""
                    }
                ],
                "year": 1991,
                "venue": "Logic Programming -Proceedings of the 1991 International Symposium",
                "volume": "",
                "issue": "",
                "pages": "187--201",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Bob Carpenter. 1991. Typed feature struc- tures: A generalization of first-order terms. In Vijai Saraswat and Ueda Kazunori, edi- tors, Logic Programming -Proceedings of the 1991 International Symposium,, pages 187- 201, Cambridge, MA. MIT Press.",
                "links": null
            },
            "BIBREF3": {
                "ref_id": "b3",
                "title": "The Logic of Typed Feature Structures. Cambridge Tracts in Theoretical Computer Science",
                "authors": [
                    {
                        "first": "Bob",
                        "middle": [],
                        "last": "Carpenter",
                        "suffix": ""
                    }
                ],
                "year": 1992,
                "venue": "",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Bob Carpenter. 1992. The Logic of Typed Fea- ture Structures. Cambridge Tracts in Theo- retical Computer Science. Cambridge Univer- sity Press.",
                "links": null
            },
            "BIBREF4": {
                "ref_id": "b4",
                "title": "Grammar engineering: Problems and prospects",
                "authors": [
                    {
                        "first": "Gregor",
                        "middle": [],
                        "last": "Erbach",
                        "suffix": ""
                    },
                    {
                        "first": "Hans",
                        "middle": [],
                        "last": "Uszkoreit",
                        "suffix": ""
                    }
                ],
                "year": 1990,
                "venue": "CLAUS report",
                "volume": "1",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Gregor Erbach and Hans Uszkoreit. 1990. Grammar engineering: Problems and prospects. CLAUS report 1, University of the Saarland and German research center for Artificial Intelligence, July.",
                "links": null
            },
            "BIBREF5": {
                "ref_id": "b5",
                "title": "Fully abstract compositional semantics for logic programming",
                "authors": [
                    {
                        "first": "Haim",
                        "middle": [],
                        "last": "Gaifman",
                        "suffix": ""
                    },
                    {
                        "first": "Ehud",
                        "middle": [],
                        "last": "Shapiro",
                        "suffix": ""
                    }
                ],
                "year": 1989,
                "venue": "16th Annual ACM Symposium on Principles o.f Logic Programming",
                "volume": "",
                "issue": "",
                "pages": "134--142",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Haim Gaifman and Ehud Shapiro. 1989. Fully abstract compositional semantics for logic programming. In 16th Annual ACM Sym- posium on Principles o.f Logic Programming, pages 134-142, Austin, Texas, January.",
                "links": null
            },
            "BIBREF6": {
                "ref_id": "b6",
                "title": "Closures and fairness in the semantics of programming logic",
                "authors": [
                    {
                        "first": "J.-L",
                        "middle": [],
                        "last": "Lassez",
                        "suffix": ""
                    },
                    {
                        "first": "M",
                        "middle": [
                            "J"
                        ],
                        "last": "Maher",
                        "suffix": ""
                    }
                ],
                "year": 1984,
                "venue": "Theoretical computer science",
                "volume": "29",
                "issue": "",
                "pages": "167--184",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "J.-L. Lassez and M. J. Maher. 1984. Closures and fairness in the semantics of programming logic. Theoretical computer science, 29:167- 184.",
                "links": null
            },
            "BIBREF7": {
                "ref_id": "b7",
                "title": "Equivalences of logic programs",
                "authors": [
                    {
                        "first": "M",
                        "middle": [
                            "J"
                        ],
                        "last": "Maher",
                        "suffix": ""
                    }
                ],
                "year": 1988,
                "venue": "Foundations of Deductive Databases and Logic Programrain.q, chapter 16",
                "volume": "",
                "issue": "",
                "pages": "627--658",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "M. J. Maher. 1988. Equivalences of logic pro- grams. In .Jack Minker, editor, Foundations of Deductive Databases and Logic Program- rain.q, chapter 16, pages 627-658. Morgan Kaulinann Publishers, Los Altos, CA.",
                "links": null
            },
            "BIBREF8": {
                "ref_id": "b8",
                "title": "An algebra of logic programs",
                "authors": [
                    {
                        "first": "Paolo",
                        "middle": [],
                        "last": "Mancarella",
                        "suffix": ""
                    },
                    {
                        "first": "Dino",
                        "middle": [],
                        "last": "Pedreschi",
                        "suffix": ""
                    }
                ],
                "year": 1988,
                "venue": "Logic Programming: Proceedings of the F@h international conference and sympo-,sium",
                "volume": "",
                "issue": "",
                "pages": "1006--1023",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Paolo Mancarella and Dino Pedreschi. 1988. An algebra of logic programs. In Robert A. Kowalski and Kenneth A. Bowen, edi- tors, Logic Programming: Proceedings of the F@h international conference and sympo- ,sium, pages 1006-1023, Cambridge, Mass. MIT Press.",
                "links": null
            },
            "BIBREF9": {
                "ref_id": "b9",
                "title": "Stuart Shieber, Yves Schabes, and Fernando Pereira. 1995. Principles and implementation of deductive parsing",
                "authors": [
                    {
                        "first": "C",
                        "middle": [
                            "N"
                        ],
                        "last": "Fernando",
                        "suffix": ""
                    },
                    {
                        "first": "Stuart",
                        "middle": [
                            "M"
                        ],
                        "last": "Pereira",
                        "suffix": ""
                    },
                    {
                        "first": "",
                        "middle": [],
                        "last": "Shieber",
                        "suffix": ""
                    }
                ],
                "year": 1984,
                "venue": "Proceedings of the lOth international con.ference on computational linguistics and the 22nd annual meeting o.f the association .for computational linguistics",
                "volume": "24",
                "issue": "",
                "pages": "3--36",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Fernando C. N. Pereira and Stuart M. Shieber. 1984. The semantics of grammar formalisms seen as computer languages. In Proceedings of the lOth international con.ference on compu- tational linguistics and the 22nd annual meet- ing o.f the association .for computational lin- guistics, pages 123-129, Stantbrd, CA, July. Stuart Shieber, Yves Schabes, and Fernando Pereira. 1995. Principles and implementation of deductive parsing. Jo'wrr~,al o]\" Logic Pro- gramming, 24(1-2):3-36, July/August.",
                "links": null
            },
            "BIBREF10": {
                "ref_id": "b10",
                "title": "Constraint-Based Grammar Form, alism, s",
                "authors": [
                    {
                        "first": "M",
                        "middle": [],
                        "last": "Stuart",
                        "suffix": ""
                    },
                    {
                        "first": "",
                        "middle": [],
                        "last": "Shieber",
                        "suffix": ""
                    }
                ],
                "year": 1992,
                "venue": "",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Stuart M. Shieber. 1992. Constraint-Based Grammar Form, alism, s. MIT Press, Cam- bridge, Mass.",
                "links": null
            },
            "BIBREF11": {
                "ref_id": "b11",
                "title": "Par'sing Schemata. Texts in Theoretical Computer Science -An EATCS Series",
                "authors": [
                    {
                        "first": "Klaas",
                        "middle": [],
                        "last": "Sikkel",
                        "suffix": ""
                    }
                ],
                "year": 1997,
                "venue": "",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Klaas Sikkel. 1997. Par'sing Schemata. Texts in Theoretical Computer Science -An EATCS Series. Springer Verlag, Berlin.",
                "links": null
            },
            "BIBREF12": {
                "ref_id": "b12",
                "title": "The semantics of predicate logic as a programming language",
                "authors": [
                    {
                        "first": "M",
                        "middle": [
                            "H"
                        ],
                        "last": "Van Emden",
                        "suffix": ""
                    },
                    {
                        "first": "Robert",
                        "middle": [
                            "A"
                        ],
                        "last": "Kowalski",
                        "suffix": ""
                    }
                ],
                "year": 1976,
                "venue": "",
                "volume": "23",
                "issue": "",
                "pages": "733--742",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "M. H. Van Emden and Robert A. Kowalski. 1976. The semantics of predicate logic as a programming language..Iournal of the Asso- ciation .for Ccrmputing Machinery, 23(4):733- 742, October.",
                "links": null
            },
            "BIBREF13": {
                "ref_id": "b13",
                "title": "Offline parsability and the well-tbundedness of subsumption",
                "authors": [
                    {
                        "first": "Shuly",
                        "middle": [],
                        "last": "Wintner",
                        "suffix": ""
                    },
                    {
                        "first": "Nissim",
                        "middle": [],
                        "last": "Francez",
                        "suffix": ""
                    }
                ],
                "year": 1999,
                "venue": "Journal of Logic, Language and In.formation",
                "volume": "8",
                "issue": "1",
                "pages": "1--16",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Shuly Wintner and Nissim Francez. 1999. Off- line parsability and the well-tbundedness of subsumption. Journal of Logic, Language and In.formation, 8(1):1-16, January.",
                "links": null
            },
            "BIBREF14": {
                "ref_id": "b14",
                "title": "Compositional semantics for linguistic formalisms",
                "authors": [
                    {
                        "first": "Shuly",
                        "middle": [],
                        "last": "Wintner",
                        "suffix": ""
                    }
                ],
                "year": 1999,
                "venue": "",
                "volume": "3401",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Shuly Wintner. 1999. Compositional semantics for linguistic formalisms. IRCS Report 99-05, Institute for Research in Cognitive Science, University of Pennsylvania, 3401 Wahmt St., Suite 400A, Philadelphia, PA 19018.",
                "links": null
            }
        },
        "ref_entries": {
            "FIGREF0": {
                "uris": null,
                "text": "depicts an example grammar, 1 suppressing the underlying type hierarchy. 2",
                "type_str": "figure",
                "num": null
            },
            "FIGREF1": {
                "uris": null,
                "text": ") = Z~(Mary) = {(cat: 'n)} \u00a3(sleeps) = \u00a3(sleep) = \u00a3(lovcs) = {(co, t : v)} An example grammar, G",
                "type_str": "figure",
                "num": null
            },
            "FIGREF2": {
                "uris": null,
                "text": "The operational denotation o.f a grammar G isEG~o,, :,",
                "type_str": "figure",
                "num": null
            },
            "FIGREF3": {
                "uris": null,
                "text": "The fixpoint denotation of a grammar G is ~G[.fp = l.fp(Ta). G1 =--.fp G2 iff ~ti,( T<; ~ ) = l fp(Ta~).",
                "type_str": "figure",
                "num": null
            },
            "FIGREF4": {
                "uris": null,
                "text": "exemplifies grammar union. Observe that for every G, G', G O G' = G' O G.\u2022 Proposition 3. The equivalence relation '=op'is not compositional with respect to Ob, {U}.Proof. Consider the grammars in figure 2. ~a:~o,, = lado. = {[\"loves\",/, (cat: v),i + 1]l i > 0} but tbr I = {[\"John loves John\", i, (cat: s),i+3 I i >_ 0}, I C_ [G1UG4]op whereas I ~ [G1UGa~op. Thus Ga =-op G4 but (Gl (2 Go) ~op (G1 tO G4), hence '~--Op' is not compositional with respect to Ob, {tO}. [] o,t: ,,,,) (~.at : vp) (cat : vp) -~ (co, t : v) (cat: vp) --+ (cat: v) (cat: n) /:(John) = {(cat: n)} \u00a3(sleeps) = \u00a3(loves) = {(cat: v)} G1UGa : A s = (cat : s) (cat: s) --+ (cat: n) (cat: vp) C(John) = {(cat: ',,,)} \u00a3(loves) = {(cat: v)} GI U G4 : A s = (cat : s) (co, t: ~) + (co.t: ,,,.) (cat: vp) (co, t : vp) -~ (cat:,,) (co, t : ~) /:(John) = {(cat: n)} /:(loves) = {(cat: v)} Figure 2: Grammar union",
                "type_str": "figure",
                "num": null
            },
            "FIGREF5": {
                "uris": null,
                "text": "Th, e semantic equivalence relation '--at' is not fully abshuct. Proof. Let G1 be the grammar A~ cat: ~) -~ (~:.,t : ,,,,p) (c.,t : vp), (cat: up) -~ (,:..t : ',,.pG2: because tbr I = {[\"John loves Mary\",6,(cat : np),9]}, T(;I(I ) = I but To., (I) = O",
                "type_str": "figure",
                "num": null
            },
            "FIGREF6": {
                "uris": null,
                "text": "for 1 _ < l _ < k and il+t = jl .for 1 < l < k and i, = 1 and.jk = J and (A1,...,Ak) ~ A and \"~1) ~ 'tl) 1 \u2022 \u2022 \u2022 ?U k. Th, e functional denotation of a grammar G is /[G~.f,,, = (Re + Id) ~ = End-0 (RG + Id) n. Notice that R w is not RG \"[ w: the former is a function \"d from sets of items to set of items; the latter is a .set of items.",
                "type_str": "figure",
                "num": null
            },
            "FIGREF7": {
                "uris": null,
                "text": "T~ + Id) n = (E~.-~ (Re + Id) ~:) (I'nit(;) by induction on Tt. For n = 1, (Tc + Id) ~[ 1 = (Tc~ + Id)((Ta + Id) ~ O) = (Tc, + Id)(O). Clearly, the only items added by TG are due to the second and third clauses of definition 5, which are exactly Inita. Also, (E~=o(Ra + Id)~:)(Initc;) = (Ra + Id) \u00b0 (Initc) = I'nitc;. Assume that the proposition holds tbr n-1, that is, (To + Id) \"[ (',, -1) = t~E' \"-2t~' a:=0 txta + Id) k)Unite). Then (Ta + Id) $ n = definition of i\" (TG + Id)((Ta + Id) ~[ (v, -1)) = by the induction hypothesis ~n--2 (Ta + Id)(( k=0(RG + Id)k)(Inita)) = since Ta(I) = Ra(I) U Inita En-2 (Ra + Id)(( k=Q(Rc; + Id)~')(Inita)) U Inita = ,G-I-Hence (RG + Id) ~ (Init(; = (27(; + Id) ~ w = lfp( TG ) .",
                "type_str": "figure",
                "num": null
            },
            "FIGREF8": {
                "uris": null,
                "text": "Th, e observables of a grammar G = (~,/:,A s} with respect to an input set of items I are Ot, (C) = {(',,,,A) I [w,0, d, I 1] e Corollary 7. The semantics '~.~.f ' is correct: 'llf G1 =fn G2 then .for every I, Obl(G1) =",
                "type_str": "figure",
                "num": null
            },
            "TABREF4": {
                "num": null,
                "content": "<table><tr><td>i d = AI.Ta(I) U I.</td></tr></table>",
                "type_str": "table",
                "text": "In other words, the semantics is Ta + Id, where Id is the identity operator. Unfortunately, this does not solve the problem, as '~']id' is still not fully-abstract.",
                "html": null
            }
        }
    }
}