Equivalence of linear, free, liberal, structured program schemas is decidable in polynomial time

被引:5
|
作者
Danicic, Sebastian
Harman, Mark
Hierons, Rob
Howroyd, John
Laurence, Michael R. [1 ]
机构
[1] Univ London Goldsmiths Coll, Dept Comp Sci, London SE14 6NW, England
[2] Brunel Univ, Dept Informat Syst & Comp, Uxbridge UB8 3PH, Middx, England
[3] UK PLC, Aldermaston RG7 8NN, Berks, England
[4] Kings Coll London, Dept Comp Sci, London WC2R 2LS, England
基金
英国工程与自然科学研究理事会;
关键词
structured program schemas; conservative schernas; liberal schemas; free schemas; linear schemas; schema equivalence; static analysis; program slicing;
D O I
10.1016/j.tcs.2006.10.001
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A program schema defines a class of programs, all of which have identical statement structure, but whose expressions may differ. We define a class of syntactic similarin, binary relations between linear structured schemas, which characterise schema equivalence for structured schemas that are linear, free and liberal. In this paper we report that similarity implies equivalence for linear schemas, and that a near-converse holds for schemas that are linear, free and liberal. We also show that the similarity of two linear schemas is polynomial-time decidable. Our main result considerably extends the class of program schemas for which equivalence is known to be decidable, and suggests that linearity is a constraint worthy of further investigation. (c) 2006 Elsevier B.V All rights reserved.
引用
收藏
页码:1 / 18
页数:18
相关论文
共 16 条
  • [1] Equivalence of conservative, free, linear program schemas is decidable
    Laurence, MR
    Danicic, S
    Harman, M
    Hierons, R
    Howroyd, J
    [J]. THEORETICAL COMPUTER SCIENCE, 2003, 290 (01) : 831 - 862
  • [2] Decidability of strong equivalence for subschemas of a class of linear, free, near-liberal program schemas
    Danicic, Sebastian
    Hierons, Robert M.
    Laurence, Michael R.
    [J]. JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2011, 80 (02): : 92 - 112
  • [3] TREE EQUIVALENCE OF LINEAR RECURSIVE SCHEMATA IS POLYNOMIAL-TIME DECIDABLE
    SABELFELD, VK
    [J]. INFORMATION PROCESSING LETTERS, 1981, 13 (4-5) : 147 - 153
  • [4] THE LOGIC-TERMAL EQUIVALENCE IS POLYNOMIAL-TIME DECIDABLE
    SABELFELD, VK
    [J]. INFORMATION PROCESSING LETTERS, 1980, 10 (02) : 57 - 62
  • [5] Static program slicing algorithms are minimal for free liberal program schemas
    Danicic, S
    Fox, C
    Harman, M
    Hierons, R
    Howroyd, J
    Laurence, MR
    [J]. COMPUTER JOURNAL, 2005, 48 (06): : 737 - 748
  • [6] Characterizing minimal semantics-preserving slices of predicate-linear, free, liberal program schemas
    Danicic, Sebastian
    Hierons, Robert M.
    Laurence, Michael R.
    [J]. JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2011, 80 (08): : 481 - 496
  • [7] Characterizing minimal semantics-preserving slices of function-linear, free, liberal program schemas
    Laurence, Michael R.
    [J]. JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2007, 72 (02): : 157 - 172
  • [8] To the decidability of the program schemata commutative equivalence in polynomial time
    Podlovichenko, RI
    Zakharov, VA
    [J]. DOKLADY AKADEMII NAUK, 1998, 362 (06) : 744 - 747
  • [9] Solving linear program as linear system in polynomial time
    Sen, Syamal K.
    Ramakrishnan, Suja
    Agarwal, Ravi P.
    [J]. MATHEMATICAL AND COMPUTER MODELLING, 2011, 53 (5-6) : 1056 - 1073
  • [10] Deciding Equivalence of Linear Tree-to-Word Transducers in Polynomial Time
    Boiret, Adrien
    Palenta, Raphaela
    [J]. DEVELOPMENTS IN LANGUAGE THEORY, DLT 2016, 2016, 9840 : 355 - 367