Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Mode equation: r(t)=u e−iωtr(t)=u\,e^{-i\omega t}r(t)=ue−iωt solves the equation of motion iff M(ω)u=0M(\omega)u=0M(ω)u=0

Proved
PenningTrap.mode_ansatz_iff_mulVec_eq_zero

by LG · Sep 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-algebramathematical-physicspenning-trap

Let KKK be a real 3×33\times33×3 matrix, b∈R3b\in\mathbb{R}^3b∈R3, and ωc,ω\omega_c,\omegaωc​,ω real numbers, and let u∈C3u\in\mathbb{C}^3u∈C3 be a complex amplitude. Consider the complex exponential ansatz r(t)=u e−iωtr(t)=u\,e^{-i\omega t}r(t)=ue−iωt.

Then rrr satisfies the equation of motion of a particle in the linear force field −Kr-Kr−Kr and the magnetic field along bbb,

r′′(t)=−K r(t)+ωc(r′(t)×b)for all t∈R,r''(t)=-K\,r(t)+\omega_c\big(r'(t)\times b\big)\qquad\text{for all }t\in\mathbb{R},r′′(t)=−Kr(t)+ωc​(r′(t)×b)for all t∈R,

if and only if the amplitude lies in the kernel of the mode matrix:

M(ω) u=0,M(ω)=K−ω2I−i ω ωc C(b).M(\omega)\,u=0,\qquad M(\omega)=K-\omega^2I-i\,\omega\,\omega_c\,C(b).M(ω)u=0,M(ω)=K−ω2I−iωωc​C(b).

This is the step that justifies studying the trap through M(ω)M(\omega)M(ω) and its determinant: the normal-mode frequencies of the trap are exactly the ω\omegaω for which a non-zero amplitude exists, i.e. for which det⁡M(ω)=0\det M(\omega)=0detM(ω)=0.

Formalization Note. The equation of motion is stated componentwise with the derivative of a complex-valued function of a real variable, applied twice; KKK and bbb act on complex vectors after entrywise coercion. No hypothesis is placed on KKK, bbb, ωc\omega_cωc​ or ω\omegaω.

Preamble
import Mathlib
import Definitions.Def_PenningTrap_model
open Matrix
Formal statement
namespace PenningTrap

theorem mode_ansatz_iff_mulVec_eq_zero (K : Matrix (Fin 3) (Fin 3) ℝ) (b : Fin 3 → ℝ)
    (wc w : ℝ) (u : Fin 3 → ℂ) :
    (∀ t : ℝ, ∀ i : Fin 3,
        deriv (fun s : ℝ => deriv (fun σ : ℝ => u i * Complex.exp (-(Complex.I * w * σ))) s) t
          = -((K.map (fun x : ℝ => (x : ℂ))).mulVec
                (fun j => u j * Complex.exp (-(Complex.I * w * t))) i)
            + (wc : ℂ) *
              crossProduct
                (fun j => deriv (fun σ : ℝ => u j * Complex.exp (-(Complex.I * w * σ))) t)
                (fun j => (b j : ℂ)) i)
      ↔ (modeMatrix K b wc w).mulVec u = 0 := by sorry

end PenningTrap
Source
X. Fan, T. G. Myers, B. A. D. Sukra, G. Gabrielse, Measurement of the Electron Magnetic Moment, Phys. Rev. Lett. 130, 071801 (2023), arXiv:2209.13084v2, p. 2, Eq. (4) (invariance theorem), with Eq. (2)-(3) for the trap frequencies; original source L. S. Brown and G. Gabrielse, Phys. Rev. A 25, 2423 (1982).
Read-back

What the Lean code literally says, in plain math · NOT INDEPENDENT - written by the drafting agent itself (Aristotle by Harmonic), not by a blind auditor

Disclosure — this read-back is NOT blind. It was written by the same agent that drafted the Lean statements of this proposal, at the explicit instruction of the proposal owner, and not by an independent auditor working from the code alone. It is therefore not independent testimony and must not be counted as an independence check: any misreading baked into the formalization is likely reproduced here verbatim. Please obtain a blind read-back from an independent auditor before relying on these statements.

Let KKK be an arbitrary real 3×33\times 33×3 matrix (no symmetry or trace assumption), let b=(b1,b2,b3)b=(b_1,b_2,b_3)b=(b1​,b2​,b3​) be an arbitrary triple of real numbers (not assumed to be a unit vector, possibly zero), let ωc\omega_cωc​ and ω\omegaω be arbitrary real numbers (either may be 000), and let u=(u1,u2,u3)u=(u_1,u_2,u_3)u=(u1​,u2​,u3​) be an arbitrary triple of complex numbers (possibly all zero). For each index jjj write

fj(s)  =  uj e−iωs(s∈R),f_j(s)\;=\;u_j\,e^{-i\omega s}\qquad (s\in\mathbb{R}),fj​(s)=uj​e−iωs(s∈R),

a complex-valued function of a real variable. The statement asserts the equivalence of the following two assertions.

(A) The equation of motion holds pointwise. For every real time ttt and every index i∈{1,2,3}i\in\{1,2,3\}i∈{1,2,3},

fi′′(t)  =  −(K f(t))i  +  ωc (f′(t)×b)i,f_i''(t)\;=\;-\big(K\,f(t)\big)_i\;+\;\omega_c\,\big(f'(t)\times b\big)_i,fi′′​(t)=−(Kf(t))i​+ωc​(f′(t)×b)i​,

where f(t)=(f1(t),f2(t),f3(t))f(t)=(f_1(t),f_2(t),f_3(t))f(t)=(f1​(t),f2​(t),f3​(t)), f′(t)f'(t)f′(t) is the triple of first derivatives at ttt, KKK acts on the complex vector f(t)f(t)f(t) after each of its entries is read as a complex number, bbb is likewise read as a complex vector, ×\times× is the cross product (of f′(t)f'(t)f′(t) with bbb, in that order), and fi′′(t)f_i''(t)fi′′​(t) is the derivative at ttt of the function s↦fi′(s)s\mapsto f_i'(s)s↦fi′​(s). Derivatives are the usual derivatives of a complex-valued function of one real variable; the differentiation operator used is total, returning 000 where a function is not differentiable, though every function occurring here is differentiable everywhere.

(B) The amplitude is a null vector of the mode matrix. The matrix–vector product M(ω) uM(\omega)\,uM(ω)u is the zero vector of C3\mathbb{C}^3C3, where

M(ω)=K−ω2I−i ω ωc C(b),C(b)=(0−b3b2b30−b1−b2b10).M(\omega)=K-\omega^{2}I-i\,\omega\,\omega_c\,C(b),\qquad C(b)=\begin{pmatrix}0&-b_3&b_2\\ b_3&0&-b_1\\ -b_2&b_1&0\end{pmatrix}.M(ω)=K−ω2I−iωωc​C(b),C(b)=​0b3​−b2​​−b3​0b1​​b2​−b1​0​​.

The claim is the two-way implication (A)   ⟺  \iff⟺ (B) for every choice of the data above. Degenerate instances are included: if u=0u=0u=0 both sides hold; if ω=0\omega=0ω=0, ωc=0\omega_c=0ωc​=0, or b=0b=0b=0 the statement still asserts the equivalence for those values.

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

    Confirmed by the moderator at approval.

  • Endorsed by LG · 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me