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.Supported.SingleReferenceCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.SupportedCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleModuleCoordinates |
| 4 | |
| 5 | /-! # Reference Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.ReferenceCoordinates.Reference |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual nested-pushforward principal module coordinates agree |
| 12 | with the source-open single-sheaf coordinates in their original degree. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem change_coordinate {C D : Type*} [Category C] [Category D] |
| 18 | (F : C ⥤ D) {A B E : C} {X : D} (a : X ⟶ F.obj A) (e : A ≅ B) (d : A ≅ E) : |
| 19 | (a ≫ F.map e.hom) ≫ F.map (e.inv ≫ d.hom) = a ≫ F.map d.hom := by |
| 20 | rw [F.map_comp, Category.assoc a, ← Category.assoc (F.map e.hom), |
| 21 | ← F.map_comp, Iso.hom_inv_id, F.map_id, Category.id_comp] |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenReindex |
| 24 | variable {Y X Z : Scheme.{0}} (f : Y ⟶ X) (i : X ⟶ Z) |
| 25 | (U : Z.Opens) (hU : IsAffineOpen U) {ι : Type} [LinearOrder ι] |
| 26 | (W : ι → Principal.SectionPresheaf.Index U) (N : Y.Modules) (c g : ℕ) |
| 27 | |
| 28 | abbrev original := OpenFixedClass.source f i U hU N |
| 29 | abbrev forgetScalars : ModuleCat.{0} Γ(Z,U) ⥤ AddCommGrpCat := forget₂ _ _ |
| 30 | |
| 31 | def additiveIso : (Principal.AdditiveSections.additiveFunctor U hU).obj (OpenRestriction.image f i N) ≅ |
| 32 | (OpenReindex.wideOpens (f ≫ i) U hU).op ⋙ (AffinePrincipal.Injective.Comparison.sheaf N).obj := |
| 33 | ((Principal.AdditiveSections.functorIso U hU).app (OpenRestriction.image f i N)).symm ≪≫ |
| 34 | OpenScalar.diagramIso f i U hU N |
| 35 | |
| 36 | def sourceCoordinates (q : ℕ) (hq : q=g+c) := |
| 37 | eqToIso (congrArg (fun k => (AffinePrincipal.Injective.Comparison.source |
| 38 | (OpenReindex.wideOpens (f ≫ i) U hU) W N c).homology k) hq) ≪≫ |
| 39 | Supported.SingleReferenceCoordinates.Reference.sourceCoordinates W c g (OpenReindex.wideOpens (f ≫ i) U hU) N |
| 40 | |
| 41 | theorem coefficient_coordinates : |
| 42 | (Principal.SingleModuleCoordinates.coefficientIso U hU (OpenRestriction.image f i N) W g).hom ≫ |
| 43 | homologyMap ((AugmentedOrdered.CechFunctor.functor W).map (additiveIso f i U hU N).hom) g = |
| 44 | (Supported.SingleReferenceCoordinates.Reference.coefficientIso W Γ(Z,U) (original f i U hU N) g).hom ≫ |
| 45 | homologyMap ((AugmentedOrdered.CechFunctor.functor W).map |
| 46 | (OpenScalar.diagramIso f i U hU N).hom) g := by |
| 47 | exact change_coordinate |
| 48 | (AugmentedOrdered.CechFunctor.functor W ⋙ HomologicalComplex.homologyFunctor _ (.up ℕ) g) |
| 49 | (Supported.SingleReferenceCoordinates.Reference.coefficientIso W Γ(Z,U) (original f i U hU N) g).hom |
| 50 | ((Principal.AdditiveSections.functorIso U hU).app (OpenRestriction.image f i N)) |
| 51 | (OpenScalar.diagramIso f i U hU N) |
| 52 | |
| 53 | theorem wide_coordinates (q : ℕ) (hq : q=g+c) : |
| 54 | (SupportedCoordinates.wideIso f i U hU W N c q).hom ≫ |
| 55 | (sourceCoordinates f i U hU W N c g q hq).hom = |
| 56 | (forgetScalars U).map (Principal.SingleModuleCoordinates.moduleCoordinates U hU |
| 57 | (OpenRestriction.image f i N) c W g q hq).hom ≫ |
| 58 | (Principal.SingleModuleCoordinates.coefficientIso U hU (OpenRestriction.image f i N) W g).hom ≫ |
| 59 | homologyMap ((AugmentedOrdered.CechFunctor.functor W).map (additiveIso f i U hU N).hom) g := by |
| 60 | subst q |
| 61 | rw [coefficient_coordinates] |
| 62 | have h := Supported.SingleReferenceCoordinates.Reference.coordinates W Γ(Z,U) (original f i U hU N) c g |
| 63 | (OpenReindex.wideOpens (f ≫ i) U hU) N (OpenScalar.diagramIso f i U hU N) |
| 64 | simp only [SupportedCoordinates.wideIso, sourceCoordinates, |
| 65 | Principal.SingleModuleCoordinates.moduleCoordinates, eqToIso_refl, Iso.refl_trans] |
| 66 | convert h using 1 <;> rfl |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.ReferenceCoordinates.Reference |