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.IntersectionTheory.ProjectionFormula.ProductDimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Grading |
| 4 | import Mathlib.AlgebraicGeometry.ZariskisMainTheorem |
| 5 | |
| 6 | /-! # Graph -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Graph |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The graph defined by the chosen product is an actual closed |
| 13 | immersion. For an integral source, its reduced image support is |
| 14 | canonically isomorphic to the source scheme. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 21 | |
| 22 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (P : ProperCycleLinearity.ProductPresentation X Y) (f : X.toOver ⟶ Y.toOver) |
| 23 | |
| 24 | theorem graph_fst_left : (P.graph f).left ≫ P.fst.left = 𝟙 X.carrier := |
| 25 | congrArg Over.Hom.left (P.graph_fst f) |
| 26 | |
| 27 | instance graph_isClosedImmersion : IsClosedImmersion (P.graph f).left := by |
| 28 | let : IsProper (P.graph f).left := ProperCycleLinearity.morphism_isProper (P.graph f) |
| 29 | let : IsSplitMono (P.graph f).left := ⟨⟨⟨P.fst.left, graph_fst_left P f⟩⟩⟩ |
| 30 | exact (IsClosedImmersion.iff_isProper_and_mono _).mpr ⟨inferInstance, inferInstance⟩ |
| 31 | |
| 32 | variable [IsIntegral X.carrier] |
| 33 | |
| 34 | def support : IrreducibleCloseds P.space.carrier := |
| 35 | CycleClass.Geometric.StratumClosure.integralImageClosure (Y := X.carrier) (X := P.space.carrier) (P.graph f).left |
| 36 | |
| 37 | theorem support_point : CycleClass.Thom.IntersectionGeometry.supportPoint (support P f) = (P.graph f).left (genericPoint X.carrier) := by |
| 38 | have h := (genericPoint_spec X.carrier).image (P.graph f).left.continuous |
| 39 | simp only [Set.image_univ] at h |
| 40 | exact ((support P f).isIrreducible.isGenericPoint_genericPoint (support P f).isClosed).eq h |
| 41 | |
| 42 | def supportIso : X.carrier ≅ CycleClass.Geometric.GenericPoint.reducedSupportScheme (support P f) := by |
| 43 | have hk : (CycleClass.Geometric.GenericPoint.reducedSupportι (support P f)).ker = (P.graph f).left.ker := by |
| 44 | change (CycleClass.Geometric.GenericPoint.reducedSupportIdeal (support P f)).subschemeι.ker = _ |
| 45 | rw [Scheme.IdealSheafData.ker_subschemeι, |
| 46 | CycleClass.Geometric.StratumClosure.kernel_eq_reducedImageClosureIdeal (Y := X.carrier) (X := P.space.carrier) (P.graph f).left] |
| 47 | rfl |
| 48 | let i := IsClosedImmersion.lift (CycleClass.Geometric.GenericPoint.reducedSupportι (support P f)) (P.graph f).left hk.le |
| 49 | let : IsIso i := IsClosedImmersion.isIso_lift (CycleClass.Geometric.GenericPoint.reducedSupportι (support P f)) (P.graph f).left hk |
| 50 | exact asIso i |
| 51 | |
| 52 | theorem supportIso_fac : (supportIso P f).hom ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (support P f) = (P.graph f).left := |
| 53 | IsClosedImmersion.lift_fac _ _ _ |
| 54 | |
| 55 | theorem supportIso_over : (supportIso P f).hom ≫ CycleClass.Geometric.SupportFiniteType.supportStructureMap (support P f) P.space.structureMap = |
| 56 | X.structureMap := by |
| 57 | rw [CycleClass.Geometric.SupportFiniteType.supportStructureMap, ← Category.assoc, supportIso_fac] |
| 58 | exact (P.graph f).w |
| 59 | |
| 60 | theorem support_codimension (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 61 | [SmoothOfRelativeDimension n Y.structureMap] : P.space.supportCodimension (support P f) = n := by |
| 62 | let : SmoothOfRelativeDimension (m + n) P.space.structureMap := ProductDimension.relativeDimension P m n |
| 63 | have he := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion (supportIso P f).hom |
| 64 | (CycleClass.Geometric.SupportFiniteType.supportStructureMap (support P f) P.space.structureMap) |
| 65 | rw [supportIso_over] at he |
| 66 | have hm := Grading.integral_dimension_of_relativeDimension X.structureMap m |
| 67 | have hg := Grading.supportDimension_add_codimension P.space (m + n) (support P f) |
| 68 | change Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (CycleClass.Geometric.SupportFiniteType.supportStructureMap (support P f) P.space.structureMap) + |
| 69 | P.space.supportCodimension (support P f) = m + n at hg |
| 70 | rw [← he, hm] at hg |
| 71 | omega |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Graph |