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.ResidueDifference |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.PointResidue |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierFiber |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RationalDivisorRestriction |
| 5 | |
| 6 | /-! # Residue Boundary -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Proper.ResidueBoundary.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: the complete proper residue boundary is the actual intersection difference |
| 14 | |
| 15 | The finite union of the native divisor supports covers both Cartier |
| 16 | sums. At every point in that union, the proved proper-component formula |
| 17 | identifies the residue principal divisor with the corresponding difference. |
| 18 | Summing retains all coefficients of the actual cycles. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 22 | open scoped Classical |
| 23 | |
| 24 | variable (X : Scheme) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 25 | |
| 26 | theorem principalCartierPointMap_divisor_sum (a : Γ(X, ⊤)) (g : X.functionField) |
| 27 | (S : Finset X) (hs : (Ord.BundleCycles.principalDivisor X g).support ⊆ S) : |
| 28 | Principal.CartierFiber.BundleCycles.principalCartierPointMap a (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g) = |
| 29 | ∑ x : S, (X.ord g x : ℚ) • Principal.CartierCycle.BundleCycles.principalCartierPointCycle a (irreducibleSetEquivPoints.symm (x : X)) := by |
| 30 | have hq : (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g).support ⊆ S := by |
| 31 | intro x hx |
| 32 | apply hs |
| 33 | apply Finsupp.mem_support_iff.mpr |
| 34 | intro hz |
| 35 | apply Finsupp.mem_support_iff.mp hx |
| 36 | change (Ord.BundleCycles.principalDivisor X g x : ℚ) = 0 |
| 37 | rw [hz, Int.cast_zero] |
| 38 | rw [Principal.CartierFiber.BundleCycles.principalCartierPointMap, Finsupp.linearCombination_apply] |
| 39 | exact ((RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g).sum_of_support_subset hq |
| 40 | (fun x q => q • Principal.CartierCycle.BundleCycles.principalCartierPointCycle a (irreducibleSetEquivPoints.symm x)) |
| 41 | (fun x _ => zero_smul ℚ (Principal.CartierCycle.BundleCycles.principalCartierPointCycle a (irreducibleSetEquivPoints.symm x)))).trans |
| 42 | (Finset.sum_coe_sort S (fun x : X => (X.ord g x : ℚ) • |
| 43 | Principal.CartierCycle.BundleCycles.principalCartierPointCycle a (irreducibleSetEquivPoints.symm x))).symm |
| 44 | |
| 45 | theorem normalResidueBoundaryCycle_proper |
| 46 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) (a b : Γ(X, ⊤)) |
| 47 | (hproper : ∀ x : X, coheight x = 1 → |
| 48 | IsUnit (X.presheaf.germ ⊤ x (by trivial) a) ∨ IsUnit (X.presheaf.germ ⊤ x (by trivial) b)) |
| 49 | (g h : X.functionFieldˣ) |
| 50 | (hg : (g : X.functionField) = RegularDivisor.BundleCycles.globalFunctionFieldElement X a) |
| 51 | (hh : (h : X.functionField) = RegularDivisor.BundleCycles.globalFunctionFieldElement X b) : |
| 52 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h = |
| 53 | Principal.CartierFiber.BundleCycles.principalCartierPointMap a (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X (h : X.functionField)) - |
| 54 | Principal.CartierFiber.BundleCycles.principalCartierPointMap b (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X (g : X.functionField)) := by |
| 55 | rw [principalCartierPointMap_divisor_sum X a (h : X.functionField) (Normal.PointResidue.BundleCycles.residueDivisorSupport X g h) |
| 56 | Finset.subset_union_right, |
| 57 | principalCartierPointMap_divisor_sum X b (g : X.functionField) (Normal.PointResidue.BundleCycles.residueDivisorSupport X g h) |
| 58 | Finset.subset_union_left, ← Finset.sum_sub_distrib] |
| 59 | unfold Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle |
| 60 | apply Finset.sum_congr rfl |
| 61 | intro x _ |
| 62 | let := hNormal x |
| 63 | have hx := Normal.PointResidue.BundleCycles.residueDivisorSupport_coheight X g h x |
| 64 | exact Normal.ResidueDifference.BundleCycles.normalResidue_principal_proper X x hx a b (hproper x hx) g h hg hh |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Proper.ResidueBoundary.BundleCycles |