Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The sign of ddd can be chosen so that ad>0a d > 0ad>0

Proved
QuadraticWell.sign_choice

by ShapeZero · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

golden-rationondimensionalizationordinary-differential-equations

Let a≠0a \neq 0a=0 and r1≠r2r_1 \neq r_2r1​=r2​ be real. Then

a r1−r22>0ora r2−r12>0,a\,\frac{r_1 - r_2}{2} > 0 \qquad\text{or}\qquad a\,\frac{r_2 - r_1}{2} > 0 ,a2r1​−r2​​>0ora2r2​−r1​​>0,

so for one choice of d=±(r1−r2)/2d = \pm(r_1 - r_2)/2d=±(r1​−r2​)/2 the time scale ω=ad\omega = \sqrt{a d}ω=ad​ is real and positive.

Preamble
import Mathlib
Formal statement
namespace QuadraticWell

theorem sign_choice (a r₁ r₂ : ℝ) (ha : a ≠ 0) (hr : r₁ ≠ r₂) :
    0 < a * ((r₁ - r₂) / 2) ∨ 0 < a * ((r₂ - r₁) / 2) := by
  sorry

end QuadraticWell
Source
Motivated by the scaling analysis in the Shape Zero derivation (Shape Zero LLC): https://github.com/ShapeZeroSZ/shape-zero/blob/main/00_START_HERE/MODEL_SPEC.md §1b ; public references: Wikipedia, "Nondimensionalization": https://en.wikipedia.org/wiki/Nondimensionalization ; Wikipedia, "Golden ratio": https://en.wikipedia.org/wiki/Golden_ratio
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

QuadraticWell.sign_choice. Let aaa, r1r_1r1​ and r2r_2r2​ be arbitrary real numbers, all universally quantified. There are no other variables and no typeclass assumptions. The statement has two hypotheses:

  • a≠0a \neq 0a=0;
  • r1≠r2r_1 \neq r_2r1​=r2​.

Under these hypotheses, the statement asserts that at least one of two strict inequalities holds (an inclusive "or"):

0<a⋅r1−r22or0<a⋅r2−r12.0 < a \cdot \frac{r_1 - r_2}{2} \qquad\text{or}\qquad 0 < a \cdot \frac{r_2 - r_1}{2}.0<a⋅2r1​−r2​​or0<a⋅2r2​−r1​​.

Here ⋅2\frac{\cdot}{2}2⋅​ is ordinary real division by the nonzero constant 222. No division by zero or other junk value occurs. The statement does not say which of the two disjuncts holds, and it does not claim that exactly one holds. Both hypotheses can be satisfied (for example a=1a = 1a=1, r1=1r_1 = 1r1​=1, r2=0r_2 = 0r2​=0), so the statement is not vacuous. The cases a=0a = 0a=0 and r1=r2r_1 = r_2r1​=r2​ are excluded by the hypotheses, and the statement says nothing about them. In both of those cases each product is 000, so neither strict inequality would hold. No other relationship between aaa, r1r_1r1​ and r2r_2r2​ is assumed: aaa may be positive or negative, and r1r_1r1​ may be larger or smaller than r2r_2r2​.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by ShapeZero · Sep 27, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me