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.DVRResidueRegularSteinberg |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.DivisorSign |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueBoundaryAddition |
| 4 | |
| 5 | /-! # Steinberg -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Geometric.Steinberg.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # LineBundleCycles: the geometric residue boundary satisfies the Steinberg relation |
| 15 | |
| 16 | For nonzero rational functions adding to one, each residue function is |
| 17 | one or a constant sign. Its actual principal divisor is zero. Thus the |
| 18 | complete finite geometric residue boundary vanishes as a cycle. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 22 | |
| 23 | variable (X : Scheme) (x : X) |
| 24 | |
| 25 | theorem pointSupportResidueFunction_sign (n : ℤ) : |
| 26 | Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x |
| 27 | ((Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom (-1 : (X.presheaf.stalk x)ˣ)) ^ n) = |
| 28 | (-1 : (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)).functionField) ^ n := by |
| 29 | have hs : ((Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom |
| 30 | (-1 : (X.presheaf.stalk x)ˣ) : (IsLocalRing.ResidueField (X.presheaf.stalk x))ˣ) : |
| 31 | IsLocalRing.ResidueField (X.presheaf.stalk x)) = -1 := by |
| 32 | change IsLocalRing.residue (X.presheaf.stalk x) (-1) = -1 |
| 33 | rw [map_neg, map_one] |
| 34 | unfold Point.SupportResidue.BundleCycles.pointSupportResidueFunction |
| 35 | rw [Units.val_zpow_eq_zpow_val, hs] |
| 36 | exact (map_zpow₀ (Point.SupportResidue.BundleCycles.pointSupportResidueIso X x).hom.hom (-1 : X.residueField x) n).trans |
| 37 | (congrArg (fun z => z ^ n) |
| 38 | ((map_neg (Point.SupportResidue.BundleCycles.pointSupportResidueIso X x).hom.hom 1).trans (congrArg Neg.neg (map_one _)))) |
| 39 | |
| 40 | variable [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 41 | |
| 42 | theorem geometricResidueFunction_principal_add_one |
| 43 | [IsDiscreteValuationRing (X.presheaf.stalk x)] (π : X.presheaf.stalk x) (hπ : Irreducible π) |
| 44 | (g h : X.functionFieldˣ) (hsum : (g : X.functionField) + (h : X.functionField) = 1) : |
| 45 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) |
| 46 | (ResidueFunction.BundleCycles.geometricResidueFunction X x π hπ g h) = 0 := by |
| 47 | unfold ResidueFunction.BundleCycles.geometricResidueFunction |
| 48 | by_cases hg : SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder (X.presheaf.stalk x) (g : X.functionField) < 0 |
| 49 | · rw [DVRResidueRegularSteinberg.BundleCycles.dvrResidueQuotient_add_one_of_neg π hπ g h hsum hg, |
| 50 | pointSupportResidueFunction_sign, Principal.DivisorSign.BundleCycles.schemePrincipalPointDivisor_sign] |
| 51 | · rw [DVRResidueRegularSteinberg.BundleCycles.dvrResidueQuotient_add_one_of_nonneg π hπ g h hsum (le_of_not_gt hg)] |
| 52 | exact (congrArg (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x)) |
| 53 | (ResidueLaws.BundleCycles.pointSupportResidueFunction_one X x)).trans (Support.PrincipalLaws.BundleCycles.schemePrincipalPointDivisor_one _) |
| 54 | |
| 55 | theorem normalPointResidueFunction_principal_add_one (hx : coheight x = 1) |
| 56 | [IsIntegrallyClosed (X.presheaf.stalk x)] (g h : X.functionFieldˣ) |
| 57 | (hsum : (g : X.functionField) + (h : X.functionField) = 1) : |
| 58 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) |
| 59 | (Normal.PointResidue.BundleCycles.normalPointResidueFunction X x hx g h) = 0 := by |
| 60 | let := Normal.PointResidue.BundleCycles.normal_stalk_isDVR X x hx |
| 61 | exact geometricResidueFunction_principal_add_one X x _ _ g h hsum |
| 62 | |
| 63 | theorem normalResidueBoundaryCycle_add_one |
| 64 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) (g h : X.functionFieldˣ) |
| 65 | (hsum : (g : X.functionField) + (h : X.functionField) = 1) : |
| 66 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h = 0 := by |
| 67 | unfold Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle |
| 68 | apply Finset.sum_eq_zero |
| 69 | intro x _ |
| 70 | let := hNormal x |
| 71 | exact normalPointResidueFunction_principal_add_one X x (Normal.PointResidue.BundleCycles.residueDivisorSupport_coheight X g h x) g h hsum |
| 72 | |
| 73 | end |
| 74 | |
| 75 | /-! |
| 76 | # LineBundleCycles: exchanging a residue pair through its actual sum |
| 77 | |
| 78 | Bilinearity and the proved geometric Steinberg relation identify the |
| 79 | boundary of (g,h) with the sum of the boundaries of (g,g+h) and (g+h,h). |
| 80 | All expressions are the existing finite cycles on actual supports. |
| 81 | -/ |
| 82 | |
| 83 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 84 | |
| 85 | variable (X : Scheme) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 86 | variable (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 87 | |
| 88 | theorem normalResidueBoundaryCycle_one_right (g : X.functionFieldˣ) : |
| 89 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g 1 = 0 := by |
| 90 | rw [ResidueBoundaryAddition.BundleCycles.normalResidueBoundaryCycle_swap, ResidueBoundaryAddition.BundleCycles.normalResidueBoundaryCycle_one_left, neg_zero] |
| 91 | |
| 92 | theorem normalResidueBoundaryCycle_inv_right (g h : X.functionFieldˣ) : |
| 93 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h⁻¹ = -Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h := by |
| 94 | have he := ResidueBoundaryAddition.BundleCycles.normalResidueBoundaryCycle_mul_right X hNormal g h h⁻¹ |
| 95 | rw [mul_inv_cancel, normalResidueBoundaryCycle_one_right] at he |
| 96 | exact eq_neg_iff_add_eq_zero.mpr ((add_comm _ _).trans he.symm) |
| 97 | |
| 98 | theorem normalResidueBoundaryCycle_div_left (g h k : X.functionFieldˣ) : |
| 99 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal (g / h) k = |
| 100 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g k - Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal h k := by |
| 101 | rw [div_eq_mul_inv, ResidueBoundaryAddition.BundleCycles.normalResidueBoundaryCycle_mul_left, |
| 102 | ResidueBoundaryAddition.BundleCycles.normalResidueBoundaryCycle_inv_left, sub_eq_add_neg] |
| 103 | |
| 104 | theorem normalResidueBoundaryCycle_div_right (g h k : X.functionFieldˣ) : |
| 105 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g (h / k) = |
| 106 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h - Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g k := by |
| 107 | rw [div_eq_mul_inv, ResidueBoundaryAddition.BundleCycles.normalResidueBoundaryCycle_mul_right, |
| 108 | normalResidueBoundaryCycle_inv_right, sub_eq_add_neg] |
| 109 | |
| 110 | theorem normalResidueBoundaryCycle_exchange (g h s : X.functionFieldˣ) |
| 111 | (hs : (g : X.functionField) + (h : X.functionField) = s) : |
| 112 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h = |
| 113 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g s + Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal s h := by |
| 114 | have hsum : ((g / s : X.functionFieldˣ) : X.functionField) + |
| 115 | ((h / s : X.functionFieldˣ) : X.functionField) = 1 := by |
| 116 | rw [Units.val_div_eq_div_val, Units.val_div_eq_div_val, ← add_div, hs, div_self s.ne_zero] |
| 117 | have he := normalResidueBoundaryCycle_add_one X hNormal (g / s) (h / s) hsum |
| 118 | rw [normalResidueBoundaryCycle_div_left, normalResidueBoundaryCycle_div_right, |
| 119 | normalResidueBoundaryCycle_div_right, ResidueBoundaryAddition.BundleCycles.normalResidueBoundaryCycle_self, sub_zero] at he |
| 120 | apply sub_eq_zero.mp |
| 121 | exact (show Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h - |
| 122 | (Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g s + Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal s h) = |
| 123 | (Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h - Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g s) - |
| 124 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal s h by abel).trans he |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Geometric.Steinberg.BundleCycles |