Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Two functional relations force the zero function

Proved
WorkbookSource.problem_6261

by wamlart · Sep 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

lean-workbooksource-checked

P(x,−1)  ⟹  f(x−1)=f(−x).P(x−1,1)  ⟹  f(x)=3f(x−1)P(x,-1)\implies f(x-1)=f(-x).P(x-1,1)\implies f(x)=3f(x-1)P(x,−1)⟹f(x−1)=f(−x).P(x−1,1)⟹f(x)=3f(x−1) . Substituting f(x−1)f(x-1)f(x−1) from first into the second yields

f(x)=3f(−x).f(x)=3f(-x).f(x)=3f(−x).

Let x=xx=xx=x and x=−xx=-xx=−x into the past function to get f(x)=3f(−x)f(x)=3f(-x)f(x)=3f(−x) and f(−x)=3f(x).f(-x)=3f(x).f(−x)=3f(x). Substituting the f(−x)f(-x)f(−x) from the second into the first yields f(x)=3f(−x)=3(3f(x))=9f(x)  ⟹  f(x)=0.f(x)=3f(-x)=3(3f(x))=9f(x)\implies \boxed{f(x)=0}.f(x)=3f(−x)=3(3f(x))=9f(x)⟹f(x)=0​. We can easily check that this function works.

Source: InternLM Lean-Workbook, record lean_workbook_6261 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.

Preamble
import Mathlib
open Real Nat
Formal statement
theorem WorkbookSource.problem_6261  (f : ℝ → ℝ)
  (h₀ : ∀ x, f (x - 1) = f (-x))
  (h₁ : ∀ x, f x = 3 * f (x - 1)) :
  f = λ _ => 0  :=  by sorry
Source
https://huggingface.co/datasets/internlm/Lean-Workbook/blob/main/lean_workbook.json, record lean_workbook_6261; Apache-2.0

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me