User loginNavigation 
SemanticsFrom shift and reset to polarized linear logic
By now, shift/reset should be as popular as call/cc was ten years ago. Some think these control operators are even more important in practice than call/cc, and should be directly supported by PLs. I believe, this paper by Chungchieh Shan will be interesting to many who loves logic and CurryHoward isomorphism.
From shift and reset to polarized linear logic Abstract: Griffin pointed out that, just as the pure lambdacalculus corresponds to intuitionistic logic, a lambdacalculus with firstclass continuations corresponds to classical logic. We study how firstclass delimited continuations, in the form of Danvy and Filinskiâ€™s shift and reset operators, can also be logically interpreted. First, we refine Danvy and Filinskiâ€™s type system for shift and reset to distinguish between pure and impure functions. This refinement not only paves the way for answer type polymorphism, which makes more terms typable, but also helps us invert the continuationpassingstyle (CPS) transform: any pure lambdaterm with an appropriate type is betaetaequivalent to the CPS transform of some shiftreset expression. We conclude that the lambdacalculus with shift and reset and the pure lambdacalculus have the same logical interpretation, namely good old intuitionistic logic. Second, we mix delimited continuations with undelimited ones. Informed by the preceding conclusion, we translate the lambdacalculus with shift and reset into a polarized variant of linear logic that integrates classical and intuitionistic reasoning. Extending previous work on the lambdaÂµcalculus, this unifying intermediate language expresses computations with and without control effects, on delimited and undelimited continuations, in callbyvalue and callbyname settings. By Andris Birkmanis at 20050606 19:17  Functional  Lambda Calculus  Semantics  Type Theory  15 comments  other blogs  9047 reads
The Essence of Data Access in Cw
The Essence of Data Access in Cw, The power is in the dot! Gavin Bierman, Erik Meijer, and Wolfram Schulte.
In this paper we concentrate on the data dimension. Our aim is to describe the essence of these extentions; by which we mean we identify, exemplify and formalize their essential features. Our tool is a small core language FCw, which is a valid subset of the full Cw language... we are able to formalize the type system and operational semantics of the data access fragments of Cw. If you have been following the discussions here of Cw, you already know about the language features discussed here, since the paper doesn't introduce new features. If you haven't seen Cw, section 2 is a short and readable introduction. The rest of the paper is more formal, and unless you need to prove formal results regarding Cw, might not be all that interesting. It won't hurt to keep in mind that it exists, since some of us may need something like FCw at one point or another. By Ehud Lamm at 20050528 09:07  Semantics  Type Theory  XML  login or register to post comments  other blogs  5824 reads
Nick Benton: Simple Relational Correctness Proofs for Static Analyses and Program TransformationsWe show how some classical static analyses for imperative programs, and the optimizing transformations which they enable, may be expressed and proved correct using elementary logical and denotational techniques. The key ingredients are an interpretation of program properties as relations, rather than predicates, and a realization that although many program analyses are traditionally formulated in very intensional terms, the associated transformations are actually enabled by more liberal extensional properties. We illustrate our approach with formal systems for analysing and transforming whileprograms. The first is a simple type system which tracks constancy and dependency information and can be used to perform deadcode elimination, constant propagation and program slicing as well as capturing a form of secure information flow. The second is a relational version of Hoare logic, which significantly generalizes our first type system and can also justify optimizations including hoisting loop invariants. Finally we show how a simple available expression analysis and redundancy elimination transformation may be justified by translation into relational Hoare logic. Not really exciting as such, but this technical report version of the POPL 2004 paper includes most of the proofs, which some might find helpful. By Ehud Lamm at 20050224 13:55  Implementation  Semantics  2 comments  other blogs  4368 reads
Barbara Partee: Reflections of a Formal Semanticist as of Feb 2005What follows will be a very subjective and personal view, as much my own history and development in the field and how things looked through my eyes as about the development of the field itself. This essay is about natural language semantics, but you'll find old friends here: lambdas, bindings, types, quantifiers etc. If you are lazy, go directly to footnote 25... No surprise, really, if you follow the links we give here from time to time about TLGs and such. By Ehud Lamm at 20050215 10:37  History  Lambda Calculus  Semantics  Type Theory  5 comments  other blogs  9001 reads
Normalorder directstyle betaevaluator with syntaxrules, and the repeated applications of call/cc
Oleg's presentation at the workshop in honor of Daniel Friedman is great fun as usual.
The topic of repeated applications of call/cc has been mentioned on LtU previously, a few years
ago. New this time: the full and correct betanormalizer written as a
directstyle syntaxrule. The normalizer implements calculus of
explicit substitutions. The talk presents probably the shortest (and
the fastest) normalorder betanormalizer as a (standalone) Scheme
macro. Another new feature is the discussion of selfapplications of
delimited continuation operators. The talk mentions incidentally that
shift, control, shift0 and other, lessdelimited control operators are the members of the same family: gshift/greset.
Hot stuff. By Ehud Lamm at 20050119 13:07  Lambda Calculus  MetaProgramming  Semantics  1 comment  other blogs  6613 reads
The Four QuestionsPage 4 of the lecture notes from Mitch Wand's first Principles of Programming Languages lecture:
What do you consider the fundamental properties of a programming language? By Dave Herman at 20050109 00:13  Semantics  Teaching & Learning  23 comments  other blogs  9098 reads
Denotational Semantics: A Methodology for Language Development
Denotational Semantics: A Methodology for Language Development. David Schmidt, Kansas State University.
I don't recall seeing this book mentioned on LtU before. The entire book is online and seems quite detailed and understandable. Each chapter ends with exercises for the reader and suggested readings. Thanks, Henry! Description Logics in Literate HaskellExperiments from Graham Klyne:
See also rdfwebdev post, "Haskell vs. Ada vs. C++ vs. Awk vs. ..., An Experiment in Software Prototyping Productivity" (PS format) By Danny Ayers at 20040908 19:16  Functional  Logic/Declarative  Semantics  XML  10 comments  other blogs  10108 reads
SAT 3 Proof with E Prover via OWLAn interesting little Semantic Webrelated development reported by Jos De Roo (creator of the Java/C# Euler inference engine). He's got the E Prover (an equational theorem prover for clausal logic), to find a proof for the OWL (Web Ontology Language) test case "inconsistent502" (RDF, variations), which is a Description Logic encoding of one of the classic SAT 3 problems. By Danny Ayers at 20040908 19:06  Logic/Declarative  Semantics  Theory  XML  login or register to post comments  other blogs  5866 reads

Browse archivesActive forum topics 
Recent comments
6 hours 59 min ago
10 hours 17 min ago
2 days 5 hours ago
2 days 5 hours ago
2 days 12 hours ago
2 days 14 hours ago
2 days 22 hours ago
2 days 22 hours ago
2 days 23 hours ago
3 days 35 min ago