scholarly journals Using Dependent Types to Port Type Systems to Low-Level Languages

Author(s):  
George Necula
2003 ◽  
Vol 13 (2) ◽  
pp. 295-316 ◽  
Author(s):  
MICHAEL Y. LEVIN ◽  
BENJAMIN C. PIERCE

TinkerType is a pragmatic framework for compact and modular description of formal systems (type systems, operational semantics, logics, etc.). A family of related systems is broken down into a set of clauses – individual inference rules – and a set of features controlling the inclusion of clauses in particular systems. Simple static checks are used to help maintain consistency of the generated systems. We present TinkerType and its implementation and describe its application to two substantial repositories of typed lambda-calculi. The first repository covers a broad range of typing features, including subtyping, polymorphism, type operators and kinding, computational effects, and dependent types. It describes both declarative and algorithmic aspects of the systems, and can be used with our tool, the TinkerType Assembler, to generate calculi either in the form of typeset collections of inference rules or as executable ML typecheckers. The second repository addresses a smaller collection of systems, and provides modularized proofs of basic safety properties.


2004 ◽  
Vol 14 (1) ◽  
pp. 3-19 ◽  
Author(s):  
ANDREW W. APPEL ◽  
AMY P. FELTY

Static type systems in programming languages allow many errors to be detected at compile time that wouldn't be detected until runtime otherwise. Dependent types are more expressive than the type systems in most programming languages, so languages that have them should allow programmers to detect more errors earlier. In this paper, using the Twelf system, we show that dependent types in the logic programming setting can be used to ensure partial correctness of programs which implement theorem provers, and thus avoid runtime errors in proof search and proof construction. We present two examples: a tactic-style interactive theorem prover and a union-find decision procedure.


Author(s):  
Jeremy Condit ◽  
Matthew Harren ◽  
Zachary Anderson ◽  
David Gay ◽  
George C. Necula
Keyword(s):  

2008 ◽  
Vol 18 (3) ◽  
pp. 431-465
Author(s):  
BENJAMIN WACK ◽  
CLÉMENT HOUTMANN

Pure Pattern Type Systems (P2TS) combine the frameworks and capabilities of rewriting and λ-calculus within a unified setting. Their type systems, which are adapted from Barendregt's λ-cube, are especially interesting from a logical point of view. Until now, strong normalisation, which is an essential property for logical soundness, has only been conjectured: in this paper, we give a positive answer for the simply-typed system and the dependently-typed system.The proof is based on a translation of terms and types fromP2TSinto the λ-calculus. First, we deal with untyped terms, ensuring that reductions are faithfully mimicked in the λ-calculus. For this, we rely on an original encoding of the pattern matching capability ofP2TSinto the System Fω.Then we show how to translate types: the expressive power of System Fω is needed in order to fully reproduce the original typing judgments ofP2TS. We prove that the encoding is correct with respect to reductions and typing, and we conclude with the strong normalisation of simply-typedP2TSterms. The strong normalisation with dependent types is in turn obtained by an intermediate translation into simply-typed terms.


2006 ◽  
Vol 76 (1) ◽  
pp. 28-33 ◽  
Author(s):  
Yukari Egashira ◽  
Shin Nagaki ◽  
Hiroo Sanada

We investigated the change of tryptophan-niacin metabolism in rats with puromycin aminonucleoside PAN-induced nephrosis, the mechanisms responsible for their change of urinary excretion of nicotinamide and its metabolites, and the role of the kidney in tryptophan-niacin conversion. PAN-treated rats were intraperitoneally injected once with a 1.0% (w/v) solution of PAN at a dose of 100 mg/kg body weight. The collection of 24-hour urine was conducted 8 days after PAN injection. Daily urinary excretion of nicotinamide and its metabolites, liver and blood NAD, and key enzyme activities of tryptophan-niacin metabolism were determined. In PAN-treated rats, the sum of urinary excretion of nicotinamide and its metabolites was significantly lower compared with controls. The kidneyα-amino-β-carboxymuconate-ε-semialdehyde decarboxylase (ACMSD) activity in the PAN-treated group was significantly decreased by 50%, compared with the control group. Although kidney ACMSD activity was reduced, the conversion of tryptophan to niacin tended to be lower in the PAN-treated rats. A decrease in urinary excretion of niacin and the conversion of tryptophan to niacin in nephrotic rats may contribute to a low level of blood tryptophan. The role of kidney ACMSD activity may be minimal concerning tryptophan-niacin conversion under this experimental condition.


1983 ◽  
Vol 28 (1) ◽  
pp. 79-79
Author(s):  
Claire B. Ernhart

Author(s):  
Raymond F. Genovese ◽  
◽  
Sara J. Shippee ◽  
Jessica Bonnell ◽  
Bernard J. Benton ◽  
...  

1992 ◽  
Author(s):  
Kathy McCloskey ◽  
William B. Albery ◽  
Greg Zehner ◽  
Stephen D. Bolia
Keyword(s):  

Sign in / Sign up

Export Citation Format

Share Document