Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Upper-branch frequency ω(q)\omega(q)ω(q) on a uniform gyroscopic ring

Definition
PinnedAsymmetry_omega

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

mathematical-physicstrigonometry

Fix real numbers KKK (on-site stiffness), ccc (neighbour coupling), β\betaβ (gyroscopic strength) and a wavenumber qqq. The upper-branch frequency of a wave with wavenumber qqq on a uniform ring is

ω(q)=βcsin⁡q+(βcsin⁡q)2+K+2c (1−cos⁡q).\omega(q) = \beta c \sin q + \sqrt{\bigl(\beta c \sin q\bigr)^2 + K + 2c\,(1 - \cos q)} .ω(q)=βcsinq+(βcsinq)2+K+2c(1−cosq)​.

When the quantity under the square root is non-negative, ω(q)\omega(q)ω(q) is a root of the dispersion relation ω2−2βcsin⁡q ω−(K+2c(1−cos⁡q))=0\omega^2 - 2\beta c \sin q\,\omega - (K + 2c(1-\cos q)) = 0ω2−2βcsinqω−(K+2c(1−cosq))=0 (milestone M1).

Formalization Note The square root is Real.sqrt, which returns 000 on negative inputs; no sign conditions are placed on K,c,β,qK, c, \beta, qK,c,β,q.

Definition code
import Mathlib

open Real

namespace PinnedAsymmetry

/-- Upper-branch frequency on a uniform ring: stiffness K, neighbour coupling c,
gyroscopic strength β, wavenumber q. -/
noncomputable def omega (K c β q : ℝ) : ℝ :=
  β * c * sin q + Real.sqrt ((β * c * sin q) ^ 2 + K + 2 * c * (1 - cos q))

end PinnedAsymmetry
Source
Shape Zero LLC, "Formal Proofs of the C1 Verification Package" (August 2026), §7, Theorem 7.1 (dispersion relation): https://github.com/ShapeZeroSZ/shape-zero/blob/main/01_source/proofs/ShapeZero_C1_Formal_Proofs.pdf ; corrected in "Errata — C1 Formal Proofs (Sections 3 and 6)", "Related: the pinned asymmetry (Section 7)": https://github.com/ShapeZeroSZ/shape-zero/blob/main/01_source/proofs/ERRATUM_Theorem_6.1.md
Read-back

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

Definition PinnedAsymmetry.omega. This defines a real-valued function ω\omegaω of four real arguments K,c,β,q∈RK, c, \beta, q \in \mathbb{R}K,c,β,q∈R, in that order. Nothing restricts the arguments: KKK, ccc and β\betaβ can be any real numbers, including zero and negative values, and qqq is any real number used as an angle in radians inside the real sine and cosine. Write

A  =  β c sin⁡q,R  =  A2+K+2c (1−cos⁡q).A \;=\; \beta\, c\, \sin q, \qquad R \;=\; A^2 + K + 2c\,(1 - \cos q).A=βcsinq,R=A2+K+2c(1−cosq).

The definition is

ω(K,c,β,q)  =  A+sqrt⁡(R)  =  βcsin⁡q  +  sqrt⁡ ⁣((βcsin⁡q)2+K+2c (1−cos⁡q)).\omega(K, c, \beta, q) \;=\; A + \operatorname{sqrt}(R) \;=\; \beta c \sin q \;+\; \operatorname{sqrt}\!\Big( (\beta c \sin q)^2 + K + 2c\,(1-\cos q) \Big).ω(K,c,β,q)=A+sqrt(R)=βcsinq+sqrt((βcsinq)2+K+2c(1−cosq)).

Here sqrt⁡\operatorname{sqrt}sqrt is Mathlib's total real square root. For x>0x > 0x>0 it returns the unique nonnegative yyy with y2=xy^2 = xy2=x. For every x≤0x \le 0x≤0 it returns exactly 000, with no error and no complex value. Its output is always ≥0\ge 0≥0. Only the "+++" branch of the root appears. Nothing in the definition selects a "−-−" branch, and there is no division.

Edge cases the definition allows:

  • The radicand is at most zero. This happens when R≤0R \le 0R≤0. Since A2≥0A^2 \ge 0A2≥0 and 1−cos⁡q≥01 - \cos q \ge 01−cosq≥0, RRR can be negative only if K<0K < 0K<0, or if c<0c < 0c<0 with cos⁡q≠1\cos q \ne 1cosq=1. In that case the square root silently becomes 000 and ω(K,c,β,q)=βcsin⁡q\omega(K,c,\beta,q) = \beta c \sin qω(K,c,β,q)=βcsinq.
  • The sign of ω\omegaω. If K+2c(1−cos⁡q)≥0K + 2c(1-\cos q) \ge 0K+2c(1−cosq)≥0, then sqrt⁡(R)≥∣A∣\operatorname{sqrt}(R) \ge |A|sqrt(R)≥∣A∣, so ω≥0\omega \ge 0ω≥0. If K+2c(1−cos⁡q)<0K + 2c(1-\cos q) < 0K+2c(1−cosq)<0 and A<0A < 0A<0, then ω\omegaω is negative.
  • Special values.
    • When qqq is a multiple of 2π2\pi2π, sin⁡q=0\sin q = 0sinq=0 and cos⁡q=1\cos q = 1cosq=1, so ω=sqrt⁡(K)\omega = \operatorname{sqrt}(K)ω=sqrt(K). This equals K\sqrt{K}K​ when K≥0K \ge 0K≥0 and 000 when K<0K < 0K<0.
    • When β=0\beta = 0β=0 or c=0c = 0c=0, A=0A = 0A=0, so ω=sqrt⁡(K+2c(1−cos⁡q))\omega = \operatorname{sqrt}\big(K + 2c(1-\cos q)\big)ω=sqrt(K+2c(1−cosq)).
    • When c=0c = 0c=0, this reduces further to ω=sqrt⁡(K)\omega = \operatorname{sqrt}(K)ω=sqrt(K) for every β\betaβ and qqq.

The declaration is marked noncomputable. It is only a definition and asserts no property of ω\omegaω.

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

    Confirmed by the moderator at approval.

  • Endorsed by ShapeZero · Sep 24, 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