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.
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
The ventral stream receives spatial information from the dorsal stream during configural face processing
The ventral stream receives spatial information from the dorsal stream during configural face processing
AbstractConfigural face processing is considered to be vital for face perception. If configural face processing requires an evaluation of spatial information, might this process in...
On algebraic systems
On algebraic systems
Abstract
The objective of this paper is to propose a generalization of algebraic closure space, namely algebraic system, and discuss its related properties. Firstly, we pro...
Continental hydrosystem modelling: the concept of nested stream–aquifer interfaces
Continental hydrosystem modelling: the concept of nested stream–aquifer interfaces
Abstract. Recent developments in hydrological modelling are based on a view of the interface being a single continuum through which water flows. These coupled hydrological-hydrogeo...
Wadeable stream habitat monitoring at Chattahoochee River National Recreation Area: 2021 change report
Wadeable stream habitat monitoring at Chattahoochee River National Recreation Area: 2021 change report
The Southeast Coast Network (SECN) stream habitat monitoring protocol collects data to give park resource managers insight into the status of and trends in stream and near-channel ...
Advancements in Computational Algebraic Geometry: Techniques and Applications
Advancements in Computational Algebraic Geometry: Techniques and Applications
Computational algebraic geometry has experienced significant advancements in recent years, driven by both theoretical breakthroughs and practical applications comprehensive review ...
A Bayesian hierarchical model of channel network dynamics reveals the impact of stream dynamics and connectivity on metapopulation
A Bayesian hierarchical model of channel network dynamics reveals the impact of stream dynamics and connectivity on metapopulation
<p>The active portion of river networks varies in time thanks to event-based and seasonal cycles of expansion-retraction, mimicking the unsteadyness of the underlying...
Unravelling alkalinity and dissolved inorganic carbon dynamics in an alpine stream network
Unravelling alkalinity and dissolved inorganic carbon dynamics in an alpine stream network
Alkalinity in river ecosystems plays a crucial role in regulating carbon cycle across basin, regional, and global scales. Streamflow alkalinity acts as a pH buffer and drives the r...
General Curved Surface Fitting and Calculation of Flow Along Arbitrarily Twisted Stream Surface
General Curved Surface Fitting and Calculation of Flow Along Arbitrarily Twisted Stream Surface
This paper consists of two parts. (1) General curved surface fitting and grid refining. A method of fitting a set of given discrete points on several stream lines to give a smooth ...

