• DocumentCode
    3757953
  • Title

    On Synergies between Type Inference, Generation and Normalization of SK-Combinator Trees

  • Author

    Paul Tarau

  • Author_Institution
    Dept. of Comput. Sci. &
  • fYear
    2015
  • Firstpage
    160
  • Lastpage
    166
  • Abstract
    The S and K combinator expressions form a well-known Turing-complete subset of the lambda calculus. Using Prolog as a meta-language, we specify evaluation, type inference and combinatorial generation algorithms for SK-combinator trees. In the process, we unravel properties shedding new light on interesting aspects of their structure and distribution. We study the proportion of well-typed terms among size-limited SK-expressions as well as the type-directed generation of terms of sizes smaller than the size of their simple types. We also introduce the well-typed frontier of an untypable term and we use it to design a simplification algorithm for untypable terms taking advantage of the fact that well-typed terms are normalizable.
  • Keywords
    "Inference algorithms","Calculus","Binary trees","Generators","Logic programming","Computational modeling","Transforms"
  • Publisher
    ieee
  • Conference_Titel
    Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), 2015 17th International Symposium on
  • Type

    conf

  • DOI
    10.1109/SYNASC.2015.33
  • Filename
    7426077