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.InternalHomTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SmoothDualPurity |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConcentratedSerre |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ClosedDimension |
| 5 | |
| 6 | /-! # Projective Serre -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveSerre |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Projective Serre duality descends to the genuine surviving |
| 13 | cohomology sheaf of a smooth closed subscheme's dual resolution. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 26 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 27 | |
| 28 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 29 | |
| 30 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 31 | (B n : ℕ) (hn : Fintype.card σ = n + 2) (hB : n + 2 ≤ B) |
| 32 | (g : ℕ) [SmoothOfRelativeDimension g (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 33 | |
| 34 | abbrev source := Projective.InternalHomTotal.source |
| 35 | (Projective.ClosedImmersionPurity.directImage f) B n hn |
| 36 | |
| 37 | abbrev dualComplex := InternalHomCechTotal.internalComplex |
| 38 | (Projective.TopTracePairing.canonicalTwist (R := R) n hn) (source f B n hn) |
| 39 | |
| 40 | def dualizingSheaf := (dualComplex f B n hn).homology (n + 1 - g) |
| 41 | |
| 42 | include hB in |
| 43 | theorem term_quasicoherent (q : ℕ) : ((dualComplex f B n hn).X q).IsQuasicoherent := |
| 44 | Projective.InternalHomCoherence.term (Projective.ClosedImmersionPurity.directImage f) |
| 45 | (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B (n + 2) hB q |
| 46 | |
| 47 | include hB in |
| 48 | theorem exactAt (q : ℕ) (hq : q ≠ n + 1 - g) : (dualComplex f B n hn).ExactAt q := by |
| 49 | exact Projective.SmoothDualPurity.exactAt f (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) |
| 50 | B (n + 2) hB g q (by omega) |
| 51 | |
| 52 | variable [Module.Injective R R] [Nonempty X] |
| 53 | |
| 54 | def cohomologyIso (i : ℕ) (hi : i ≤ g) := by |
| 55 | letI (q : ℕ) : ((dualComplex f B n hn).X q).IsQuasicoherent := |
| 56 | term_quasicoherent f B n hn hB q |
| 57 | have hg : g ≤ n + 1 := by |
| 58 | have hg' := ClosedDimension.projective f g |
| 59 | omega |
| 60 | exact ConcentratedSerre.Comparison.iso |
| 61 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 62 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R)) |
| 63 | (Projective.TopTracePairing.canonicalTwist (R := R) n hn) (source f B n hn) |
| 64 | (n + 1 - g) (exactAt f B n hn hB g) i |
| 65 | (Projective.InternalHomTotal.serreIso (Projective.ClosedImmersionPurity.directImage f) |
| 66 | B n hn hB (i + (n + 1 - g)) (by omega)) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveSerre |