theorem
proved
term proof
compose_assoc
show as:
view Lean formalization →
formal statement (Lean)
55theorem compose_assoc (a b c : FrequencyRatio) :
56 strictMusicRealization.compose (strictMusicRealization.compose a b) c =
57 strictMusicRealization.compose a (strictMusicRealization.compose b c) := by
proof body
Term-mode proof.
58 show (⟨a.1 * b.1 * c.1, _⟩ : FrequencyRatio) = ⟨a.1 * (b.1 * c.1), _⟩
59 apply Subtype.ext
60 ring
61