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.GeometricCycleClass |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedOpenClass |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.PointComponentDimension |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.SeparatedSchemeTopology |
| 5 | |
| 6 | /-! # Presentation Component Support Class -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.PresentationComponentSupportClass.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Native geometry and exact dimension bookkeeping for the canonical class on an integral smooth projective presentation. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 19 | |
| 20 | instance presentationOver_smooth : Smooth X.toOver.hom := X.smooth |
| 21 | instance presentationOver_noetherian : AlgebraicGeometry.IsNoetherian X.toOver.left := |
| 22 | inferInstanceAs (AlgebraicGeometry.IsNoetherian X.carrier) |
| 23 | instance presentationOver_metrizable : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := by |
| 24 | let : IsProper X.toOver.hom := X.projective.isProper |
| 25 | exact CycleClass.Thom.SeparatedSchemeTopology.Constructions.schemePoints_metrizable X.toOver |
| 26 | instance presentationOver_separated : IsSeparated X.toOver.hom := |
| 27 | inferInstanceAs (IsSeparated X.structureMap) |
| 28 | instance presentationComponentOver_open (C : irreducibleComponents X.carrier) : |
| 29 | IsOpenImmersion (X.componentInclusionOver C).left := X.componentInclusion_isOpenImmersion C |
| 30 | |
| 31 | variable [IsIntegral X.carrier] |
| 32 | |
| 33 | instance presentationOver_integral : IsIntegral X.toOver.left := inferInstanceAs (IsIntegral X.carrier) |
| 34 | |
| 35 | theorem integralPresentation_componentDimension (C : irreducibleComponents X.carrier) : |
| 36 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (X.componentVariety C).structureMap = |
| 37 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.structureMap := |
| 38 | Open.SupportOver.BundleCycles.openImmersionOver_dimension (X.componentInclusionOver C) |
| 39 | |
| 40 | theorem integralPresentation_components_equal (C D : irreducibleComponents X.carrier) : C = D := by |
| 41 | apply Subtype.ext |
| 42 | have hC : C.val = Set.univ := by |
| 43 | simpa only [irreducibleComponents_eq_singleton, Set.mem_singleton_iff] using C.property |
| 44 | have hD : D.val = Set.univ := by |
| 45 | simpa only [irreducibleComponents_eq_singleton, Set.mem_singleton_iff] using D.property |
| 46 | exact hC.trans hD.symm |
| 47 | |
| 48 | theorem integralPresentationSupport_dimension (p : ℕ) (Z : X.DimensionCycleSupport p) : |
| 49 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.val X.structureMap + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.structureMap := by |
| 50 | have h := Projective.PointComponentDimension.BundleCycles.projectiveSupport_dimension_add_codimension X Z.val |
| 51 | rw [Z.property, integralPresentation_componentDimension X] at h |
| 52 | exact h |
| 53 | |
| 54 | end |
| 55 | |
| 56 | /-! On an integral presentation, the canonical class of a component support image restricts to that support's independently defined geometric class. -/ |
| 57 | |
| 58 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 59 | |
| 60 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 61 | (p : ℕ) (C : irreducibleComponents X.carrier) |
| 62 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (X.componentVariety C) p) |
| 63 | |
| 64 | instance componentImageSupport_open_nonempty : |
| 65 | Nonempty (Open.SupportRestriction.BundleCycles.openSupportPullback (X.componentInclusion C) (X.componentSupportImage C Z.val)) := by |
| 66 | apply (Open.SupportRestriction.BundleCycles.openSupportPullback_nonempty_iff _ _).mpr |
| 67 | obtain ⟨x, hx⟩ := Z.val.isIrreducible.nonempty |
| 68 | exact ⟨x, ⟨x, hx, rfl⟩⟩ |
| 69 | |
| 70 | omit [AlgebraicGeometry.IsIntegral X.carrier] in |
| 71 | theorem componentImageSupport_openRestriction : |
| 72 | Open.SupportRestriction.BundleCycles.openRestrictedSupport (X.componentInclusion C) (X.componentSupportImage C Z.val) = Z.val := by |
| 73 | apply IrreducibleCloseds.ext |
| 74 | rw [Open.SupportRestriction.BundleCycles.openRestrictedSupport_coe, X.componentSupportImage_coe] |
| 75 | exact Set.preimage_image_eq _ (X.componentInclusion C).isOpenEmbedding.injective |
| 76 | |
| 77 | include p in |
| 78 | theorem componentImageSupport_codimension : |
| 79 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (X.componentSupportImage C Z.val) X.structureMap + p = |
| 80 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.structureMap := |
| 81 | (congrArg (fun n => n + p) (X.componentSupportImage_transcendenceDimension C Z.val)).trans |
| 82 | (Z.dimension_add_codimension.trans (integralPresentation_componentDimension X C)) |
| 83 | |
| 84 | theorem componentImageSupport_cycleClass : |
| 85 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) (X.componentInclusionOver C) |
| 86 | (Scheme.AbsoluteCycleClass.BundleCycles.schemeCycleClass X.toOver (X.componentSupportImage C Z.val) p (componentImageSupport_codimension X p C Z)) = |
| 87 | Z.geometricCycleClass := by |
| 88 | let : Nonempty (Open.SupportRestriction.BundleCycles.openSupportPullback (X.componentInclusionOver C).left (X.componentSupportImage C Z.val)) := |
| 89 | componentImageSupport_open_nonempty X p C Z |
| 90 | have h := Scheme.AbsoluteOpenPullback.BundleCycles.schemeCycleClass_openPullback (X.componentInclusionOver C) (X.componentSupportImage C Z.val) p |
| 91 | (componentImageSupport_codimension X p C Z) |
| 92 | exact h.trans ((Scheme.GradedAbsoluteClass.BundleCycles.schemeCycleClass_congrSupport (X.componentVariety C).toOver _ _ |
| 93 | (componentImageSupport_openRestriction X p C Z) p _ _).trans |
| 94 | (Scheme.GeometricCycleClass.BundleCycles.schemeCycleClass_geometric (X.componentVariety C) p Z)) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Divisors.LineBundles.PresentationComponentSupportClass.BundleCycles |