Generating invariants for non-linear loops by linear algebraic methods

被引:1
|
作者
Rebiha, Rachid [1 ]
Moura, Arnaldo Vieira [1 ]
Matringe, Nadir [2 ]
机构
[1] Univ Estadual Campinas, Inst Comp, Campinas, SP, Brazil
[2] Univ Poitiers, LMA, Poitiers, France
基金
巴西圣保罗研究基金会; 瑞典研究理事会;
关键词
Formal methods; Invariant generation; Linear algebra; ABSTRACT INTERPRETATION; POLYNOMIAL INVARIANTS;
D O I
10.1007/s00165-015-0333-3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present new computational methods that can automate the discovery and the strengthening of non-linear interrelationships among the variables of programs containing non-linear loops, that is, that give rise to multivariate polynomial and fractional relationships. Our methods have complexities lower than the mathematical foundations of the previous approaches, which used Grobner basis computations, quantifier eliminations or cylindrical algebraic decompositions. We show that the preconditions for discrete transitions can be viewed as morphisms over a vector space of degree bounded by polynomials. These morphisms can, thus, be suitably represented by matrices. We also introduce fractional and polynomial consecution, as more general forms for approximating consecution. The new relaxed consecution conditions are also encoded as morphisms represented by matrices. By so doing, we can reduce the non-linear loop invariant generation problem to the computation of eigenspaces of specific morphisms. Moreover, as one of the main results, we provide very general sufficient conditions allowing for the existence and computation of whole loop invariant ideals. As far as it is our knowledge, it is the first invariant generation methods that can handle multivariate fractional loops.
引用
收藏
页码:805 / 829
页数:25
相关论文
共 50 条
  • [1] Generating Invariants for Non-linear Hybrid Systems by Linear Algebraic Methods
    Matringe, Nadir
    Moura, Arnaldo Vieira
    Rebiha, Rachid
    STATIC ANALYSIS, 2010, 6337 : 373 - +
  • [2] A transformational approach for generating non-linear invariants
    Bensalem, S
    Bozga, M
    Fernandez, JC
    Ghirvu, L
    Lakhnech, Y
    STATIC ANALYSIS, 2000, 1824 : 58 - 74
  • [3] Generating invariants for non-linear hybrid systems
    Rebiha, Rachid
    Moura, Arnaldo V.
    Matringe, Nadir
    THEORETICAL COMPUTER SCIENCE, 2015, 594 : 180 - 200
  • [4] NON-LINEAR SUPERPOSITION, HIGHER-ORDER NON-LINEAR EQUATIONS, AND CLASSICAL LINEAR INVARIANTS
    REID, JL
    RAY, JR
    JOURNAL OF MATHEMATICAL PHYSICS, 1982, 23 (04) : 503 - 509
  • [5] INVARIANTS FOR NON-LINEAR EQUATIONS OF MOTION
    RAY, JR
    PROGRESS OF THEORETICAL PHYSICS, 1981, 65 (03): : 877 - 882
  • [6] INVARIANTS OF THE NON-LINEAR SCHRODINGER EQUATION
    JOHNSON, SF
    LONNGREN, KE
    NICHOLSON, DR
    PHYSICS LETTERS A, 1979, 74 (06) : 393 - 394
  • [7] NON-LINEAR INVARIANTS AND THE PROBLEM OF MOTION
    GREGORY, C
    PHYSICAL REVIEW, 1947, 72 (01): : 72 - 75
  • [8] A CIRCUIT FOR GENERATING NON-LINEAR FUNCTIONS BY MEANS OF STOCHASTIC METHODS
    BREMER, J
    FREQUENZ, 1981, 35 (06) : 146 - 150
  • [9] Polynomial invariants for linear loops
    M. S. Lvov
    Cybernetics and Systems Analysis, 2010, 46 (4) : 660 - 668
  • [10] ALGEBRAIC TECHNIQUES FOR NON-LINEAR CODES
    BAUER, H
    GANTER, B
    HERGERT, F
    COMBINATORICA, 1983, 3 (01) : 21 - 33