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.Affine.LinearResolutionPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.Isomorphism |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ClosedImmersionPurity |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.InternalHomCoherence |
| 5 | |
| 6 | /-! # Local Dual Line -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.LocalDualLine |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On an affine coordinate subopen with regular defining equations, |
| 13 | the surviving dual cohomology is the actual rank-one module on the |
| 14 | closed subscheme. All isomorphisms retain the ambient module action. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 23 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 24 | |
| 25 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 26 | |
| 27 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ClosedImmersionPurity |
| 28 | |
| 29 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 30 | (j : σ) (B b : ℕ) (hb : b ≤ B) |
| 31 | |
| 32 | include hb in |
| 33 | omit [LinearOrder σ] in |
| 34 | theorem term_quasicoherent (q : ℕ) : ((ClosedImmersionPurity.internalComplex f j B b).X q).IsQuasicoherent := |
| 35 | InternalHomCoherence.term (ClosedImmersionPurity.directImage f) j B b hb q |
| 36 | |
| 37 | include hb in |
| 38 | omit [LinearOrder σ] in |
| 39 | theorem homology_quasicoherent (q : ℕ) : ((ClosedImmersionPurity.internalComplex f j B b).homology q).IsQuasicoherent := by |
| 40 | let (n : ℕ) : ((ClosedImmersionPurity.internalComplex f j B b).X n).IsQuasicoherent := |
| 41 | term_quasicoherent f j B b hb n |
| 42 | exact QuasicoherentTruncation.cohomology (ClosedImmersionPurity.internalComplex f j B b) q |
| 43 | |
| 44 | variable (U : (Proj (homogeneousSubmodule σ R)).Opens) (hU : IsAffineOpen U) |
| 45 | (i : σ) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 46 | (rs : List Γ(Proj (homogeneousSubmodule σ R), U)) |
| 47 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), U) rs) |
| 48 | (hrs : RingHom.ker (f.app U).hom = Ideal.ofList rs) |
| 49 | |
| 50 | def sectionIso : |
| 51 | (Affine.ModuleExactSections.sections U).obj ((ClosedImmersionPurity.internalComplex f j B b).homology rs.length) ≅ |
| 52 | (Affine.ModuleExactSections.sections U).obj (ClosedImmersionPurity.directImage f) := by |
| 53 | let (n : ℕ) : ((Affine.LinearResolutionPurity.internalComplex |
| 54 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j b) (ClosedImmersionPurity.source f j B)).X n).IsQuasicoherent := |
| 55 | term_quasicoherent f j B b hb n |
| 56 | let (n : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((ClosedImmersionPurity.source f j B).X n)) := |
| 57 | Affine.ProjectiveResolutionTerms.term_projective U hU i hUi (ClosedImmersionPurity.directImage f) j B n |
| 58 | exact Affine.LinearResolutionPurity.cohomologySheafIso U hU |
| 59 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j b) (ClosedImmersionPurity.source f j B) (ClosedImmersionPurity.directImage f) |
| 60 | (NegativeResolution.augmentation (ClosedImmersionPurity.directImage f) j B) rs hreg |
| 61 | (Closed.ImmersionQuotientSections.chartQuotientIso f U hU rs hrs) |
| 62 | (ClosedImmersionPurity.targetTrivialization j b U hU i hUi) ≪≫ |
| 63 | Closed.ImmersionQuotientSections.listQuotientIso f U hU rs hrs |
| 64 | |
| 65 | def openIso : ((ClosedImmersionPurity.internalComplex f j B b).homology rs.length).restrict U.ι ≅ |
| 66 | (ClosedImmersionPurity.directImage f).restrict U.ι := by |
| 67 | letI := homology_quasicoherent f j B b hb rs.length |
| 68 | exact AffineSection.Isomorphism.openIso U hU _ _ |
| 69 | (sectionIso f j B b hb U hU i hUi rs hreg hrs) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.LocalDualLine |