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.AlgebraicGeometry.Comparison.Betti.Exterior.OpenSheaf |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.ModuleFrames |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Affine.ExteriorQuasicoherent |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.StandardSmoothBasis |
| 5 | |
| 6 | /-! # Exterior Frames -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Smooth.ExteriorFrames |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Actual local frames for exterior-form module sheaves on every smooth complex scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 19 | |
| 20 | abbrev exteriorFrameIndex [Algebra.IsStandardSmooth ℂ (Affine.ExteriorRestrictions.globalCoordinateAlgebra X)] (n : ℕ) := |
| 21 | Set.powersetCard (Module.Free.ChooseBasisIndex (Affine.ExteriorRestrictions.globalCoordinateAlgebra X) |
| 22 | Ω[Affine.ExteriorRestrictions.globalCoordinateAlgebra X⁄ℂ]) n |
| 23 | |
| 24 | def standardSmoothExteriorFreeIso [IsAffine X.left] |
| 25 | [Algebra.IsStandardSmooth ℂ (Affine.ExteriorRestrictions.globalCoordinateAlgebra X)] (n : ℕ) : |
| 26 | SheafOfModules.free (R := X.left.ringCatSheaf) (exteriorFrameIndex X n) ≅ |
| 27 | Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n := by |
| 28 | classical |
| 29 | let : LinearOrder (Module.Free.ChooseBasisIndex (Affine.ExteriorRestrictions.globalCoordinateAlgebra X) |
| 30 | Ω[Affine.ExteriorRestrictions.globalCoordinateAlgebra X⁄ℂ]) := linearOrderOfSTO WellOrderingRel |
| 31 | exact Affine.ExteriorQuasicoherent.affineExteriorFreeIso X |
| 32 | (Module.Free.chooseBasis (Affine.ExteriorRestrictions.globalCoordinateAlgebra X) Ω[Affine.ExteriorRestrictions.globalCoordinateAlgebra X⁄ℂ]) n |
| 33 | |
| 34 | def standardSmoothOpenFrameIso (U : X.left.Opens) [IsAffine (Open.AffineIsoEvaluation.openOver X U).left] |
| 35 | [Algebra.IsStandardSmooth ℂ (Affine.ExteriorRestrictions.globalCoordinateAlgebra (Open.AffineIsoEvaluation.openOver X U))] (n : ℕ) : |
| 36 | SheafOfModules.free (R := X.left.ringCatSheaf.over U) |
| 37 | (exteriorFrameIndex (Open.AffineIsoEvaluation.openOver X U) n) ≅ (Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n).over U := |
| 38 | Open.ModuleFrames.Restriction.overFreeIso U (Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n) |
| 39 | (exteriorFrameIndex (Open.AffineIsoEvaluation.openOver X U) n) |
| 40 | (standardSmoothExteriorFreeIso (Open.AffineIsoEvaluation.openOver X U) n ≪≫ |
| 41 | (Exterior.OpenSheaf.exteriorOpenSheafIso (Open.AffineIsoEvaluation.openInclusion X U) n).symm) |
| 42 | |
| 43 | variable [Smooth X.hom] |
| 44 | |
| 45 | def standardSmoothChart (x : X.left) : X.left.Opens := |
| 46 | (StandardSmoothBasis.exists_standardSmooth_openOver X x).choose |
| 47 | |
| 48 | theorem standardSmoothChart_spec (x : X.left) : |
| 49 | x ∈ standardSmoothChart X x ∧ IsAffine (Open.AffineIsoEvaluation.openOver X (standardSmoothChart X x)).left ∧ |
| 50 | Algebra.IsStandardSmooth ℂ (Affine.ExteriorRestrictions.globalCoordinateAlgebra (Open.AffineIsoEvaluation.openOver X (standardSmoothChart X x))) := |
| 51 | (StandardSmoothBasis.exists_standardSmooth_openOver X x).choose_spec |
| 52 | |
| 53 | instance standardSmoothChart_affine (x : X.left) : |
| 54 | IsAffine (Open.AffineIsoEvaluation.openOver X (standardSmoothChart X x)).left := |
| 55 | (standardSmoothChart_spec X x).2.1 |
| 56 | |
| 57 | instance standardSmoothChart_standardSmooth (x : X.left) : |
| 58 | Algebra.IsStandardSmooth ℂ (Affine.ExteriorRestrictions.globalCoordinateAlgebra (Open.AffineIsoEvaluation.openOver X (standardSmoothChart X x))) := |
| 59 | (standardSmoothChart_spec X x).2.2 |
| 60 | |
| 61 | theorem standardSmoothChart_coversTop : |
| 62 | (Opens.grothendieckTopology X.left).CoversTop (standardSmoothChart X) := by |
| 63 | intro W x hxW |
| 64 | let V := W ⊓ standardSmoothChart X x |
| 65 | exact ⟨V, homOfLE inf_le_left, ⟨x, ⟨homOfLE inf_le_right⟩⟩, |
| 66 | ⟨hxW, (standardSmoothChart_spec X x).1⟩⟩ |
| 67 | |
| 68 | def smoothExteriorChartFrameIso (x : X.left) (n : ℕ) : |
| 69 | SheafOfModules.free (R := X.left.ringCatSheaf.over (standardSmoothChart X x)) |
| 70 | (exteriorFrameIndex (Open.AffineIsoEvaluation.openOver X (standardSmoothChart X x)) n) ≅ |
| 71 | (Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n).over (standardSmoothChart X x) := |
| 72 | standardSmoothOpenFrameIso X (standardSmoothChart X x) n |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! The actual exterior-form module sheaves are locally free and of finite type on smooth schemes. -/ |
| 77 | |
| 78 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 79 | |
| 80 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth X.hom] |
| 81 | |
| 82 | def smoothExteriorChartGenerators (x : X.left) (n : ℕ) : |
| 83 | ((Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n).over (standardSmoothChart X x)).GeneratingSections := by |
| 84 | let e := smoothExteriorChartFrameIso X x n |
| 85 | have : IsIso e.hom := e.isIso_hom |
| 86 | have : Epi e.hom := CategoryTheory.IsIso.epi_of_iso e.hom |
| 87 | exact (SheafOfModules.free.generatingSections |
| 88 | (R := X.left.ringCatSheaf.over (standardSmoothChart X x)) |
| 89 | (exteriorFrameIndex (Open.AffineIsoEvaluation.openOver X (standardSmoothChart X x)) n)).ofEpi e.hom |
| 90 | |
| 91 | theorem smoothExteriorChartGenerators_isIso (x : X.left) (n : ℕ) : |
| 92 | IsIso (smoothExteriorChartGenerators X x n).π := by |
| 93 | unfold smoothExteriorChartGenerators |
| 94 | simp only [SheafOfModules.GeneratingSections.ofEpi_π, |
| 95 | SheafOfModules.free.generatingSections_π] |
| 96 | exact (smoothExteriorChartFrameIso X x n).isIso_hom |
| 97 | |
| 98 | theorem smoothExteriorChartGenerators_finite (x : X.left) (n : ℕ) : |
| 99 | (smoothExteriorChartGenerators X x n).IsFiniteType where |
| 100 | finite := inferInstanceAs (Finite (exteriorFrameIndex (Open.AffineIsoEvaluation.openOver X (standardSmoothChart X x)) n)) |
| 101 | |
| 102 | def smoothExteriorLocalGenerators (n : ℕ) : (Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n).LocalGeneratorsData where |
| 103 | I := X.left |
| 104 | X := standardSmoothChart X |
| 105 | coversTop := standardSmoothChart_coversTop X |
| 106 | generators x := smoothExteriorChartGenerators X x n |
| 107 | |
| 108 | instance smoothExteriorLocalGenerators_free (n : ℕ) : |
| 109 | (smoothExteriorLocalGenerators X n).IsLocallyFreeData where |
| 110 | isIso x := smoothExteriorChartGenerators_isIso X x n |
| 111 | |
| 112 | instance smoothExteriorLocalGenerators_finite (n : ℕ) : |
| 113 | (smoothExteriorLocalGenerators X n).IsFiniteType where |
| 114 | isFiniteType x := smoothExteriorChartGenerators_finite X x n |
| 115 | |
| 116 | theorem smooth_exteriorFormsModuleSheaf_locallyFree (n : ℕ) : |
| 117 | (Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n).IsLocallyFree := |
| 118 | (smoothExteriorLocalGenerators X n).isLocallyFree |
| 119 | |
| 120 | theorem smooth_exteriorFormsModuleSheaf_quasicoherent (n : ℕ) : |
| 121 | (Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n).IsQuasicoherent := |
| 122 | (smoothExteriorLocalGenerators X n).quasiCoherentData.isQuasicoherent |
| 123 | |
| 124 | theorem smooth_exteriorFormsModuleSheaf_finiteType (n : ℕ) : |
| 125 | (Exterior.ModuleSheaf.exteriorFormsModuleSheaf X n).IsFiniteType where |
| 126 | exists_localGeneratorsData := ⟨smoothExteriorLocalGenerators X n, inferInstance⟩ |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.Comparison.Betti.Smooth.ExteriorFrames |