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.Geometric.MinimalNormalizedSections |
| 2 | import Mathlib.LinearAlgebra.Dimension.Free |
| 3 | |
| 4 | /-! # Minimal Section Local Equations -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.MinimalSectionLocalEquations |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! If a fiber has one-dimensional H0 and a normalized section, its |
| 11 | normalized-section functor has exactly H1-many local equations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 19 | {S : ShortComplex (ModuleCat.{u} R)} (P : AlgebraicGeometry.Quotients.FiniteDescent.LocalMinimalShort.Construction.LocalSectionLifting.LocalMinimalShortComplex S) |
| 20 | |
| 21 | def minimalFirstRankOne |
| 22 | (h0 : Module.finrank (IsLocalRing.ResidueField R) |
| 23 | (LinearMap.ker (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).f.hom) = 1) : |
| 24 | R ≃ₗ[R] P.complex.X₁ := |
| 25 | LinearEquiv.ofFinrankEq R P.complex.X₁ |
| 26 | ((Module.finrank_self R).trans (P.first_finrank_eq_residue_cycles.trans h0).symm) |
| 27 | |
| 28 | theorem minimalSectionFunctional_isUnit |
| 29 | (e : R ≃ₗ[R] P.complex.X₁) (v : S.X₁ →ₗ[R] R) |
| 30 | (hsection : ∃ m : IsLocalRing.ResidueField R ⊗[R] S.X₁, |
| 31 | S.f.hom.baseChange (IsLocalRing.ResidueField R) m = 0 ∧ |
| 32 | Normalized.KernelBaseChange.scalarFunctionalBaseChange (IsLocalRing.ResidueField R) v m = 1) : |
| 33 | IsUnit (MinimalNormalizedSections.minimalSectionFunctional P v (e 1)) := by |
| 34 | let k := IsLocalRing.ResidueField R |
| 35 | obtain ⟨m, _, hm⟩ := (MinimalNormalizedSections.normalized_minimal_cycles_iff P k v).mp hsection |
| 36 | let e' := Normalized.KernelBaseChange.rankOneBaseChange k e |
| 37 | let v' := Normalized.KernelBaseChange.scalarFunctionalBaseChange k (MinimalNormalizedSections.minimalSectionFunctional P v) |
| 38 | apply (IsLocalRing.residue_ne_zero_iff_isUnit _).mp |
| 39 | intro hz |
| 40 | have hzero : v' (e' 1) = 0 := by |
| 41 | change Normalized.KernelBaseChange.scalarFunctionalBaseChange k (MinimalNormalizedSections.minimalSectionFunctional P v) |
| 42 | (Normalized.KernelBaseChange.rankOneBaseChange k e 1) = 0 |
| 43 | rw [Normalized.KernelBaseChange.rankOneBaseChange_one, Normalized.KernelBaseChange.scalarFunctionalBaseChange_tmul, mul_one] |
| 44 | exact hz |
| 45 | have he : v' m = e'.symm m • v' (e' 1) := by |
| 46 | calc |
| 47 | v' m = v' (e' (e'.symm m)) := congrArg v' (e'.apply_symm_apply m).symm |
| 48 | _ = _ := (congrArg v' (Normalized.RankOneKernel.rankOne_apply e' (e'.symm m))).trans |
| 49 | (map_smul v' (e'.symm m) (e' 1)) |
| 50 | rw [hzero, smul_zero] at he |
| 51 | exact zero_ne_one (he.symm.trans hm) |
| 52 | |
| 53 | include P in |
| 54 | theorem exists_minimal_normalized_equations |
| 55 | (h0 : Module.finrank (IsLocalRing.ResidueField R) |
| 56 | (LinearMap.ker (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).f.hom) = 1) |
| 57 | (v : S.X₁ →ₗ[R] R) |
| 58 | (hsection : ∃ m : IsLocalRing.ResidueField R ⊗[R] S.X₁, |
| 59 | S.f.hom.baseChange (IsLocalRing.ResidueField R) m = 0 ∧ |
| 60 | Normalized.KernelBaseChange.scalarFunctionalBaseChange (IsLocalRing.ResidueField R) v m = 1) : |
| 61 | ∃ n : ℕ, n = Module.finrank (IsLocalRing.ResidueField R) |
| 62 | (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).homology ∧ |
| 63 | ∃ r : Fin n → R, |
| 64 | ∀ (T : Type u) [CommRing T] [Algebra R T], |
| 65 | (∃ m : T ⊗[R] S.X₁, S.f.hom.baseChange T m = 0 ∧ |
| 66 | Normalized.KernelBaseChange.scalarFunctionalBaseChange T v m = 1) ↔ |
| 67 | Ideal.span (Set.range r) ≤ RingHom.ker (algebraMap R T) := by |
| 68 | let e := minimalFirstRankOne P h0 |
| 69 | let b := Module.finBasis R P.complex.X₂ |
| 70 | have hu : IsUnit (MinimalNormalizedSections.minimalSectionFunctional P v (e 1)) := |
| 71 | minimalSectionFunctional_isUnit P e v hsection |
| 72 | refine ⟨Module.finrank R P.complex.X₂, P.middle_finrank_eq_residue_cohomology, |
| 73 | fun i => b.repr (P.complex.f (e 1)) i, ?_⟩ |
| 74 | intro T _ _ |
| 75 | exact MinimalNormalizedSections.normalized_minimal_section_equations P T b e v hu |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.RepresentationTheory.Theta.Geometric.MinimalSectionLocalEquations |