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.Geometric.ResidueLaws |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Support.PrincipalLaws |
| 4 | |
| 5 | /-! # Residue Cycle Family -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueCycleFamily.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: the finitely supported family of actual residue divisors |
| 13 | |
| 14 | The residue contribution vanishes outside the union of the two actual |
| 15 | principal-divisor supports: both orders are zero there. This yields a |
| 16 | finitely supported family on all codimension-one points. Its product |
| 17 | laws are proved pointwise from the actual rational-function and |
| 18 | principal-divisor laws, without choosing a common finite indexing set. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 22 | |
| 23 | variable (X : Scheme) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 24 | variable (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 25 | |
| 26 | def normalResidueContribution (g h : X.functionFieldˣ) (x : {x : X // coheight x = 1}) : X →₀ ℚ := |
| 27 | letI := hNormal x |
| 28 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm (x : X)) |
| 29 | (Normal.PointResidue.BundleCycles.normalPointResidueFunction X x x.2 g h) |
| 30 | |
| 31 | theorem normalResidueContribution_mul_left (g h k : X.functionFieldˣ) (x : {x : X // coheight x = 1}) : |
| 32 | normalResidueContribution X hNormal (g * h) k x = |
| 33 | normalResidueContribution X hNormal g k x + normalResidueContribution X hNormal h k x := by |
| 34 | let := hNormal x |
| 35 | unfold normalResidueContribution |
| 36 | rw [Geometric.ResidueLaws.BundleCycles.normalPointResidueFunction_mul_left] |
| 37 | exact Support.PrincipalLaws.BundleCycles.schemePrincipalPointDivisor_mul _ _ _ |
| 38 | (Normal.PointResidue.BundleCycles.normalPointResidueFunction_ne_zero X x x.2 g k) (Normal.PointResidue.BundleCycles.normalPointResidueFunction_ne_zero X x x.2 h k) |
| 39 | |
| 40 | theorem normalResidueContribution_mul_right (g h k : X.functionFieldˣ) (x : {x : X // coheight x = 1}) : |
| 41 | normalResidueContribution X hNormal g (h * k) x = |
| 42 | normalResidueContribution X hNormal g h x + normalResidueContribution X hNormal g k x := by |
| 43 | let := hNormal x |
| 44 | unfold normalResidueContribution |
| 45 | rw [Geometric.ResidueLaws.BundleCycles.normalPointResidueFunction_mul_right] |
| 46 | exact Support.PrincipalLaws.BundleCycles.schemePrincipalPointDivisor_mul _ _ _ |
| 47 | (Normal.PointResidue.BundleCycles.normalPointResidueFunction_ne_zero X x x.2 g h) (Normal.PointResidue.BundleCycles.normalPointResidueFunction_ne_zero X x x.2 g k) |
| 48 | |
| 49 | theorem normalResidueContribution_eq_zero (g h : X.functionFieldˣ) (x : {x : X // coheight x = 1}) |
| 50 | (hx : (x : X) ∉ Normal.PointResidue.BundleCycles.residueDivisorSupport X g h) : normalResidueContribution X hNormal g h x = 0 := by |
| 51 | classical |
| 52 | let := hNormal x |
| 53 | have hg : X.ord (g : X.functionField) x = 0 := by |
| 54 | change Ord.BundleCycles.principalDivisor X (g : X.functionField) x = 0 |
| 55 | apply Finsupp.notMem_support_iff.mp |
| 56 | exact fun hm => hx (Finset.mem_union_left _ hm) |
| 57 | have hh : X.ord (h : X.functionField) x = 0 := by |
| 58 | change Ord.BundleCycles.principalDivisor X (h : X.functionField) x = 0 |
| 59 | apply Finsupp.notMem_support_iff.mp |
| 60 | exact fun hm => hx (Finset.mem_union_right _ hm) |
| 61 | unfold normalResidueContribution |
| 62 | rw [Geometric.ResidueLaws.BundleCycles.normalPointResidueFunction_zero_orders X x x.2 g h hg hh, Support.PrincipalLaws.BundleCycles.schemePrincipalPointDivisor_one] |
| 63 | |
| 64 | theorem normalResidueContribution_finite (g h : X.functionFieldˣ) : |
| 65 | {x : {x : X // coheight x = 1} | normalResidueContribution X hNormal g h x ≠ 0}.Finite := by |
| 66 | have hs : {x : {x : X // coheight x = 1} | (x : X) ∈ Normal.PointResidue.BundleCycles.residueDivisorSupport X g h}.Finite := |
| 67 | (Normal.PointResidue.BundleCycles.residueDivisorSupport X g h).finite_toSet.preimage Subtype.val_injective.injOn |
| 68 | apply hs.subset |
| 69 | intro x hx |
| 70 | by_contra hn |
| 71 | exact hx (normalResidueContribution_eq_zero X hNormal g h x hn) |
| 72 | |
| 73 | /-- The actual finitely supported family of residue divisors at codimension-one points. -/ |
| 74 | def normalResidueCycleFamily (g h : X.functionFieldˣ) : {x : X // coheight x = 1} →₀ (X →₀ ℚ) := |
| 75 | Finsupp.ofSupportFinite (normalResidueContribution X hNormal g h) |
| 76 | (normalResidueContribution_finite X hNormal g h) |
| 77 | |
| 78 | theorem normalResidueCycleFamily_mul_left (g h k : X.functionFieldˣ) : |
| 79 | normalResidueCycleFamily X hNormal (g * h) k = |
| 80 | normalResidueCycleFamily X hNormal g k + normalResidueCycleFamily X hNormal h k := by |
| 81 | ext x y |
| 82 | exact congrArg (fun z : X →₀ ℚ => z y) (normalResidueContribution_mul_left X hNormal g h k x) |
| 83 | |
| 84 | theorem normalResidueCycleFamily_mul_right (g h k : X.functionFieldˣ) : |
| 85 | normalResidueCycleFamily X hNormal g (h * k) = |
| 86 | normalResidueCycleFamily X hNormal g h + normalResidueCycleFamily X hNormal g k := by |
| 87 | ext x y |
| 88 | exact congrArg (fun z : X →₀ ℚ => z y) (normalResidueContribution_mul_right X hNormal g h k x) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueCycleFamily.BundleCycles |