Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:VCₙ dimension of convex sets in ℝⁿ, ℝⁿ⁺¹, ℝⁿ⁺² · hasAddVCNDimAtMost_two_two_of_convex_r3

Source:Other sources
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Every convex set in R3\mathbb R^3 has VC2\mathrm{VC}_2 dimension at most 2.

Subjects:Combinatorics (math.CO); Metric Geometry (math.MG)
MSC classes:05, 52
Cite as:NS.07221 [math.CO] · NS.07221v1 for this version
Declaration:VCDimConvex.hasAddVCNDimAtMost_two_two_of_convex_r3
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:7d607f778215d74a7590a89b3e97ad753f82772c25cf441daefebec709bf2aa6
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Other/VCDimConvex.lean

Formal statement

lemma hasAddVCNDimAtMost_two_two_of_convex_r3 {C : Set ℝ³} (hC : Convex ℝ C) :
    HasAddVCNDimAtMost C 2 2
Show the full Challenge.lean (106 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# VCₙ dimension of convex sets in ℝⁿ, ℝⁿ⁺¹, ℝⁿ⁺²

In the literature it is known that every convex set in ℝ² has VC dimension at most 3,
and there exists a convex set in ℝ³ with infinite VC dimension (even more strongly,
which shatters an infinite set).

This file states that every convex set in ℝⁿ has finite VCₙ dimension, constructs a convex set in
ℝⁿ⁺² with infinite VCₙ dimension (even more strongly, which n-shatters an infinite set),
and conjectures that every convex set in ℝⁿ⁺¹ has finite VCₙ dimension.
-/

@[expose] public section

open scoped EuclideanGeometry Pointwise

namespace VCDimConvex

/-  ### What's known in the literature -/

/-- Every convex set in $\mathbb R^2$ has VC dimension at most 3. -/
@[category research solved, AMS 5 52]
lemma hasAddVCDimAtMost_three_of_convex_r2 {C : Set ℝ²} (hC : Convex ℝ C) : HasAddVCDimAtMost C 3 :=
  sorry

/-- There exists a set in $\mathbb R^3$ shattering an infinite set. -/
@[category research solved, AMS 5 52]
lemma exists_infinite_convex_r3_shatters :
    ∃ A C : Set ℝ³, A.Infinite ∧ Convex ℝ C ∧ Shatters {t +ᵥ C | t : ℝ³} A := sorry

/-  ### What's not in the literature -/

/-- There exists a set of infinite $\mathrm{VC}_n$ dimension in $\mathbb R^{n + 2}$. -/
@[category research solved, AMS 5 52]
lemma exists_convex_rn_add_two_vc_n_forall_not_hasAddVCNDimAtMost (n : ℕ) :
    ∃ C : Set (Fin (n + 2) → ℝ), Convex ℝ C ∧ ∀ d, ¬ HasAddVCNDimAtMost C n d := sorry

/-  ### Conjectures -/

set_option linter.style.formal_proof_palomar false in
/-- Not every convex set in $\mathbb R^3$ has
$\mathrm{VC}_2$ dimension at most 1. -/
@[category research solved, AMS 5 52,
  formal_proof using lean4 at
    "https://github.com/KitaKen1/vcdim-convex-counterexample/blob/ad7ffff1514843c886633f5408c6456dfb2e2a49/formal-conjectures-v4.27.0/VCDimConvexCounterexample.lean"]
lemma hasAddVCNDimAtMost_two_one_of_convex_r3 :
    ¬ ∀ {C : Set ℝ³} (hC : Convex ℝ C),
      HasAddVCNDimAtMost C 2 1 := sorry

/-- Every convex set in $\mathbb R^3$ has $\mathrm{VC}_2$ dimension at most 2. -/
@[category research open, AMS 5 52]
lemma hasAddVCNDimAtMost_two_two_of_convex_r3 {C : Set ℝ³} (hC : Convex ℝ C) :
    HasAddVCNDimAtMost C 2 2 := sorry

set_option linter.style.formal_proof_palomar false in
/-- For every $n \ge 1$ there exists some $d$ such that every convex set in $\mathbb R^{n + 1}$ has
$\mathrm{VC}_n$ dimension at most $d$.

This holds with the explicit bound $d = 2^{8(n + 2)^n} - 1$; see
[Kitamura's Lean formalization](https://github.com/KitaKen1/vcdim-convex-finite-bound).
-/
@[category research solved, AMS 5 52,
  formal_proof using lean4 at
    "https://github.com/KitaKen1/vcdim-convex-finite-bound/blob/9d7685c7c7c8c8e82f47d59da5495a8d5374db99/lean/VCDimConvexBoundFC.lean#L14-L17"]
lemma exists_hasAddVCNDimAtMost_n_of_convex_rn_add_one (n : ℕ) (hn : 1 ≤ n) :
    ∃ d : ℕ, ∀ C : Set (Fin (n + 1) → ℝ), Convex ℝ C → HasAddVCNDimAtMost C n d := sorry

/-- For every $n \ge 1$ there exists some $d$ such that every convex set in $\mathbb R^{n + 1}$ has
$\mathrm{VC}_n$ dimension at most $d$.

The bound can be taken to be $d = c^n$ for some constant $c \ge 2$ independent of $n$.
-/
@[category research open, AMS 5 52]
lemma exists_exponential_bound_hasAddVCNDimAtMost_n_of_convex_rn_add_one :
    ∃ c : ℕ, 2 ≤ c ∧ ∀ (n : ℕ) (hn : 1 ≤ n),
      ∀ C : Set (Fin (n + 1) → ℝ), Convex ℝ C → HasAddVCNDimAtMost C n (c ^ n) := sorry

/-- Is it true that, for all $n$, every convex set in $\mathbb R^{n + 1}$ has
$\mathrm{VC}_n$ dimension at most 3? -/
@[category research open, question, AMS 5 52]
lemma hasAddVCNDimAtMost_n_two_of_convex_rn_add_one :
    ∀ ⦃n : ℕ⦄, n ≠ 0 → ∀ ⦃C : Set (EuclideanSpace ℝ (Fin (n + 1)))⦄,
      Convex ℝ C → HasAddVCNDimAtMost C n 3 := by
  sorry

end VCDimConvex

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

nosorry desk other-vcdimconvex--hasaddvcndimatmost-two-two-of-convex-r3      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch other-vcdimconvex--hasaddvcndimatmost-two-two-of-convex-r3
nosorry submit other-vcdimconvex--hasaddvcndimatmost-two-two-of-convex-r3 nosorry/other-vcdimconvex--hasaddvcndimatmost-two-two-of-convex-r3/Solution.lean --wait

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.