Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Mathoverflow 347178

Source:MathOverflow · mathoverflow.net/questions/347178
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let f:Rn→R,n≥2f : \mathbb R^n \to \mathbb R, n \geq 2 be a C1C^1 function. Is it true that sup⁡x∈Rnf(x)=sup⁡x∈Rnf(x+∇f(x))\sup_{x \in \mathbb R^n}f(x) = \sup_{x\in \mathbb R^n} f(x+\nabla f(x))?

Answer: No. A counterexample in R2\mathbb R^2 is recorded in the linked formal proof.

Subjects:Classical Analysis and ODEs (math.CA)
MSC classes:26
Tags:question, formal_proof
Cite as:NS.04338 [math.CA] · NS.04338v1 for this version
Declaration:Mathoverflow347178.mathoverflow_347178
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:6791b912fe5f92ea545f2e007f2b95abb32b5ea90dffba749aba9b8a4e7a0563
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Mathoverflow/347178.lean

Formal statement

theorem mathoverflow_347178 :
    ¬ ∀ᵉ (n ≥ 2) (f : ℝ^n → ℝ) (_ : ContDiff ℝ 1 f),
        (BddAbove (range f) ↔ BddAbove (range (fun x ↦ f (x + gradient f x)))) ∧
        (⨆ x, (f x : EReal)) = ⨆ x, (f (x + gradient f x) : EReal)
Show the full Challenge.lean (83 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Mathoverflow 347178

*Reference:* [mathoverflow/347178](https://mathoverflow.net/questions/347178)
asked by user [*Biagio Ricceri*](https://mathoverflow.net/users/149235/biagio-ricceri)
-/

@[expose] public section

open Real Set
open scoped EuclideanGeometry

namespace Mathoverflow347178

set_option linter.style.formal_proof_palomar false in
/--
Let $f : \mathbb R^n \to \mathbb R,  n \geq 2$ be a $C^1$ function. Is it true that
$$\sup_{x \in \mathbb R^n}f(x) = \sup_{x\in \mathbb R^n} f(x+\nabla f(x))$$?

Answer: No. A counterexample in $\mathbb R^2$ is recorded in the linked formal proof.
-/
@[category research solved, question, AMS 26,
  formal_proof using formal_conjectures at
    "https://github.com/google-deepmind/formal-conjectures/blob/fc20c0b55eab6fc26e2bb5b24fb3005303a0910b/FormalConjectures/Mathoverflow/347178.lean#L670"]
theorem mathoverflow_347178 :
    ¬ ∀ᵉ (n ≥ 2) (f : ℝ^n → ℝ) (_ : ContDiff ℝ 1 f),
        (BddAbove (range f) ↔ BddAbove (range (fun x ↦ f (x + gradient f x)))) ∧
        (⨆ x, (f x : EReal)) = ⨆ x, (f (x + gradient f x) : EReal) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Let $f : \mathbb R^n \to \mathbb R,  n \geq 2$ be a $C^1$ function. Is the boundedness of
$\sup_{x \in \mathbb R^n}f(x)$ and $\sup_{x\in \mathbb R^n} f(x+\nabla f(x))$ equivalent?

Answer: No. The same counterexample is recorded in the linked formal proof.
-/
@[category research solved, question, AMS 26,
  formal_proof using formal_conjectures at
    "https://github.com/google-deepmind/formal-conjectures/blob/fc20c0b55eab6fc26e2bb5b24fb3005303a0910b/FormalConjectures/Mathoverflow/347178.lean#L690"]
theorem mathoverflow_347178.variants.bounded_iff :
    ¬ ∀ᵉ (n ≥ 2) (f : ℝ^n → ℝ) (_ : ContDiff ℝ 1 f),
        BddAbove (range f) ↔ BddAbove (range fun x ↦ f (x + gradient f x)) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Let $f : \mathbb R^n \to \mathbb R,  n \geq 2$ be a $C^1$ function. Does the equality
$$\sup_{x \in \mathbb R^n}f(x) = \sup_{x\in \mathbb R^n} f(x+\nabla f(x))$$
hold when both suprema are finite?

Answer: Yes. Upper boundedness of $f$ alone suffices.
-/
@[category research solved, question, AMS 26,
  formal_proof using lean4 at
    "https://github.com/inozemtsev/gradient-supremum/blob/56743ea06dd2953e02274841c16e0f56927b5a44/GradientSupremum/Mathoverflow347178.lean#L30"]
theorem mathoverflow_347178.variants.bounded_only :
    ∀ᵉ (n ≥ 2) (f : ℝ^n → ℝ) (hf : ContDiff ℝ 1 f)
        (h : BddAbove (range f)) (h' : BddAbove (range (fun x ↦ f (x + gradient f x)))),
        (⨆ x, f x) = ⨆ x, f (x + gradient f x) := by
  sorry

end Mathoverflow347178

To prove it: keep every definition of Challenge.lean unchanged and prove Mathoverflow347178.mathoverflow_347178 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_mathoverflow_347178 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch mathoverflow-347178
nosorry submit mathoverflow-347178 nosorry/mathoverflow-347178/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.