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.LineBundle.ProperResidueContribution |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueBoundaryAddition |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.NormalReciprocity |
| 4 | |
| 5 | /-! # Proper Residue Family -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperResidueFamily.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # LineBundleCycles: the actual finite proper-intersection difference and its reciprocity in a global frame -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 16 | |
| 17 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 18 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (a g : X.functionFieldˣ) |
| 19 | (hproper : Disjoint (L.rationalSectionPointDivisorWithCoefficient a).support (Ord.BundleCycles.principalDivisor X g.val).support) |
| 20 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 21 | |
| 22 | def properLineBundleResidueSupport : Finset X := by |
| 23 | classical |
| 24 | exact (L.rationalSectionPointDivisorWithCoefficient a).support ∪ (Ord.BundleCycles.principalDivisor X g.val).support |
| 25 | |
| 26 | theorem properLineBundleResidueContribution_off_support (x : {x : X // coheight x = 1}) |
| 27 | (hx : x.val ∉ properLineBundleResidueSupport L a g) : |
| 28 | ProperResidueContribution.Cycles.properLineBundleResidueContribution L a g hproper hNormal x = 0 := by |
| 29 | classical |
| 30 | have ha : L.rationalSectionPointDivisorWithCoefficient a x = 0 := |
| 31 | Finsupp.notMem_support_iff.mp (fun h => hx (Finset.mem_union_left _ h)) |
| 32 | have hg : X.ord g.val x = 0 := |
| 33 | Finsupp.notMem_support_iff.mp (fun h => hx (Finset.mem_union_right _ h)) |
| 34 | rw [ProperResidueContribution.Cycles.properLineBundleResidueContribution_zero_section L a g hproper hNormal x ha, hg, zero_smul] |
| 35 | |
| 36 | theorem properLineBundleResidueContribution_finite : |
| 37 | {x : {x : X // coheight x = 1} | ProperResidueContribution.Cycles.properLineBundleResidueContribution L a g hproper hNormal x ≠ 0}.Finite := by |
| 38 | have hs : {x : {x : X // coheight x = 1} | x.val ∈ properLineBundleResidueSupport L a g}.Finite := |
| 39 | (properLineBundleResidueSupport L a g).finite_toSet.preimage Subtype.val_injective.injOn |
| 40 | apply hs.subset |
| 41 | intro x hx |
| 42 | by_contra hn |
| 43 | exact hx (properLineBundleResidueContribution_off_support L a g hproper hNormal x hn) |
| 44 | |
| 45 | def properLineBundleResidueFamily : {x : X // coheight x = 1} →₀ (X →₀ ℚ) := |
| 46 | Finsupp.ofSupportFinite (ProperResidueContribution.Cycles.properLineBundleResidueContribution L a g hproper hNormal) |
| 47 | (properLineBundleResidueContribution_finite L a g hproper hNormal) |
| 48 | |
| 49 | def properLineBundleResidueCycle : X →₀ ℚ := |
| 50 | ResidueBoundaryAddition.BundleCycles.residueFamilySum X (properLineBundleResidueFamily L a g hproper hNormal) |
| 51 | |
| 52 | theorem properLineBundleResidueFamily_globalFrame (e : L.sheaf ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule X) : |
| 53 | properLineBundleResidueFamily L a g hproper hNormal = |
| 54 | ResidueCycleFamily.BundleCycles.normalResidueCycleFamily X hNormal (a * GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e) g := by |
| 55 | ext x |
| 56 | exact congrArg (fun z : X →₀ ℚ => z _) (ProperResidueContribution.Cycles.properLineBundleResidueContribution_globalFrame L a g hproper hNormal e x) |
| 57 | |
| 58 | theorem properLineBundleResidueCycle_globalFrame (e : L.sheaf ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule X) |
| 59 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] : |
| 60 | properLineBundleResidueCycle L a g hproper hNormal = 0 := by |
| 61 | unfold properLineBundleResidueCycle |
| 62 | rw [properLineBundleResidueFamily_globalFrame L a g hproper hNormal e, |
| 63 | ResidueBoundaryAddition.BundleCycles.residueFamilySum_eq_boundary, |
| 64 | Global.NormalReciprocity.BundleCycles.normalResidueBoundaryCycle_zero X hNormal f (a * GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e) g] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | /-! # LineBundleCycles: the actual finite divisor supports compute the complete proper-intersection difference -/ |
| 69 | |
| 70 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 71 | |
| 72 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 73 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (a g : X.functionFieldˣ) |
| 74 | |
| 75 | theorem rationalSectionWithCoefficient_support_coheight (x : X) |
| 76 | (hx : x ∈ (L.rationalSectionPointDivisorWithCoefficient a).support) : coheight x = 1 := by |
| 77 | by_contra hc |
| 78 | apply Finsupp.mem_support_iff.mp hx |
| 79 | rw [L.rationalSectionPointDivisorWithCoefficient_apply] |
| 80 | exact Scheme.ord_eq_zero_of_coheight_neq_one hc _ |
| 81 | |
| 82 | theorem properLineBundleResidueSupport_coheight (x : properLineBundleResidueSupport L a g) : |
| 83 | coheight x.val = 1 := by |
| 84 | classical |
| 85 | rcases Finset.mem_union.mp x.property with hx | hx |
| 86 | · exact rationalSectionWithCoefficient_support_coheight L a x hx |
| 87 | · exact Normal.PointResidue.BundleCycles.principalDivisor_support_coheight X g.val x hx |
| 88 | |
| 89 | variable (hproper : Disjoint (L.rationalSectionPointDivisorWithCoefficient a).support (Ord.BundleCycles.principalDivisor X g.val).support) |
| 90 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 91 | |
| 92 | theorem properLineBundleResidueCycle_sum : |
| 93 | properLineBundleResidueCycle L a g hproper hNormal = |
| 94 | ∑ x : properLineBundleResidueSupport L a g, |
| 95 | ProperResidueContribution.Cycles.properLineBundleResidueContribution L a g hproper hNormal |
| 96 | ⟨x, properLineBundleResidueSupport_coheight L a g x⟩ := by |
| 97 | let e : properLineBundleResidueSupport L a g ↪ {x : X // coheight x = 1} := |
| 98 | ⟨fun x => ⟨x, properLineBundleResidueSupport_coheight L a g x⟩, |
| 99 | fun _ _ h => Subtype.ext (congrArg (fun z : {x : X // coheight x = 1} => z.val) h)⟩ |
| 100 | have hs : ((properLineBundleResidueFamily L a g hproper hNormal).support : Set {x : X // coheight x = 1}) ⊆ |
| 101 | Set.range e := by |
| 102 | intro x hx |
| 103 | have hm : x.val ∈ properLineBundleResidueSupport L a g := by |
| 104 | by_contra hn |
| 105 | exact (Finsupp.mem_support_iff.mp hx) |
| 106 | (properLineBundleResidueContribution_off_support L a g hproper hNormal x hn) |
| 107 | exact ⟨⟨x, hm⟩, Subtype.ext rfl⟩ |
| 108 | exact LineBundles.Finite.FamilyReindex.BundleCycles.finiteFamily_sum_embedding e (properLineBundleResidueFamily L a g hproper hNormal) hs |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperResidueFamily.Cycles |