Download data/lean/ComparatorChallenges/ArnoldCounterexample.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.09 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/ComparatorChallenges/ArnoldCounterexample.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/ComparatorChallenges/ArnoldCounterexample.lean
-
curl -L -o ArnoldCounterexample.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/ComparatorChallenges/ArnoldCounterexample.lean
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 | |