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.Quotients.FiniteDescent.ModuleScalarsApp |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.SectionTransitions |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.BaseChange |
| 4 | |
| 5 | /-! # Linear Section Combinations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LinearSectionCombinations.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite linear combinations of actual line-bundle sections and |
| 12 | their regular coordinates after arbitrary pullback. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped BigOperators |
| 16 | |
| 17 | universe u v |
| 18 | variable {X Y : Scheme.{u}} {M : X.Modules} {ι : Type v} [Fintype ι] |
| 19 | |
| 20 | def sectionCombination (s : ι → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M)) (c : ι → Γ(X, ⊤)) : |
| 21 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M := |
| 22 | ∑ i, Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (c i) ≫ s i |
| 23 | |
| 24 | def frameCoordinateAddHom (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) [IsIso e] : |
| 25 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) →+ Γ(X, ⊤) where |
| 26 | toFun := fun s => AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate e s |
| 27 | map_zero' := by |
| 28 | change AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (0 ≫ inv e) = 0 |
| 29 | rw [zero_comp, map_zero] |
| 30 | map_add' s t := by |
| 31 | change AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X ((s + t) ≫ inv e) = |
| 32 | AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (s ≫ inv e) + AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (t ≫ inv e) |
| 33 | rw [Preadditive.add_comp, map_add] |
| 34 | |
| 35 | theorem frameCoordinate_scalar_section (e s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) [IsIso e] |
| 36 | (c : Γ(X, ⊤)) : |
| 37 | AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate e (Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) c ≫ s) = |
| 38 | c * AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate e s := by |
| 39 | change AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X |
| 40 | (AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinateEnd e s * Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) c) = _ |
| 41 | rw [map_mul, Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.structure_value, mul_comm] |
| 42 | rfl |
| 43 | |
| 44 | theorem frameCoordinate_sectionCombination (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) [IsIso e] |
| 45 | (s : ι → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M)) (c : ι → Γ(X, ⊤)) : |
| 46 | AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate e (sectionCombination s c) = ∑ i, c i * AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate e (s i) := by |
| 47 | change frameCoordinateAddHom e (∑ i, Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (c i) ≫ s i) = _ |
| 48 | rw [map_sum] |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro i _ |
| 51 | exact frameCoordinate_scalar_section e (s i) (c i) |
| 52 | |
| 53 | theorem pullbackSection_combination (f : Y ⟶ X) |
| 54 | (s : ι → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M)) (c : ι → Γ(X, ⊤)) : |
| 55 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f (sectionCombination s c) = |
| 56 | sectionCombination (fun i => AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f (s i)) (fun i => f.appTop (c i)) := by |
| 57 | simp only [sectionCombination, AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, Functor.map_sum, |
| 58 | Functor.map_comp, Preadditive.comp_sum, Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.pullback_scalar] |
| 59 | apply Finset.sum_congr rfl |
| 60 | intro i _ |
| 61 | exact (Category.assoc _ _ _).symm.trans |
| 62 | ((congrArg (fun a => a ≫ (Scheme.Modules.pullback f).map (s i)) |
| 63 | (Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar_naturality (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv (f.appTop (c i))).symm).trans |
| 64 | (Category.assoc _ _ _)) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LinearSectionCombinations.Construction |