保真度框架中的负类型与分数类型
Negative and Fractional Types in the Fidelity Framework
AI总结:
本文在保真度框架中引入负类型和分数类型作为原生一等构造,利用紧致闭范畴的对偶性,通过阿贝尔群代数模式保持可判定性和主类型,并应用于贝叶斯推断、量子计算和绝热计算等领域。
摘要:
我们的原生类型宇宙(NTU)已通过五篇先前论文详细阐述,这些论文建立了我们的框架编译流水线在多个硬件平台上所针对的基础。在这项工作中,我们发现该基础提供了更深远的可能性:负类型和分数类型作为原生一等构造。James和Sabry于2012年建立了这些对偶性;Chen和Sabry后来在紧致闭范畴中发展了它们的范畴解释。这些对偶性在我们的保真度框架中对计算模态具有实际益处,而现有的通用计算框架缺乏承载它们作为原生构造的基础。我们看到了这些类型形式在通过Kennedy维度类型建立的阿贝尔群代数模式保持可判定性和主类型方面的实用性。由此产生的同构将允许在我们的新颖降阶策略中采用新的、简洁的解析形式,并且我们勾勒了一个概念性的Clef语言语法,该语法将允许有理维度指数进入我们的代数。我们追溯了这些类型形式将为我们的编译和验证学科开放的几个问题空间的影响:贝叶斯推断中分数类型将表达条件化义务,量子计算(及模拟)中负类型将提供类型级伴随,最后是绝热计算中组合的学科将把哈密顿变形表达为可逆约束传播过程。我们的NTU的固有结构连同支持框架似乎非常适合当前软件生态系统未直接解决的问题空间,同时保持可接近的开发人体工程学和成熟的工具,与框架旨在提供的操作保证保持一致。
英文摘要:
Programs routinely create temporary data, retain state and revisit earlier results. Negative and fractional types benefit those activities in a type-resolved account of computation. Negative values redirect evaluation. Fractional values introduce value-specific auxiliary data and discharge it after a computation restores the required value. We develop both as first-class computational forms in our Clef design, using Chen and Sabry's directed, value-indexed calculus and distinguishing James and Sabry's logic-variable search interpretation. Our Program Semantic Graph retains their value identities and resource uses, enabling Composer to preserve their behavior through MLIR operations and native realization. In this paper, a negative-type counter and a fractional workspace calculation demonstrate the two constructions. Local proofs establish preservation of matching and independent resource discharge. Dimensional inference and proof terms supply premises through our four verification tiers. The applications connect deferred reverse computation to gradient calculations without an activation tape, and checked inverse steps to in-memory event recovery. A finite reconstruction horizon governs the exchange between storage and recomputation. We derive its error recurrence and show where Urschel's elimination-growth bounds can support a realized inverse step. Bayesian updates and quantum circuits supply further computational cases, including temporary workspace, measurement and a worked adiabatic schedule. Exact matching, bounded reconstruction and physical realization retain their respective contracts. The resulting architecture makes the information needed to run, reverse or complete a computation available to the compiler. Libraries can expose these operations through familiar interfaces while their retained structure supports unboxed execution and differential compilation across targets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。