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.DivisorClass.Chern.SupportCodimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Image |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveSupports |
| 4 | |
| 5 | /-! # Coheight One Codimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoheightOneCodimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native scheme coheight one agrees with the dimension grading |
| 12 | on every smooth projective presentation. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Image |
| 19 | |
| 20 | theorem integral (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 21 | (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 22 | (W : IrreducibleCloseds X.carrier) (hW : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint W) = 1) : |
| 23 | X.supportCodimension W = 1 := by |
| 24 | have hd := DivisorClass.Chern.SupportCodimension.Construction.pointClosure_dimension_add_one X.structureMap (CycleClass.Thom.IntersectionGeometry.supportPoint W) hW |
| 25 | have he : irreducibleSetEquivPoints.symm (CycleClass.Thom.IntersectionGeometry.supportPoint W) = W := irreducibleSetEquivPoints.symm_apply_apply W |
| 26 | rw [he, Grading.integral_dimension_of_relativeDimension X.structureMap m] at hd |
| 27 | have hc := Grading.supportDimension_add_codimension X m W |
| 28 | omega |
| 29 | |
| 30 | theorem codimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 31 | [SmoothOfRelativeDimension m X.structureMap] |
| 32 | (W : IrreducibleCloseds X.carrier) (hW : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint W) = 1) : |
| 33 | X.supportCodimension W = 1 := by |
| 34 | let C := X.supportComponent W |
| 35 | let V := (X.componentVariety C).presentation |
| 36 | let Z := X.componentSupportPreimage C W (X.support_subset_component W) |
| 37 | let : SmoothOfRelativeDimension m V.structureMap := Component.Image.component_relativeDimension X m C |
| 38 | have he : X.componentSupportImage C Z = W := X.componentSupportImage_preimage C W _ |
| 39 | have hp : X.componentInclusion C (CycleClass.Thom.IntersectionGeometry.supportPoint Z) = CycleClass.Thom.IntersectionGeometry.supportPoint W := |
| 40 | (X.componentSupportImage_genericPoint C Z).symm.trans (congrArg CycleClass.Thom.IntersectionGeometry.supportPoint he) |
| 41 | have hz : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint Z) = 1 := by |
| 42 | rw [← coheight_eq_of_isOpenImmersion (X.componentInclusion C), hp] |
| 43 | exact hW |
| 44 | have h := integral V m Z hz |
| 45 | rw [← Component.Image.image_codimension X C Z, he] at h |
| 46 | exact h |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoheightOneCodimension |