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.Presentation.ResolutionTerms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Free.PresentationLinearSections |
| 3 | |
| 4 | /-! # Resolution Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.ResolutionCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient-linear coordinates for the actual frame presentation chain terms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 17 | {ι : Type v} (F : ι → C) (R : Type (max u v)) [CommRing R] (n : ℕ) |
| 18 | |
| 19 | def presheaf (H : Cᵒᵖ ⥤ ModuleCat.{max u v} R) : |
| 20 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R |
| 21 | (CoveringPresentationPresheaf.presentations F)).X n ⟶ H) ≃ₗ[R] |
| 22 | (∀ t, H.obj (op (TupleProducts.family F n t))) := |
| 23 | (Linear.homCongr R (ResolutionTerms.presheafIso F R n) (Iso.refl H)).trans |
| 24 | (Free.PresentationLinearSections.presheaf (TupleProducts.family F n) R H) |
| 25 | |
| 26 | def unadjoint (J : GrothendieckTopology C) (H : Sheaf J (ModuleCat.{max u v} R)) |
| 27 | (a : (CoveringPresentationResolution.complex J R F).X n ⟶ H) : |
| 28 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R |
| 29 | (CoveringPresentationPresheaf.presentations F)).X n ⟶ H.obj := |
| 30 | (sheafificationAdjunction J (ModuleCat.{max u v} R)).homEquiv _ H a |
| 31 | |
| 32 | def sheaf (J : GrothendieckTopology C) (H : Sheaf J (ModuleCat.{max u v} R)) : |
| 33 | ((CoveringPresentationResolution.complex J R F).X n ⟶ H) ≃ₗ[R] |
| 34 | (∀ t, H.obj.obj (op (TupleProducts.family F n t))) := |
| 35 | (LinearAdjunction.homLinearEquiv R (sheafificationAdjunction J (ModuleCat.{max u v} R)) |
| 36 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R |
| 37 | (CoveringPresentationPresheaf.presentations F)).X n) H).trans (presheaf F R n H.obj) |
| 38 | |
| 39 | def universalTuple (t : Fin (n + 1) → ι) : |
| 40 | Fin (n + 1) → (CoveringPresentationPresheaf.presentations F).obj |
| 41 | (op (TupleProducts.family F n t)) := |
| 42 | fun a => ⟨⟨t a, Pi.π (fun b => F (t b)) a⟩⟩ |
| 43 | |
| 44 | theorem presheaf_apply (H : Cᵒᵖ ⥤ ModuleCat.{max u v} R) |
| 45 | (a : (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R |
| 46 | (CoveringPresentationPresheaf.presentations F)).X n ⟶ H) (t : Fin (n + 1) → ι) : |
| 47 | presheaf F R n H a t = a.app (op (TupleProducts.family F n t)) |
| 48 | (ModuleCat.freeMk (universalTuple F n t)) := by |
| 49 | change a.app (op (TupleProducts.family F n t)) |
| 50 | ((ModuleCat.free R).map (TupleProducts.equiv F n |
| 51 | (TupleProducts.family F n t)).symm.toIso.hom |
| 52 | (ModuleCat.freeMk ⟨⟨t, 𝟙 (TupleProducts.family F n t)⟩⟩)) = _ |
| 53 | have h := ModuleCat.free_map_apply (R := R) |
| 54 | (TupleProducts.equiv F n (TupleProducts.family F n t)).symm.toIso.hom |
| 55 | ⟨⟨t, 𝟙 (TupleProducts.family F n t)⟩⟩ |
| 56 | have he : (TupleProducts.equiv F n |
| 57 | (TupleProducts.family F n t)).symm ⟨⟨t, 𝟙 _⟩⟩ = universalTuple F n t := by |
| 58 | funext b |
| 59 | apply ULift.ext |
| 60 | exact Sigma.ext rfl (heq_of_eq (Category.id_comp _)) |
| 61 | exact congrArg (a.app (op (TupleProducts.family F n t))) |
| 62 | (h.trans (congrArg ModuleCat.freeMk he)) |
| 63 | |
| 64 | theorem sheaf_apply (J : GrothendieckTopology C) (H : Sheaf J (ModuleCat.{max u v} R)) |
| 65 | (a : (CoveringPresentationResolution.complex J R F).X n ⟶ H) (t : Fin (n + 1) → ι) : |
| 66 | sheaf F R n J H a t = (unadjoint F R n J H a).app (op (TupleProducts.family F n t)) |
| 67 | (ModuleCat.freeMk (universalTuple F n t)) := |
| 68 | presheaf_apply F R n H.obj (unadjoint F R n J H a) t |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.ResolutionCoordinates |