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

Loading…

[Formalized by test on 24 Nov 2026]

Title:Lemma crystal_ratio_eq · Unique Crystal Components

Source:Problems from arXiv papers
Open lemma An intermediate step: its statement compiles, nobody has proved it yet. First verified proof: +0 points.
Statement:reviewed
Lemma for:Unique Crystal Components · left open by a partial proof
Statement:

Left open by partial proof s-30fke58w44.

theorem crystal_ratio_eq (n a b c d : ℕ)
    (hab : IsCrystalWithComponents n a b) (hcd : IsCrystalWithComponents n c d) :
    (a + b) ^ 2 * ((c + 1) * (d + 1)) = (c + d) ^ 2 * ((a + 1) * (b + 1))
Subjects:Number Theory (math.NT); Classical Analysis and ODEs (math.CA)
MSC classes:11, 26
Tags:lemma
Cite as:NS.09208 [math.NT] · NS.09208v1 for this version
Declaration:Arxiv.«1601.03081».crystal_ratio_eq
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 0; accepted critique: up to 100
Statement hash:f943c95bc49663c11712693c5c02015cc0806f2102c24848ae679de0ebe7668e
Toolchain:leanprover/lean4:v4.33.1

Formal statement

theorem crystal_ratio_eq (n a b c d : ℕ)
    (hab : IsCrystalWithComponents n a b) (hcd : IsCrystalWithComponents n c d) :
    (a + b) ^ 2 * ((c + 1) * (d + 1)) = (c + d) ^ 2 * ((a + 1) * (b + 1))
