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.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricLattice |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FlagComposites |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SplitBlocks |
| 4 | |
| 5 | /-! # Fiber Lattices -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FiberLattices |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Apply the geometric lattice construction to the actual TateComparison fibers |
| 12 | and composites. Characteristic zero is derived from the geometric point's |
| 13 | map to the number-field base. The split summands are finite free as well. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem charZero_of_field_spec_map {K k : Type u} [Field K] [CharZero K] [Field k] |
| 21 | (b : Spec (.of k) ⟶ Spec (.of K)) : CharZero k := by |
| 22 | let f : K →+* k := (Spec.preimage b).hom |
| 23 | exact charZero_of_injective_ringHom f.injective |
| 24 | |
| 25 | namespace SphericalPELAlbaneseData |
| 26 | |
| 27 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 28 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 29 | (D : Data.SphericalPELAlbaneseData E K s q) |
| 30 | {k : Type} [Field k] [IsAlgClosed k] |
| 31 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) |
| 32 | |
| 33 | local instance : Module ℚ_[q] |
| 34 | (Rational.rationalTateModule (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) := |
| 35 | TensorProduct.leftModule |
| 36 | |
| 37 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.fiberTate_finite : Module.Finite ℤ_[q] |
| 38 | (Add.schemeTateModule (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) := by |
| 39 | have := charZero_of_field_spec_map b |
| 40 | exact GeometricLattice.geometricTate_finite (D.fiberFamily b x).abelian q |
| 41 | |
| 42 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.fiberIntegralTateImage_isLattice : Submodule.IsLattice ℚ_[q] |
| 43 | (Rational.integralTateImage (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) := by |
| 44 | have := D.fiberTate_finite b x |
| 45 | have : Module.Free ℤ_[q] |
| 46 | (Add.schemeTateModule (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) := |
| 47 | Module.free_of_finite_type_torsion_free' (R := ℤ_[q]) |
| 48 | (M := Add.schemeTateModule (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) |
| 49 | exact TensorLattice.tensorIntegralImage_isLattice (Module.finBasis ℤ_[q] |
| 50 | (Add.schemeTateModule (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q)) |
| 51 | |
| 52 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.fiberTateBlock_finite_free (h : D.IsGoodCompletelySplitPrime) (v : Fin s × Bool) : |
| 53 | Module.Finite ℤ_[q] (D.integralTateBlock h (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) v) ∧ |
| 54 | Module.Free ℤ_[q] (D.integralTateBlock h (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) v) := by |
| 55 | have := D.fiberTate_finite b x |
| 56 | have : Module.Finite ℤ_[q] |
| 57 | (D.integralTateBlock h (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) v) := inferInstance |
| 58 | have : Module.IsTorsionFree ℤ_[q] |
| 59 | (D.integralTateBlock h (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) v) := |
| 60 | Module.IsTorsionFree.of_smul_eq_zero fun (r : ℤ_[q]) |
| 61 | (z : D.integralTateBlock h (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) v) hz => by |
| 62 | by_cases hr : r = 0 |
| 63 | · exact Or.inl hr |
| 64 | · apply Or.inr |
| 65 | apply Subtype.ext |
| 66 | exact Functor.Tate.smul_eq_zero_of_ne_zero q r hr z.val (congrArg Subtype.val hz) |
| 67 | exact ⟨inferInstance, Module.free_of_finite_type_torsion_free' (R := ℤ_[q]) |
| 68 | (M := D.integralTateBlock h (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) v)⟩ |
| 69 | |
| 70 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.flagCompositeLattice_isLattice {ts : List (Local.IntegralType s)} |
| 71 | (F : D.PELFlag b x ts) (p : D.CompositeSystem F) (e : D.FiberFrame b x) |
| 72 | (j : Fin (ts.length + 1)) (v : Fin s × Bool) : |
| 73 | Submodule.IsLattice ℚ_[q] (D.compositeLattice e p j v) := by |
| 74 | have := D.fiberIntegralTateImage_isLattice b (F.point j) |
| 75 | exact IsogenyLattices.framedTateLattice_isLattice |
| 76 | (A := (D.fiberFamily b x).abelian) (B := (D.fiberFamily b (F.point j)).abelian) |
| 77 | (𝟙 (Spec (.of k))) q e (p j).isogeny v |
| 78 | |
| 79 | end SphericalPELAlbaneseData |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FiberLattices |