Skip to Main content Skip to Navigation
Conference papers

LaxLF: Side Conditions and External Evidence as Monads

Abstract : We extend the constructive dependent type theory of the Logical Framework LF with a family of monads indexed by predicates over typed terms. These monads express the effect of factoring-out, postponing , or delegating to an external oracle the verification of a constraint or a side-condition. This new framework, called Lax Logical Framework, LaxF, is a conservative extension of LF, and hence it is the appropriate metalanguage for dealing formally with side-conditions or external evidence in logical systems. LaxF is the natural strengthening of LFP (the extension of LF introduced by the authors together with Marina Lenisa and Petar Maksimovic), which arises once the monadic nature of the lock constructors of LFP is fully exploited. The nature of these monads allows to utilize the unlock destructor instead of Moggi's monadic let_T , thus simplifying the equational theory. The rules for the unlock allow us, furthermore, to remove the monadic constructor once the constraint is satisfied. By way of example we discuss the encodings in LaxF of call-by-value-calculus, Hoare's Logic, and Elementary Affine Logic.
Complete list of metadata

Cited literature [25 references]  Display  Hide  Download

https://hal.inria.fr/hal-01146023
Contributor : Luigi Liquori <>
Submitted on : Monday, April 27, 2015 - 2:53:50 PM
Last modification on : Saturday, January 27, 2018 - 1:31:00 AM
Long-term archiving on: : Wednesday, April 19, 2017 - 7:35:00 AM

File

mfcs-14.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Furio Honsell, Luigi Liquori, Ivan Scagnetto. LaxLF: Side Conditions and External Evidence as Monads. Mathematical Foundations of Computer Science 2014 - 39th International Symposium, MFCS 2014, Budapest, Hungary, August 25-29, 2014. Proceedings, Part I., Aug 2014, Budapest, Hungary. pp.327-339, ⟨10.1007/978-3-662-44522-8_28⟩. ⟨hal-01146023⟩

Share

Metrics

Record views

203

Files downloads

167