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.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ChainCoefficientNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.ExtCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.FunctorCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.ProductScalarKernel |
| 5 | |
| 6 | /-! # Coefficient Naturality -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.CoefficientNaturality |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Coefficient maps in the original Ext resolution retain the canonical |
| 13 | native frame Čech section coordinates. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | |
| 17 | universe u v z |
| 18 | |
| 19 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 20 | {ι : Type v} (F : ι → C) (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 21 | [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] |
| 22 | {H H' : Sheaf J (ModuleCat.{max u v} R)} (μ : H ⟶ H') |
| 23 | |
| 24 | local instance moduleProducts : HasProducts.{v} (ModuleCat.{max u v} R) := by |
| 25 | let h : HasLimitsOfSize.{v, v} (ModuleCat.{max u v} R) := |
| 26 | ModuleCat.hasLimitsOfSize.{v, v, max u v, max u v} |
| 27 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 28 | |
| 29 | def map : FrameCech.Ext.Comparison.liftedComplex.{u, v, z} F R J H ⟶ |
| 30 | FrameCech.Ext.Comparison.liftedComplex.{u, v, z} F R J H' := |
| 31 | ((ModuleCat.uliftFunctor.{z, max u v} R).mapHomologicalComplex (.up ℕ)).map |
| 32 | ((NonemptyCechNerve.complexFunctor F).map μ.hom) |
| 33 | |
| 34 | def resolutionMap := Acyclic.ChainCoefficientNaturality.complexMap R μ |
| 35 | (CoveringPresentationResolution.complex J R F) |
| 36 | |
| 37 | omit [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] in |
| 38 | theorem sections (n : ℕ) (f : (CoveringPresentationResolution.complex J R F).X n ⟶ H) |
| 39 | (t : Fin (n + 1) → ι) : |
| 40 | Presentation.ResolutionCoordinates.sheaf F R n J H' (f ≫ μ) t = |
| 41 | μ.hom.app (op (Presentation.TupleProducts.family F n t)) |
| 42 | (Presentation.ResolutionCoordinates.sheaf F R n J H f t) := by |
| 43 | let U := op (Presentation.TupleProducts.family F n t) |
| 44 | let x := ModuleCat.freeMk (R := R) (Presentation.ResolutionCoordinates.universalTuple F n t) |
| 45 | have hn := (sheafificationAdjunction J (ModuleCat.{max u v} R)).homEquiv_naturality_right f μ |
| 46 | exact (Presentation.ResolutionCoordinates.sheaf_apply F R n J H' (f ≫ μ) t).trans |
| 47 | ((congrArg (fun a => a.app U x) hn).trans |
| 48 | (congrArg (μ.hom.app U) (Presentation.ResolutionCoordinates.sheaf_apply F R n J H f t).symm)) |
| 49 | |
| 50 | theorem complexes : resolutionMap F R J μ ≫ (FrameCech.Ext.Comparison.comparison F R J H').hom = |
| 51 | (FrameCech.Ext.Comparison.comparison F R J H).hom ≫ CoefficientNaturality.map F R J μ := by |
| 52 | apply HomologicalComplex.Hom.ext |
| 53 | funext n |
| 54 | apply ModuleCat.hom_ext |
| 55 | apply LinearMap.ext |
| 56 | intro x |
| 57 | change Abelian.Ext.{max u v z} ((CoveringPresentationResolution.complex J R F).X n) H 0 at x |
| 58 | obtain ⟨f, rfl⟩ := (Abelian.Ext.mk₀_bijective _ _).2 x |
| 59 | apply ULift.ext |
| 60 | apply Module.ProductScalarKernel.element_ext |
| 61 | (fun t => H'.obj.obj (op (Presentation.TupleProducts.family F n t))) |
| 62 | intro t |
| 63 | have hm : (resolutionMap F R J μ).f n (Abelian.Ext.mk₀ f) = Abelian.Ext.mk₀ (f ≫ μ) := |
| 64 | Abelian.Ext.mk₀_comp_mk₀ _ _ |
| 65 | have hl := (congrArg (fun x => Differential.coordinate F R H'.obj n t |
| 66 | (((FrameCech.Ext.Comparison.comparison F R J H').hom.f n x).down)) hm).trans |
| 67 | ((ExtCoordinates.coordinate_mk F R J H' n t (f ≫ μ)).trans (sections F R J μ n f t)) |
| 68 | have hr := (congrArg (fun a => a |
| 69 | (((FrameCech.Ext.Comparison.comparison F R J H).hom.f n (Abelian.Ext.mk₀ f)).down)) |
| 70 | (FunctorCoordinates.coordinate F R μ.hom n t)).trans |
| 71 | (congrArg (μ.hom.app (op (Presentation.TupleProducts.family F n t))) |
| 72 | (ExtCoordinates.coordinate_mk F R J H n t f)) |
| 73 | exact hl.trans hr.symm |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.CoefficientNaturality |