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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Open questions regarding the existence of Euler bricks · cuboidTwo

Source:Wikipedia lists of open problems · arxiv.org/abs/2510.11768
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

The second Cuboid conjecture

Subjects:Commutative Algebra (math.AC)
MSC classes:12
Cite as:NS.07912 [math.AC] · NS.07912v1 for this version
Declaration:EulerBrick.cuboidTwo
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:7020ea89fbb2559231e00d7fb9319db6b1a01c2005feae7123a47a177c6ee120
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/EulerBrick.lean

Formal statement

theorem cuboidTwo : CuboidTwo
Show the full Challenge.lean (159 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Open questions regarding the existence of Euler bricks

*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Euler_brick)
- [stackexchange](https://math.stackexchange.com/questions/2264401/euler-bricks-and-the-4th-dimension)
- [Sh12] Sharipov, Ruslan. Perfect cuboids and irreducible polynomials. https://arxiv.org/abs/1108.5348
-/

@[expose] public section

namespace EulerBrick

/--
An **Euler brick** is a rectangular cuboid where all edges and face diagonals have integer lengths.
-/
def IsEulerBrick (a b c : ℕ+) : Prop :=
  IsSquare (a^2 + b^2) ∧ IsSquare (a^2 + c^2) ∧ IsSquare (b^2 + c^2)

/--
A **perfect cuboid** is an Euler brick with an integer space diagonal.
-/
def IsPerfectCuboid (a b c : ℕ+) : Prop :=
  IsEulerBrick a b c ∧ IsSquare (a^2 + b^2 + c^2)

/--
Generalization of an Euler brick to $n$-dimensional space.
-/
def IsEulerHyperBrick (n : ℕ) (sides : Fin n → ℕ+) : Prop :=
  Pairwise fun i j ↦ IsSquare ((sides i)^2 + (sides j)^2)

/--
Is there a perfect Euler brick?
-/
@[category research open, question, AMS 11]
theorem perfect_euler_brick_existence :
    ∃ a b c : ℕ+, IsPerfectCuboid a b c := by
  sorry

/--
Is there an Euler brick in $4$-dimensional space?
-/
@[category research open, question, AMS 11]
theorem four_dim_euler_brick_existence :
    ∃ sides : Fin 4 → ℕ+, IsEulerHyperBrick 4 sides:= by
  sorry

/--
Is there an Euler brick in $n$-dimensional space for any $n > 3$?
-/
@[category research open, question, AMS 11]
theorem n_dim_euler_brick_existence :
∀ n > 3, ∃ sides : Fin n → ℕ+, IsEulerHyperBrick n sides := by
  sorry

section Cuboid

open Polynomial

/-  **Cuboid conjectures**:
The three Cuboid conjectures ask if certain families of polynomials are always irreducible.
If all hold, this implies the nonexistence of a perfect Euler brick.
-/

/-- Pairs of natural numbers for which the first Cuboid polynomial is irreducible. -/
def CuboidOneFor (a b : ℤ) : Prop :=
  Irreducible (X ^ 8 + C (6 * (a ^ 2 - b ^ 2)) * X ^ 6
    + C (b ^ 4 - 4 * a ^ 2 * b ^ 2 + a ^ 4) * X ^ 4
    - C (6 * a ^ 2 * b ^ 2 * (a ^ 2 - b ^ 2)) * X ^ 2 + C (a ^ 4 * b ^ 4))

/-- *First Cuboid conjecture*: For all positive coprime integers $a$, $b$ with $a ≠ b$,
the polynomial of the first Cuboid polynomial is irreducible. -/
def CuboidOne : Prop := ∀ ⦃a b : ℤ⦄, gcd a b = 1 → 0 < a → 0 < b → a ≠ b → CuboidOneFor a b


set_option linter.style.formal_proof_palomar false in
/--
The first Cuboid conjecture

The DeepMind prover agent has found a formal proof of this statement.

An (independent) informal solution can be found here:
*Reference:* [arxiv/2510.11768](https://arxiv.org/abs/2510.11768) **Irreducibility of the Cuboid Polynomial P_{a,u}(t) via a Rank-Zero Elliptic Curve** by *Valery Asiryan*
-/
@[category research solved, AMS 12, formal_proof using formal_conjectures at
"https://github.com/google-deepmind/formal-conjectures/blob/34c93bbad127a9a5354b9d53478d338eb65edb88/FormalConjectures/Wikipedia/EulerBrick.lean#L1804"]
theorem cuboidOne : CuboidOne := by
  sorry

/-- Pairs of natural numbers for which the second Cuboid polynomial is irreducible. -/
def CuboidTwoFor (a b : ℤ) : Prop :=
  Irreducible (X ^ 10 + C ((2 * b ^ 2 + a ^ 2) * (3 * b ^ 2 - 2 * a ^ 2)) * X ^ 8
    + C ((b ^ 8 + 10 * a ^ 2 * b ^ 6 + 4 * a ^ 4 * b ^ 4 - 14 * a ^ 6 * b ^ 2 + a ^ 8)) * X ^ 6
    - C (a ^ 2 * b ^ 2 * (b ^ 8 - 14 * a ^ 2 * b ^ 6
    + 4 * a ^ 4 * b ^ 4 + 10 * a ^ 6 * b ^ 2 + a ^ 8))
    * X ^ 4 - C (a ^ 6 * b ^ 6 * (b ^ 2 + 2 * a ^ 2) * (-2 * b ^ 2 + 3 * a ^ 2))
    * X ^ 2 - C (b ^ 10 * a ^ 10))

/-- *Second Cuboid conjecture*: For all positive coprime integers $a$, $b$ with $a ≠ b$,
the polynomial of the second Cuboid polynomial is irreducible. -/
def CuboidTwo : Prop := ∀ ⦃a b : ℕ⦄, a.Coprime b → 0 < a → 0 < b → a ≠ b → CuboidTwoFor a b

/-- The second Cuboid conjecture -/
@[category research open, AMS 12]
theorem cuboidTwo : CuboidTwo := by
  sorry

/-- Triplets of natural numbers for which the third Cuboid polynomial is irreducible. -/
def CuboidThreeFor (a b c : ℤ) : Prop :=
  Irreducible (X ^ 12 + C (6 * c ^ 2 - 2 * a ^ 2 - 2 * b ^ 2) * X ^ 10
    + C (c ^ 4 + b ^ 4 + a ^ 4 + 4 * a ^ 2 * c ^ 2 + 4 * b ^ 2 * c ^ 2 - 12 * b ^ 2 * a ^ 2)
    * X ^ 8 + C (6 * a ^ 4 * c ^ 2 + 6 * c ^ 2 * b ^ 4 - 8 * a ^ 2 * b ^ 2 * c ^ 2
    - 2 * c ^ 4 * a ^ 2 - 2 * c ^ 4 * b ^ 2 - 2 * a ^ 4 * b ^ 2 - 2 * b ^ 4 * a ^ 2)
    * X ^ 6 + C (4 * c ^ 2 * b ^ 4 * a ^ 2 + 4 * a ^ 4 * c ^ 2 * b ^ 2
    - 12 * c ^ 4 * a ^ 2 * b ^ 2 + c ^ 4 * a ^ 4 + c ^ 4 * b ^ 4 + a ^ 4 * b ^ 4) * X ^ 4
    + C (6 * a ^ 4 * c ^ 2 * b ^ 4 - 2 * c ^ 4 * a ^ 4 * b ^ 2 - 2 * c ^ 4 * a ^ 2 * b ^ 4)
    * X ^ 2 + C (c ^ 4 * a ^ 4 * b ^ 4))

/-- *Third Cuboid conjecture*:
For all positive, pairwise different coprime integers $a, b, c$ with $b * c ≠ a ^ 2$
and $a * c ≠ b ^ 2$, the polynomial of the third Cuboid polynomial is irreducible. -/
def CuboidThree : Prop := ∀ ⦃a b c : ℤ⦄, gcd a (gcd b c) = 1 → 0 < a → 0 < b →
  0 < c → a ≠ b → b ≠ c → c ≠ a → b * c ≠ a ^ 2 → a * c ≠ b ^ 2 → CuboidThreeFor a b c

/-- The third Cuboid conjecture -/
@[category research open, AMS 12]
theorem cuboidThree : CuboidThree := by
  sorry

/-- In [Sh12], Ruslan notes that a perfect Euler brick does not exist
if all three Cuboid conjectures hold. -/
@[category research solved, AMS 12]
theorem cuboid_perfect_euler_brick (h₁ : CuboidOne) (h₂ : CuboidTwo) (h₃ : CuboidThree) :
    ¬ ∃ a b c : ℕ+, IsPerfectCuboid a b c := by
  sorry

end Cuboid

end EulerBrick

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

nosorry fetch wikipedia-eulerbrick--cuboidtwo
nosorry submit wikipedia-eulerbrick--cuboidtwo nosorry/wikipedia-eulerbrick--cuboidtwo/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.