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.Open.GradedOverRestriction |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.EmptyPullback |
| 3 | |
| 4 | /-! # Graded Open Class -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedOpenClass.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical class commutes with actual open restriction on every |
| 11 | finite dimension-graded cycle, retaining or omitting each genuine support. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 16 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 17 | [IsIntegral Y.left] [Smooth Y.hom] |
| 18 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 19 | (i : X ⟶ Y) [IsOpenImmersion i.left] |
| 20 | (d p : ℕ) (hY : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 21 | |
| 22 | include i hY in |
| 23 | omit [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 24 | theorem openOverGraded_codimension : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := |
| 25 | hY.trans (Open.SupportOver.BundleCycles.openImmersionOver_dimension i).symm |
| 26 | |
| 27 | theorem schemeOpenGradedPointClass (x : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d) : |
| 28 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) i |
| 29 | (AbsoluteCycleClass.BundleCycles.schemeCycleClass Y (irreducibleSetEquivPoints.symm (Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d x).val) p |
| 30 | ((congrArg (fun k => k + p) (Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d x).property).trans hY)) = |
| 31 | AbsoluteCycleClass.BundleCycles.schemeCycleClass X (irreducibleSetEquivPoints.symm x.val) p |
| 32 | ((congrArg (fun k => k + p) x.property).trans (openOverGraded_codimension i d p hY)) := by |
| 33 | have h := AbsoluteOpenPullback.BundleCycles.schemeCycleClass_openPullback i (irreducibleSetEquivPoints.symm (i.left x.val)) p |
| 34 | ((congrArg (fun k => k + p) (Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d x).property).trans hY) |
| 35 | exact h.trans (GradedAbsoluteClass.BundleCycles.schemeCycleClass_congrSupport X _ _ (Open.SupportGenericPoint.BundleCycles.openRestrictedSupport_pointClosure i.left x.val) p _ _) |
| 36 | |
| 37 | theorem schemeGradedCycleClass_openRestriction : |
| 38 | (GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass X d p (openOverGraded_codimension i d p hY)).comp (Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction i d) = |
| 39 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) i).hom.comp (GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass Y d p hY) := by |
| 40 | classical |
| 41 | apply Finsupp.lhom_ext |
| 42 | intro x a |
| 43 | change GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass X d p (openOverGraded_codimension i d p hY) |
| 44 | (Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction i d (Finsupp.single x a)) = |
| 45 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) i (GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass Y d p hY (Finsupp.single x a)) |
| 46 | by_cases hx : x.val ∈ Set.range i.left |
| 47 | · obtain ⟨y, hy⟩ := hx |
| 48 | have hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) X.hom = d := by |
| 49 | have h := ImmersionDimension.BundleCycles.pointClosure_dimension_immersion i.left Y.hom y |
| 50 | rw [i.w, hy] at h |
| 51 | exact h.symm.trans x.property |
| 52 | let z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d := ⟨y, hdim⟩ |
| 53 | have he : x = Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d z := Subtype.ext hy.symm |
| 54 | rw [he, Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction_single, GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass_single, GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass_single, map_smul] |
| 55 | exact congrArg (fun t => a • t) (schemeOpenGradedPointClass i d p hY z).symm |
| 56 | · rw [Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction_single_off i d x a hx, map_zero, GradedAbsoluteClass.BundleCycles.schemeGradedCycleClass_single, map_smul] |
| 57 | have he : i.left ⁻¹' (irreducibleSetEquivPoints.symm x.val : Set Y.left) = ∅ := |
| 58 | SchemeCycle.EmptyPullback.BundleCycles.openSupport_preimage_empty_of_generic_not_mem i _ (by simpa only [OrderIso.apply_symm_apply] using hx) |
| 59 | rw [SchemeCycle.EmptyPullback.BundleCycles.schemeCycleClass_pullback_empty i _ p _ he, smul_zero] |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedOpenClass.BundleCycles |