Show the full Challenge.lean (135 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Unique Crystal Components

*Reference:* [arxiv/1601.03081](https://arxiv.org/abs/1601.03081)
**The Biharmonic mean**
by *Marco Abrate, Stefano Barbero, Umberto Cerruti, Nadir Murru*
-/

@[expose] public section

namespace Arxiv.«1601.03081»

/--
An odd number $n$ is called a crystal if $n = ab$, with $a, b > 1$
and $B(a, b) ∈ ℕ$, where $B(a, b) := ((a + b)^2 + (a b + 1)^2) / (2 (a + 1) (b + 1))$.
-/
def IsCrystalWithComponents (n a b : ℕ) : Prop :=
  Odd n ∧ 1 < a ∧ 1 < b ∧ n = a * b ∧ 2 * (a + 1) * (b + 1) ∣ (a + b)^2 + (a * b + 1)^2

@[category test, AMS 11]
theorem isCrystalWithComponents_35_5_7 : IsCrystalWithComponents 35 5 7 := by
  norm_num [IsCrystalWithComponents]

/-- The $B \iff P$ divisibility equivalence from Proposition 1. Oddness of $a$ suffices. -/
@[category API, AMS 11]
theorem biharmonic_dvd_iff_product (a b : ℕ) (ha : Odd a) :
    2 * (a + 1) * (b + 1) ∣ (a + b)^2 + (a * b + 1)^2 ↔
      (a + 1) * (b + 1) ∣ (a + b) * (a * b + 1) := by
  obtain ⟨k, hk⟩ := ha
  have hden : 2 * (a + 1) * (b + 1) ∣ ((a + 1) * (b + 1))^2 := by
    refine ⟨(k + 1) * (b + 1), ?_⟩
    rw [hk]
    ring
  have hid : (a + b)^2 + (a * b + 1)^2 + 2 * ((a + b) * (a * b + 1)) =
      ((a + 1) * (b + 1))^2 := by ring
  have hd : 2 * (a + 1) * (b + 1) ∣
      (a + b)^2 + (a * b + 1)^2 + 2 * ((a + b) * (a * b + 1)) := hid ▸ hden
  calc
    _ ↔ 2 * (a + 1) * (b + 1) ∣ 2 * ((a + b) * (a * b + 1)) :=
      ⟨fun h => (Nat.dvd_add_iff_right h).mpr hd,
        fun h => (Nat.dvd_add_iff_left h).mpr hd⟩
    _ ↔ _ := by rw [Nat.mul_assoc, Nat.mul_dvd_mul_iff_left (by decide : 0 < 2)]

/-- The $P \iff Q$ divisibility equivalence from Proposition 1. -/
@[category API, AMS 11]
theorem product_dvd_iff_sum_sq (a b : ℕ) :
    (a + 1) * (b + 1) ∣ (a + b) * (a * b + 1) ↔
      (a + 1) * (b + 1) ∣ (a + b)^2 := by
  have hd : (a + 1) * (b + 1) ∣ (a + b)^2 + (a + b) * (a * b + 1) := by
    have hid : (a + b)^2 + (a + b) * (a * b + 1) =
        (a + b) * ((a + 1) * (b + 1)) := by ring
    rw [hid]
    exact dvd_mul_left _ _
  exact ⟨fun h => (Nat.dvd_add_iff_left h).mpr hd,
    fun h => (Nat.dvd_add_iff_right h).mpr hd⟩

/-- The $P \iff F$ divisibility equivalence from Proposition 1. -/
@[category API, AMS 11]
theorem product_dvd_iff_mul_sq (a b : ℕ) :
    (a + 1) * (b + 1) ∣ (a + b) * (a * b + 1) ↔
      (a + 1) * (b + 1) ∣ (a * b + 1)^2 := by
  have hd : (a + 1) * (b + 1) ∣ (a * b + 1)^2 + (a + b) * (a * b + 1) := by
    have hid : (a * b + 1)^2 + (a + b) * (a * b + 1) =
        (a * b + 1) * ((a + 1) * (b + 1)) := by ring
    rw [hid]
    exact dvd_mul_left _ _
  exact ⟨fun h => (Nat.dvd_add_iff_left h).mpr hd,
    fun h => (Nat.dvd_add_iff_right h).mpr hd⟩

/-- Crystal components satisfy the equivalent $P$ divisibility condition of Proposition 1. -/
@[category API, AMS 11]
theorem isCrystalWithComponents_iff_product_dvd (n a b : ℕ) :
    IsCrystalWithComponents n a b ↔
      Odd n ∧ 1 < a ∧ 1 < b ∧ n = a * b ∧
        (a + 1) * (b + 1) ∣ (a + b) * (a * b + 1) := by
  unfold IsCrystalWithComponents
  refine and_congr_right fun hn => and_congr_right fun _ => and_congr_right fun _ => ?_
  refine and_congr_right fun hab => ?_
  exact biharmonic_dvd_iff_product a b (Nat.Odd.of_mul_left (hab ▸ hn))

/-- Crystal components satisfy the equivalent $Q$ divisibility condition of Proposition 1. -/
@[category API, AMS 11]
theorem isCrystalWithComponents_iff_sum_sq_dvd (n a b : ℕ) :
    IsCrystalWithComponents n a b ↔
      Odd n ∧ 1 < a ∧ 1 < b ∧ n = a * b ∧ (a + 1) * (b + 1) ∣ (a + b)^2 := by
  rw [isCrystalWithComponents_iff_product_dvd, product_dvd_iff_sum_sq]

/-- Crystal components satisfy the equivalent $F$ divisibility condition of Proposition 1. -/
@[category API, AMS 11]
theorem isCrystalWithComponents_iff_mul_sq_dvd (n a b : ℕ) :
    IsCrystalWithComponents n a b ↔
      Odd n ∧ 1 < a ∧ 1 < b ∧ n = a * b ∧ (a + 1) * (b + 1) ∣ (a * b + 1)^2 := by
  rw [isCrystalWithComponents_iff_product_dvd, product_dvd_iff_mul_sq]

-- TODO(firsching): formalize the recurrent-sequence characterization from section 3.

/--
If $n = ab$ is a crystal, then there are no other pairs of
positive integers $c, d > 1$, different from the couple $a, b$, such that $n = cd$ and
$B(c, d) ∈ ℕ$, i.e., the components of the crystals are unique.
-/
@[category research open, AMS 11 26]
theorem crystals_components_unique (n a b c d : ℕ)
    (hab : IsCrystalWithComponents n a b) (hcd : IsCrystalWithComponents n c d) :
    ({a, b} : Finset ℕ) = {c, d} := by
  sorry


/-- Intermediate lemma (nosorry): Left open by partial proof s-30fke58w44. -/
theorem crystal_ratio_eq (n a b c d : ℕ)
    (hab : IsCrystalWithComponents n a b) (hcd : IsCrystalWithComponents n c d) :
    (a + b) ^ 2 * ((c + 1) * (d + 1)) = (c + d) ^ 2 * ((a + 1) * (b + 1)) := by
  sorry

end Arxiv.«1601.03081»

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

nosorry desk lemma-arxiv-1601-03081-uniquecrystalcomponents-crystal-ratio-eq      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch lemma-arxiv-1601-03081-uniquecrystalcomponents-crystal-ratio-eq
nosorry submit lemma-arxiv-1601-03081-uniquecrystalcomponents-crystal-ratio-eq nosorry/lemma-arxiv-1601-03081-uniquecrystalcomponents-crystal-ratio-eq/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.