Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1529282.1529478acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

From exponential to almost linear decomposability of finite or infinite trees

Published: 08 March 2009 Publication History

Abstract

First-order constraints are first-order formulas built on a set of function and relation symbols using the following logical symbols: =, true, false, ¬, ∧, ∨, →, ↔, ∀, ∃, (,). Over the last decade, first-order constraints have been efficiently used in the artificial intelligence world to model many kinds of complex problems such as: scheduling, resource allocation, configuration, temporal and spatial reasoning, computer graphics, bio-informatics. While theory of finite or infinite trees T has played a fundamental role for both modeling and solving these problems, the complexity of solving first-order constraints with nested quantifiers and negations in T has been proved to be inherently huge (a tower of powers of two). However, a new property called decomposability has been recently introduced and used as a black-box to build many efficient first-order constraint solvers over T. We show in this paper that the algorithm which is used in this black-box (i.e. the algorithm which performs decomposability) has an exponential time and space complexity. We then present a much more efficient algorithm in the form of four rewriting rules which can perform the same decomposability in an almost-linear time and space complexity.

References

[1]
Apt K. Principles of constraint programming. Cambridge University Press. 2003.
[2]
Colmerauer A., Dao T. Expressiveness of full first-order constraints in the algebra of finite or infinite trees, Journal of Constraints, Vol. 8(3): 283--302. 2003.
[3]
Colmerauer, A. An introduction to Prolog III. Communication of the ACM, 33(7): 6890. 1990.
[4]
Colmerauer, A. Equations and inequations on finite and infinite trees. Proceeding of the International conference on the fifth generation of computer systems, pp. 8599. 1984.
[5]
Colmerauer, A., Kanoui, H. and Van-caneghem, M. Prolog, Theoretical Basis and Current Developments. TSI 2(4): 271311. 1983.
[6]
Colmerauer, A. Prolog and infinite trees. In K. L. Clark and S-A. Tarnlund, editors, Logic Programming. Academic Press. pp. 231251. 1982.
[7]
Djelloul K., Dao T., Fruehwirth T. Theory of finite or infinite trees revisited. Journal of Theory and practice of logic programming (TPLP). Vol 8(4): 431--489. 2008
[8]
Djelloul K. Decomposable theories. Journal of Theory and practice of logic programming (TPLP). Vol 7(5): 583--632. 2007.
[9]
Djelloul K. Combination of decomposability and propagation for solving first-order constraints in decomposable theories. In proc of SAC'08 ACM Symposium on Applied Computing. ACM press. pp. 1728--1732. 2008.
[10]
Djelloul K., Dao T., Fruehwirth T. Toward a first-order extension of Prolog's unification using CHR. In proc of SAC'07 ACM Symposium on Applied Computing. ACM press. pp. 50--57. 2007.
[11]
Duck, J., Stuckey, J., Garcya de la Banda., and C. Holzbaur. The refined operational semantics of Constraint Handling Rules. In proc ICLP'04 International Conference on Logic Programming, volume 3132 of LNCS, pages 90104. Springer, 2004.
[12]
Duck, J., Stuckey, P., Garcya de la Banda., and C. Holzbaur. Extending arbitrary solvers with Constraint Handling Rules. In proc of PPDP03 ACM Symposium on Principles and Practice of Declarative Programming. ACM Press. pp. 7990. 2003.
[13]
Fruehwirth, T. Theory and Practice of Constraint Handling Rules. Special Issue on Constraint Logic Programming. Journal of Logic Programming. 37(13): 95--138. 1998.
[14]
Fruehwirth, T. and Abdennadher, S. Essentials of Constraint Programming. Springer. 2003.
[15]
Maher M. Complete Axiomatizations of the Algebras of Finite, Rational and Infinite Trees. In proc of LICS'88 IEEE Symposium on Logic in Computer Science. pp. 348--357. 1988.
[16]
Huet, P. Confluent reductions: Abstract properties and applications to term rewriting systems. Journal of ACM, 27(4): 797821. 1980.
[17]
Rybina, T. and Voronkov, A. A decision procedure for term algebras with queues. ACM transaction on computational logic. 2(2): 155--181. 2001.
[18]
Spivey, J. A Categorial Approch to the Theory of Lists. In Proc of Mathematics of Program Construction. Lecture Notes in Computer Science, vol 375, pp. 399--408. 1989.
[19]
Schrijvers, T. and Fruehwirth, T. Optimal union find in CHR. Journal of Theory and practice of logic programming (TPLP). Vol 6(1): 213--224. 2006.
[20]
Tarjan, R. and Van Leeuwen, J. Worst-case analysis of set union algorithms. Journal of ACM, 31(2): 245281. 1984.
[21]
Vorobyov, S. An improved lower bound for the elementary theories of trees. In Proc of CADE'96. Lecture Notes in Artificial Intelligence, vol 1104, pp. 275 287. 1996.

Cited By

View all
  • (2013)An Adaptive Cyber-Physical System Framework for Cyber-Physical Systems Design AutomationApplied Cyber-Physical Systems10.1007/978-1-4614-7336-7_11(125-140)Online publication date: 6-Aug-2013

Index Terms

  1. From exponential to almost linear decomposability of finite or infinite trees

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SAC '09: Proceedings of the 2009 ACM symposium on Applied Computing
    March 2009
    2347 pages
    ISBN:9781605581668
    DOI:10.1145/1529282
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 08 March 2009

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. first-order logic
    2. rewriting rules
    3. solving first order constraints
    4. theory of trees

    Qualifiers

    • Research-article

    Conference

    SAC09
    Sponsor:
    SAC09: The 2009 ACM Symposium on Applied Computing
    March 8, 2009 - March 12, 2008
    Hawaii, Honolulu

    Acceptance Rates

    Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

    Upcoming Conference

    SAC '25
    The 40th ACM/SIGAPP Symposium on Applied Computing
    March 31 - April 4, 2025
    Catania , Italy

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 15 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2013)An Adaptive Cyber-Physical System Framework for Cyber-Physical Systems Design AutomationApplied Cyber-Physical Systems10.1007/978-1-4614-7336-7_11(125-140)Online publication date: 6-Aug-2013

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media