| 
     1 <?xml version="1.0" encoding="utf-8"?>  | 
         | 
     2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  | 
         | 
     3 <html>  | 
         | 
     4 <head>  | 
         | 
     5   <title>The Nominal Datatype Package</title>  | 
         | 
     6   <link rel="stylesheet" href="nominal.css">  | 
         | 
     7 </head>  | 
         | 
     8   | 
         | 
     9 <body>  | 
         | 
    10 <h1>Mechanising the Metatheory of LF</h1>  | 
         | 
    11   | 
         | 
    12 <h3>by Christian Urban, James Cheney and Stefan Berghofer</h3>  | 
         | 
    13   | 
         | 
    14 <h4>Abstract</h4>  | 
         | 
    15   | 
         | 
    16   LF is a dependent type theory in which many other formal systems can  | 
         | 
    17   be conveniently embedded.  However, correct use of LF relies on  | 
         | 
    18   nontrivial metatheoretic developments such as proofs of correctness  | 
         | 
    19   of decision procedures for LF's judgments.  Although detailed  | 
         | 
    20   informal proofs of these properties have been published, they have  | 
         | 
    21   not been formally verified in a theorem prover. We have formalized   | 
         | 
    22   these properties within Isabelle/HOL using  | 
         | 
    23   the Nominal Datatype Package, closely following a recent article by  | 
         | 
    24   Harper and Pfenning.  In the process, we identified and resolved a  | 
         | 
    25   gap in one of the proofs and a small number of minor lacunae  | 
         | 
    26   in others.  We also formally derive a version of the type checking   | 
         | 
    27   algorithm from which Isabelle/HOL can generate executable code.   | 
         | 
    28   Besides its intrinsic interest, our formalization  | 
         | 
    29   provides a foundation for studying the adequacy of LF encodings, the  | 
         | 
    30   correctness of Twelf-style metatheoretic reasoning, and the  | 
         | 
    31   metatheory of extensions to LF.<P>  | 
         | 
    32   | 
         | 
    33 <b>Technical Report</b>  | 
         | 
    34 <A HREF="http://www.onf.kcl.ac.uk/staff/urbanc/Nominal/LF/techreport.pdf">[pdf]</A><BR>    | 
         | 
    35 (This technical report contains in some sections more details of our development   | 
         | 
    36 than we presented in the LICS'08 paper, and also a new section on the  | 
         | 
    37 locally nameless representation of binders and on code generation.)  | 
         | 
    38 <p>  | 
         | 
    39   | 
         | 
    40 <b>Nominal Isabelle Development</b>  | 
         | 
    41 <p> (includes all three developments discussed in the technical report)  | 
         | 
    42 <A HREF="http://www.onf.kcl.ac.uk/staff/urbanc/Nominal/LF/LF.tgz">[LF.tgz]</A>  | 
         | 
    43 <p>  | 
         | 
    44 <hr>  | 
         | 
    45 <!-- hhmts start -->  | 
         | 
    46 Last modified: Fri Oct 23 17:42:50 CEST 2009  | 
         | 
    47 <!-- hhmts end -->  | 
         | 
    48 <a href="http://validator.w3.org/check/referer">[Validate this page.]</a>  | 
         | 
    49   | 
         | 
    50   | 
         | 
    51 </body>  | 
         | 
    52 </html>  | 
         | 
    53   | 
         | 
    54   | 
         | 
    55   |