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.SheafCohomology.Projective.ComplexPresentationAugmentationSections |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ComplexResolutionCokernel |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ComplexMinimalResolutionFinite |
| 4 | |
| 5 | /-! # Complex Presentation Cokernel Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.ComplexPresentationCokernelIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The minimal resolution cokernel is isomorphic to the original coherent sheaf. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.MvPolynomial |
| 17 | namespace ComplexResolution |
| 18 | variable {σ : Type} [Fintype σ] [LinearOrder σ] |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra ComplexMinimalResolution.ComplexResolution.complexResolutionField |
| 20 | variable {j : σ} {M : (Proj (homogeneousSubmodule σ ℂ)).Modules} |
| 21 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) [M.IsQuasicoherent] |
| 22 | |
| 23 | theorem presentationAugmentation_comp_zero : |
| 24 | ComplexMinimalResolution.ComplexResolution.differential j D.gradedCokernel D.gradedCokernel_nonnegative 0 ≫ |
| 25 | ComplexPresentationAugmentation.ComplexResolution.presentationAugmentation D = 0 := by |
| 26 | have : (ComplexMinimalResolution.ComplexResolution.term j D.gradedCokernel 1).IsQuasicoherent := ComplexMinimalResolutionFinite.ComplexResolution.term_quasicoherent j D.gradedCokernel 1 |
| 27 | have : (ComplexMinimalResolution.ComplexResolution.term j D.gradedCokernel 1).IsFiniteType := ComplexMinimalResolutionFinite.ComplexResolution.term_finiteType j D.gradedCokernel 1 |
| 28 | obtain ⟨b, hb⟩ := ComplexPresentationAugmentationSections.ComplexResolution.presentationAugmentation_eventually_sections D |
| 29 | apply TwistedSectionsDetectMorphism.MvPolynomial.finiteType_hom_eq_zero_of_eventually_twistedSections_eq_zero _ j b |
| 30 | intro n hn x |
| 31 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ)) |
| 32 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor |
| 33 | change G.map (F.map (ComplexMinimalResolution.ComplexResolution.differential j D.gradedCokernel D.gradedCokernel_nonnegative 0 ≫ |
| 34 | ComplexPresentationAugmentation.ComplexResolution.presentationAugmentation D)) x = 0 |
| 35 | rw [F.map_comp, G.map_comp, ModuleCat.comp_apply] |
| 36 | exact (hb n hn).1.apply_apply_eq_zero x |
| 37 | |
| 38 | def presentationShortComplex : ShortComplex (Proj (homogeneousSubmodule σ ℂ)).Modules := |
| 39 | ShortComplex.mk (ComplexMinimalResolution.ComplexResolution.differential j D.gradedCokernel D.gradedCokernel_nonnegative 0) |
| 40 | (ComplexPresentationAugmentation.ComplexResolution.presentationAugmentation D) (presentationAugmentation_comp_zero D) |
| 41 | |
| 42 | theorem presentationShortComplex_exact : (presentationShortComplex D).Exact := by |
| 43 | have : (ComplexMinimalResolution.ComplexResolution.term j D.gradedCokernel 1).IsQuasicoherent := ComplexMinimalResolutionFinite.ComplexResolution.term_quasicoherent j D.gradedCokernel 1 |
| 44 | have : (ComplexMinimalResolution.ComplexResolution.term j D.gradedCokernel 0).IsQuasicoherent := ComplexMinimalResolutionFinite.ComplexResolution.term_quasicoherent j D.gradedCokernel 0 |
| 45 | have : (ComplexMinimalResolution.ComplexResolution.term j D.gradedCokernel 0).IsFiniteType := ComplexMinimalResolutionFinite.ComplexResolution.term_finiteType j D.gradedCokernel 0 |
| 46 | obtain ⟨b, hb⟩ := ComplexPresentationAugmentationSections.ComplexResolution.presentationAugmentation_eventually_sections D |
| 47 | exact TwistedSectionsDetectExact.MvPolynomial.finiteType_exact_of_eventually_twistedSections_exact _ _ |
| 48 | (presentationAugmentation_comp_zero D) j b (fun n hn => (hb n hn).1) |
| 49 | |
| 50 | theorem presentationAugmentation_epi [M.IsFiniteType] : Epi (ComplexPresentationAugmentation.ComplexResolution.presentationAugmentation D) := by |
| 51 | have : (ComplexMinimalResolution.ComplexResolution.freeSheaf j D.gradedCokernel).IsQuasicoherent := ComplexMinimalResolutionFinite.ComplexResolution.term_quasicoherent j D.gradedCokernel 0 |
| 52 | obtain ⟨b, hb⟩ := ComplexPresentationAugmentationSections.ComplexResolution.presentationAugmentation_eventually_sections D |
| 53 | exact TwistedSectionsDetectIso.MvPolynomial.finiteType_epi_of_eventually_twistedSections_surjective _ j b (fun n hn => (hb n hn).2) |
| 54 | |
| 55 | def presentationCokernelIso [M.IsFiniteType] : |
| 56 | ComplexResolutionCokernel.ComplexResolution.cokernelSheaf j D.gradedCokernel D.gradedCokernel_nonnegative ≅ M := by |
| 57 | have : Epi (presentationShortComplex D).g := presentationAugmentation_epi D |
| 58 | exact IsColimit.coconePointUniqueUpToIso (cokernelIsCokernel _) |
| 59 | (presentationShortComplex_exact D).gIsCokernel |
| 60 | |
| 61 | end ComplexResolution |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.ComplexPresentationCokernelIso |