pith. sign in
module module moderate

IndisputableMonolith.MusicTheory.Consonance

show as:
view Lean formalization →

The MusicTheory.Consonance module defines interval costs via the J-function and classifies standard musical intervals as consonant or dissonant. Researchers modeling auditory perception within the Recognition Science phi-ladder would cite these definitions when extending J-cost to harmonic ratios. The module supplies explicit J-cost evaluations for unison through octave together with ordering lemmas that establish a consonance hierarchy.

claimThe module introduces the map $Imapsto J(r_I)$ where $r_I$ is the frequency ratio of interval $I$, the predicate IsConsonant$(I)$ holding for low-cost intervals, and explicit values J(unison)=0, J(minor third), J(major third), J(fourth), J(tritone), J(fifth), J(octave) together with the ordering minor third < major third.

background

The module imports the Cost module, which supplies the J-cost function $J(x)=(x+x^{-1})/2-1$ (equivalently cosh(log x)-1) used for recognition defects, and the HarmonicModes module, which defines musical intervals and their rational frequency ratios. In the Recognition Science setting, consonance is the low-J-cost recognition of simple harmonic ratios on the phi-ladder. The module therefore translates the general J-cost into concrete interval costs and introduces the IsConsonant predicate together with comparison lemmas.

proof idea

This is a definition module, no proofs. It consists of the core definitions intervalCost and IsConsonant, followed by direct evaluations of J-cost on the standard intervals and a short chain of ordering lemmas that establish the consonance hierarchy.

why it matters in Recognition Science

The module supplies the concrete consonance definitions required by any downstream application of Recognition Science to music or auditory recognition. It instantiates the J-uniqueness (T5) and phi fixed-point (T6) at musical ratios, providing explicit instances of the Recognition Composition Law for frequency products. No parent theorems are listed in the used-by graph; the definitions stand as the base layer for the music-theory subdomain.

scope and limits

depends on (2)

Lean names referenced from this declaration's body.

declarations in this module (23)