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.Divisors.LineBundles.Integral.ClosedImage |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierCycle |
| 3 | |
| 4 | /-! # Image Regular Function -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.ImageRegularFunction.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: transported functions on closed images are the actual regular restrictions |
| 12 | |
| 13 | The canonical generic-field isomorphism commutes with global germs and |
| 14 | the actual closed-immersion pullback. Thus the function used in the |
| 15 | image principal-divisor formula is precisely the restricted equation. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 19 | |
| 20 | variable {A X : Scheme} [IsIntegral A] (i : A ⟶ X) [IsClosedImmersion i] |
| 21 | variable [AlgebraicGeometry.IsNoetherian A] [AlgebraicGeometry.IsNoetherian X] |
| 22 | |
| 23 | omit [AlgebraicGeometry.IsNoetherian A] [AlgebraicGeometry.IsNoetherian X] in |
| 24 | theorem integralClosedImageFunction_regular (a : Γ(X, ⊤)) : |
| 25 | Integral.ClosedImage.BundleCycles.integralClosedImageFunction i (RegularDivisor.BundleCycles.globalFunctionFieldElement A (i.appTop a)) = |
| 26 | Principal.CartierCycle.BundleCycles.supportRegularFunction a (CycleClass.Geometric.StratumClosure.integralImageClosure i) := by |
| 27 | let e := Integral.ClosedImage.BundleCycles.integralClosedImageIso i |
| 28 | let j := CycleClass.Geometric.GenericPoint.reducedSupportι (CycleClass.Geometric.StratumClosure.integralImageClosure i) |
| 29 | have hc : j.appTop ≫ e.hom.appTop = i.appTop := |
| 30 | (Scheme.Hom.comp_appTop e.hom j).symm.trans |
| 31 | (congrArg Scheme.Hom.appTop (Integral.ClosedImage.BundleCycles.integralClosedImageIso_inclusion i)) |
| 32 | have hg := Cycles.Functoriality.FunctionFields.Construction.genericFieldMap_germ e.hom (genericPoint_eq_of_isOpenImmersion e.hom) |
| 33 | have hv : RationalDivisorRestriction.BundleCycles.openFunctionFieldMap e.hom (Principal.CartierCycle.BundleCycles.supportRegularFunction a (CycleClass.Geometric.StratumClosure.integralImageClosure i)) = |
| 34 | RegularDivisor.BundleCycles.globalFunctionFieldElement A (e.hom.appTop (j.appTop a)) := |
| 35 | congrArg (fun k : Γ(CycleClass.Geometric.GenericPoint.reducedSupportScheme (CycleClass.Geometric.StratumClosure.integralImageClosure i), ⊤) ⟶ A.functionField => |
| 36 | k (j.appTop a)) hg |
| 37 | have hf := hv.trans (congrArg (RegularDivisor.BundleCycles.globalFunctionFieldElement A) |
| 38 | (congrArg (fun k : Γ(X, ⊤) ⟶ Γ(A, ⊤) => k a) hc)) |
| 39 | apply (RationalDivisorRestriction.BundleCycles.openFunctionFieldIso e.hom).hom.hom.injective |
| 40 | exact (Iso.inv_hom_id_apply (RationalDivisorRestriction.BundleCycles.openFunctionFieldIso e.hom) |
| 41 | (RegularDivisor.BundleCycles.globalFunctionFieldElement A (i.appTop a))).trans hf.symm |
| 42 | |
| 43 | theorem integralClosedImage_regularDivisor (a : Γ(X, ⊤)) : |
| 44 | Finsupp.mapDomain i (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor A (RegularDivisor.BundleCycles.globalFunctionFieldElement A (i.appTop a))) = |
| 45 | Principal.CartierCycle.BundleCycles.principalCartierPointCycle a (CycleClass.Geometric.StratumClosure.integralImageClosure i) := by |
| 46 | rw [Integral.ClosedImage.BundleCycles.integralClosedImage_principalDivisor, integralClosedImageFunction_regular] |
| 47 | rfl |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.ImageRegularFunction.BundleCycles |