Zulip Chat Archive

Stream: Is there code for X?

Topic: Cauchy Equation


Zhang Qinchuan (Nov 24 2024 at 16:28):

Is there any theorem about Cauchy Equation (f(x+y)=f(x)+f(y) where x,y are real numbers)?

It would be nice if there is a theorem as follow :

If f(x) is continous and satisfies f(x+y)=f(x)+f(y), then f(x)=kx for all real numbers.

By the way, there is a lot of property that satisfies :

If f(x) has property p and satisfies f(x+y)=f(x)+f(y), then f(x)=kx for all real numbers.

Joseph Myers (Nov 24 2024 at 16:46):

The last comment in !3#12933 says "Ported to LeanCamCombi". I can't now locate this port in LeanCamCombi (or mathlib4), @Yaël Dillies where is this work now?

Yaël Dillies (Nov 24 2024 at 17:13):

Hmm, I think it's in a branch of LeanCamCombi. Let me dig it up

Yaël Dillies (Nov 24 2024 at 18:20):

Found it! Will make it available in LeanCamCombi soon

Yaël Dillies (Nov 24 2024 at 23:37):

@Joseph Myers, voilà : https://yaeldillies.github.io/LeanCamCombi/docs/LeanCamCombi/CauchyFunctionalEquation.html

Zhang Qinchuan (Nov 25 2024 at 06:02):

Yaël Dillies said:

Joseph Myers, voilà : https://yaeldillies.github.io/LeanCamCombi/docs/LeanCamCombi/CauchyFunctionalEquation.html

So these theorems are maintained in LeanCamCombi and will never push to Mathlib4. Am I right?

Joseph Myers (Nov 26 2024 at 01:59):

I hope it ends up in mathlib, it's a well known result that gets used in other proofs.

Violeta Hernández (Nov 26 2024 at 08:25):

hilbert said:

By the way, there is a lot of property that satisfies :

If f(x) has property p and satisfies f(x+y)=f(x)+f(y), then f(x)=kx for all real numbers.

Basically all such properties p are corollaries of the following: if f satisfies the Cauchy equation but isn't a scalar multiple of x, then its graph is a dense set in ℝ²

Violeta Hernández (Nov 26 2024 at 08:27):

(so if you can prove continuity, or continuity at a single point, or bounded at some nontrivial interval, etc, then f = kx follows)

Violeta Hernández (Nov 26 2024 at 08:28):

This isn't specific to the real numbers, it should hold for any linearly ordered archimedean field with the order topology. Admittedly all of those are subfields of ℝ though.

Violeta Hernández (Nov 26 2024 at 08:31):

And it's a basic consequence of linear algebra. If f x ≠ x * f 1, then (1, f 1) and (x, f x) are linearly independent over ℚ. Their ℚ-linear combinations are all in the graph of f, and by archimedeanness, they form a dense subset of it.

Yaël Dillies (Nov 26 2024 at 14:02):

hilbert said:

Yaël Dillies said:

Joseph Myers, voilà : https://yaeldillies.github.io/LeanCamCombi/docs/LeanCamCombi/CauchyFunctionalEquation.html

So these theorems are maintained in LeanCamCombi and will never push to Mathlib4. Am I right?

Nono. On the contrary, LeanCamCombi is like a giant treadmill of results that will eventually go to mathlib. I don't have time right now to specifically clean Cauchy's functional equation up and PR it, so you should feel free to do that :smile:

Yaël Dillies (Jan 04 2025 at 08:47):

First result toward Cauchy's functional equation: #20304


Last updated: Feb 28 2026 at 14:05 UTC