User loginNavigation |
Type TheoryCforallCforall is a language design extending ISO C.
By Jim Apple at 2007-04-07 20:11 | Implementation | Type Theory | 11 comments | other blogs | 10906 reads
Verifying Semantic Type Soundness of a Simple CompilerHaving been entirely too dismissive of one of Nick Benton's papers before, it seems only fitting that I should attempt expiation for my sins by discussing Formalizing and Verifying Semantic Type Soundness of a Simple Compiler:
I found this work striking for its strong defense of the utility of semantic, vs. syntactic, type soundness, and for its use of logical relations vs. unary predicates. I could swear that I recently read another paper making quite similar observations about semantic vs. syntactic type soundness. I'm not sure which paper it was, but regardless, there seems to me to be a great deal of overlap of insight and, to a lesser extent, approach, with A Certified Type-Preserving Compiler from Lambda Calculus to Assembly Language, and of course by extension to Leroy's work on formalizing big-step operational semantics, allocation, etc. Finally we have the very exciting news about progress on a mechanized metatheory for Standard ML, in Twelf. It's a very exciting time for mechanized metatheory! I'd love to get at least Nick Benton, Adam Chlipala, Xavier Leroy, and Tim Sweeney in a room for a few months so they could create the Next Mainstream Programming Language in Coq. Of course, we have Dr. Benton, Mr. Chlipala, and Mr. Sweeney right here on LtU... :-) Update: Mea culpa; the paper I had in mind was A Very Modal Model of a Modern, Major, General Type System. It would seem that Dr. Benton, Mr. Chlipala, and Dr. Appel and colleagues have arrived at quite similar perspectives on good approaches to mechanizing metatheory for very interesting programming language design efforts. By Paul Snively at 2007-04-04 04:45 | Implementation | Lambda Calculus | Type Theory | login or register to post comments | other blogs | 30370 reads
Towards a Mechanized Metatheory of Standard MLTowards a Mechanized Metatheory of Standard ML, Daniel K. Lee, Karl Crary, and Robert Harper.
The way that most programming languages end up working is by defining a smaller core language to which the constructions in the base language are translated. This means that you can prove the type-safety of a programming language by showing that the internal language is type safe, and that every type-correct program in the full language translates to a type-correct expression in the internal language. In this paper, the authors carried out the mechanization of a core language for SML. The next step is mechanizing the correctness of an elaborator from SML to this core language, and then full, no-foolin' SML will have a fully machine-checked correctness proof. By neelk at 2007-04-02 15:59 | Functional | Semantics | Type Theory | 1 comment | other blogs | 8736 reads
A Certified Type-Preserving Compiler from Lambda Calculus to Assembly LanguageA Certified Type-Preserving Compiler from Lambda Calculus to Assembly Language
I found this while attempting to follow up on this post. The approach taken here—dependently-typed ASTs and denotational semantics—and the observation that, carried to its logical conclusion, the result is typed intermediate and assembly languages, proof-carrying code, etc. suggests to me a connection to this work. It also seems to offer a denotational counterpoint to Leroy's coinductive big-step operational semantics, also done in Coq. Fascinating stuff. By Paul Snively at 2007-03-22 15:46 | Functional | Implementation | Lambda Calculus | Meta-Programming | Semantics | Type Theory | 14 comments | other blogs | 35447 reads
The New Twelf WikiWe are pleased to announce the Twelf Wiki, a major new source of documentation about Twelf: Twelf is a tool used to specify, implement, and prove properties of deductive systems. The Twelf Wiki includes:
We invite you to come share what you know, learn from what's there, and ask questions about what's not. - The Twelf Wiki Team (I know many of the people working on this, and they've put in a lot of effort to make a really useful resource.) By neelk at 2007-03-21 16:06 | Teaching & Learning | Type Theory | 8 comments | other blogs | 10813 reads
A Topos Foundation for Theories of PhysicsA Topos Foundation for Theories of Physics: I. Formal Languages for Physics. Andreas Döring and Chris Isham.
This is a little outside of our usual areas, but I think it will appeal to at least some readers. Personally, I find the approach aesthetically very, very appealing for several reasons, and I would be thrilled if an answer to quantum cosmology came from this direction, but I'm the first to admit that my grasp of the phsyics is barely enough to follow along. I was able to make it through this paper fairly easily, but things aren't too interesting in the classical case, and I sadly suspect that the application to quantum physics in parts II and III will leave me behind. Via The n-Category Cafe, where there is also considerable discussion, much of it around the single word "peristalithic"... By Matt Hellige at 2007-03-21 05:13 | Category Theory | Type Theory | 8 comments | other blogs | 10446 reads
An Intensional Type Theory: Motivation and Cut-EliminationAn Intensional Type Theory: Motivation and Cut-Elimination, Paul C. Gilmore.
Russell showed Frege's original foundations of mathematics inconsistent when he invented Russell's paradox -- does the set of all sets that do not contain themselves contain itself? This paradox arises because Frege's logic contained an unrestricted comprehension principle -- you could create a set from any predicate. This allows you to cook up vicious cycles such as in Russell's paradox, and the traditional method (invented by Russell) for avoiding these cycles is to allow quantification in a predicative hierarchy: when you comprehend a predicate at level i, you create a set at level i+1, and a predicate at a given level can never mention sets at a higher level. This paper claims that you can allow unrestricted impredicative quantification if you keep careful track of Frege's sense-reference distinction, and distinguish between predicates and names of predicates. This (if it really works -- I haven't done more than skim the paper yet) would be a different method of using a predicative hierarchy to avoid the paradoxes. Concoqtion: Indexed Types Now!Concoqtion: Indexed Types Now!
The follow-up to Concoqtion: Mixing Indexed Types and Hindley-Milner Type Inference, discussed earlier. Good stuff. Update: There's now a public Concoqtion web site! Josh, does this answer your question? :-) By Paul Snively at 2007-03-12 15:20 | DSL | Functional | Implementation | Semantics | Type Theory | 6 comments | other blogs | 9342 reads
Static Typing for a Faulty Lambda CalculusStatic Typing for a Faulty Lambda Calculus. David Walker. Lester Mackey. Jay Ligatti, George A. Reis, and David I. August.
By neelk at 2007-03-08 23:53 | Functional | Software Engineering | Type Theory | 3 comments | other blogs | 13254 reads
Lightweight static resourcesLightweight static resources: Sexy types for embedded and systems programming. Oleg Kiselyov and Chung-chieh Shan.
Ken and Oleg's work is always worth checking out, so I urge LtU readers to go and see the solutions they propose aimed at allowing programmers of low level system software to work with raw pointers, device registers etc., while statically enforcing invariants such as pointer validity and in-bounds memory access. The link is to a near final draft of a paper to be presented at TFP2007, and comments - I'm told - will be appreciated, especially as regards the "Related Work" section. Be quick with your comments, though, since the "camera ready" date is tomorrow... By Ehud Lamm at 2007-03-08 12:50 | Functional | Software Engineering | Type Theory | 10 comments | other blogs | 12840 reads
|
Browse archives
Active forum topics |
Recent comments
4 weeks 2 days ago
4 weeks 3 days ago
4 weeks 4 days ago
4 weeks 5 days ago
5 weeks 3 days ago
5 weeks 3 days ago
5 weeks 3 days ago
8 weeks 3 days ago
9 weeks 2 days ago
9 weeks 2 days ago