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.GeometricProduct |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FiberCech |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Integral |
| 4 | |
| 5 | /-! # Product Residue -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductResidue |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Two product axes detect Cech cohomology after evaluation in the actual |
| 12 | residue field, including arbitrary coefficient trivializations on the axes. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Construction.ProductResidueDetector |
| 22 | |
| 23 | variable {X Y S : Scheme.{u}} [IsAffine S] [X.IsSeparated] [Y.IsSeparated] |
| 24 | variable (f : X ⟶ S) (g : Y ⟶ S) [(pullback f g).IsSeparated] |
| 25 | variable [IsProper f] [IsProper g] [GeometricallyIntegral f] [GeometricallyIntegral g] |
| 26 | variable {ι κ : Type u} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] |
| 27 | variable (U : ι → X.Opens) (V : κ → Y.Opens) |
| 28 | variable (hU : ∀ a, IsAffineOpen (U a)) (hV : ∀ a, IsAffineOpen (V a)) |
| 29 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 30 | variable (sX : S ⟶ X) (hsX : sX ≫ f = 𝟙 _) (sY : S ⟶ Y) (hsY : sY ≫ g = 𝟙 _) |
| 31 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sX ⁻¹ᵁ U i₀) (j₀ : κ) (hj₀ : ⊤ ≤ sY ⁻¹ᵁ V j₀) |
| 32 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (pullback f g)) (x : S) |
| 33 | variable (he : Nonempty ((L.pullback ((pullback.fst f g ≫ f).fiberι x)).sheaf ≅ |
| 34 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((pullback.fst f g ≫ f).fiber x))) |
| 35 | |
| 36 | include hU hV hcU hcV he |
| 37 | |
| 38 | theorem jointly : |
| 39 | CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 40 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map |
| 41 | (ProductFamilyCover.Construction.ProductFamilyAxes.left f g U V L.sheaf sY hsY j₀ hj₀)) |
| 42 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map |
| 43 | (ProductFamilyCover.Construction.ProductFamilyAxes.right f g U V L.sheaf sX hsX i₀ hi₀)) := by |
| 44 | have : IsProper (f.fiberToSpecResidueField x) := |
| 45 | inferInstanceAs (IsProper (pullback.snd f (S.fromSpecResidueField x))) |
| 46 | have : IsProper (g.fiberToSpecResidueField x) := |
| 47 | inferInstanceAs (IsProper (pullback.snd g (S.fromSpecResidueField x))) |
| 48 | apply FiberCech.Construction.FiberCechDetection.from_spectrum S x |
| 49 | exact GeometricProduct.Construction.GeometricProductDetector.jointly f g (f.fiberToSpecResidueField x) |
| 50 | (g.fiberToSpecResidueField x) (f.fiberι x) (g.fiberι x) (S.fromSpecResidueField x) |
| 51 | (IsPullback.of_hasPullback f (S.fromSpecResidueField x)) |
| 52 | (IsPullback.of_hasPullback g (S.fromSpecResidueField x)) U V hU hV hcU hcV |
| 53 | sX hsX sY hsY i₀ hi₀ j₀ hj₀ L he.some |
| 54 | |
| 55 | theorem normalized (N₁ : X.Modules) (N₂ : Y.Modules) |
| 56 | (e₁ : (Scheme.Modules.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY)).obj L.sheaf ≅ N₁) |
| 57 | (e₂ : (Scheme.Modules.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX)).obj L.sheaf ≅ N₂) : |
| 58 | CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 59 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map |
| 60 | (ProductFamilyCover.Construction.ProductFamilyAxes.left f g U V L.sheaf sY hsY j₀ hj₀ ≫ |
| 61 | ((CechCoefficient.Construction.CechCoefficientFunctor.moduleFunctor f U).mapIso e₁).hom)) |
| 62 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map |
| 63 | (ProductFamilyCover.Construction.ProductFamilyAxes.right f g U V L.sheaf sX hsX i₀ hi₀ ≫ |
| 64 | ((CechCoefficient.Construction.CechCoefficientFunctor.moduleFunctor g V).mapIso e₂).hom)) := by |
| 65 | rw [Functor.map_comp, Functor.map_comp] |
| 66 | exact CechBoundary.Construction.CechBoundaryTransport.jointly_postcompose_isos _ _ |
| 67 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.mapIso |
| 68 | ((CechCoefficient.Construction.CechCoefficientFunctor.moduleFunctor f U).mapIso e₁)) |
| 69 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.mapIso |
| 70 | ((CechCoefficient.Construction.CechCoefficientFunctor.moduleFunctor g V).mapIso e₂)) |
| 71 | (jointly f g U V hU hV hcU hcV sX hsX sY hsY i₀ hi₀ j₀ hj₀ L x he) |
| 72 | |
| 73 | end Construction.ProductResidueDetector |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductResidue |