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.Finite.GradedOverPushforward |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.CycleClassZero |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedAbsoluteClass |
| 4 | |
| 5 | /-! # Graded Class Zero -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GradedClassZero.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical graded class of a finite residue-weighted pushforward |
| 12 | vanishes whenever the class of the original finite cycle vanishes. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Integral.MapDimension.Constructions |
| 16 | |
| 17 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 18 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 19 | [IsIntegral Y.left] [Smooth Y.hom] |
| 20 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 21 | (f : X ⟶ Y) [IsFinite f.left] |
| 22 | |
| 23 | theorem schemeAbsoluteCycleClass_congrSupport (C D : IrreducibleCloseds X.left) (h : C = D) (p : ℕ) |
| 24 | (hc : Foundations.Scheme.SupportDimension.supportTranscendenceDimension C X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 25 | (hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension D X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) : |
| 26 | Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X C p hc = Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X D p hd := by |
| 27 | subst D |
| 28 | rfl |
| 29 | |
| 30 | theorem finiteOverGradedClass_zero (d p q : ℕ) |
| 31 | (hp : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 32 | (hq : d + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 33 | (a : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d →₀ ℚ) |
| 34 | (hzero : Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass X d p hp a = 0) : |
| 35 | Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass Y d q hq (GradedOverPushforward.BundleCycles.finiteOverGradedPushforward f d a) = 0 := by |
| 36 | classical |
| 37 | let Z : a.support → IrreducibleCloseds X.left := fun x => irreducibleSetEquivPoints.symm x.val.val |
| 38 | have hZ (i : a.support) : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Z i) X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := |
| 39 | (congrArg (fun k => k + p) i.val.property).trans hp |
| 40 | have hB (i : a.support) : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f (Z i)) Y.hom + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom := |
| 41 | (congrArg (fun k => k + q) ((CycleClass.Thom.Integral.MapDimension.Constructions.finite_support_dimension f (Z i)).trans i.val.property)).trans hq |
| 42 | have hs : a = ∑ i : a.support, Finsupp.single i.val (a i.val) := |
| 43 | a.sum_single.symm.trans (Finset.sum_coe_sort a.support (fun x => Finsupp.single x (a x))).symm |
| 44 | have hsource : ∑ i : a.support, a i.val • Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X (Z i) p (hZ i) = 0 := by |
| 45 | have h := congrArg (Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass X d p hp) hs |
| 46 | rw [map_sum] at h |
| 47 | exact (Finset.sum_congr rfl (fun i _ => (Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass_single X d p hp i.val (a i.val)).symm)).trans |
| 48 | (h.symm.trans hzero) |
| 49 | have hdegX : 2 * p + 2 * d = 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom := by |
| 50 | have h := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.hom |
| 51 | omega |
| 52 | have hdegY : 2 * q + 2 * d = 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom := by |
| 53 | have h := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension Y.hom |
| 54 | omega |
| 55 | have hz := CycleClassZero.BundleCycles.finiteCycleClass_zero_of_source_zero f Z p q hZ hB (fun i => a i.val) hsource (2 * d) hdegX hdegY |
| 56 | have ht : Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass Y d q hq (GradedOverPushforward.BundleCycles.finiteOverGradedPushforward f d a) = |
| 57 | ∑ i : a.support, a i.val • ((f.left.residueDegree (irreducibleSetEquivPoints (Z i)) : ℚ) • |
| 58 | Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f (Z i)) q (hB i)) := by |
| 59 | conv_lhs => rw [hs, map_sum, map_sum] |
| 60 | apply Finset.sum_congr rfl |
| 61 | intro i _ |
| 62 | rw [GradedOverPushforward.BundleCycles.finiteOverGradedPushforward_single, Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass_single, mul_smul] |
| 63 | have he := schemeAbsoluteCycleClass_congrSupport |
| 64 | (irreducibleSetEquivPoints.symm (GradedOverPushforward.BundleCycles.finiteOverDimensionPoint f d i.val).val) (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f (Z i)) |
| 65 | (GradedOverPushforward.BundleCycles.finiteOverDimensionPoint_support f d i.val) q |
| 66 | ((congrArg (fun k => k + q) (GradedOverPushforward.BundleCycles.finiteOverDimensionPoint f d i.val).property).trans hq) (hB i) |
| 67 | change a i.val • ((f.left.residueDegree i.val.val : ℚ) • _) = _ |
| 68 | have hpoint : irreducibleSetEquivPoints (Z i) = i.val.val := OrderIso.apply_symm_apply _ _ |
| 69 | rw [hpoint] |
| 70 | exact congrArg (fun t => a i.val • ((f.left.residueDegree i.val.val : ℚ) • t)) he |
| 71 | exact ht.trans hz |
| 72 | |
| 73 | theorem finiteOverGradedCycleClass_zero (d p q : ℕ) |
| 74 | (hp : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 75 | (hq : d + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 76 | (a : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d →₀ ℚ) |
| 77 | (hzero : Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass X d p hp a = 0) : |
| 78 | Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass Y d q hq (GradedOverPushforward.BundleCycles.finiteOverGradedPushforward f d a) = 0 := |
| 79 | (Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass_zero_iff Y d q hq _).mp |
| 80 | (finiteOverGradedClass_zero f d p q hp hq a ((Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass_zero_iff X d p hp a).mpr hzero)) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GradedClassZero.BundleCycles |