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.Quotients.FiniteDescent.UniversalCech |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AxisModel |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineCoverModel |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechModelBaseChange |
| 5 | |
| 6 | /-! # Detected Frame -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.DetectedFrame |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite universal axis detectors give a neighborhood trivialization |
| 13 | in a flat projective family, with the cohomology model constructed internally. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.DetectedFrameNeighborhood |
| 23 | |
| 24 | variable {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] [X.IsSeparated] |
| 25 | variable (π : X ⟶ S) [IsProper π] [Flat π] (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk π)) |
| 26 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) {ι : Type u} [LinearOrder ι] [Finite ι] |
| 27 | variable (U : ι → X.Opens) (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 28 | variable {T₁ T₂ : ShortComplex (ModuleCat.{u} Γ(S, ⊤))} |
| 29 | variable (r₁ : CechShort.Construction.CechShortCoordinates.target π L.sheaf U ⟶ T₁) |
| 30 | variable (r₂ : CechShort.Construction.CechShortCoordinates.target π L.sheaf U ⟶ T₂) |
| 31 | variable (D₁ : UniversalCech.Construction.UniversalCechDetector.Data Γ(S, ⊤) T₁) |
| 32 | variable (D₂ : UniversalCech.Construction.UniversalCechDetector.Data Γ(S, ⊤) T₂) |
| 33 | |
| 34 | include P hU ha D₁ D₂ |
| 35 | |
| 36 | theorem exists_open (x : S) [IsIntegral (π.fiber x)] |
| 37 | (he : Nonempty ((L.pullback (π.fiberι x)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π.fiber x))) |
| 38 | (hj : CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 39 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map r₁) |
| 40 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map r₂)) : |
| 41 | ∃ V : S.Opens, x ∈ V ∧ |
| 42 | Nonempty ((L.pullback (π ⁻¹ᵁ V).ι).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π ⁻¹ᵁ V).toScheme) := by |
| 43 | obtain ⟨D, φ, hq, _, hfin, hproj, hφ⟩ := AffineCoverModel.Construction.AffineCoverPerfectModel.exists_model π P U hU ha L |
| 44 | have : QuasiIso φ := hq |
| 45 | have := hfin 0 |
| 46 | have := hfin 1 |
| 47 | have := hfin 2 |
| 48 | have := hproj 0 |
| 49 | have := hproj 1 |
| 50 | have := hproj 2 |
| 51 | have := D₁.finite |
| 52 | have := D₁.free |
| 53 | have := D₂.finite |
| 54 | have := D₂.free |
| 55 | have := D₁.baseChange (S.Γevaluation x).hom |
| 56 | have := D₂.baseChange (S.Γevaluation x).hom |
| 57 | have : L.sheaf.IsQuasicoherent := LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 58 | have : QuasiIso (CechModelBaseChange.Construction.CechBaseChangeMap.modelMap (π.fiberι x) π (π.fiberToSpecResidueField x) |
| 59 | (S.fromSpecResidueField x) (π.fiber_fac x) L.sheaf U φ) := |
| 60 | CechModelBaseChange.Construction.CechBaseChangeMap.modelMap_quasiIso (π.fiberι x) π (π.fiberToSpecResidueField x) |
| 61 | (S.fromSpecResidueField x) L.sheaf U φ (IsPullback.of_hasPullback π (S.fromSpecResidueField x)) |
| 62 | (fun q i => SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U ha q i.1) hφ |
| 63 | exact AxisModel.Construction.AxisModelFrameNeighborhood.exists_open π L U hU φ T₁ T₂ D₁.target D₂.target |
| 64 | r₁ r₂ D₁.comparison D₂.comparison D₁.first_zero D₂.first_zero hφ x he inferInstance hj |
| 65 | |
| 66 | end Construction.DetectedFrameNeighborhood |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.DetectedFrame |