scispace - formally typeset
Open AccessBook ChapterDOI

On the Equivalence of Two Systems of Affine Recurrence Equations

TLDR
In this paper, it was shown that the problem of deciding whether two Systems of Affine Recurrence Equations are equivalent or not is undecidable, but there is a semi-decision procedure, in which the key ingredient is the computation of transitive closures of affine relations.
Abstract
This paper deals with the problem of deciding whether two Systems of Affine Recurrence Equations are equivalent or not. A solution to this problem would be a step toward algorithm recognition, an important tool in program analysis, optimization and parallelization. We first prove that in the general case, the problem is undecidable. We then show that there nevertheless exists a semi-decision procedure, in which the key ingredient is the computation of transitive closures of affine relations. This is a non-effective process which has been extensively studied. Many partial solutions are known. We then report on a pilot implementation of the algorithm, describe its limitations, and point to unsolved problems.

read more

Content maybe subject to copyright    Report

HAL Id: inria-00072302
https://hal.inria.fr/inria-00072302
Submitted on 23 May 2006
HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entic research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diusion de documents
scientiques de niveau recherche, publiés ou non,
émanant des établissements d’enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.
On the Equivalence of Two Systems of Ane
Recurrence Equations
Denis Barthou, Paul Feautrier, Xavier Redon
To cite this version:
Denis Barthou, Paul Feautrier, Xavier Redon. On the Equivalence of Two Systems of Ane Recurrence
Equations. RR-4285, INRIA. 2001. �inria-00072302�

ISSN 0249-6399 ISRN INRIA/RR--4285--FR+ENG
apport
de recherche
THÈME 1
INSTITUT NATIONAL DE RECHERCHE EN INFORMATIQUE ET EN AUTOMATIQUE
On the Equivalence of Two Systems of Affine
Recurrence Equations
Denis Barthou Paul Feautrier Xavier Redon
4285
Octobre 2001


Unité de recherche INRIA Rocquencourt
Domaine de Voluceau, Rocquencourt, BP 105, 78153 Le Chesnay Cedex (France)
Téléphone : +33 1 39 63 55 11 Télécopie : +33 1 39 63 53 30
 !#"%$'&(*)+&-,/.01/233425&
