~/talk

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

Talkat FARM 2026 · on Monday, 2026-08-24· [compilers-and-language-design, creative-coding]
links:none on file
links:none on file
slides:none on file

Prismriver is a Lean 4 library that formalizes pitches, intervals and scales as group actions, proves dihedral-action equivalences (triads on Z12 vs a non-modular 2D pitch model), and generalizes beyond equal temperament to arbitrary tuning systems; it stores pitches as a name plus semitone so C# ≠ Db formally, proves interval-addition laws, encodes 0‑4‑7 triads and dihedral transforms, offers a LilyPond‑style DSL with MusicXML export, and provides a monadic composition API supporting randomness and verified counterpoint propositions.

AI-written summary · about

  1. 0:00Prismriver project intro
  2. 2:29Library overview and features
  3. 4:37Music theory in Lean 4
  4. 9:27Pitches, intervals, tuning
  5. 11:15Dihedral group on triads
  6. 13:24Input/output and music DSL
  7. 14:49Algorithmic composition
  8. 15:51Counterpoint case studies
  9. 19:25Q&A: Extensions and Bach
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.