A theory is compositional if complex components can be constructed out of simpler ones on the basis of their interfaces, without inspecting their internals. Digital circuits, despite being studied for nearly a century and used at scale for about half that time, have until recently evaded a fully compositional theoretical understanding. The sticking point has been the need to avoid feedback loops that bypass memory elements, the so called 'combinational feedback' problem. This requires examining the internal structure of a circuit, defeating compositionality. Recent work remedied this theoretical shortcoming by showing how digital circuits can be presented compositionally as morphisms in a freely generated Cartesian traced (or dataflow) category. The focus was to support a better syntactical understanding of digital circuits, culminating in the formulation of novel operational semantics for digital circuits. In this paper we shift the focus onto the denotational theory of such circuits, interpreting them as functions on streams with to certain properties. These ensure that the model is fully abstract, i.e. the equational theory and the semantic model are in perfect agreement. To support this result we introduce two key equations: the first can reduce circuits with combinational feedback to circuits without combinational feedback via finite unfoldings of the loop, and the second can translate between open circuits with the same behaviour syntactically by reducing the problem to checking a finite number of closed circuits. The most important consequence of this new semantics is that we can now give a recipe that ensures a circuit always produces observable output, thus using the denotational model to inform and improve the operational semantics.
翻译:如果复杂的组件可以在不检查内部结构的情况下,以更简单的界面为基础,用更简单的界面来构建,则理论是构成性的。数字电路,尽管经过近一个世纪的研究,并且被大规模使用大约一半的时间,但直到最近才避开了完全的构成理论理解。关键点是,需要避免绕过记忆元素的反馈循环,即所谓的“网络反馈”问题。这要求检查电路的内部结构,挫败构成性。最近的工作纠正了这一理论缺陷,显示数字电路如何在自由生成的卡提亚直线(或数据流)类别中以形态形式呈现成成形态。数字电路尽管经过近一个世纪的研究,而且被大规模使用,但数字电路的同步理解性理解性理解性理解性理解性理解性理解性理解性理解性理解性理解性理解性理解性理解性理解性理解性理解性,因此,在本文中,我们将重点转向这种电路路路的分解性理论,将其函数转化为某些属性。确保模型总是完全抽象的,即方程式理论和语义模型现在处于完全一致的状态中。因此,我们可以通过一种精确的精度模型来进行精确的精细的回路路路路路路路路路路流的精的精化,我们通过两个不断的流的流的流流流流流流流流流的流流流流流流流流流流流流流流流流流流流流流流的推演演演演演演演演演。