mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
Editor rules updated (.cursorrules, .clinerules, copilot-instructions, .roo): - Build: 3571 jobs, 0 errors - Sorry inventory: 8 across 4 files (all documented) - Q16_16 compliance, new modules list, FPGA info - Fixed stale path in copilot-instructions Opencode agents: - 3 marked RESOLVED (pist-simulation, qfactor, ssms) - 2 new agents created (adjugate-matrix, hamiltonian-mechanics) - 1 updated (hyperbolic-statesurface) SORRY_AUDIT.md: updated to 8 sorries across 4 files
1.4 KiB
1.4 KiB
| description | mode | model | permission | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Fix the Picard-Lindelöf existence sorry in HamiltonianMechanics.lean (legacy). Use ONLY when asked to fix HamiltonianMechanics sorry or formalize ODE existence. | subagent | anthropic/claude-sonnet-4-6 |
|
Fix HamiltonianMechanics.lean sorry
Context
Semantics/legacy/6point5sigma/HamiltonianMechanics.lean:391 has:
have hex : ∃ γ, IsSolutionND f x₀ γ := sorry
This is the Picard-Lindelöf existence theorem for ODEs. The uniqueness half (picard_lindelof_uniqueness) is already proven. The existence half requires:
- Formalizing
C([-T,T])as a complete metric space - The weighted-norm contraction estimate
- The local-to-global extension argument
- The linear growth bound
‖f(x)‖ ≤ ‖f(x₀)‖ + K‖x - x₀‖prevents blowup
Note: This file is in legacy/6point5sigma/ and is not part of the active Compiler surface. It does not block lake build Compiler or lake build. Priority is low.
Steps
- Read
Semantics/legacy/6point5sigma/HamiltonianMechanics.leanaround lines 380-395 - Read the
IsSolutionNDdefinition andpicard_lindelof_uniquenesstheorem - Determine if Mathlib has a Picard-Lindelöf existence theorem that can be used
- If not, formalize the contraction mapping argument on
C([-T,T]) - Build:
lake build Semantics.legacy.6point5sigma.HamiltonianMechanics(if in lakefile)