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.GradedOpenClass |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GradedClassZero |
| 3 | |
| 4 | /-! # Graded Absolute Open Class -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedAbsoluteOpenClass.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 | theorem schemeOpenGradedAbsolutePointClass (x : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d) : |
| 23 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (2 * p) i |
| 24 | (AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass Y (irreducibleSetEquivPoints.symm (Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d x).val) p |
| 25 | ((congrArg (fun k => k + p) (Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d x).property).trans hY)) = |
| 26 | AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X (irreducibleSetEquivPoints.symm x.val) p |
| 27 | ((congrArg (fun k => k + p) x.property).trans (GradedOpenClass.BundleCycles.openOverGraded_codimension i d p hY)) := by |
| 28 | have h := AbsoluteOpenPullback.BundleCycles.schemeAbsoluteCycleClass_openPullback i (irreducibleSetEquivPoints.symm (i.left x.val)) p |
| 29 | ((congrArg (fun k => k + p) (Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d x).property).trans hY) |
| 30 | exact h.trans (Finite.GradedClassZero.BundleCycles.schemeAbsoluteCycleClass_congrSupport (X := X) _ _ (Open.SupportGenericPoint.BundleCycles.openRestrictedSupport_pointClosure i.left x.val) p _ _) |
| 31 | |
| 32 | theorem schemeGradedAbsoluteCycleClass_openRestriction : |
| 33 | (GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass X d p (GradedOpenClass.BundleCycles.openOverGraded_codimension i d p hY)).comp (Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction i d) = |
| 34 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (2 * p) i).hom.comp (GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass Y d p hY) := by |
| 35 | classical |
| 36 | apply Finsupp.lhom_ext |
| 37 | intro x a |
| 38 | change GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass X d p (GradedOpenClass.BundleCycles.openOverGraded_codimension i d p hY) |
| 39 | (Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction i d (Finsupp.single x a)) = |
| 40 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (2 * p) i (GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass Y d p hY (Finsupp.single x a)) |
| 41 | by_cases hx : x.val ∈ Set.range i.left |
| 42 | · obtain ⟨y, hy⟩ := hx |
| 43 | have hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) X.hom = d := by |
| 44 | have h := ImmersionDimension.BundleCycles.pointClosure_dimension_immersion i.left Y.hom y |
| 45 | rw [i.w, hy] at h |
| 46 | exact h.symm.trans x.property |
| 47 | let z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d := ⟨y, hdim⟩ |
| 48 | have he : x = Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d z := Subtype.ext hy.symm |
| 49 | rw [he, Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction_single, GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass_single, GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass_single, map_smul] |
| 50 | exact congrArg (fun t => a • t) (schemeOpenGradedAbsolutePointClass i d p hY z).symm |
| 51 | · rw [Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction_single_off i d x a hx, map_zero, GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass_single, map_smul] |
| 52 | have he : i.left ⁻¹' (irreducibleSetEquivPoints.symm x.val : Set Y.left) = ∅ := |
| 53 | SchemeCycle.EmptyPullback.BundleCycles.openSupport_preimage_empty_of_generic_not_mem i _ (by simpa only [OrderIso.apply_symm_apply] using hx) |
| 54 | rw [SchemeCycle.EmptyPullback.BundleCycles.schemeAbsoluteCycleClass_pullback_empty i _ p _ he, smul_zero] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedAbsoluteOpenClass.BundleCycles |