Skip to main content

A Context-Free Grammar Representation for Normal Inhabitants of Types in TAλ

  • Conference paper
  • First Online:
Book cover Progress in Artificial Intelligence (EPIA 2001)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 2258))

Included in the following conference series:

  • 609 Accesses

Abstract

In [10] it was shown that it is possible to describe the set of normal inhabitants of a given type τ, in the standard simple type system, using an infinitary extension of the concept of context-free grammar, which allows for an infinite number of non-terminal symbols as well as production rules. The set of normal inhabitants of τ corresponds then to the set of terms generated by this, possibly infinitary, grammar plus all terms obtained from those by η-reduction. In this paper we show that the set of normal inhabitants of a type τ can in fact be described using a standard (finite) context-free grammar, and more interestingly that normal inhabitants of types with the same structure are described by identical context-free grammars, up to renaming of symbols.

i.e. M is an inhabitant of τ

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. H. Barendregt. Lambda calculi with types. In Abramsky, Gabbay, and Maibaum, eds., Background: Computational Structures, volume 2 of Handbook of Logic in Computer Science, pp. 117–309. Oxford Science Publications, 1992.

    Google Scholar 

  2. C.-B. Ben-Yelles. Type-assignment in the lambda-calculus; syntax and semantics. PhD thesis, Mathematics Dept., University of Wales Swansea, UK, 1979.

    Google Scholar 

  3. S. Broda and L. Damas. Counting a type’s (principal) inhabitants. Fundamenta Informaticae, 45:33–51, 2001.

    MATH  MathSciNet  Google Scholar 

  4. S. Broda, and L. Damas. On the structure of normal λ-terms having a certain type. Proceedings of 7th WoLLIC’2000, pp. 33–43, 2000.

    Google Scholar 

  5. M.W. Bunder. Proof finding algorithms for implicational logics. Theoretical Computer Science, 232:165–186, 2000.

    Article  MATH  MathSciNet  Google Scholar 

  6. J. R. Hindley. Basic Simple Type Theory. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, 1997.

    Google Scholar 

  7. S. Hirokawa. Note: Infiniteness of proof(α) is polynomial-space complete. Theoretical Computer Science, 206:331–339, 1998.

    Article  MATH  MathSciNet  Google Scholar 

  8. W. A. Howard. The formulae-as-types notion of construction. In J. P. Seldin and J. R. Hindley, editors, To H. B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism, pp. 479–490. Academic Press, 1980.

    Google Scholar 

  9. R. Statman. Intuitionistic propositional logic is polynomial-space complete. Theoretical Computer Science, 9:67–72, 1979.

    Article  MATH  MathSciNet  Google Scholar 

  10. M. Takahashi, Y. Akama, and S. Hirokawa. Normal Proofs and Their Grammar. Information and Computation, 125:144–153, 1996.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Broda, S., Damas, L. (2001). A Context-Free Grammar Representation for Normal Inhabitants of Types in TAλ. In: Brazdil, P., Jorge, A. (eds) Progress in Artificial Intelligence. EPIA 2001. Lecture Notes in Computer Science(), vol 2258. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45329-6_32

Download citation

  • DOI: https://doi.org/10.1007/3-540-45329-6_32

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43030-8

  • Online ISBN: 978-3-540-45329-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics