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.MinimalEquationIdeal |
| 2 | import Mathlib.RingTheory.LocalRing.ResidueField.Basic |
| 3 | |
| 4 | /-! # Minimal Field Extension Ranks -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.MinimalFieldExtensionRanks |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Minimal-complex ranks compute H0 and H1 after every local map to a |
| 11 | field, including the actual function ring of a geometric closed fiber. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem baseChange_zero_of_residue_zero |
| 19 | {R M N : Type u} [CommRing R] [IsLocalRing R] |
| 20 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 21 | [Module.Free R N] (f : M →ₗ[R] N) |
| 22 | (hf : f.baseChange (IsLocalRing.ResidueField R) = 0) |
| 23 | (T : Type u) [Field T] [Algebra R T] [IsLocalHom (algebraMap R T)] : |
| 24 | f.baseChange T = 0 := by |
| 25 | let b := Module.Free.chooseBasis R N |
| 26 | have hz (m : M) : (1 ⊗ₜ[R] f m : T ⊗[R] N) = 0 := by |
| 27 | apply (Normalized.KernelBaseChange.tensor_one_eq_zero_iff_coefficients T b _).mpr |
| 28 | have hk : (1 ⊗ₜ[R] f m : IsLocalRing.ResidueField R ⊗[R] N) = 0 := by |
| 29 | change f.baseChange (IsLocalRing.ResidueField R) (1 ⊗ₜ[R] m) = 0 |
| 30 | rw [hf, LinearMap.zero_apply] |
| 31 | have hc := (Normalized.KernelBaseChange.tensor_one_eq_zero_iff_coefficients (IsLocalRing.ResidueField R) b _).mp hk |
| 32 | intro i |
| 33 | exact (congrArg (IsLocalRing.ResidueField.lift (algebraMap R T)) (hc i)).trans (map_zero _) |
| 34 | ext m |
| 35 | exact hz m |
| 36 | |
| 37 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 38 | {S : ShortComplex (ModuleCat.{u} R)} (P : AlgebraicGeometry.Quotients.FiniteDescent.LocalMinimalShort.Construction.LocalSectionLifting.LocalMinimalShortComplex S) |
| 39 | (T : Type u) [Field T] [Algebra R T] [IsLocalHom (algebraMap R T)] |
| 40 | |
| 41 | def minimalFieldFirstCyclesEquiv : |
| 42 | LinearMap.ker (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R T S).f.hom ≃ₗ[T] (T ⊗[R] P.complex.X₁) := |
| 43 | (P.baseChangeFirstCyclesEquiv T).trans (LinearEquiv.ofTop _ (by |
| 44 | change LinearMap.ker (P.complex.f.hom.baseChange T) = ⊤ |
| 45 | rw [baseChange_zero_of_residue_zero P.complex.f.hom P.incoming_residue_zero T, |
| 46 | LinearMap.ker_zero])) |
| 47 | |
| 48 | theorem minimal_first_finrank_eq_field_cycles : |
| 49 | Module.finrank R P.complex.X₁ = |
| 50 | Module.finrank T (LinearMap.ker (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R T S).f.hom) := by |
| 51 | have h := (minimalFieldFirstCyclesEquiv P T).finrank_eq |
| 52 | rw [Module.finrank_baseChange] at h |
| 53 | exact h.symm |
| 54 | |
| 55 | def minimalFieldHomologyIso : |
| 56 | (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R T S).homology ≅ ModuleCat.of T (T ⊗[R] P.complex.X₂) := |
| 57 | P.baseChangeHomologyIso T ≪≫ |
| 58 | (ShortComplex.LeftHomologyData.ofZeros (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R T P.complex) |
| 59 | (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex_f_zero R T P.complex |
| 60 | (baseChange_zero_of_residue_zero P.complex.f.hom P.incoming_residue_zero T)) |
| 61 | (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex_g_zero R T P.complex |
| 62 | (baseChange_zero_of_residue_zero P.complex.g.hom P.outgoing_residue_zero T))).homologyIso |
| 63 | |
| 64 | theorem minimal_middle_finrank_eq_field_cohomology : |
| 65 | Module.finrank R P.complex.X₂ = Module.finrank T (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R T S).homology := by |
| 66 | have h := (minimalFieldHomologyIso P T).toLinearEquiv.finrank_eq |
| 67 | change Module.finrank T (AlgebraicGeometry.Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R T S).homology = |
| 68 | Module.finrank T (T ⊗[R] P.complex.X₂) at h |
| 69 | rw [Module.finrank_baseChange] at h |
| 70 | exact h.symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.RepresentationTheory.Theta.Geometric.MinimalFieldExtensionRanks |