Skip to main content

Deciding Open Definability via Subisomorphisms

  • Conference paper
  • First Online:
Logic, Language, Information, and Computation (WoLLIC 2018)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10944))

  • 493 Accesses

Abstract

Given a logic \(\varvec{\mathcal {L}}\), the \(\varvec{\mathcal {L}}\)-Definability Problem for finite structures takes as input a finite structure \(\varvec{A}\) and a target relation T over the domain of \(\varvec{A}\), and determines whether there is a formula of \(\varvec{\mathcal {L}}\) whose interpretation in \(\varvec{A}\) coincides with T. In this note we present an algorithm that solves the definability problem for quantifier-free first order formulas. Our algorithm takes advantage of a semantic characterization of open definability via subisomorphisms, which is sound and complete. We also provide an empirical evaluation of its performance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 74.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Clarke, E., Grumberg, O., Peled, D.: Model Checking. MIT Press, Cambridge (1999)

    Google Scholar 

  2. Berard, B., Bidoit, M., Finkel, A., Laroussinie, F., Petit, A., Petrucci, L., Schnoebelen, P.: Systems and Software Verification: Model-Checking Techniques and Tools. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-662-04558-9

    Book  MATH  Google Scholar 

  3. Krahmer, E., van Deemter, K.: Computational generation of referring expressions: a survey. Comput. Linguist. 38(1), 173–218 (2012)

    Article  Google Scholar 

  4. Areces, C., Koller, A., Striegnitz, K.: Referring expressions as formulas of description logic. In: Proceedings of the Fifth International Natural Language Generation Conference (INLG 2008), pp. 42–49. Association for Computational Linguistics (2008)

    Google Scholar 

  5. Areces, C., Figueira, S., Gorín, D.: Using logic in the generation of referring expressions. In: Pogodalla, S., Prost, J.-P. (eds.) LACL 2011. LNCS (LNAI), vol. 6736, pp. 17–32. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22221-4_2

    Chapter  MATH  Google Scholar 

  6. Paredaens, J.: On the expressive power of the relational algebra. Inf. Process. Lett. 7(2), 107–111 (1978)

    Article  MathSciNet  Google Scholar 

  7. Bancilhon, F.: On the completeness of query languages for relational data bases. In: Winkowski, J. (ed.) MFCS 1978. LNCS, vol. 64, pp. 112–123. Springer, Heidelberg (1978). https://doi.org/10.1007/3-540-08921-7_60

    Chapter  Google Scholar 

  8. Arenas, M., Diaz, G.: The exact complexity of the first-order logic definability problem. ACM Trans. Database Syst. 41(2), 13:1–13:14 (2016)

    Article  MathSciNet  Google Scholar 

  9. Willard, R.: Testing expressibility is hard. In: Proceedings of the 16th International Conference on Principles and Practice of Constraint Programming (CP 2010), pp. 9–23 (2010)

    Chapter  Google Scholar 

  10. Jeavons, P., Cohen, D., Gyssens, M.: How to determine the expressive power of constraints. Constraints 4(2), 113–131 (1999)

    Article  MathSciNet  Google Scholar 

  11. Areces, C., Campercholi, M., Penazzi, D., Ventura, P.: The complexity of definability by open first-order formulas. Logic J. IGPL (2017, submitted)

    Google Scholar 

  12. Campercholi, M., Vaggione, D.: Semantical conditions for the definability of functions and relations. Algebra Univers. 76(1), 71–98 (2016)

    Article  MathSciNet  Google Scholar 

  13. Ebbinghaus, H., Flum, J., Thomas, W.: Mathematical Logic. Springer, Heidelberg (1994). https://doi.org/10.1007/978-1-4757-2355-7

    Book  MATH  Google Scholar 

  14. Gent, I., Jefferson, C., Miguel, I.: MINION: a fast, scalable, constraint solver. In: Proceedings of the 17th European Conference on Artificial Intelligence (ECAI 2006), pp. 98–102. IOS Press (2006)

    Google Scholar 

  15. Zemlyachenko, V.N., Korneenko, N.M., Tyshkevich, R.I.: Graph isomorphism problem. J. Sov. Math. 29(4), 1426–1481 (1985)

    Article  Google Scholar 

Download references

Acknowledgments

This work was partially supported by grant ANPCyT-PICT-2013-2011, STIC-AmSud “Foundations of Graph Structured Data (FoG)”, and the Laboratoire International Associé “INFINIS”. We thank also the reviewers for useful comments and minor corrections.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Carlos Areces .

Editor information

Editors and Affiliations

A An Execution of OpenDef

A An Execution of OpenDef

To illustrate how Algorithm 1 works, we run it for the following instance. The input structure is the graph \(\varvec{G}=(\{0,1,2,3\},E)\)

figure c

and the target relation is

$$ T=\{(a,b,c,d):E(b,c)\wedge (a=b \vee c=d)\}. $$

A brute force algorithm based on Theorem 1 would have to check that every sub-isomorphisms of \(\varvec{G}\) preserves T. That is, for each subuniverse S of \(\varvec{G}\) compute all sub-isomorphisms with domain S, and check them for preservation. This means going trough every subuniverse listed in the tree below, where the automorphisms of all subuniverses will be calculated and checked for preservation.

figure d

The first improvement of Algorithm 1 allows us to prune tree levels whose nodes do not have cardinality in \({{\mathrm{spec}}}(T)\) (this is correct due to Lemma 1). In the current example, it only processes subuniverses with size in \({{\mathrm{spec}}}(T)=\{2,3\}\). This amounts to process only the following subuniverses. (The node Root is not a subuniverse to be processed; we add it to better visualize the tree traversed by the DFS.)

figure e

The second improvement is due to the order in which Algorithm 1 computes the subisomorphisms with a given domain S. It first tries to find an isomorphism from S to an already processed subuniverse. In the case where such an isomorphism exists, no other isomorphisms from S are computed, and the subuniverses contained in S are pruned (this is correct by Corollary 1). The subuniverses of \(\varvec{G}\) actually processed by Algorithm 1 are shown below. The bold nodes are in \(\mathcal {S}\), and therefore are the only ones that are checked for automorphisms and subuniverses.

figure f

In view of the strategies Algorithm 1 employs we get a good idea of what makes for a well conditioned instances \(\varvec{A},T\):

  • Target relations with a small spectrum compared to the power set of A.

  • Structures with few isomorphisms types for substructures with cardinality in the spectrum.

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer-Verlag GmbH Germany, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Areces, C., Campercholi, M., Ventura, P. (2018). Deciding Open Definability via Subisomorphisms. In: Moss, L., de Queiroz, R., Martinez, M. (eds) Logic, Language, Information, and Computation. WoLLIC 2018. Lecture Notes in Computer Science(), vol 10944. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-57669-4_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-57669-4_5

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-57668-7

  • Online ISBN: 978-3-662-57669-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics