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.SurfaceProperCriterion |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.RationalReciprocity |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.Unit |
| 4 | |
| 5 | /-! # Affine Function Units -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineFunctionUnits.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # LineBundleCycles: local residue reciprocity from actual separation of divisor components |
| 15 | |
| 16 | Unit equations are handled by their zero Cartier cycles. For two |
| 17 | nonunits, separation of the actual minimal-prime supports proves the |
| 18 | maximal-radical parameter condition. This removes that extra parameter |
| 19 | hypothesis from proper regular and rational residue reciprocity. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 23 | |
| 24 | variable (R : Type) [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 25 | variable [IsLocalRing R] [IsIntegrallyClosed R] |
| 26 | |
| 27 | theorem affineDisjointResidueBoundary_zero (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 28 | (hdim : ringKrullDim R = 2) |
| 29 | (hproper : ∀ P : Ideal R, P ∈ (Ideal.span {b}).minimalPrimes → a ∉ P) : |
| 30 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle (Spec (CommRingCat.of R)) (Affine.ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) |
| 31 | (Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R a ha) (Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R b hb) = 0 := by |
| 32 | by_cases hau : IsUnit a |
| 33 | · exact Cartier.Unit.BundleCycles.normalResidueBoundaryCycle_globalUnit (Spec (CommRingCat.of R)) (Affine.ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) |
| 34 | (Affine.Divisor.BundleCycles.affineAmbientSection R a) (hau.map (Scheme.ΓSpecIso (CommRingCat.of R)).inv.hom) _ _ rfl |
| 35 | by_cases hbu : IsUnit b |
| 36 | · rw [ResidueBoundaryAddition.BundleCycles.normalResidueBoundaryCycle_swap] |
| 37 | have hz := Cartier.Unit.BundleCycles.normalResidueBoundaryCycle_globalUnit (Spec (CommRingCat.of R)) (Affine.ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) |
| 38 | (Affine.Divisor.BundleCycles.affineAmbientSection R b) (hbu.map (Scheme.ΓSpecIso (CommRingCat.of R)).inv.hom) |
| 39 | (Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R b hb) (Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R a ha) rfl |
| 40 | rw [hz, neg_zero] |
| 41 | exact Affine.ProperReciprocity.BundleCycles.affineProperResidueBoundary_zero R a b ha hb hdim |
| 42 | (SurfaceProperCriterion.BundleCycles.surfaceProperPair_radical a b hb hdim hau hbu hproper) |
| 43 | |
| 44 | theorem affineDisjointRationalResidueBoundary_zero (a c b d : R) |
| 45 | (ha : a ≠ 0) (hc : c ≠ 0) (hb : b ≠ 0) (hd : d ≠ 0) (hdim : ringKrullDim R = 2) |
| 46 | (hab : ∀ P : Ideal R, P ∈ (Ideal.span {b}).minimalPrimes → a ∉ P) |
| 47 | (had : ∀ P : Ideal R, P ∈ (Ideal.span {d}).minimalPrimes → a ∉ P) |
| 48 | (hcb : ∀ P : Ideal R, P ∈ (Ideal.span {b}).minimalPrimes → c ∉ P) |
| 49 | (hcd : ∀ P : Ideal R, P ∈ (Ideal.span {d}).minimalPrimes → c ∉ P) : |
| 50 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle (Spec (CommRingCat.of R)) (Affine.ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) |
| 51 | (Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R a ha / Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R c hc) |
| 52 | (Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R b hb / Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R d hd) = 0 := by |
| 53 | rw [Geometric.Steinberg.BundleCycles.normalResidueBoundaryCycle_div_left, Geometric.Steinberg.BundleCycles.normalResidueBoundaryCycle_div_right, |
| 54 | Geometric.Steinberg.BundleCycles.normalResidueBoundaryCycle_div_right, |
| 55 | affineDisjointResidueBoundary_zero R a b ha hb hdim hab, |
| 56 | affineDisjointResidueBoundary_zero R a d ha hd hdim had, |
| 57 | affineDisjointResidueBoundary_zero R c b hc hb hdim hcb, |
| 58 | affineDisjointResidueBoundary_zero R c d hc hd hdim hcd] |
| 59 | simp only [sub_zero] |
| 60 | |
| 61 | end |
| 62 | |
| 63 | /-! |
| 64 | # LineBundleCycles: actual affine function units preserve products and quotients |
| 65 | |
| 66 | The nonzero affine equation is sent through the actual global section |
| 67 | and generic-germ maps. These maps preserve multiplication, so the |
| 68 | residue-cycle bilinearity can be applied to genuine ring factorizations. |
| 69 | -/ |
| 70 | |
| 71 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 72 | |
| 73 | variable (R : Type) [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 74 | |
| 75 | omit [IsNoetherianRing R] in |
| 76 | theorem affineFunctionUnit_mul (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) : |
| 77 | Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R (a * b) (mul_ne_zero ha hb) = Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R a ha * Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R b hb := by |
| 78 | apply Units.ext |
| 79 | change RegularDivisor.BundleCycles.globalFunctionFieldElement (Spec (CommRingCat.of R)) (Affine.Divisor.BundleCycles.affineAmbientSection R (a * b)) = |
| 80 | RegularDivisor.BundleCycles.globalFunctionFieldElement (Spec (CommRingCat.of R)) (Affine.Divisor.BundleCycles.affineAmbientSection R a) * |
| 81 | RegularDivisor.BundleCycles.globalFunctionFieldElement (Spec (CommRingCat.of R)) (Affine.Divisor.BundleCycles.affineAmbientSection R b) |
| 82 | unfold RegularDivisor.BundleCycles.globalFunctionFieldElement Affine.Divisor.BundleCycles.affineAmbientSection |
| 83 | rw [map_mul, map_mul] |
| 84 | |
| 85 | omit [IsNoetherianRing R] in |
| 86 | theorem affineFunctionUnit_one : Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R 1 one_ne_zero = 1 := by |
| 87 | apply Units.ext |
| 88 | change RegularDivisor.BundleCycles.globalFunctionFieldElement (Spec (CommRingCat.of R)) (Affine.Divisor.BundleCycles.affineAmbientSection R 1) = 1 |
| 89 | unfold RegularDivisor.BundleCycles.globalFunctionFieldElement Affine.Divisor.BundleCycles.affineAmbientSection |
| 90 | rw [map_one, map_one] |
| 91 | |
| 92 | theorem affineResidueBoundary_unit_left [IsIntegrallyClosed R] |
| 93 | (a : R) (ha : IsUnit a) (h : (Spec (CommRingCat.of R)).functionFieldˣ) : |
| 94 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle (Spec (CommRingCat.of R)) (Affine.ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) |
| 95 | (Affine.ProperReciprocity.BundleCycles.affineFunctionUnit R a ha.ne_zero) h = 0 := |
| 96 | Cartier.Unit.BundleCycles.normalResidueBoundaryCycle_globalUnit (Spec (CommRingCat.of R)) (Affine.ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) |
| 97 | (Affine.Divisor.BundleCycles.affineAmbientSection R a) (ha.map (Scheme.ΓSpecIso (CommRingCat.of R)).inv.hom) _ _ rfl |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineFunctionUnits.BundleCycles |