Mon 24 Aug 2026 11:46 - 12:08 at IP132 Kelley - Midday Session Chair(s): Claire Wang

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.

Mon 24 Aug

Displayed time zone: Eastern Time (US & Canada) change

11:00 - 12:30
Midday SessionFARM at IP132 Kelley
Chair(s): Claire Wang University of Pennsylvania
11:00
46m
Talk
CounterChoice: Counterpoint Composition in Dusa with a Firmus Foundation
FARM
Ahmet Yigit Erdem Institute of Science Tokyo, Middle East Technical University, Ari Prakash Northeastern University, Carlo Angiuli Indiana University, Rose Bohrer National Institute of Advanced Industrial Science and Technology (AIST), Japan, James McCann Carnegie Mellon University, Chris Martens Northeastern University, Youyou Cong Institute of Science Tokyo
DOI
11:46
22m
Talk
Prismriver: Formalization of Music Theory and Algorithmic Composition in Lean 4
FARM
Leni Aniva Stanford University, Claire Wang University of Pennsylvania
DOI
12:08
22m
Talk
Demo: The Reduction of Girard’s Paradox as Music
FARM
DOI