用于大规模可验证安全流网络的增量和模块化设计的领域专用语言(初步报告)
A Domain-Specific Language for Incremental and Modular Design of Large-Scale Verifiably-Safe Flow Networks (Preliminary Report)
摘要:
我们定义了一个特定领域的语言(DSL)归纳组装流网络从小网络或模块产生任意大的,可互换的功能等效的部分。我们的小网络或模块只是作为这个归纳定义中的构建块才是“小”的(它们的大小没有限制)。与我们的DSL相关联的是一个类型论,这是一个正式的注释系统,用来表达流网络的理想属性,以及在它们的接口上将它们作为不变量执行的规则,即,当我们从较小的网络构建较大的网络时,这些规则保证这些属性得到保留。类型论的先决条件是一个形式语义,即,一个严格的定义,有资格作为可行的流通过网络的实体,可能限制,以满足额外的效率或安全要求。这可以通过两种方式之一来实现,作为指称语义或作为操作(或归约)语义;我们选择第一种优先于第二种,部分是为了避免操作方法中的指数增长重写。我们建立了一个类型系统,并证明了它的可靠性,为我们的DSL。
英文摘要:
We define a domain-specific language (DSL) to inductively assemble flow networks from small networks or modules to produce arbitrarily large ones, with interchangeable functionally-equivalent parts. Our small networks or modules are "small" only as the building blocks in this inductive definition (there is no limit on their size). Associated with our DSL is a type theory, a system of formal annotations to express desirable properties of flow networks together with rules that enforce them as invariants across their interfaces, i.e, the rules guarantee the properties are preserved as we build larger networks from smaller ones. A prerequisite for a type theory is a formal semantics, i.e, a rigorous definition of the entities that qualify as feasible flows through the networks, possibly restricted to satisfy additional efficiency or safety requirements. This can be carried out in one of two ways, as a denotational semantics or as an operational (or reduction) semantics; we choose the first in preference to the second, partly to avoid exponential-growth rewriting in the operational approach. We set up a typing system and prove its soundness for our DSL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。