math / data /lean /ComparatorChallenges /ArnoldCounterexample.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
5.09 kB
import Mathlib
namespace OAI
noncomputable section
open scoped BigOperators ContDiff
namespace ArnoldCounterexample
abbrev CV := Fin 5 β†’ β„‚
def quadricPolynomial (z : CV) : β„‚ := βˆ‘ j, z j ^ 2
def normSquared (z : CV) : ℝ := βˆ‘ j, Complex.normSq (z j)
def IsUnitQuadric (z : CV) : Prop :=
normSquared z = 1 ∧ quadricPolynomial z = 0
abbrev UnitQuadric := {z : CV // IsUnitQuadric z}
/-- The literal projective quadric sum z_j^2 = 0 in CP^4. -/
def Q3 := {q : Projectivization β„‚ CV //
βˆƒ (z : CV) (hz : z β‰  0), Projectivization.mk β„‚ z hz = q ∧
quadricPolynomial z = 0}
def project (z : UnitQuadric) : Q3 := by
have hz : (z : CV) β‰  0 := by
intro h
have hunit := z.property.1
simp [normSquared, h] at hunit
exact ⟨Projectivization.mk β„‚ z hz, z, hz, rfl, z.property.2⟩
/-- Horizontal lifts of the real tangent of Q3 at [z]. -/
def Horizontal (z v : CV) : Prop :=
(βˆ‘ j, star (z j) * v j) = 0 ∧ (βˆ‘ j, z j * v j) = 0
/-- The restricted Fubini--Study form, evaluated on horizontal lifts. -/
def omega (v w : CV) : ℝ := 2 * (βˆ‘ j, star (v j) * w j).im
/-- A local smooth extension of the pullback of h to the unit isotropic cone. -/
def LocalFunctionLift (h : Q3 β†’ ℝ) (z : UnitQuadric)
(U : Set CV) (g : CV β†’ ℝ) : Prop :=
IsOpen U ∧ (z : CV) ∈ U ∧ ContDiffOn ℝ ∞ g U ∧
βˆ€ y : UnitQuadric, (y : CV) ∈ U β†’ g y = h (project y)
def IsSmoothFunction (h : Q3 β†’ ℝ) : Prop :=
βˆ€ z : UnitQuadric, βˆƒ (U : Set CV) (g : CV β†’ ℝ), LocalFunctionLift h z U g
structure SmoothFunction where
toFun : Q3 β†’ ℝ
smooth : IsSmoothFunction toFun
/-- dh_q = 0, expressed using all local lifts, independent of normal extensions. -/
def IsCritical (h : Q3 β†’ ℝ) (q : Q3) : Prop :=
βˆ€ z : UnitQuadric, project z = q β†’
βˆ€ (U : Set CV) (g : CV β†’ ℝ), LocalFunctionLift h z U g β†’
βˆ€ v : CV, Horizontal z v β†’ fderiv ℝ g z v = 0
def criticalSet (h : SmoothFunction) : Set Q3 := {q | IsCritical h.toFun q}
/-- The minimum critical number, including degenerate functions (ENat allows infinity). -/
def criticalNumber : β„•βˆž := β¨… h : SmoothFunction, (criticalSet h).encard
/-- An explicit smooth lift of a Hamiltonian isotopy, with inverse and generator.
The Hamiltonian equation uses i_X omega = dH. -/
structure HamiltonianPath (Ο† : Q3 ≃ Q3) where
forward : ℝ Γ— CV β†’ CV
backward : ℝ Γ— CV β†’ CV
hamiltonian : ℝ Γ— CV β†’ ℝ
forward_smooth : ContDiff ℝ ∞ forward
backward_smooth : ContDiff ℝ ∞ backward
hamiltonian_smooth : ContDiff ℝ ∞ hamiltonian
forward_preserves : βˆ€ t ∈ Set.Icc (0 : ℝ) 1, βˆ€ z : UnitQuadric,
IsUnitQuadric (forward (t, z))
backward_preserves : βˆ€ t ∈ Set.Icc (0 : ℝ) 1, βˆ€ z : UnitQuadric,
IsUnitQuadric (backward (t, z))
forward_phase : βˆ€ t ∈ Set.Icc (0 : ℝ) 1, βˆ€ z : UnitQuadric,
βˆ€ a : β„‚, Complex.normSq a = 1 β†’ forward (t, a β€’ (z : CV)) = a β€’ forward (t, z)
backward_phase : βˆ€ t ∈ Set.Icc (0 : ℝ) 1, βˆ€ z : UnitQuadric,
βˆ€ a : β„‚, Complex.normSq a = 1 β†’ backward (t, a β€’ (z : CV)) = a β€’ backward (t, z)
hamiltonian_phase : βˆ€ t ∈ Set.Icc (0 : ℝ) 1, βˆ€ z : UnitQuadric,
βˆ€ a : β„‚, Complex.normSq a = 1 β†’ hamiltonian (t, a β€’ (z : CV)) = hamiltonian (t, z)
left_inverse : βˆ€ t ∈ Set.Icc (0 : ℝ) 1, βˆ€ z : UnitQuadric,
backward (t, forward (t, z)) = z
right_inverse : βˆ€ t ∈ Set.Icc (0 : ℝ) 1, βˆ€ z : UnitQuadric,
forward (t, backward (t, z)) = z
start : βˆ€ z : UnitQuadric, forward (0, z) = z
finish : βˆ€ z : UnitQuadric,
project ⟨forward (1, z), forward_preserves 1 (by norm_num) z⟩ = Ο† (project z)
equation : βˆ€ t ∈ Set.Icc (0 : ℝ) 1, βˆ€ z : UnitQuadric, βˆ€ v : CV,
Horizontal (forward (t, z)) v β†’
omega (deriv (fun s : ℝ => forward (s, z)) t) v =
fderiv ℝ (fun w : CV => hamiltonian (t, w)) (forward (t, z)) v
def IsHamiltonian (Ο† : Q3 ≃ Q3) : Prop := Nonempty (HamiltonianPath Ο†)
def fixedSet (Ο† : Q3 ≃ Q3) : Set Q3 := {q | Ο† q = q}
/-- Eigenvalue 1 in the derivative on the quotient tangent, not an ambient
spurious vertical eigenvector. v is nonzero and horizontal. -/
def HasDegenerateFixedPoint (Ο† : Q3 ≃ Q3) : Prop :=
βˆƒ (z : UnitQuadric) (v : CV), Ο† (project z) = project z ∧ v β‰  0 ∧
Horizontal z v ∧ βˆƒ (U : Set CV) (G : CV β†’ CV),
IsOpen U ∧ (z : CV) ∈ U ∧ ContDiffOn ℝ ∞ G U ∧ G z = z ∧
(βˆ€ y : UnitQuadric, (y : CV) ∈ U β†’
βˆƒ hy : IsUnitQuadric (G y), project ⟨G y, hy⟩ = Ο† (project y)) ∧
βˆƒ a : ℝ, fderiv ℝ G z v - v = a β€’ (Complex.I β€’ (z : CV))
/-- The Hamiltonian counterexample, with the complete fixed set, the lower bound
for all smooth functions, and a genuine nonzero quotient-tangent eigenvector. -/
theorem main :
βˆƒ Ο† : Q3 ≃ Q3, IsHamiltonian Ο† ∧ (fixedSet Ο†).encard = 3 ∧
(3 : β„•βˆž) < 4 ∧ 4 ≀ criticalNumber ∧ HasDegenerateFixedPoint Ο† := by
sorry
end ArnoldCounterexample
end
end OAI