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.NumberTheory.PadicHodge.IntegralComparison.Projective.PureTrace |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveSerre |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ArtinianCechStructureUnit |
| 4 | |
| 5 | /-! # Projective Pure Trace -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectivePureTrace |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The pure Serre trace is evaluated on the actual constant function |
| 12 | one. For a pointed, proper, smooth, geometrically connected family over |
| 13 | an Artinian local ring, this trace is an isomorphism. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 25 | [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] |
| 26 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 27 | |
| 28 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 29 | |
| 30 | variable {X : Scheme.{u}} [Nonempty X] |
| 31 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 32 | (B n : ℕ) (hn : Fintype.card σ = n + 2) (hB : n + 2 ≤ B) |
| 33 | (g : ℕ) [SmoothOfRelativeDimension g (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 34 | [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 35 | (s : Spec (.of R) ⟶ X) (hs : s ≫ (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) |
| 36 | |
| 37 | def pairing := by |
| 38 | have hg : g ≤ n + 1 := by |
| 39 | have h := ClosedDimension.projective f g |
| 40 | omega |
| 41 | exact Projective.PureTrace.pairing (Projective.ClosedImmersionPurity.directImage f) |
| 42 | B n hn hB (n + 1 - g) (ProjectiveSerre.exactAt f B n hn hB g) g (by omega) |
| 43 | |
| 44 | def trace := |
| 45 | SerreUnitTrace.trace (Projective.TopTracePairing.coefficientRing R) (pairing f B n hn hB g) |
| 46 | (Cech.StructureUnit.unit f (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 47 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 48 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ))) |
| 49 | |
| 50 | def traceIso := by |
| 51 | let : Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := SmoothOfRelativeDimension.smooth g _ |
| 52 | exact SerreUnitTrace.traceIso (Projective.TopTracePairing.coefficientRing R) (pairing f B n hn hB g) |
| 53 | (ArtinianCechStructureUnit.iso f (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) s hs |
| 54 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 55 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ))).toLinearEquiv |
| 56 | |
| 57 | theorem traceIso_hom : (traceIso f B n hn hB g s hs).hom = trace f B n hn hB g := by |
| 58 | let : Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := SmoothOfRelativeDimension.smooth g _ |
| 59 | exact (SerreUnitTrace.traceIso_hom (Projective.TopTracePairing.coefficientRing R) (pairing f B n hn hB g) |
| 60 | (ArtinianCechStructureUnit.iso f (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) s hs |
| 61 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 62 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ))).toLinearEquiv).trans |
| 63 | (congrArg (SerreUnitTrace.trace (Projective.TopTracePairing.coefficientRing R) (pairing f B n hn hB g)) |
| 64 | (ArtinianCechStructureUnit.iso_one f (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) s hs |
| 65 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 66 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ)))) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectivePureTrace |