Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Open access

The undecidability of associativity and commutativity analysis

Published: 01 September 2002 Publication History

Abstract

Associativity is required for the use of general scans and reductions in parallel languages. Some systems also require functions used with scans and reductions to be commutative. We prove the undecidability of both associativity and commutativity. Thus, it is impossible in general for a compiler to check for those conditions. We also prove the stronger result that the resulting relations fail to be recursively enumerable. We prove that these results hold for the kind of function subprograms of practical interest in such a situation: function subprograms that, due to syntactical restrictions, are guaranteed to halt. Thus, our results are stronger than one can obtain from Rice's Theorem. We also obtain limitations concerning the construction of functions and limitations concerning compiler-generated run-time checks. In addition, we prove an undecidability result about programmer-constructed run-time checks.

References

[1]
Akl, S. G. and Stojmenovic, I. 1996. Broadcasting with selective reduction: A powerful model of parallel computation. In Parallel and Distributed Computing Handbook, E. Y. H. Zomaya, Ed. McGraw-Hill, New York, 192--222.
[2]
Bala, V., Bruck, J., Cypher, R., Elustondo, P., Ho, A., Ho, C., Kipnis, S., and Snir, M. 1995. CCL: A portable and tunable collective communication for scalable parallel computers. IEEE Trans. Paral. Syst. 6, 2, 154--164.
[3]
Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. 1995. Limits to Parallel Computation: P-Completeness Theory. Oxford University Press, New York.
[4]
Hillis, W. D. and Steele Jr., G. L. 1986. Data parallel algorithms. Commun. ACM 29, 12 (Dec.), 1170--1183.
[5]
Hopcroft, J. E. and Ullman, J. D. 1979. Introduction to Automata Theory, Languages, and Computation. Addison-Wesley, Reading, Mass.
[6]
IBM. 1994. IBM AIX Parallel Environment Parallel Subroutine Reference, Release 2.1 ed. IBM, Poughkeepsie, New York.
[7]
Intel. 1994. Paragon System C System Calls Reference Manual. Intel, Beaverton, Ore.
[8]
Jones, N. D. and Laaser, W. T. 1977. Complete problems for deterministic polynomial time. Theoreti. Comput. Sci. 3, 1, 105--117.
[9]
Kruskal, C. P., Rudolph, L., and Snir, M. 1985. The power of parallel prefix. IEEE Trans. Comput. C-34, 10 (Oct.), 965--968.
[10]
Meyer, A. R. and Ritchie, D. M. 1967a. The complexity of loop programs. In Proceedings of the 22nd ACM National Meeting.
[11]
Meyer, A. R. and Ritchie, D. M. 1967b. Computational complexity and program structure. IBM Research Report RC-1817, Yorktown Heights, NY.
[12]
Parasoft. 1990. Express C User's Guide, Version 3.0. Parasoft, Pasadena, Calif.
[13]
Phillips, I. C. C. 1992. Recursion theory. In Handbook of Logic in Computer Science. Volume 1 Background: Mathematical Structures, S. Abramsky, D. M. Gabbay, and T. S. E. Maibaum, Eds. Oxford University Press, New York, 79--187.
[14]
Ramalingam, G. 1994. The undecidability of aliasing. ACM Trans. Program. Lang. Syst. 16, 5, 1467--1471.
[15]
Ramalingam, G. 2000. Context-sensitive synchronization-sensitive analysis is undecidable. ACM Trans. Program. Lang. Syst. 22, 2, 416--430.
[16]
Reps, T. 2000. Undecidability of context-sensitive data-dependence analysis. ACM Trans. Program. Lang. Syst. 22, 1, 162--186.
[17]
Rogers, H. 1987. Theory of Recursive Functions and Effective Computability. MIT Press, Cambridge, Mass.
[18]
Snir, M., Otto, S., Huss-Lederman, S., Walker, D., and Dongarra, J. 1996. MPI: The Complete Reference. MIT Press, Cambridge, Mass.

Cited By

View all
  • (2023)Passport: Improving Automated Formal Verification Using IdentifiersACM Transactions on Programming Languages and Systems10.1145/359337445:2(1-30)Online publication date: 26-Jun-2023
  • (2023)Synchronous Deterministic Parallel Programming for Multi-Cores with ForeCACM Transactions on Programming Languages and Systems10.1145/359159445:2(1-74)Online publication date: 26-Jun-2023
  • (2023)Optimization-Aware Compiler-Level Event ProfilingACM Transactions on Programming Languages and Systems10.1145/359147345:2(1-50)Online publication date: 26-Jun-2023
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Programming Languages and Systems
ACM Transactions on Programming Languages and Systems  Volume 24, Issue 5
September 2002
137 pages
ISSN:0164-0925
EISSN:1558-4593
DOI:10.1145/570886
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 2002
Published in TOPLAS Volume 24, Issue 5

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Associative function
  2. commutative function
  3. loop program
  4. parallel prefix
  5. primitive recursive
  6. recursive
  7. recursively enumerable
  8. reduction
  9. scan
  10. sequence
  11. undecidable

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)43
  • Downloads (Last 6 weeks)11
Reflects downloads up to 16 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Passport: Improving Automated Formal Verification Using IdentifiersACM Transactions on Programming Languages and Systems10.1145/359337445:2(1-30)Online publication date: 26-Jun-2023
  • (2023)Synchronous Deterministic Parallel Programming for Multi-Cores with ForeCACM Transactions on Programming Languages and Systems10.1145/359159445:2(1-74)Online publication date: 26-Jun-2023
  • (2023)Optimization-Aware Compiler-Level Event ProfilingACM Transactions on Programming Languages and Systems10.1145/359147345:2(1-50)Online publication date: 26-Jun-2023
  • (2022)Intensional Kleene and Rice theorems for abstract program semanticsInformation and Computation10.1016/j.ic.2022.104953289(104953)Online publication date: Nov-2022
  • (2021)Loop parallelization using dynamic commutativity analysisProceedings of the 2021 IEEE/ACM International Symposium on Code Generation and Optimization10.1109/CGO51591.2021.9370319(150-161)Online publication date: 27-Feb-2021
  • (2017)Custom Multicache Architectures for Heap Manipulating ProgramsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2016.260886136:5(761-774)Online publication date: 1-May-2017
  • (2017)Custom Multi-cache ArchitecturesSeparation Logic for High-level Synthesis10.1007/978-3-319-53222-6_5(85-115)Online publication date: 28-Feb-2017
  • (2015)MATCHUPProceedings of the 2015 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays10.1145/2684746.2689073(136-145)Online publication date: 22-Feb-2015
  • (2014)Re-ChordTheory of Computing Systems10.1007/s00224-012-9431-255:3(591-612)Online publication date: 1-Oct-2014

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media