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.StructurePullbackUnit |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ArtinianGlobalFunctions |
| 3 | |
| 4 | /-! # Iterated Cech Structure Unit -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IteratedCechStructureUnit |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual unit is a basis of degree-zero cohomology also for an |
| 11 | iterated direct image. The construction uses its literal section module, |
| 12 | so no choice of a direct-image composition isomorphism is needed. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.StructurePullbackUnit |
| 22 | |
| 23 | variable {Y X Z S : Scheme.{u}} (f : Y ⟶ X) (i : X ⟶ Z) (π : Z ⟶ S) |
| 24 | {ι : Type u} [LinearOrder ι] (U : ι → Z.Opens) (hU : iSup U = ⊤) |
| 25 | |
| 26 | def sectionMap : ModuleCat.of Γ(S, ⊤) Γ(S, ⊤) ⟶ |
| 27 | (OrderedCech.Augmentation.sections π).obj (Cech.StructurePullbackUnit.coefficients f i) := |
| 28 | ModuleCat.ofHom (X := ModuleCat.of Γ(S, ⊤) Γ(S, ⊤)) |
| 29 | (Y := (OrderedCech.Augmentation.sections π).obj (Cech.StructurePullbackUnit.coefficients f i)) |
| 30 | { toFun := fun r => f.appTop (i.appTop (π.appTop r)) |
| 31 | map_add' := by intro r s; simp only [map_add] |
| 32 | map_smul' := by |
| 33 | intro r s |
| 34 | change f.appTop (i.appTop (π.appTop (r * s))) = |
| 35 | f.appTop (i.appTop (π.appTop r)) * f.appTop (i.appTop (π.appTop s)) |
| 36 | simp only [map_mul] } |
| 37 | |
| 38 | theorem sectionMap_one : sectionMap f i π 1 = (1 : Γ(Y, ⊤)) := by |
| 39 | change f.appTop.hom (i.appTop.hom (π.appTop.hom 1)) = 1 |
| 40 | simp only [map_one] |
| 41 | |
| 42 | theorem sectionMap_bijective [IsIso (f ≫ i ≫ π).appTop] : |
| 43 | Function.Bijective (sectionMap f i π) := by |
| 44 | have h := ConcreteCategory.bijective_of_isIso (f ≫ i ≫ π).appTop |
| 45 | rw [Scheme.Hom.comp_appTop, Scheme.Hom.comp_appTop] at h |
| 46 | exact h |
| 47 | |
| 48 | instance sectionMap_isIso [IsIso (f ≫ i ≫ π).appTop] : IsIso (sectionMap f i π) := |
| 49 | (ConcreteCategory.isIso_iff_bijective _).mpr (sectionMap_bijective f i π) |
| 50 | |
| 51 | def map : ModuleCat.of Γ(S, ⊤) Γ(S, ⊤) ⟶ |
| 52 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π (Cech.StructurePullbackUnit.coefficients f i) U).homology 0 := |
| 53 | sectionMap f i π ≫ (Cech.ZeroSections.iso π U hU (Cech.StructurePullbackUnit.coefficients f i)).hom |
| 54 | |
| 55 | theorem map_one : map f i π U hU 1 = Cech.StructurePullbackUnit.unit f i π U hU := by |
| 56 | change (Cech.ZeroSections.iso π U hU (Cech.StructurePullbackUnit.coefficients f i)).hom (sectionMap f i π 1) = _ |
| 57 | rw [sectionMap_one] |
| 58 | rfl |
| 59 | |
| 60 | instance map_isIso [IsIso (f ≫ i ≫ π).appTop] : IsIso (map f i π U hU) := by |
| 61 | unfold map |
| 62 | infer_instance |
| 63 | |
| 64 | def iso [IsIso (f ≫ i ≫ π).appTop] : ModuleCat.of Γ(S, ⊤) Γ(S, ⊤) ≅ |
| 65 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π (Cech.StructurePullbackUnit.coefficients f i) U).homology 0 := |
| 66 | asIso (map f i π U hU) |
| 67 | |
| 68 | theorem iso_one [IsIso (f ≫ i ≫ π).appTop] : |
| 69 | (iso f i π U hU).toLinearEquiv 1 = Cech.StructurePullbackUnit.unit f i π U hU := |
| 70 | IteratedCechStructureUnit.map_one f i π U hU |
| 71 | |
| 72 | variable {R : Type u} [CommRing R] [IsArtinianRing R] [IsLocalRing R] |
| 73 | {Y X Z : Scheme.{u}} (f : Y ⟶ X) (i : X ⟶ Z) (π : Z ⟶ Spec (.of R)) |
| 74 | [IsProper (f ≫ i ≫ π)] [Smooth (f ≫ i ≫ π)] [GeometricallyConnected (f ≫ i ≫ π)] |
| 75 | (s : Spec (.of R) ⟶ Y) (hs : s ≫ (f ≫ i ≫ π) = 𝟙 _) |
| 76 | {ι : Type u} [LinearOrder ι] (U : ι → Z.Opens) (hU : iSup U = ⊤) |
| 77 | |
| 78 | def artinianIso := by |
| 79 | let : IsIso (f ≫ i ≫ π).appTop := |
| 80 | AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ArtinianGlobalFunctions.Construction.artinianLocal_globalFunctions_isIso (f ≫ i ≫ π) s hs |
| 81 | exact iso f i π U hU |
| 82 | |
| 83 | theorem artinianIso_one : |
| 84 | (artinianIso f i π s hs U hU).toLinearEquiv 1 = Cech.StructurePullbackUnit.unit f i π U hU := by |
| 85 | let : IsIso (f ≫ i ≫ π).appTop := |
| 86 | AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ArtinianGlobalFunctions.Construction.artinianLocal_globalFunctions_isIso (f ≫ i ≫ π) s hs |
| 87 | exact iso_one f i π U hU |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IteratedCechStructureUnit |