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.FormalGeometry.Completion.TorsionPointAction |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalPointLift |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FiniteGeneration |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Functor |
| 5 | import Mathlib.LinearAlgebra.FreeModule.PID |
| 6 | |
| 7 | /-! # Tate Module -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Geometric.TateModule |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Finite free Tate modules of actual geometric points in arbitrary |
| 14 | characteristic, at primes invertible in the ground field. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Functor |
| 21 | |
| 22 | universe u |
| 23 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 24 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 25 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 26 | |
| 27 | abbrev Points := Additive (𝟙_ (Over (Spec (.of k))) ⟶ A) |
| 28 | |
| 29 | theorem divisible (n : ℕ) (hn : (n : k) ≠ 0) (x : Points A) : |
| 30 | ∃ y : Points A, n • y = x := by |
| 31 | let m := ((𝟙 A : A ⟶ A) ^ n) |
| 32 | let : IsFinite m.left := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_isFinite A n hn |
| 33 | let : Surjective m.left := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_surjective A n hn |
| 34 | obtain ⟨y, hy⟩ := AlgebraicGeometry.FormalGeometry.Completion.RationalPointLift.Construction.exists_rationalPoint_lift m.left x.toMul.left |
| 35 | have yw : y ≫ A.hom = 𝟙 _ := by |
| 36 | rw [← m.w, ← Category.assoc, hy] |
| 37 | exact x.toMul.w |
| 38 | let y' : 𝟙_ (Over (Spec (.of k))) ⟶ A := Over.homMk y yw |
| 39 | have hy' : y' ≫ m = x.toMul := by |
| 40 | apply Over.OverMorphism.ext |
| 41 | exact hy |
| 42 | refine ⟨Additive.ofMul y', ?_⟩ |
| 43 | apply Additive.toMul.injective |
| 44 | rw [toMul_nsmul] |
| 45 | change y' ^ n = x.toMul |
| 46 | simpa only [m, MonObj.comp_pow, Category.comp_id] using hy' |
| 47 | |
| 48 | variable (ℓ : ℕ) [Fact ℓ.Prime] (hℓ : (ℓ : k) ≠ 0) |
| 49 | |
| 50 | include hℓ |
| 51 | |
| 52 | omit [GeometricallyIntegral A.hom] [Fact (Nat.Prime ℓ)] in |
| 53 | theorem torsion_finite (n : ℕ) : Finite (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.torsion ℓ (Points A) n) := by |
| 54 | let : Finite (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A (ℓ ^ n)) := |
| 55 | AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints_finite A (ℓ ^ n) (by |
| 56 | rw [Nat.cast_pow] |
| 57 | exact pow_ne_zero n hℓ) |
| 58 | let f : AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.torsion ℓ (Points A) n → AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A (ℓ ^ n) := |
| 59 | fun x => ⟨x.val.toMul, congrArg Additive.toMul x.property⟩ |
| 60 | apply Finite.of_injective f |
| 61 | intro x y h |
| 62 | apply Subtype.ext |
| 63 | apply Additive.toMul.injective |
| 64 | exact congrArg Subtype.val h |
| 65 | |
| 66 | theorem finite : Module.Finite ℤ_[ℓ] (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.Module (H := Points A) ℓ) := by |
| 67 | let : Finite (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.torsion ℓ (Points A) 1) := torsion_finite A ℓ hℓ 1 |
| 68 | exact AlgebraicGeometry.AbelianScheme.TateComparison.FiniteGeneration.Tate.finite_of_finite_torsion ℓ (divisible A ℓ hℓ) |
| 69 | |
| 70 | theorem free : Module.Free ℤ_[ℓ] (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.Module (H := Points A) ℓ) := by |
| 71 | let : Module.Finite ℤ_[ℓ] (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.Module (H := Points A) ℓ) := finite A ℓ hℓ |
| 72 | infer_instance |
| 73 | |
| 74 | theorem evaluate_surjective (n : ℕ) : |
| 75 | Function.Surjective (AlgebraicGeometry.AbelianScheme.TateComparison.Evaluation.Tate.evaluate (H := Points A) ℓ n) := |
| 76 | AlgebraicGeometry.AbelianScheme.TateComparison.Evaluation.Tate.evaluate_surjective ℓ (divisible A ℓ hℓ) n |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Geometric.TateModule |