Encyclopedia Astrophysics Astrophysics Picsimulation Lyapunov Piclyapunov Cert
ARTICLE 4 claims 3 theorems 1 model
Astrophysics Picsimulation Lyapunov Piclyapunov Cert
A machine-checked certificate records a simple rule for how plasma simulation chaos shrinks as resolution grows, and carefully stops short of claiming the rule is physically proven.
The PIC Lyapunov certificate
Particle-in-cell (PIC) simulations are a standard tool in plasma physics: they track many charged particles through their own collective electromagnetic fields, and the Lyapunov exponent measures how quickly nearby trajectories diverge, a practical proxy for chaotic behavior. The Recognition Science framework's library contains a machine-checked certificate, called PICLyapunovCert, that packages three formal facts about a proposed scaling rule for this exponent. The rule is that as the simulation resolution increases, moving from one rung to the next, the Lyapunov exponent shrinks by a factor of the golden ratio φ, roughly 1.618.
Concretely, the certificate fixes a reference value of 1 for the exponent at the coarsest resolution, defines the exponent at higher resolution rung k as φ raised to the power −k, and then proves three properties: the exponent is always positive, each step multiplies the previous value by φ⁻¹ (about 0.618), and the ratio between adjacent rungs is exactly φ⁻¹. These three claims are proved in the framework's machine-checked library of formal theorems, with no unproved assumptions. The certificate itself is a structure that bundles these three proofs together, and the library provides an explicit instance of it, so the whole package is a single object a programmer or physicist could inspect.
The empirical motivation comes from standard PIC literature: Dawson (1983) and Birdsall and Langdon (2004) document that doubling the number of macro-particles per Debye cell reduces numerical heating by a factor of φ². The framework notes this same φ² ratio appears in other contexts, such as Turing pattern thresholds and BCS pairing steps, and treats the PIC agreement as a structural prediction consistent with its broader phi-ladder scheme. That is a claim about a pattern across simulations, not a measurement of a real plasma.
In Recognition Science, this certificate is one small piece of a larger forcing chain that derives constants and structures from a single cost function. But the certificate itself does not prove that real plasmas follow this rule, nor that the golden ratio is the only possible scaling for PIC convergence. It establishes only the internal consistency of a definition: given the proposed formula, the three ratio properties follow. The physical claim, that actual PIC simulations exhibit this exact scaling, remains an empirical check, not a theorem. The certificate is a formal object, a compact summary of what the framework's definitions entail, and its value is precision about what follows from what.
THEOREM lyapunovAt_pos · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
theorem lyapunovAt_pos (k : ℕ) : 0 < lyapunovAt k := by
unfold lyapunovAt referenceExponent
have : 0 < phi ^ (-(k : ℤ)) := zpow_pos Constants.phi_pos _
linarith [this]
THEOREM lyapunovAt_succ_ratio · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
theorem lyapunovAt_succ_ratio (k : ℕ) :
lyapunovAt (k + 1) = lyapunovAt k * phi⁻¹ := by
unfold lyapunovAt
have hphi_ne : phi ≠ 0 := Constants.phi_ne_zero
have : phi ^ (-((k : ℤ) + 1)) = phi ^ (-(k : ℤ)) * phi⁻¹ := by
rw [show (-((k : ℤ) + 1)) = -(k : ℤ) + (-1 : ℤ) by ring]
rw [zpow_add₀ hphi_ne]; simp
have hcast : ((k + 1 : ℕ) : ℤ) = (k : ℤ) + 1 := by push_cast; ring
rw [hcast, this]; ring
THEOREM lyapunovAt_adjacent_ratio · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
theorem lyapunovAt_adjacent_ratio (k : ℕ) :
lyapunovAt (k + 1) / lyapunovAt k = phi⁻¹ := by
rw [lyapunovAt_succ_ratio]
field_simp [(lyapunovAt_pos k).ne']
MODEL picLyapunovCert · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
/-- PIC-simulation Lyapunov certificate. -/
def picLyapunovCert : PICLyapunovCert where
lyapunov_pos := lyapunovAt_pos
one_step_ratio := lyapunovAt_succ_ratio
adjacent_ratio := lyapunovAt_adjacent_ratio
What this page does not claim
The certificate does not prove that real plasma simulations obey the φ-ladder rule. It does not claim that φ is the only possible scaling for PIC convergence. It does not establish that numerical heating in a real PIC code follows the φ² ratio.
Verify this page
Every tagged claim above names its theorem. To check one yourself rather than trust this page, elaborate the source module with Lean 4 and audit its axiom basis:
$ lake env lean IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
expected axiom basis: [propext, Classical.choice, Quot.sound] (the Lean kernel's standard three; no RS-specific axioms)
A page whose claims cannot be reproduced this way does not ship. In production, every anchor links to the exact declaration in the public source release, and this block carries the build receipt for the page itself.
Derived articles
This page is generated by a question-recursion engine: the questions its answers raise become the next pages. The current agenda, with open targets marked red:
- How does the φ² scaling for numerical heating emerge from the particle-in-cell method?
- What would a direct measurement of Lyapunov exponents in a real plasma show?
- Does the same φ-ladder pattern appear in other numerical methods beyond PIC?
- What physical mechanism would explain why doubling resolution reduces heating by exactly φ²?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
THEOREM lyapunovAt_pos · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
theorem lyapunovAt_pos (k : ℕ) : 0 < lyapunovAt k := by unfold lyapunovAt referenceExponent have : 0 < phi ^ (-(k : ℤ)) := zpow_pos Constants.phi_pos _ linarith [this]The certificate proves that the Lyapunov exponent at resolution rung k is always positive. lyapunovAt_pos · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.leanTHEOREM lyapunovAt_succ_ratio · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
theorem lyapunovAt_succ_ratio (k : ℕ) : lyapunovAt (k + 1) = lyapunovAt k * phi⁻¹ := by unfold lyapunovAt have hphi_ne : phi ≠ 0 := Constants.phi_ne_zero have : phi ^ (-((k : ℤ) + 1)) = phi ^ (-(k : ℤ)) * phi⁻¹ := by rw [show (-((k : ℤ) + 1)) = -(k : ℤ) + (-1 : ℤ) by ring] rw [zpow_add₀ hphi_ne]; simp have hcast : ((k + 1 : ℕ) : ℤ) = (k : ℤ) + 1 := by push_cast; ring rw [hcast, this]; ringThe certificate proves that each step multiplies the previous Lyapunov exponent by φ⁻¹. lyapunovAt_succ_ratio · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.leanTHEOREM lyapunovAt_adjacent_ratio · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
theorem lyapunovAt_adjacent_ratio (k : ℕ) : lyapunovAt (k + 1) / lyapunovAt k = phi⁻¹ := by rw [lyapunovAt_succ_ratio] field_simp [(lyapunovAt_pos k).ne']The certificate proves that the ratio between adjacent rungs is exactly φ⁻¹. lyapunovAt_adjacent_ratio · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.leanMODEL picLyapunovCert · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean
/-- PIC-simulation Lyapunov certificate. -/ def picLyapunovCert : PICLyapunovCert where lyapunov_pos := lyapunovAt_pos one_step_ratio := lyapunovAt_succ_ratio adjacent_ratio := lyapunovAt_adjacent_ratioThe library provides an explicit instance of the certificate, bundling all three proofs. picLyapunovCert · IndisputableMonolith/Astrophysics/PICSimulationLyapunov.lean