- Front Matter
- 10.1016/s1571-0661(05)80574-2
Preface: Volume 69
- Feb 01, 2003
- Electronic Notes in Theoretical Computer Science
- Richard Blute + 1 more +1
Preface: Volume 69
Using familiar constructions on the category of monoids, a fully abstract model of Basic SCI is constructed. Basic SCI is a version of Reynolds's higher-order imperative programming language Idealized Algol, restricted by means of a linear type system so that distinct identifiers are never aliases. The model given here is concretely the same as Reddy's object spaces model, so this work also shows that Reddy's model is fully abstract, which was not previously known.
Preface: Volume 69
Preface: Volume 69
A Graph Model for Imperative Computation
Scott's graph model is a lambda-algebra based on the observation that continuous endofunctions on the lattice of sets of natural numbers can be represented via their graphs. A graph is a relation mapping finite sets of input values to output values. We consider a similar model based on relations whose input values are finite sequences rather than sets. This alteration means that we are taking into account the order in which observations are made. This new notion of graph gives rise to a model of affine lambda-calculus that admits an interpretation of imperative constructs including variable assignment, dereferencing and allocation. Extending this untyped model, we construct a category that provides a model of typed higher-order imperative computation with an affine type system. An appropriate language of this kind is Reynolds's Syntactic Control of Interference. Our model turns out to be fully abstract for this language. At a concrete level, it is the same as Reddy's object spaces model, which was the first "state-free" model of a higher-order imperative programming language and an important precursor of games models. The graph model can therefore be seen as a universal domain for Reddy's model.
Read moreDecidability and syntactic control of interference
Decidability and syntactic control of interference
Decidability in Syntactic Control of Interference
We investigate the decidability of observational equivalence and approximation in “Syntactic Control of Interference” (SCI). By associating denotations of terms in an inequationally fully abstract model of finitary basic SCI with multitape finite state automata, we show that observational approximation is not decidable (even at first order), but that observational equivalence is decidable for all terms. We then consider the same problems for basic SCI extended with non-local control in the form of backwards jumps. We show that both observational approximation and observational equivalence are decidable in this language by describing a fully abstract games model in which strategies are regular languages.
Read moreModels of Sharing Graphs
A general abstract theory for computation involving shared resources is presented. We develop the models of sharing graphs, also known as term graphs, in terms of both syntax and semantics. According to the complexity of the permitted form of sharing, we consider four situations of sharing graphs. The simplest is first-order acyclic sharing graphs represented by let-syntax, and others are extensions with higher-order constructs (lambda calculi) and/or cyclic sharing (recursive letrec binding). For each of four settings, we provide the equational theory for representing the sharing graphs, and identify the class of categorical models which are shown to be sound and complete for the theory. The emphasis is put on the algebraic nature of sharing graphs, which leads us to the semantic account of them. We describe the models in terms of the notions of symmetric monoidal categories and functors, additionally with symmetric monoidal adjunctions and traced monoidal categories for interpreting higher-order and cyclic features. The models studied here are closely related to structures known as notions of computation, as well as models for intuitionistic linear type theory. As an interesting implication of the latter observation, for the acyclic settings, we show that our calculi conservatively embed into linear type theory. The models for higher-order cyclic sharing are of particular interest as they support a generalized form of recursive computation, and we look at this case in detail, together with the connection with cyclic lambda calculi. We demonstrate that our framework can accommodate Milner’s action calculi, a proposed framework for general interactive computation, by showing that our calculi, enriched with suitable constructs for interpreting parameterized constants called controls, are equivalent to the closed fragments of action calculi and their higher-order/reflexive extensions. The dynamics, the computational counterpart of action calculi, is then understood as rewriting systems on our calculi, and interpreted as local preorders on our models.
Read moreA New Macro-Economic Time-Series Forecasting Using Linear Genetic Programming Algorithm for Electrical Capacitance Tomography
Recent studies in financial economics suggest that good technical analysis may have a merit in data series prediction.Linear Genetic Programming (LGP) is a genetic programming variant that evolves sequences of instructions from an imperative programming language.This paper presents a LGP approach to search times series forecasting rules.Results for three Paraguayan macro-economic time series (Consumer Price Index, Gross Internal Product & Paraguayan import from Argentina) and one artificial time series indicate that these prediction rules may be more accurate to forecast future values than some standard statistical models in use.
Read moreBase Point Freeness of Adjoint Linear Systems
The purpose of this chapter is to discuss “base point freeness” of linear systems of adjoint type, i.e., linear systems of type \( \left| {K_x + B} \right|, \), where K X denotes the canonical divisor of a variety X and B is a (boundary) divisor with some specific conditions depending on the situation. As is clear from the formulation, the most natural framework for linear systems of adjoing type is that of the logarithmic category discussed in Chapter 2. Our key tool is the logarithmic version of the Kodaira vanishing theorem, i.e., the Kawamata—Viehweg vanishing theorem. Our viewpoint centering on adjoint linear systems, is in the spirit of Ein—Lazarsfeld [1], which applied the method of Kawamata—Reid—Shokurov to solve Fujita’s conjecture in dimension 3.
Read moreAn Analysis of the Vibration Transmission Properties of Assemblies Using Honeycomb Paperboard and Expanded Polyethylene.
In the process of logistics, shock and vibration are the most important factors contributing to product damage. Assembling honeycomb paperboard and EPE is commonly used to provide cushioning and anti-vibration effects to materials. Therefore, it is necessary to study the vibration transmission properties of this kind of assembly in the anti-vibration process. The aim of this paper was to experimentally determine the vibration transmission properties of assemblies with honeycomb paperboard and expanded polyethylene (EPE). Through a sinusoidal sweep vibration test of this assembly, the vibration transmission characteristic curves of assemblies with honeycomb paperboard and EPE of different thicknesses were obtained and compared. Assuming the assembly and mass block as a single degree of freedom with a small damping linear system, the damping energy dissipation of the assembly and the resonance frequency were obtained. The vibration transmission property curves of the assembly can be divided into four regions. With an excitation acceleration of 0.5 g and a honeycomb paperboard with a thickness of 60 mm (F60), the vibration transmission rate and the resonance frequency-of the material dampened with EPE at a thickness of 60 mm (E60), and the assembly (F30/E30) with a 30 mm thick honeycomb paperboard and 30 mm thick EPE-increased by -2.5% and -17.5%, -86.9% and 79.3%, and -95.9% and -85.7%, respectively. Compared to the assembly with 20 mm thick honeycomb and 20 mm thick EPE (F20/E20), the vibration transmission rate, the resonance frequency, and the material damping and damping energy dissipation of F40/E20, F30/E30, and F20/E40 increased by 75.6%, 48.3%, and 66.1%; 1.2%, -21.5%, and -38.9%; 241.5%, 82.8%, and 13.3%; and 12.5%, 98.9%, and 106.8%, respectively. Compared to F60 and E60, the damping energy dissipation of F30/E30 increased by 2816.7% and 133.3%, respectively. The assembly of F30/E30 has the smallest vibration transmission rate and the most vibration energy dissipation among these assemblies. This means that the assembly of F30/E30 absorbs the most external vibration energy, while the acceleration that is transmitted to the internal product is minimal. Therefore, in the design of cushioning packaging, according to the characteristics and natural frequency of the internal products, an appropriate assembly can be selected, which should have a lower vibration transmission rate and more vibration energy dissipation, and should not resonate with the internal product. This will provide a theoretical basis for the design of cushioning packaging.
Read moreLinear Haskell: practical linearity in a higher-order polymorphic language
Linear type systems have a long and storied history, but not a clear path forward to integrate with existing languages such as OCaml or Haskell. In this paper, we study a linear type system designed with two crucial properties in mind: backwards-compatibility and code reuse across linear and non-linear users of a library. Only then can the benefits of linear types permeate conventional functional programming. Rather than bifurcate types into linear and non-linear counterparts, we instead attach linearity to function arrows . Linear functions can receive inputs from linearly-bound values, but can also operate over unrestricted, regular values. To demonstrate the efficacy of our linear type system — both how easy it can be integrated in an existing language implementation and how streamlined it makes it to write programs with linear types — we implemented our type system in ghc, the leading Haskell compiler, and demonstrate two kinds of applications of linear types: mutable data with pure interfaces; and enforcing protocols in I/O-performing functions.
Read moreNecessary conditions for exponential stability of linear neutral type systems with multiple time delays
Necessary conditions for exponential stability of linear neutral type systems with multiple time delays
Linear types for large-scale systems verification
Reasoning about memory aliasing and mutation in software verification is a hard problem. This is especially true for systems using SMT-based automated theorem provers. Memory reasoning in SMT verification typically requires a nontrivial amount of manual effort to specify heap invariants, as well as extensive alias reasoning from the SMT solver. In this paper, we present a hybrid approach that combines linear types with SMT-based verification for memory reasoning. We integrate linear types into Dafny, a verification language with an SMT backend, and show that the two approaches complement each other. By separating memory reasoning from verification conditions, linear types reduce the SMT solving time. At the same time, the expressiveness of SMT queries extends the flexibility of the linear type system. In particular, it allows our linear type system to easily and correctly mix linear and nonlinear data in novel ways, encapsulating linear data inside nonlinear data and vice-versa. We formalize the core of our extensions, prove soundness, and provide algorithms for linear type checking. We evaluate our approach by converting the implementation of a verified storage system (about 24K lines of code and proof) written in Dafny, to use our extended Dafny. The resulting system uses linear types for 91% of the code and SMT-based heap reasoning for the remaining 9%. We show that the converted system has 28% fewer lines of proofs and 30% shorter verification time overall. We discuss the development overhead in the original system due to SMT-based heap reasoning and highlight the improved developer experience when using linear types.
Read moreComputational Adequacy for Substructural Lambda Calculi
Substructural type systems, such as affine (and linear) type systems, are type systems which impose restrictions on copying (and discarding) of variables, and they have found many applications in computer science, including quantum programming. We describe one linear and one affine type systems and we formulate abstract categorical models for both of them which are sound and computationally adequate. We also show, under basic assumptions, that interpreting lambda abstractions via a monoidal closed structure (a popular method for linear type systems) necessarily leads to degenerate and inadequate models for call-by-value affine type systems with recursion. In our categorical treatment, a solution to this problem is clearly presented. Our categorical models are more general than linear/non-linear models used to study linear logic and we present a homogeneous categorical account of both linear and affine type systems in a call-by-value setting. We also give examples with many concrete models, including classical and quantum ones.
Read moreLinear Types with Dynamic Multiplicities in Dependent Type Theory (Functional Pearl)
We construct a linear type system inside dependent type theory. For this, we equip the output type of a program with a bag containing copies of each of the input variables. We call the number of copies of an input variable its multiplicity. We then characterise a dependent type which ensures that a program uses exactly the given multiplicity of each input variable. While our system is not closed under linear function types, we can program in the resulting system in a practical way using usual dependent functions, which we demonstrate by constructing standard programs on lists such as folds, unfolds and sorting algorithms. Since our linear type system is deeply embedded in a functional language, we can moreover dynamically compute multiplicities, which allows us to capture that a program uses a varying number of copies of some input depending on the other inputs. We can thereby give precise types to many functional programs that cannot be typed in systems with static multiplicities.
Read moreStochastic Control for Linear Systems Driven by Fractional Noises
This paper is concerned with optimal control of stochastic linear systems involving fractional Brownian motion (FBM). First, as a prerequisite for studying the underlying control problems, some new results on stochastic integrals and stochastic differential equations associated with FBM are established. Then, three control models are formulated and studied. In the first two models, the state is scalar-valued and the control is taken as Markovian. Either the problems are completely solved based on a Riccati equation (for model 1, where the cost is a quadratic functional on state and control variables) or optimality is characterized (for model 2, where the cost is a power functional). The last control model under investigation is a general one, where the system involves the Stratonovich integral with respect to FBM, the state is multidimensional, and the admissible controls are not limited to being Markovian. A new Riccati-type equation, which is a backward stochastic differential equation involving both FBM and normal Brownian motion, is introduced. Optimal control and optimal value of the model are explicitly obtained based on the solution to this Riccati-type equation.
Read moreDuality Theory and Categorical Universal Logic: With Emphasis on Quantum Structures
Categorical Universal Logic is a theory of monad-relativised hyperdoctrines (or fibred universal algebras), which in particular encompasses categorical forms of both first-order and higher-order quantum logics as well as classical, intuitionistic, and diverse substructural logics. Here we show there are those dual adjunctions that have inherent hyperdoctrine structures in their predicate functor parts. We systematically investigate into the categorical logics of dual adjunctions by utilising Johnstone-Dimov-Tholen's duality-theoretic framework. Our set-theoretical duality-based hyperdoctrines for quantum logic have both universal and existential quantifiers (and higher-order structures), giving rise to a universe of Takeuti-Ozawa's quantum sets via the tripos-to-topos construction by Hyland-Johnstone-Pitts. The set-theoretical hyperdoctrinal models of quantum logic, as well as all quantum hyperdoctrines with cartesian base categories, turn out to give sound and complete semantics for Faggian-Sambin's first-order quantum sequent calculus over cartesian type theory; in addition, quantum hyperdoctrines with monoidal base categories are sound and complete for the calculus over linear type theory. We finally consider how to reconcile Birkhoff-von Neumann's quantum logic and Abramsky-Coecke's categorical quantum mechanics (which is modernised quantum logic as an antithesis to the traditional one) via categorical universal logic.
Read more