Category-based modularisation for equational logic programming

被引:2
|
作者
Diaconescu, R [1 ]
机构
[1] UNIV OXFORD, PROGRAMMING RES GRP, OXFORD OX1 3QD, ENGLAND
关键词
D O I
10.1007/s002360050054
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Although modularisation is basic to modern computing, it has been little studied for logic-based programming. We treat modularisation for equational logic programming using the institution of category-based equational logic in three different ways: (1) to provide a generic satisfaction condition for equational logics; (2) to give a category-based semantics for queries and their solutions; and (3) as an abstract definition of compilation from one (equational) logic programming language to another. Regarding (2), we study soundness and completeness for equational logic programming queries and their solutions. This can be understood as ordinary soundness and completeness in a suitable ''non-logical'' institution. Soundness holds for all module imports, but completeness only holds for conservative module imports. Category-based equational signatures are seen as modules, and morphisms of such signatures as module imports. Regarding (3), completeness corresponds to compiler correctness. The results of this research applies to languages based on a wide class of equational logic systems, including Horn clause logic, with or without equality; all variants of order and many sorted equational logic, including working module a set of axioms; constraint logic programming over arbitrary user-defined data types; and any combination of the above. Most importantly, due to the abstraction level, this research gives the possibility to have semantics and to study modularisation for equational logic programming developed over non-conventional structures.
引用
收藏
页码:477 / 510
页数:34
相关论文
共 50 条
  • [21] AMLOG: An amalgamated equational logic programming language
    Mansfield, Glenn
    Togashi, Atsushi
    Noguchi, Shoichi
    Journal of information processing, 1988, 11 (04) : 278 - 287
  • [22] The role of coherence in category-based explanation
    Patalano, AL
    Chin-Parker, S
    Ross, BH
    PROCEEDINGS OF THE TWENTY-FIFTH ANNUAL CONFERENCE OF THE COGNITIVE SCIENCE SOCIETY, PTS 1 AND 2, 2003, : 910 - 915
  • [23] Category-based induction in conceptual spaces
    Osta-Velez, Matias
    Gardenfors, Peter
    JOURNAL OF MATHEMATICAL PSYCHOLOGY, 2020, 96
  • [24] The influence of expertise in category-based induction
    Iwao, T
    JAPANESE JOURNAL OF EDUCATIONAL PSYCHOLOGY, 1999, 47 (01): : 59 - 67
  • [25] Developmental changes in category-based inferences
    Sugimura, T
    Kataoka, M
    PSYCHOLOGIA, 1995, 38 (04) : 258 - 265
  • [26] Mathematical models of category-based induction
    Mishima, Mizuho
    Kikuchi, Makoto
    DISCOVERY SCIENCE, PROCEEDINGS, 2006, 4265 : 327 - 331
  • [27] Cinefile: A Category-Based Analytic Browser
    Davies, Stephen
    Seal, Stacey Aylor
    Hatfield, Jesse
    COMPUTER, 2012, 45 (08) : 62 - 69
  • [28] Beyond category-based object characterization
    Howells, Henrietta
    NATURE NEUROSCIENCE, 2024, 27 (10) : 1861 - 1861
  • [29] Category-based task specific grasping
    Nikandrova, Ekaterina
    Kyrki, Ville
    ROBOTICS AND AUTONOMOUS SYSTEMS, 2015, 70 : 25 - 35
  • [30] Conceptual influences on category-based induction
    Gelman, Susan A.
    Davidson, Natalie S.
    COGNITIVE PSYCHOLOGY, 2013, 66 (03) : 327 - 353