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.Scheme.AbsoluteCycleClass |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.GlobalSpecialization |
| 3 | |
| 4 | /-! # Graded Absolute Class -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedAbsoluteClass.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The canonical geometric class extends linearly to every finite |
| 13 | dimension-graded cycle on a smooth integral complex scheme. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 18 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 19 | |
| 20 | theorem schemeCycleClass_congrSupport (C D : IrreducibleCloseds X.left) (h : C = D) (p : ℕ) |
| 21 | (hc : Foundations.Scheme.SupportDimension.supportTranscendenceDimension C X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 22 | (hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension D X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) : |
| 23 | AbsoluteCycleClass.BundleCycles.schemeCycleClass X C p hc = AbsoluteCycleClass.BundleCycles.schemeCycleClass X D p hd := by |
| 24 | subst D |
| 25 | rfl |
| 26 | |
| 27 | def schemeGradedCycleClass (d p : ℕ) (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) : |
| 28 | (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d →₀ ℚ) →ₗ[ℚ] (Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X (p + p)) := |
| 29 | Finsupp.linearCombination ℚ (fun x => AbsoluteCycleClass.BundleCycles.schemeCycleClass X (irreducibleSetEquivPoints.symm x.val) p |
| 30 | ((congrArg (fun n => n + p) x.property).trans hd)) |
| 31 | |
| 32 | theorem schemeGradedCycleClass_single (d p : ℕ) (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 33 | (x : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d) (a : ℚ) : |
| 34 | schemeGradedCycleClass X d p hd (Finsupp.single x a) = |
| 35 | a • AbsoluteCycleClass.BundleCycles.schemeCycleClass X (irreducibleSetEquivPoints.symm x.val) p |
| 36 | ((congrArg (fun n => n + p) x.property).trans hd) := Finsupp.linearCombination_single ℚ a x |
| 37 | |
| 38 | end |
| 39 | |
| 40 | /-! The ordinary class of a finite graded cycle in degree twice its |
| 41 | codimension, with the explicit equivalence to the sum-degree convention. -/ |
| 42 | |
| 43 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 44 | |
| 45 | def schemeBettiDegreeEquiv (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) {m n : ℕ} (h : m = n) : |
| 46 | (Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X m) ≃ₗ[ℚ] (Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X n) := by |
| 47 | subst n |
| 48 | exact LinearEquiv.refl ℚ _ |
| 49 | |
| 50 | theorem schemeBettiDegreeEquiv_apply (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) {m n : ℕ} (h : m = n) |
| 51 | (a : Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X m) : |
| 52 | schemeBettiDegreeEquiv X h a = cast (congrArg (fun k => (Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X k : Type)) h) a := by |
| 53 | subst n |
| 54 | rfl |
| 55 | |
| 56 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 57 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 58 | |
| 59 | def schemeGradedAbsoluteCycleClass (d p : ℕ) (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) : |
| 60 | (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d →₀ ℚ) →ₗ[ℚ] (Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X (2 * p)) := |
| 61 | Finsupp.linearCombination ℚ (fun x => AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X (irreducibleSetEquivPoints.symm x.val) p |
| 62 | ((congrArg (fun n => n + p) x.property).trans hd)) |
| 63 | |
| 64 | theorem schemeGradedAbsoluteCycleClass_single (d p : ℕ) (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 65 | (x : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d) (a : ℚ) : |
| 66 | schemeGradedAbsoluteCycleClass X d p hd (Finsupp.single x a) = |
| 67 | a • AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X (irreducibleSetEquivPoints.symm x.val) p |
| 68 | ((congrArg (fun n => n + p) x.property).trans hd) := Finsupp.linearCombination_single ℚ a x |
| 69 | |
| 70 | theorem schemeGradedCycleClass_eq_degreeEquiv (d p : ℕ) (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) : |
| 71 | schemeGradedCycleClass X d p hd = |
| 72 | (schemeBettiDegreeEquiv X (two_mul p)).toLinearMap.comp (schemeGradedAbsoluteCycleClass X d p hd) := by |
| 73 | apply Finsupp.lhom_ext |
| 74 | intro x a |
| 75 | change schemeGradedCycleClass X d p hd (Finsupp.single x a) = |
| 76 | schemeBettiDegreeEquiv X (two_mul p) (schemeGradedAbsoluteCycleClass X d p hd (Finsupp.single x a)) |
| 77 | rw [schemeGradedCycleClass_single, schemeGradedAbsoluteCycleClass_single, map_smul, |
| 78 | schemeBettiDegreeEquiv_apply] |
| 79 | rfl |
| 80 | |
| 81 | theorem schemeGradedAbsoluteCycleClass_zero_iff (d p : ℕ) (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 82 | (a : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d →₀ ℚ) : |
| 83 | schemeGradedAbsoluteCycleClass X d p hd a = 0 ↔ schemeGradedCycleClass X d p hd a = 0 := by |
| 84 | rw [schemeGradedCycleClass_eq_degreeEquiv, LinearMap.comp_apply] |
| 85 | exact (map_eq_zero_iff _ (schemeBettiDegreeEquiv X (two_mul p)).injective).symm |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedAbsoluteClass.BundleCycles |