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.Normal.PointResidue |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Support.PrincipalLaws |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierCycle |
| 4 | |
| 5 | /-! # Residue Cartier -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.ResidueCartier.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: proper-component residue divisors are actual Cartier intersection terms |
| 13 | |
| 14 | When an ambient regular equation is a unit at the divisor point, its |
| 15 | normal residue function is its actual support restriction raised to the |
| 16 | other function's native order. Taking the complete principal divisor |
| 17 | gives that order times the actual Cartier intersection cycle. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 21 | |
| 22 | variable (X : Scheme) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 23 | variable (x : X) (hx : coheight x = 1) [IsIntegrallyClosed (X.presheaf.stalk x)] |
| 24 | |
| 25 | theorem normalPointResidueFunction_regularUnit (a : Γ(X, ⊤)) |
| 26 | (ha : IsUnit (X.presheaf.germ ⊤ x (by trivial) a)) (g h : X.functionFieldˣ) |
| 27 | (hg : (g : X.functionField) = RegularDivisor.BundleCycles.globalFunctionFieldElement X a) : |
| 28 | PointResidue.BundleCycles.normalPointResidueFunction X x hx g h = |
| 29 | (Principal.CartierCycle.BundleCycles.supportRegularFunction a (irreducibleSetEquivPoints.symm x)) ^ X.ord (h : X.functionField) x := by |
| 30 | let := PointResidue.BundleCycles.normal_stalk_isDVR X x hx |
| 31 | obtain ⟨u, hu⟩ := ha |
| 32 | have hgu : g = Units.map (algebraMap (X.presheaf.stalk x) X.functionField).toMonoidHom u := by |
| 33 | apply Units.ext |
| 34 | change (g : X.functionField) = algebraMap (X.presheaf.stalk x) X.functionField (u : X.presheaf.stalk x) |
| 35 | rw [hu] |
| 36 | exact hg.trans (Scheme.algebraMap_germ_eq_germToFunctionField X (by trivial) a).symm |
| 37 | rw [hgu] |
| 38 | exact Geometric.ResidueRegular.BundleCycles.geometricResidueFunction_regular X x _ _ hx a u hu h |
| 39 | |
| 40 | theorem normalResidue_principal_regularUnit (a : Γ(X, ⊤)) |
| 41 | (ha : IsUnit (X.presheaf.germ ⊤ x (by trivial) a)) (g h : X.functionFieldˣ) |
| 42 | (hg : (g : X.functionField) = RegularDivisor.BundleCycles.globalFunctionFieldElement X a) : |
| 43 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) (PointResidue.BundleCycles.normalPointResidueFunction X x hx g h) = |
| 44 | X.ord (h : X.functionField) x • Principal.CartierCycle.BundleCycles.principalCartierPointCycle a (irreducibleSetEquivPoints.symm x) := by |
| 45 | obtain ⟨u, hu⟩ := ha |
| 46 | have hn : Principal.CartierCycle.BundleCycles.supportRegularFunction a (irreducibleSetEquivPoints.symm x) ≠ 0 := by |
| 47 | have he := Geometric.ResidueRegular.BundleCycles.pointSupportResidueFunction_regular X x a u hu |
| 48 | intro hz |
| 49 | exact Point.SupportResidue.BundleCycles.pointSupportResidueFunction_ne_zero X x |
| 50 | (Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom u) (he.trans hz) |
| 51 | rw [normalPointResidueFunction_regularUnit X x hx a ⟨u, hu⟩ g h hg] |
| 52 | exact Support.PrincipalLaws.BundleCycles.schemePrincipalPointDivisor_zpow (irreducibleSetEquivPoints.symm x) |
| 53 | (Units.mk0 (Principal.CartierCycle.BundleCycles.supportRegularFunction a (irreducibleSetEquivPoints.symm x)) hn) |
| 54 | (X.ord (h : X.functionField) x) |
| 55 | |
| 56 | theorem normalResidue_principal_regularUnit_rat (a : Γ(X, ⊤)) |
| 57 | (ha : IsUnit (X.presheaf.germ ⊤ x (by trivial) a)) (g h : X.functionFieldˣ) |
| 58 | (hg : (g : X.functionField) = RegularDivisor.BundleCycles.globalFunctionFieldElement X a) : |
| 59 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) (PointResidue.BundleCycles.normalPointResidueFunction X x hx g h) = |
| 60 | (X.ord (h : X.functionField) x : ℚ) • Principal.CartierCycle.BundleCycles.principalCartierPointCycle a (irreducibleSetEquivPoints.symm x) := by |
| 61 | rw [Int.cast_smul_eq_zsmul] |
| 62 | exact normalResidue_principal_regularUnit X x hx a ha g h hg |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.ResidueCartier.BundleCycles |