arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.19936cs.LOcs.MM
收藏

Prismriver:Lean 4 中音乐理论与算法作曲的形式化

Prismriver: Formalization of Music Theory and Algorithmic Composition in Lean 4

Stanford University(斯坦福大学);University of Pennsylvania(宾夕法尼亚大学)

Leni Aniva, Claire Wang

AI总结:

使用 Lean 4 形式化音乐理论,实现可验证的算法作曲与伴奏生成,并支持音乐结构的单子分析。

摘要:

音乐理论遵循丰富的数学规则和对称性。这些对称性遵循数学结构,可以在证明助手的精确语言中进行验证和表达。在本文中,我们提出了 Prismriver,一个在 Lean 4 中形式化的音乐理论。通过在 Lean 4 中形式化音乐理论,我们为可验证的算法作曲和伴奏生成打开了大门。我们还实现了对音乐结构中单子分析的支持。

英文摘要:

Music theory obeys a rich set of mathematical rules and symmetries. These symmetries follow mathematical structures which can be verified and expressed in the precise language of a proof assistant. In this paper, we present Prismriver, a formalization library of music theory in Lean 4. We use Prismriver to generalize beyond existing work that assumes equal temperament tuning. We also discuss modelling counterpoint music theory with Prismriver. By formalizing music theory in Lean 4, we open the door to verifiable algorithmic composition and accompaniment generation. Prismriver also has a custom DSL integrated with MusicXML exports to interoperate with other music software. Prismriver can be used to compose music with Lean, using monadic composition primitives.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