Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: A Dependently Typed Multi-Stage Calculus   We study a dependently typed extension of a multi-stage programming language
\`a la MetaOCaml, which supports quasi-quotation and cross-stage persistence
for manipulation of code fragments as first-class values and an evaluation
construct for execution of programs dynamically generated by this code
manipulation. Dependent types are expected to bring to multi-stage programming
enforcement of strong invariant -- beyond simple type safety -- on the behavior
of dynamically generated code. An extension is, however, not trivial because
such a type system would have to take stages of types -- roughly speaking, the
number of surrounding quotations -- into account.
  To rigorously study properties of such an extension, we develop
$\lambda^{MD}$, which is an extension of Hanada and Igarashi's typed calculus
$\lambda^{\triangleright\%} $ with dependent types, and prove its properties
including preservation, confluence, strong normalization for full reduction,
and progress for staged reduction. Motivated by code generators that generate
code whose type depends on a value from outside of the quotations, we argue the
significance of cross-stage persistence in dependently typed multi-stage
programming and certain type equivalences that are not directly derived from
reduction rules.

36
The categories of this paper are: cmp-lg
5
The categories of this paper are: gr-qc
34
The categories of this paper are: chem-ph
20
The categories of this paper are: acc-phys
26
The categories of this paper are: bayes-an
10
The categories of this paper are: q-bio
8
The categories of this paper are: hep-ex
13
The categories of this paper are: quant-ph
30
The categories of this paper are: q-alg
37
The categories of this paper are: supr-con
22
The categories of this paper are: chao-dyn
24
The categories of this paper are: dg-ga
31
The categories of this paper are: ao-sci
15
The categories of this paper are: nucl-ex
12
The categories of this paper are: nucl-th
21
The categories of this paper are: adap-org