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.Picard.ThetaConstruction.RelativeMinimalFrameQuotient |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeMinimalNormalization |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.Minimal |
| 4 | |
| 5 | /-! # Relative Projective Equations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeProjectiveEquations.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual smooth projective varying family with trivial closed-fiber line |
| 12 | bundle has a normalized-frame scheme cut out by exactly H1-many |
| 13 | equations. Its Cech model, minimal complex, rank-one generator, and |
| 14 | normalization unit are all constructed internally. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | open OAI.RepresentationTheory.Theta.Geometric.Minimal |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | def relativeProjectiveClosedFiberH1 {X S : Scheme.{u}} [IsAffine S] [IsLocalRing Γ(S, ⊤)] |
| 24 | (π : X ⟶ S) (PP : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk π)) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : ℕ := |
| 25 | Module.finrank Γ(Spec (S.residueField (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint S)), ⊤) |
| 26 | ((Quotients.FiniteDescent.CechBaseTmul.Construction.CechBaseChangeMap.target (π.fiberι (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint S)) |
| 27 | (π.fiberToSpecResidueField (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint S)) L.sheaf |
| 28 | (Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.cover (Over.mk π) PP)).sc' 0 1 2).homology |
| 29 | |
| 30 | variable {X S : Scheme.{u}} [IsAffine S] [IsLocalRing Γ(S, ⊤)] [IsNoetherianRing Γ(S, ⊤)] |
| 31 | [IsLocallyNoetherian S] |
| 32 | (π : X ⟶ S) [IsProper π] [Smooth π] [GeometricallyConnected π] |
| 33 | (PP : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk π)) |
| 34 | (s : S ⟶ X) (hs : s ≫ π = 𝟙 S) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 35 | (r : (Scheme.Modules.pullback s).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule S) |
| 36 | (eM : (Scheme.Modules.pullback (π.fiberι (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint S))).obj L.sheaf ≅ |
| 37 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π.fiber (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint S))) |
| 38 | |
| 39 | include PP eM in |
| 40 | theorem exists_relativeProjective_frame_equations |
| 41 | (D : FormalGeometry.Completion.Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation π L.sheaf) : |
| 42 | ∃ (n : ℕ) (v : Fin n → Γ(S, ⊤)), n = relativeProjectiveClosedFiberH1 π PP L ∧ |
| 43 | Ideal.span (Set.range v) ≤ IsLocalRing.maximalIdeal Γ(S, ⊤) ∧ |
| 44 | Nonempty (D.rigidifiedFrameScheme s hs r ≅ RepresentationTheory.Theta.Geometric.Affine.QuotientPoints.affineQuotientScheme S (Ideal.span (Set.range v))) := by |
| 45 | have : Flat (Over.mk π).hom := inferInstanceAs (Flat π) |
| 46 | obtain ⟨C, φ, _, ⟨P⟩, hφ⟩ := RepresentationTheory.Theta.Geometric.Local.ProjectiveCechModel.exists_local_projective_cech_model (Over.mk π) PP L |
| 47 | let U := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.cover (Over.mk π) PP |
| 48 | have hU := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.covers (Over.mk π) PP |
| 49 | have ha := fun n (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex _ n) => |
| 50 | Quotients.FiniteDescent.ProjectiveCechFlat.Construction.ProjectiveCechComplex.intersection_affine (Over.mk π) PP n i.1 |
| 51 | obtain ⟨i, hi⟩ := RepresentationTheory.Theta.Geometric.Local.AxisCechChart.exists_axis_cech_chart s U hU |
| 52 | obtain ⟨e, hu⟩ := RelativeMinimalNormalization.Geometric.exists_relativeProjective_minimal_normalization π PP s hs L r U hU ha |
| 53 | φ hφ P i hi eM |
| 54 | let basis := Module.finBasis Γ(S, ⊤) P.complex.X₂ |
| 55 | refine ⟨Module.finrank Γ(S, ⊤) P.complex.X₂, fun j => basis.repr (P.complex.f (e 1)) j, |
| 56 | ?_, RepresentationTheory.Theta.Geometric.MinimalEquationIdeal.minimalEquationIdeal_le_maximal P basis e, |
| 57 | ⟨RelativeMinimalFrameQuotient.Geometric.relativeProjective_minimalFrameQuotientIso π PP s hs L r U hU ha φ hφ P basis e i hi hu eM D⟩⟩ |
| 58 | let x := RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint S |
| 59 | let f := π.fiberι x |
| 60 | let ρ := π.fiberToSpecResidueField x |
| 61 | let g := S.fromSpecResidueField x |
| 62 | have hp : IsPullback f ρ π g := IsPullback.of_hasPullback π g |
| 63 | have : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 64 | have : IsLocalHom g.appTop.hom := RepresentationTheory.Theta.Geometric.Local.ClosedPointScalars.affineLocalResidue_isLocalHom S |
| 65 | have := Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap_quasiIso f π ρ g L.sheaf U φ hp ha hφ |
| 66 | have hfield : IsField Γ(Spec (S.residueField x), ⊤) := by |
| 67 | let : Field Γ(Spec (S.residueField x), ⊤) := Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField (S.residueField x) |
| 68 | exact Field.toIsField _ |
| 69 | exact RepresentationTheory.Theta.Geometric.Minimal.minimal_middle_finrank_eq_geometric_H1 f π ρ g hp.w L.sheaf U φ P hfield |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeProjectiveEquations.Geometric |