67984:<;=>@?BADCFEHGJILKNMO>PGFQ*RN79>PGFAS?S:T7U?DVWK4XL>ZY[:T7U?W\]7U^4EH8J_
`badcBef%gh#i*jBklfBmondp]fqrklstkuqvcwefBk
xNyvzo{ufq*|}
i*mo~d~Pzylq*tfyvfBadfByvadfHF9UhOqvzdyvfoUdgho}%~moUfBk
]FBwd
`badk4~m~@fBy4dfBmokFqvaqvadfb~dyvzd¡fwez¢@tfBw¡d£d5adfwqladfByFqu2z¤Zstkuqvfwe'kFzo¢H|¥'dfifBwndyvylfBf2¦¨§9nmqv£zUk
mylfJfS§Un£©mo¡fw9q[zUy(dzqBª|«k¬zU£ntqv£zU5qlzqvadk(~dyvzd¡fwe2zUnd5@f¨m®yvk¬q[k¬qlfw~qlzbmoym£Uzyvqvade¯yvfBwzqv£zU(°Bm£e~Pzylqvmo9q
qvz9zU±£~dyvzymoe²mmo¡stk¬kw°9z~dql¡e%¡³Bmoql¡zmo~moymo¡¡fw¡£³Smql¡z[ª[´ f®@yvk¬q~dylz©Ufqla@mq£qlafOUfwdfByvmPBmklf°9qlafO~ylzUd£fBe
krntfBw¡mod¡fª*`badfµ~dyvz9z¢J¡kr9syvfBtnw£]moZs£k¬qvmfzo¢N¶*¡£PfwylqB· krqlfw9qva~dyvzd¡fwe¸¹qvadfµklz¡ntql¡zLz¢Nºr¡z~da@mo9ql¡df
fS§Un@mql¡z@kv»qvzLqladf]fB§9nd¡©Dm£fBf]zo¢qu2z¼¤t|i¦¨kBªL´½fWqladfB¾k¬adz¿qla@mqqvadfwyvfWdfB©fwylqlafw¡fBkvk5fpt¡k¬qvkmk¬fBeÀÁmo¡zUyl£qlade°
¡¯adaqvadf Ãfws-¡dyvfBt¡fw9q¡kqlaf wze~dntqmql¡z¯zo¢qlymo@k¬£ql¡©f ¡zUklndylfSkWz¢m¥'df ylfB¡moql¡zkBª¿`badk¡kmo9mo¡mo
nd@tfBw¡dmd¡f%~ylzUd£fBeÄada¼amUkPfwfB½fwpZqlfw@k¬¡©fB£sLk¬qlnt¡fB(ªµÅm9sL~@moylqlmo4k¬zU£ntqv£zUk5moyvfÃZdz(ª´½f%qlafw ylfB~@zUy¬q
zUÂm%~d¡¡zoq£e~d¡fwefBUqmqv£zUz¢qvadfmo¡zUyl£qlade°dtfSklwyl¡PfO£qvk*£¡eqmql¡z@kw°dm~@zU£9qbqlz'nd@k¬zU£©UfB~dylzUd¡fwe'kwª
ÆLÇ9ÈHÉlʵË
ÌF
¤Zstk¬qlfBeÄzo¢|*¥'df'ifBwndylyvfw@f¦2§Un@mql¡z@kw°±~dyvzUyvmeÍfB§9nd¡©Dm£fBfU°±~dyvzymoeÍmo@mo¡sZklkw°H~dyvzUyvmeÎzU~tql£À
e¡³Bmqv£zU
ÏbÐPÑ(ÒÓSÔ%ÕDÖ[×DÒ ØÙuÚ<Û<Ò ÜTÝNÞDÙ4ß@ÙuÚ<ÛTàÒâáâáâÙuÛFÓBàÒâ×wÜäãäåFæDÙu×ÜTÒâ×Oçwèvéêvë9ìíîïðñBòlówôvõïDêvë÷öHì¡óøBëlùìúï
û4üþý
Ñ
ü¹ÿ
Õ

×áâÙ¬à¬ØÙ

¡Ú

Ö×DÒ ØÙuÚäÛTÒ Ü<ݨÞSÙ4ßPÙuÚäÛ÷àÒâáâáâÙuÛÓSàÒâ×wÜäãäåFæDÙu×ÜTÒâ×

îvó


wèîvóðïDê¬èïôSêÁéïDê¬îtìúï

ü

ÕoÖ×SÒ ØÙ¬ÚäÛTÒ Ü<ÝJÞDÙ
ÒâáâáâÙ
á à×SÞDÚ<Ù
ÿ
ÚäÜ

ÒâÛ

îøDê¬èïdì


wòléwôèvó


Zìúï

"3/







&($'&±

*)+&

5&

 3

334.0&



f*kln{ufq¨tffq¨my¬qv¡w£fbfSkuqN¡f~dyvzd¡cweftfmze~myvm¡klzµtf*tfwndp%klsZk¬qlcBefBkN±· jB§9nmoql¡zkJdfyljSndyvylfBf
mo¥fBk¸T¤t|ri¦»ªHijBklzndylfwf~dylzUd¡cwef~@fBylefwq¬qlymo£qr±· moejw¡¡zyvfwy¡fBkbqvfBadd§9ndfBkrtfyvfBzUdm¡kvklmf5±· mo¡zUyl£qladefSkw°
§9nd*klz9q'nd-zntqv£¡e~@zUy¬qmo9q'~@zUndy'<· mo@mo¡sZklfdfL~dylzUymoeefBkB°[T· zU~tql¡e¡kvmqv£zU fwq'¡m ~myvm£¡jw¡¡kvmqv£zU«mondqlze'moql§Unfª
rznk5~dyvzn©z@k±· moPzy §Unf%¡f~dyvzd¡cwef%fBk¬qfw jwjwymoF£djBdmd£fUª
m~dyvfwnd©Ufµndql¡£k¬f'm]qlymok¬¢þzyve'mql¡z ±· nddf
¡k¬qvmo@ftn gBcwef5~dyvzd¡cweftf¶*¡¡@fBy¬qrfBÂnddf§9ndfBk¬ql¡zÂ±· jB§9nd¡©mo¡fwwftftfwndp¤t|i¦¨kBª

*zUnkbez9qlyvz@kbfwklnd£qlf
§9n(· £fBk¬q4wfw~Pfwdm9q4~PzUkvkl£d¡ftfzUkuqvyln£yvf2n%klfwe£À÷m£Uzyvqvadef°D§Untntql¡£klffBkvk¬fBUqv£fB£¡fwefBUq4¡fbBmondddfmr¢þfwyve%fwqlndyvf
qvyvmk¬£ql¡©fOtfOylfB¡moql¡zk2m¥'dfBkBª

2fBPfBk¬qbjwUm£fBefw9q¨nd~dylzUd¡cwefr¡tjSdmod¡f°Z~Pzndy¡fB§9ndfwHtfOdzeµdyvfwnklfBk2k¬zU£ntqv£zUk
~my¬qv£fB£¡fBkk¬zU9qOzUdZndfBkBª

rznkr~dyvjBklfw9qlzUk*nd¼~dylzqlzqus9~Pftf%zUe%~@moymqlfBndyS°tjBwyl¡©zUk*klfBk£¡eqmqv£zUkw°@fqO£d¡§9ndzUk
§9ndfB¡§9ndfSkb©z¡fBkdfOyvfBafwyadfBk2¢þntqvndylfSkwª
Ë
B
É

L
¤Zstkuqvcwefµ±· jB§9nmoql¡zktfyvjBwndyvylfBfmo¥fBkB°@jS§Un£©mo¡fw@fµdf~dyvzUyvme%efSkw°mmo¡stk¬fdf~dyvzUyvme%efSkw°
zU~tql¡e¡kvmqv£zUtf~ylzUymoeefBk

Citations
More filters
Journal ArticleDOI

SPIRAL: Code Generation for DSP Transforms

TL;DR: SPIRAL generates high-performance code for a broad set of DSP transforms, including the discrete Fourier transform, other trigonometric transforms, filter transforms, and discrete wavelet transforms.
Journal ArticleDOI

Equivalence checking of static affine programs using widening to handle recurrences

TL;DR: In this article, the equivalence checking is performed on a dependence graph abstraction and uses a new approach based on widening to find the proper induction hypotheses for reasoning about recurrences.
Proceedings Article

On the Equivalence of Two Systems of Affine Recurrence Equations (Research Note)

TL;DR: It is proved that in the general case, the problem is undecidable, but there nevertheless exists a semi-decision procedure, in which the key ingredient is the computation of transitive closures of affine relations.
Book ChapterDOI

Verification of source code transformations by program equivalence checking

TL;DR: This paper describes a method to prove equivalence between two programs in DSA where subscripts to array variables and loop bounds are (piecewise) affine expressions.
Journal ArticleDOI

Automatic equivalence checking of programs with uninterpreted functions and integer arithmetic

TL;DR: This paper proposes the first semi-algorithm for the automatic verification of partial equivalence of two programs over the combined theory of uninterpreted function symbols and integer arithmetic (UF+IA), and shows that it can prove more optimizations correct than state-of-the-art techniques.
References
More filters
Book

Term rewriting and all that

TL;DR: This chapter discusses abstract reduction systems, universal algebra, and Grobner bases and Buchberger's algorithm, and a bluffer's guide to ML Bibliography Index.
BookDOI

Handbook of Formal Languages

TL;DR: This first handbook of formal languages gives a comprehensive up-to-date coverage of all important aspects and subareas of the field.
Proceedings ArticleDOI

The Omega test: a fast and practical integer programming algorithm for dependence analysis

TL;DR: Evidence is presented that suggests conventional wisdom is wrong, and that the Omega test is competitive with approximate algorithms used in practice and suitable for use in production compilers, and has low order polynomial time complexity.
Journal ArticleDOI

Dataflow analysis of array and scalar references

TL;DR: This paper presents an algorithm for analyzing the patterns along which values flow as the execution proceeds, and discusses several applications of the method: conversion of a program to a set of recurrence equations, array and scalar expansion, program verification and parallel program construction.
Book

Scheduling and automatic parallelization

TL;DR: Scheduling DAGs without Communications, Parallelism Detection in Nested Loops, and Systems of Uniform Recurrence Equations.
Frequently Asked Questions (1)
Q1. What are the contributions mentioned in the paper "On the equivalence of two systems of affine recurrence equations" ?

HAL this paper is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not.