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.ProperResidueFamily |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportPointCycle |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportGenericPoint |
| 4 | |
| 5 | /-! # Proper Residue Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperResidueSupport.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: actual proper-intersection contributions vanish on an open missing their prime support -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 14 | |
| 15 | variable {X Y : Scheme.{0}} (i : Y ⟶ X) [IsOpenImmersion i] |
| 16 | |
| 17 | theorem pointSupport_off_open (x : X) (hx : x ∉ Set.range i) (y : Y) : |
| 18 | i y ∉ (irreducibleSetEquivPoints.symm x : Set X) := by |
| 19 | intro hy |
| 20 | have hn := (Open.SupportRestriction.BundleCycles.openSupportPullback_nonempty_iff i (irreducibleSetEquivPoints.symm x)).mpr ⟨y, hy⟩ |
| 21 | have h := (Open.SupportGenericPoint.BundleCycles.openSupportPullback_nonempty_generic i (irreducibleSetEquivPoints.symm x)).mp hn |
| 22 | rw [irreducibleSetEquivPoints.apply_symm_apply] at h |
| 23 | exact hx h |
| 24 | |
| 25 | theorem pointSupportCycle_open_off_image (x : X) (hx : x ∉ Set.range i) |
| 26 | (z : CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x) →₀ ℚ) : |
| 27 | Finsupp.comapDomain i (Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) z) |
| 28 | i.isOpenEmbedding.injective.injOn = 0 := by |
| 29 | ext y |
| 30 | apply Finsupp.mapDomain_of_notMem_range |
| 31 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 32 | exact pointSupport_off_open i x hx y |
| 33 | |
| 34 | variable [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 35 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (a g : X.functionFieldˣ) |
| 36 | (hproper : Disjoint (L.rationalSectionPointDivisorWithCoefficient a).support (Ord.BundleCycles.principalDivisor X g.val).support) |
| 37 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 38 | |
| 39 | theorem properLineBundleResidueContribution_open_off_image (x : {x : X // coheight x = 1}) |
| 40 | (hx : x.val ∉ Set.range i) : |
| 41 | Finsupp.comapDomain i (ProperResidueContribution.Cycles.properLineBundleResidueContribution L a g hproper hNormal x) |
| 42 | i.isOpenEmbedding.injective.injOn = 0 := by |
| 43 | let := hNormal x |
| 44 | let C : (X →₀ ℚ) →+ (Y →₀ ℚ) := Finsupp.comapDomain.addMonoidHom i.isOpenEmbedding.injective |
| 45 | change C _ = 0 |
| 46 | by_cases ha : L.rationalSectionPointDivisorWithCoefficient a x = 0 |
| 47 | · have hz : C (L.restrictedRationalSectionPointCycle a x x.property ha) = 0 := |
| 48 | pointSupportCycle_open_off_image i x hx _ |
| 49 | rw [ProperResidueContribution.Cycles.properLineBundleResidueContribution_zero_section L a g hproper hNormal x ha, map_zsmul, hz, smul_zero] |
| 50 | · have hz : C (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x.val) |
| 51 | (RationalNormalUnitRestriction.BundleCycles.normalRationalRestriction X x x.property g (ProperResidueContribution.Cycles.properSection_function_order_zero L a g hproper x ha)).val) = 0 := by |
| 52 | ext y |
| 53 | exact Open.PrincipalRestriction.BundleCycles.schemePrincipalPointDivisor_off_support _ _ (i y) (pointSupport_off_open i x hx y) |
| 54 | rw [ProperResidueContribution.Cycles.properLineBundleResidueContribution_nonzero_section L a g hproper hNormal x ha, |
| 55 | map_neg, map_zsmul, hz, smul_zero, neg_zero] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperResidueSupport.Cycles |