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.DimensionChow |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RegularDivisor |
| 3 | |
| 4 | /-! # Cartier Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierCycle.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: actual principal Cartier intersection cycles |
| 12 | |
| 13 | Restrict a global regular section to an integral support and take its |
| 14 | finite divisor, using the actual local-length orders. Its complete |
| 15 | support lies on the zero locus of that global section. The resulting |
| 16 | ambient cycle is a principal relation, including when the restricted |
| 17 | section vanishes identically and its order cycle is zero. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 21 | |
| 22 | variable {X : Scheme} [AlgebraicGeometry.IsNoetherian X] |
| 23 | |
| 24 | theorem schemePrincipalPointDivisor_zero (W : IrreducibleCloseds X) : |
| 25 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W 0 = 0 := by |
| 26 | have h : Ord.BundleCycles.principalDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) 0 = 0 := by |
| 27 | ext x |
| 28 | exact congrFun (Scheme.ord_zero (X := CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) x |
| 29 | unfold Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor |
| 30 | rw [h, Finsupp.mapRange_zero, Finsupp.embDomain_zero] |
| 31 | |
| 32 | theorem schemeGradedPrincipalDivisor_zero (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (d : ℕ) (W : IrreducibleCloseds X) : |
| 33 | Graded.GlobalSpecialization.BundleCycles.schemeGradedPrincipalDivisor f d W 0 = 0 := by |
| 34 | ext x |
| 35 | exact congrArg (fun z => z x.1) (schemePrincipalPointDivisor_zero W) |
| 36 | |
| 37 | /-- The zero function also gives the zero relation; no nonzero-divisor premise is hidden. -/ |
| 38 | theorem dimensionCycleToChowQ_principal_any (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (d : ℕ) |
| 39 | (W : IrreducibleCloseds X) (hW : Foundations.Scheme.SupportDimension.supportTranscendenceDimension W f = d + 1) |
| 40 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 41 | DimensionChow.BundleCycles.dimensionCycleToChowQ f d (Graded.GlobalSpecialization.BundleCycles.schemeGradedPrincipalDivisor f d W g) = 0 := by |
| 42 | by_cases hg : g = 0 |
| 43 | · rw [hg, schemeGradedPrincipalDivisor_zero, map_zero] |
| 44 | · exact DimensionChow.BundleCycles.dimensionCycleToChowQ_principal f d W hW g hg |
| 45 | |
| 46 | /-- The actual rational function obtained by restricting the ambient regular section. -/ |
| 47 | def supportRegularFunction (a : Γ(X, ⊤)) (W : IrreducibleCloseds X) : |
| 48 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField := |
| 49 | RegularDivisor.BundleCycles.globalFunctionFieldElement (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop a) |
| 50 | |
| 51 | /-- The complete point cycle of intersection with a principal Cartier equation. -/ |
| 52 | def principalCartierPointCycle (a : Γ(X, ⊤)) (W : IrreducibleCloseds X) : X →₀ ℚ := |
| 53 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W (supportRegularFunction a W) |
| 54 | |
| 55 | /-- A nonzero intersection coefficient lies on the actual zero locus of the ambient section. -/ |
| 56 | theorem principalCartierPointCycle_support (a : Γ(X, ⊤)) (W : IrreducibleCloseds X) : |
| 57 | ((principalCartierPointCycle a W).support : Set X) ⊆ (X.basicOpen a : Set X)ᶜ := by |
| 58 | intro x hx hxa |
| 59 | have hxne : principalCartierPointCycle a W x ≠ 0 := Finsupp.mem_support_iff.mp hx |
| 60 | have hr : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by |
| 61 | by_contra h |
| 62 | exact hxne (Finsupp.embDomain_of_notMem_range _ _ _ h) |
| 63 | obtain ⟨y, rfl⟩ := hr |
| 64 | have hpre := Scheme.preimage_basicOpen_top (CycleClass.Geometric.GenericPoint.reducedSupportι W) a |
| 65 | have hy : y ∈ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).basicOpen ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop a) := |
| 66 | (congrArg (fun U : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).Opens => y ∈ U) hpre).mp hxa |
| 67 | have hz := RegularDivisor.BundleCycles.regularFunctionDivisor_eq_zero_of_isUnit_germ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) |
| 68 | ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop a) y |
| 69 | ((Scheme.mem_basicOpen (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop a) y (by trivial)).mp hy) |
| 70 | exact hxne ((Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support W (supportRegularFunction a W) y).trans |
| 71 | ((congrArg (fun n : ℤ => (n : ℚ)) hz).trans Int.cast_zero)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierCycle.BundleCycles |