2010
Journal article  Open Access

Typing linear constraints

Ruggieri S., Mesnard F.

[INFO]Computer Science [cs]  Polyhedra  Definiteness  [MATH]Mathematics [math]  Linear constraints  Constraint logic programming  Verification  Languages  Software  Well-moding 

We present a type system for linear constraints over the reals intended for reasoning about the input-output directionality of variables. Types model the properties of definiteness, range width or approximation, lower and upper bounds of variables in a linear constraint. Several proof procedures are presented for inferring the type of a variable and for checking validity of type assertions. We rely on theory and tools for linear programming problems, linear algebra, parameterized polyhedra and negative constraints. An application of the type system is proposed in the context of the static analysis of constraint logic programs. Type assertions are at the basis of the extension of wellmoding from pure logic programming. The proof procedures (both for type assertion validity and for well-moding) are implemented and their computational omplexity is discussed. We report experimental results demonstrating the efficiency in practice of the proposed approach. © 2010 ACM.

Source: ACM transactions on programming languages and systems (Online) 32 (2010): 21–42. doi:10.1145/1749608.1749610

Publisher: Association for Computing Machinery, [New York] , Stati Uniti d'America


Metrics



Back to previous page
BibTeX entry
@article{oai:it.cnr:prodotti:294480,
	title = {Typing linear constraints},
	author = {Ruggieri S. and Mesnard F.},
	publisher = {Association for Computing Machinery, [New York] , Stati Uniti d'America},
	doi = {10.1145/1749608.1749610},
	journal = {ACM transactions on programming languages and systems (Online)},
	volume = {32},
	pages = {21–42},
	year = {2010}
}