theorem
proved
term proof
costCompose_factored
show as:
view Lean formalization →
formal statement (Lean)
156theorem costCompose_factored (a b : ℝ) :
157 a ★ b = 2 * (a + 1) * (b + 1) - 2 := by
proof body
Term-mode proof.
158 unfold costCompose; ring
159
160/-- The nonnegative `★`-magma has no identity element. -/