Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Algebraic Stream Processing

View through CrossRef
We identify and analyse the typically higher-order approaches to stream processing in the literature. From this analysis we motivate an alternative approach to the specification of SPSs as STs based on an essentially first-order equational representation. This technique is called Cartesian form specification. More specifically, while STs are properly second-order objects we show that using Cartesian forms, the second-order models needed to formalise STs are so weak that we may use and develop well-understood first-order methods from computability theory and mathematical logic to reason about their properties. Indeed, we show that by specifying STs equationally in Cartesian form as primitive recursive functions we have the basis of a new, general purpose and mathematically sound theory of stream processing that emphasises the formal specification and formal verification of STs. The main topics that we address in the development of this theory are as follows. We present a theoretically well-founded general purpose stream processing language ASTRAL (Algebraic Stream TRAnsformer Language) that supports the use of modular specification techniques for full second-order STs. We show how ASTRAL specifications can be given a Cartesian form semantics using the language PREQ that is an equational characterisation of the primitive recursive functions. In more detail, we show that by compiling ASTRAL specifications into an equivalent Cartesian form in PREQ we can use first-order equational logic with induction as a logical calculus to reason about STs. In particular, using this calculus we identify a syntactic class of correctness statements for which the verification of ASTRAL programmes is decidable relative to this calculus. We define an effective algorithm based on term re-writing techniques to implement this calculus and hence to automatically verify a very broad class of STs including conventional hardware devices. Finally, we analyse the properties of this abstract algorithm as a proof assistant and discuss various techniques that have been adopted to develop software tools based on this algorithm.
Swansea University
Title: Algebraic Stream Processing
Description:
We identify and analyse the typically higher-order approaches to stream processing in the literature.
From this analysis we motivate an alternative approach to the specification of SPSs as STs based on an essentially first-order equational representation.
This technique is called Cartesian form specification.
More specifically, while STs are properly second-order objects we show that using Cartesian forms, the second-order models needed to formalise STs are so weak that we may use and develop well-understood first-order methods from computability theory and mathematical logic to reason about their properties.
Indeed, we show that by specifying STs equationally in Cartesian form as primitive recursive functions we have the basis of a new, general purpose and mathematically sound theory of stream processing that emphasises the formal specification and formal verification of STs.
The main topics that we address in the development of this theory are as follows.
We present a theoretically well-founded general purpose stream processing language ASTRAL (Algebraic Stream TRAnsformer Language) that supports the use of modular specification techniques for full second-order STs.
We show how ASTRAL specifications can be given a Cartesian form semantics using the language PREQ that is an equational characterisation of the primitive recursive functions.
In more detail, we show that by compiling ASTRAL specifications into an equivalent Cartesian form in PREQ we can use first-order equational logic with induction as a logical calculus to reason about STs.
In particular, using this calculus we identify a syntactic class of correctness statements for which the verification of ASTRAL programmes is decidable relative to this calculus.
We define an effective algorithm based on term re-writing techniques to implement this calculus and hence to automatically verify a very broad class of STs including conventional hardware devices.
Finally, we analyse the properties of this abstract algorithm as a proof assistant and discuss various techniques that have been adopted to develop software tools based on this algorithm.

Related Results

Editorial Messages
Editorial Messages
Just as it has been continually happening in the world of mathematical sciences, the group of mathematical scientists led by (for example) Professor Eyup Cetin and his colleagues (...
Lahar simulation using Laharz_py program for the Mt. Halla volcano, Jeju, Korea
Lahar simulation using Laharz_py program for the Mt. Halla volcano, Jeju, Korea
This study using Laharz_py program, was performed schematic prediction on the impact area of lahar hazards at the Mt. Halla volcano, Jeju island volcanic field, Korea. In order to ...
Letter from the Editors
Letter from the Editors
“The present moment seems a very appropriate one to launch a new journal on Algebraic Statistics”Fabrizio Catanese, Editor of the Journal of Algebraic GeometryMany classical statis...
Along-stream evolution of Gulf Stream volume transport and water properties from underwater glider observations
Along-stream evolution of Gulf Stream volume transport and water properties from underwater glider observations
<p>The Gulf Stream is the western boundary current in the subtropical North Atlantic and a principal component of the upper limb of the Atlantic Meridional Overturnin...
Influence of diurnal variations in stream temperature on streamflow loss and groundwater recharge
Influence of diurnal variations in stream temperature on streamflow loss and groundwater recharge
We demonstrate that for losing reaches with significant diurnal variations in stream temperature, the effect of stream temperature on streambed seepage is a major factor contributi...
Subglacial Conditions of the Kamb Ice Stream and its Response to Environmental Change
Subglacial Conditions of the Kamb Ice Stream and its Response to Environmental Change
<p>The Siple Coast ice streams, which drain the West Antarctic Ice Sheet into the Ross Ice Shelf, are susceptible to temporal changes in flow dynamics. The Kamb Ice Stream on...
Enhancing Water Level Estimates with DEM-derived Stream Geomorphometry
Enhancing Water Level Estimates with DEM-derived Stream Geomorphometry
Accurate water level predictions are increasingly crucial for mitigating flood risks. Hydrological and hydrodynamic models provide water level predictions, but their accuracy depen...

Back to Top