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.HilbertScheme.Presentations.Proper.SectionHyperplanePullback |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.AmpleTensor |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.SchemePullback |
| 4 | |
| 5 | /-! # Projective Hyperplane Powers -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.ProjectiveHyperplanePowers |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Package the native projective hyperplane dual as a line bundle and |
| 12 | identify every tensor power under the section-defined embedding. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace Cohomology |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.SchemePullback.Construction OAI.AlgebraicGeometry.PELModuli.IntegralModel.AmpleTensor.PolarizationAmpleness |
| 21 | universe u |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | def projectiveHyperplaneLine (R : Type u) [CommRing R] (n : ℕ) (j : Fin (n + 1)) : |
| 25 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace R n).left where |
| 26 | sheaf := SheafCohomology.Projective.HyperplanePole.MvPolynomial.coordinateHyperplanePoleSheaf (R := R) j |
| 27 | locallyTrivial x := by |
| 28 | have hx : x ∈ (⨆ i : Fin (n + 1), SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) := by |
| 29 | rw [SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.iSup_coordinateOpen_eq_top] |
| 30 | trivial |
| 31 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 32 | refine ⟨SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i, hi, ⟨?_⟩⟩ |
| 33 | exact (Scheme.Modules.restrictFunctorIsoPullback |
| 34 | (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i).ι).symm.app _ ≪≫ |
| 35 | SheafCohomology.Projective.HyperplaneFrames.MvPolynomial.coordinateHyperplanePoleSheafTrivialization (R := R) i j |
| 36 | |
| 37 | variable {X S : Scheme.{u}} (P : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (f : X ⟶ S) {n : ℕ} |
| 38 | (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ P.sheaf)) |
| 39 | (hs : ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 40 | |
| 41 | theorem sectionHyperplane_class (j : Fin (n + 1)) : |
| 42 | Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 43 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (projectiveHyperplaneLine Γ(S, ⊤) n j)) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf P := |
| 44 | Quotient.sound (SectionHyperplanePullback.Cohomology.exists_sectionHyperplane_pullback_iso f s hs j) |
| 45 | |
| 46 | theorem sectionHyperplane_power_iso (j : Fin (n + 1)) (m : ℕ) : |
| 47 | Nonempty ((((projectiveHyperplaneLine Γ(S, ⊤) n j).tensorPower m).pullback |
| 48 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs)).sheaf ≅ (P.tensorPower m).sheaf) := by |
| 49 | have h : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf |
| 50 | (((projectiveHyperplaneLine Γ(S, ⊤) n j).tensorPower m).pullback |
| 51 | (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs)) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (P.tensorPower m) := by |
| 52 | change Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 53 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf ((projectiveHyperplaneLine Γ(S, ⊤) n j).tensorPower m)) = _ |
| 54 | rw [PELModuli.IntegralModel.AmpleTensor.PolarizationAmpleness.tensorPower_class, map_pow, sectionHyperplane_class P f s hs, PELModuli.IntegralModel.AmpleTensor.PolarizationAmpleness.tensorPower_class] |
| 55 | exact Quotient.exact h |
| 56 | |
| 57 | theorem sectionAbsolute_closed_of_relative [IsAffine S] |
| 58 | [IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs).left] : |
| 59 | IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := by |
| 60 | let p := CategoryTheory.Limits.pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ |
| 61 | have : IsIso p := inferInstanceAs (IsIso |
| 62 | (CategoryTheory.Limits.pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ)) |
| 63 | have hp : (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs).left ≫ p = AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs := |
| 64 | CategoryTheory.Limits.pullback.lift_fst _ _ _ |
| 65 | exact (congrArg IsClosedImmersion hp).mp inferInstance |
| 66 | |
| 67 | end Cohomology |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.ProjectiveHyperplanePowers |