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.Cech.PresheafDiagramProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.DiagramAugmentationProduct |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalAugmentationNaturality |
| 4 | |
| 5 | /-! # Presheaf Diagram Augmentation Product -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresheafDiagramAugmentationProduct |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual presheaf-valued Čech augmentation preserves the native |
| 12 | product whenever its genuine local cone components do. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.DiagramSectionCoordinates |
| 17 | universe u v d e r t |
| 18 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {D : Type d} [Category.{e} D] (R : Type r) [CommRing R] |
| 20 | {ι : Type} [Finite ι] (U : ι → C) |
| 21 | (P : Cᵒᵖ ⥤ CochainComplex (Dᵒᵖ ⥤ ModuleCat.{t} R) ℕ) |
| 22 | (M : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{t} R) ℕ) |
| 23 | (η : (Functor.const Cᵒᵖ).obj M ⟶ P) |
| 24 | |
| 25 | local notation "K" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal.total U P |
| 26 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal.augmentation U P M η |
| 27 | |
| 28 | def mappedSource (T : Dᵒᵖ) := ((DiagramSectionCoordinates.evaluation R T).mapHomologicalComplex (.up ℕ)).obj M |
| 29 | |
| 30 | def mappedCone (T : Dᵒᵖ) := |
| 31 | GeometricComparison.CechCone.TotalCoefficientAugmentation.CechConeTotalCoefficientAugmentation.mappedCone (DiagramSectionCoordinates.evaluation R T) P M η |
| 32 | |
| 33 | theorem coordinates (T : Dᵒᵖ) (x : (M.X 0).obj T) : |
| 34 | (DiagramSectionCoordinates.totalIso R U P T).hom.f 0 (((a).f 0).app T x) = |
| 35 | (ComplexDiagramCoordinates.totalIso U (DiagramSectionCoordinates.diagram R P T)).hom.f 0 |
| 36 | ((GeometricComparison.CechCone.Total.CechConeTotal.augmentation U (DiagramSectionCoordinates.diagram R P T) (mappedSource R M T) |
| 37 | (mappedCone R P M η T)).f 0 x) := by |
| 38 | have h := ConcreteCategory.congr_hom |
| 39 | (congrArg (fun b => b.f 0) |
| 40 | (GeometricComparison.CechCone.TotalAugmentationNaturality.CechConeTotalAugmentationNaturality.augmentation (DiagramSectionCoordinates.evaluation R T) U P M η)) x |
| 41 | exact congrArg (fun z => (ComplexDiagramCoordinates.totalIso U (DiagramSectionCoordinates.diagram R P T)).hom.f 0 z) h |
| 42 | |
| 43 | variable (μ : ∀ n m (V : Cᵒᵖ) (T : Dᵒᵖ), ((P.obj V).X n).obj T →ₗ[R] |
| 44 | ((P.obj V).X m).obj T →ₗ[R] ((P.obj V).X (n + m)).obj T) |
| 45 | (σ : ∀ T : Dᵒᵖ, (M.X 0).obj T →ₗ[R] (M.X 0).obj T →ₗ[R] (M.X 0).obj T) |
| 46 | (hσ : ∀ V T x y, ((η.app V).f 0).app T (σ T x y) = |
| 47 | μ 0 0 V T (((η.app V).f 0).app T x) (((η.app V).f 0).app T y)) |
| 48 | |
| 49 | include hσ in |
| 50 | theorem augmentation_product (T : Dᵒᵖ) (x y : (M.X 0).obj T) : |
| 51 | ((a).f 0).app T (σ T x y) = |
| 52 | PresheafDiagramProduct.pairing R U P μ 0 0 T |
| 53 | (((a).f 0).app T x) (((a).f 0).app T y) := by |
| 54 | apply ((HomologicalComplex.eval _ _ 0).mapIso (DiagramSectionCoordinates.totalIso R U P T)).toLinearEquiv.injective |
| 55 | change (DiagramSectionCoordinates.totalIso R U P T).hom.f 0 _ = (DiagramSectionCoordinates.totalIso R U P T).hom.f 0 _ |
| 56 | have hp := DiagramAugmentationProduct.augmentation_product R U (DiagramSectionCoordinates.diagram R P T) |
| 57 | (mappedSource R M T) (mappedCone R P M η T) (fun n m V => μ n m V T) (σ T) |
| 58 | (fun V x y => hσ V T x y) x y |
| 59 | exact (coordinates R U P M η T (σ T x y)).trans |
| 60 | (hp.trans ((congrArg₂ |
| 61 | (fun x y => PresheafDiagramProduct.nativeCup R U P μ T 0 0 x y) |
| 62 | (coordinates R U P M η T x).symm (coordinates R U P M η T y).symm).trans |
| 63 | (Cochain.PairingTransport.hom_cup (DiagramSectionCoordinates.totalIso R U P T) |
| 64 | (PresheafDiagramProduct.nativeCup R U P μ T) 0 0 |
| 65 | (((a).f 0).app T x) (((a).f 0).app T y)).symm)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresheafDiagramAugmentationProduct |