• DocumentCode
    3379746
  • Title

    A Fibrational Account of Local States

  • Author

    Maillard, Kenji ; Mellies, Paul-Andre

  • Author_Institution
    ENS Ulm, Paris, France
  • fYear
    2015
  • fDate
    6-10 July 2015
  • Firstpage
    402
  • Lastpage
    413
  • Abstract
    One main challenge of the theory of computational effects is to understand how to combine various notions of effects in a meaningful way. Here, we study the particular case of the local state monad, which we would like to express as the result of combining together a family of global state monads parametrized by the number of available registers. To that purpose, we develop a notion of indexed monad which refines and generalizes Power´s recent notion of indexed Lawvere theory. One main achievement of the paper is to integrate the block structure necessary to encode allocation as part of the resulting notion of indexed state monad. We then explain how to recover the local state monad from the functorial data provided by our notion of indexed state monad. This reconstruction is based on the guiding idea that an algebra of the indexed state monad should be defined as a section of a 2-categorical notion of fibration associated to the indexed state monad by a Grothendieck construction.
  • Keywords
    algebra; functional programming; Grothendieck construction; Lawvere theory; algebra; block structure; computational effects; fibrational account; functorial data; indexed state monad; local state monad; local states; Algebra; Mathematical model; Memory management; Registers; Resource management; Semantics; Tin; 2-categories; Computational effects; Lawvere theories; algebraic theories; fibration; local state monad; state monad;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Logic in Computer Science (LICS), 2015 30th Annual ACM/IEEE Symposium on
  • Conference_Location
    Kyoto
  • ISSN
    1043-6871
  • Type

    conf

  • DOI
    10.1109/LICS.2015.45
  • Filename
    7174899