Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartzBounds |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.MinkowskiCoordinatesPosition |
| 3 | |
| 4 | /-! # Support Lattice -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.SupportLattice |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct the actual support lattice and bounded lattice weight for |
| 11 | each finite Schwartz tensor in the rational theta sum. Every lattice |
| 12 | point comes from a unique rational position. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField BoundedContinuousFunction |
| 15 | |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.Evaluation |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.MinkowskiCoordinatesPosition OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartzBounds |
| 18 | |
| 19 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 20 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 21 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 22 | variable (A : BallGeometryData.BallArithmeticData F d m H K) |
| 23 | |
| 24 | def supportScale (f : FiniteSchwartz.finiteSchwartz F (3 * m)) : F := |
| 25 | (FiniteSchwartzBounds.finiteSchwartz_support_lattice F (3 * m) f).choose |
| 26 | |
| 27 | theorem supportScale_nonzero (f : FiniteSchwartz.finiteSchwartz F (3 * m)) : supportScale f ≠ 0 := |
| 28 | (FiniteSchwartzBounds.finiteSchwartz_support_lattice F (3 * m) f).choose_spec.1 |
| 29 | |
| 30 | def supportLattice (f : FiniteSchwartz.finiteSchwartz F (3 * m)) : Submodule ℤ (BallGeometryData.FrameIndex A → ℝ) := |
| 31 | MinkowskiCoordinatesPosition.coordinateSupportLattice A (supportScale f) |
| 32 | |
| 33 | instance supportLatticeDiscrete (f : FiniteSchwartz.finiteSchwartz F (3 * m)) : DiscreteTopology (supportLattice A f) := |
| 34 | MinkowskiCoordinatesPosition.coordinateSupportLattice_discrete A _ (supportScale_nonzero f) |
| 35 | |
| 36 | theorem supportLattice_rational (f : FiniteSchwartz.finiteSchwartz F (3 * m)) (l : supportLattice A f) : |
| 37 | ∃ x : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m), (fun i => (MinkowskiCoordinatesPosition.rationalPositionCoordinates A x i : ℝ)) = l.val := |
| 38 | MinkowskiCoordinatesPosition.coordinateSupportLattice_rational A _ (supportScale_nonzero f) l |
| 39 | |
| 40 | theorem rationalWeight_support (f : FiniteSchwartz.finiteSchwartz F (3 * m)) (x : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m)) |
| 41 | (hx : DataTheta.rationalWeight f x ≠ 0) : |
| 42 | (fun i => (MinkowskiCoordinatesPosition.rationalPositionCoordinates A x i : ℝ)) ∈ supportLattice A f := by |
| 43 | have hs := (FiniteSchwartzBounds.finiteSchwartz_support_lattice F (3 * m) f).choose_spec.2 x hx |
| 44 | exact ⟨Weil.AdelicSplitting.ThetaTest.Construction.mixedRationalPosition F (3 * m) x, hs, MinkowskiCoordinatesPosition.mixedPositionCoordinates_rational A x⟩ |
| 45 | |
| 46 | theorem rationalPosition_real_injective : |
| 47 | Function.Injective (fun x : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m) => fun i => (MinkowskiCoordinatesPosition.rationalPositionCoordinates A x i : ℝ)) := by |
| 48 | intro x y h |
| 49 | apply (MinkowskiCoordinatesPosition.rationalPositionCoordinates A).injective |
| 50 | funext i |
| 51 | have hi : (MinkowskiCoordinatesPosition.rationalPositionCoordinates A x i : ℝ) = (MinkowskiCoordinatesPosition.rationalPositionCoordinates A y i : ℝ) := congrFun h i |
| 52 | exact_mod_cast hi |
| 53 | |
| 54 | def latticeRationalPoint (f : FiniteSchwartz.finiteSchwartz F (3 * m)) (l : supportLattice A f) : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m) := |
| 55 | (supportLattice_rational A f l).choose |
| 56 | |
| 57 | theorem latticeRationalPoint_spec (f : FiniteSchwartz.finiteSchwartz F (3 * m)) (l : supportLattice A f) : |
| 58 | (fun i => (MinkowskiCoordinatesPosition.rationalPositionCoordinates A (latticeRationalPoint A f l) i : ℝ)) = l.val := |
| 59 | (supportLattice_rational A f l).choose_spec |
| 60 | |
| 61 | theorem latticeRationalPoint_of_rational (f : FiniteSchwartz.finiteSchwartz F (3 * m)) (x : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m)) |
| 62 | (hx : (fun i => (MinkowskiCoordinatesPosition.rationalPositionCoordinates A x i : ℝ)) ∈ supportLattice A f) : |
| 63 | latticeRationalPoint A f ⟨fun i => (MinkowskiCoordinatesPosition.rationalPositionCoordinates A x i : ℝ), hx⟩ = x := |
| 64 | rationalPosition_real_injective A (latticeRationalPoint_spec A f _) |
| 65 | |
| 66 | def latticeWeight (f : FiniteSchwartz.finiteSchwartz F (3 * m)) : supportLattice A f →ᵇ ℂ := by |
| 67 | let C := (FiniteSchwartzBounds.finiteSchwartz_uniform_bound F (3 * m) f).choose |
| 68 | have hC := (FiniteSchwartzBounds.finiteSchwartz_uniform_bound F (3 * m) f).choose_spec |
| 69 | let w : supportLattice A f → ℂ := fun l => DataTheta.rationalWeight f (latticeRationalPoint A f l) |
| 70 | refine BoundedContinuousFunction.mkOfBound ⟨w, continuous_of_discreteTopology⟩ (2 * C) ?_ |
| 71 | intro l t |
| 72 | calc |
| 73 | dist (w l) (w t) ≤ ‖w l‖ + ‖w t‖ := dist_le_norm_add_norm _ _ |
| 74 | _ ≤ C + C := add_le_add (hC _) (hC _) |
| 75 | _ = 2 * C := by ring |
| 76 | |
| 77 | theorem latticeWeight_apply (f : FiniteSchwartz.finiteSchwartz F (3 * m)) (l : supportLattice A f) : |
| 78 | latticeWeight A f l = DataTheta.rationalWeight f (latticeRationalPoint A f l) := by |
| 79 | unfold latticeWeight |
| 80 | rfl |
| 81 | |
| 82 | theorem latticeWeight_rational (f : FiniteSchwartz.finiteSchwartz F (3 * m)) (x : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m)) |
| 83 | (hx : (fun i => (MinkowskiCoordinatesPosition.rationalPositionCoordinates A x i : ℝ)) ∈ supportLattice A f) : |
| 84 | latticeWeight A f ⟨fun i => (MinkowskiCoordinatesPosition.rationalPositionCoordinates A x i : ℝ), hx⟩ = DataTheta.rationalWeight f x := by |
| 85 | rw [latticeWeight_apply, latticeRationalPoint_of_rational] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.RepresentationTheory.Theta.Adelic.SupportLattice |