Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Integer H-representations in R4\mathbb{R}^4R4

Definition
HirschDim4_Setting

by LG · Nov 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

discrete-geometrylinear-optimizationpolytopes

This file fixes the exact-data convention for the dimension-444 Hirsch mission. An integer matrix A∈Zn×4A\in\mathbb{Z}^{n\times 4}A∈Zn×4 and an integer vector b∈Znb\in\mathbb{Z}^nb∈Zn are read into real H-representation data: intRows A is the list of row normals ai∈R4a_i\in\mathbb{R}^4ai​∈R4 and intRhs b the right-hand sides bi∈Rb_i\in\mathbb{R}bi​∈R, so that Hirsch.Hpoly (intRows A) (intRhs b) is the polytope {x∈R4:Ax≤b}\{x\in\mathbb{R}^4:Ax\le b\}{x∈R4:Ax≤b}. Integer data are equivalent to a rational polytope (clearing denominators), matching the benchmark's request for an explicit rational counterexample with an exact integer H-representation. These coercion helpers are reused by the goal theorem.

Definition code
import Mathlib

open scoped RealInnerProductSpace

namespace HirschDim4

noncomputable section

/-- The rows of an integer matrix `A`, viewed as normal vectors in `ℝ⁴`. Together with
`intRhs` this turns an exact integer H-representation into the platform's real `Hpoly` data. -/
def intRows {n : ℕ} (A : Matrix (Fin n) (Fin 4) ℤ) :
    Fin n → EuclideanSpace ℝ (Fin 4) :=
  fun i => WithLp.toLp 2 (fun j => (A i j : ℝ))

/-- An integer right-hand side, viewed in `ℝ`. -/
def intRhs {n : ℕ} (b : Fin n → ℤ) : Fin n → ℝ := fun i => (b i : ℝ)

end

end HirschDim4
Source
Epoch AI, FrontierMath: Open Problems, The Hirsch Conjecture in Dimension 4, https://epoch.ai/frontiermath/open-problems/hirsch-conjecture (submission format: integer matrix A and integer vector b).
Human review
  • Endorsed by Shuze Chen · Nov 17, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Nov 17, 2026

    Confirmed by the mission captain (proposal self-audit).

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me