Classification of a functional equation involving complementary cubes
ProvedWorkbookCorrected.plus_24563corrected-formalizationlean-workbooksource-checked
A function satisfies
if and only if for every real .
Formalization Note: The real cube root is expressed by the relation y³=1−x³, which uniquely specifies it. Unlike the original formalization, this statement does not omit the cube root or assume a second equation; it proves both necessity and sufficiency of the stated solution.
Source: InternLM Lean-Workbook, record lean_workbook_plus_24563 (Apache-2.0).
Preamble
import Mathlib
Formal statement
theorem WorkbookCorrected.plus_24563 : ∀ (f : ℝ → ℝ),
(∀ x y : ℝ, y^3 = 1-x^3 → f x + 2*f y = x^3) ↔
(∀ x : ℝ, f x = 2/3-x^3) := by sorrySource