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.FormalGeometry.Completion.CoherentHilbertLeading |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.DomainFunctions |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 4 | |
| 5 | /-! # Integral Projective Numerics -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralProjectiveNumerics |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The coherent Hilbert comparison on an integral closed projective scheme |
| 12 | over an infinite field, with all global-function and finiteness hypotheses derived. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | variable {K : Type u} [Field K] {r : ℕ} {X : Scheme.{u}} |
| 25 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) [IsClosedImmersion f] |
| 26 | |
| 27 | include f |
| 28 | |
| 29 | def closedProjectiveStructure : X ⟶ Spec (CommRingCat.of K) := |
| 30 | f ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace K r).hom |
| 31 | |
| 32 | instance closedProjectiveStructure_proper : IsProper (closedProjectiveStructure f) := by |
| 33 | unfold closedProjectiveStructure |
| 34 | infer_instance |
| 35 | |
| 36 | theorem closedProjective_locallyNoetherian : IsLocallyNoetherian X := |
| 37 | LocallyOfFiniteType.isLocallyNoetherian (closedProjectiveStructure f) |
| 38 | |
| 39 | theorem closedProjective_compact : CompactSpace X := |
| 40 | QuasiCompact.compactSpace_of_compactSpace (closedProjectiveStructure f) |
| 41 | |
| 42 | variable [IsIntegral X] |
| 43 | |
| 44 | theorem integralClosedProjective_globalFunctions_isField : IsField Γ(X, ⊤) := by |
| 45 | have : Nonempty (⊤ : X.Opens) := ⟨⟨Nonempty.some (inferInstance : Nonempty X), trivial⟩⟩ |
| 46 | exact Proper.DomainFunctions.Construction.proper_globalFunctionDomain_isField K (closedProjectiveStructure f) |
| 47 | |
| 48 | omit [IsClosedImmersion f] in |
| 49 | theorem integralClosedProjective_globalFunctions_infinite [Infinite K] : Infinite Γ(X, ⊤) := by |
| 50 | have : Nonempty (⊤ : X.Opens) := ⟨⟨Nonempty.some (inferInstance : Nonempty X), trivial⟩⟩ |
| 51 | let a := (Scheme.ΓSpecIso (CommRingCat.of K)).inv ≫ (closedProjectiveStructure f).appTop |
| 52 | exact Infinite.of_injective a.hom a.hom.injective |
| 53 | |
| 54 | theorem integralClosedProjective_coherentLineBundle_hilbert_degree_leadingCoeff [Infinite K] |
| 55 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 56 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) : |
| 57 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j).natDegree = |
| 58 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f M j).natDegree ∧ |
| 59 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j).leadingCoeff = |
| 60 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f M j).leadingCoeff := by |
| 61 | have : IsLocallyNoetherian X := closedProjective_locallyNoetherian f |
| 62 | have : CompactSpace X := closedProjective_compact f |
| 63 | have : Infinite Γ(X, ⊤) := integralClosedProjective_globalFunctions_infinite f |
| 64 | exact CoherentHilbertLeading.Construction.coherentLineBundle_hilbert_degree_leadingCoeff |
| 65 | (integralClosedProjective_globalFunctions_isField f) f M L j |
| 66 | |
| 67 | end Construction |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralProjectiveNumerics |