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.Smooth.GenericField |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Image |
| 3 | |
| 4 | /-! # Component Factor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.ComponentFactor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An integral source maps into one actual open component of a smooth |
| 11 | projective presentation. The factorization preserves smoothness. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 16 | |
| 17 | variable {Z : Scheme} [IsIntegral Z] (Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (f : Z ⟶ Y.carrier) |
| 18 | |
| 19 | def component : irreducibleComponents Y.carrier := Y.supportComponent (CycleClass.Geometric.StratumClosure.integralImageClosure f) |
| 20 | |
| 21 | theorem range_subset : Set.range f ⊆ Set.range (Y.componentInclusion (component Y f)) := by |
| 22 | rw [Y.componentInclusion_range] |
| 23 | exact Set.Subset.trans subset_closure (Y.support_subset_component (CycleClass.Geometric.StratumClosure.integralImageClosure f)) |
| 24 | |
| 25 | def map : Z ⟶ (Y.componentVariety (component Y f)).carrier := |
| 26 | IsOpenImmersion.lift (Y.componentInclusion (component Y f)) f (range_subset Y f) |
| 27 | |
| 28 | theorem fac : map Y f ≫ Y.componentInclusion (component Y f) = f := |
| 29 | IsOpenImmersion.lift_fac _ _ _ |
| 30 | |
| 31 | instance [Smooth f] : Smooth (map Y f) := |
| 32 | MorphismProperty.of_isPullback |
| 33 | (IsOpenImmersion.isPullback_lift_id f (Y.componentInclusion (component Y f)) (range_subset Y f)).flip |
| 34 | (inferInstance : Smooth f) |
| 35 | |
| 36 | theorem generic_coheight [Smooth f] : coheight (f (genericPoint Z)) = 0 := by |
| 37 | have he := ProjectionFormula.Smooth.GenericField.genericPoint_image (map Y f) |
| 38 | have hf := congrArg (fun g : Z ⟶ Y.carrier => g (genericPoint Z)) (fac Y f) |
| 39 | change Y.componentInclusion (component Y f) (map Y f (genericPoint Z)) = f (genericPoint Z) at hf |
| 40 | rw [he] at hf |
| 41 | rw [← hf, coheight_eq_of_isOpenImmersion (Y.componentInclusion (component Y f))] |
| 42 | exact coheight_eq_zero.mpr (fun y _ => genericPoint_specializes y) |
| 43 | |
| 44 | def overMap {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] |
| 45 | (g : X.toOver ⟶ Y.toOver) : X.toOver ⟶ (Y.componentVariety (component (Z := X.carrier) Y g.left)).toOver := |
| 46 | Over.homMk (map (Z := X.carrier) Y g.left) (by |
| 47 | change map (Z := X.carrier) Y g.left ≫ |
| 48 | (Y.componentVariety (component (Z := X.carrier) Y g.left)).structureMap = X.structureMap |
| 49 | rw [← Y.componentInclusion_over, ← Category.assoc, fac] |
| 50 | exact g.w) |
| 51 | |
| 52 | theorem overMap_fac {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] |
| 53 | (g : X.toOver ⟶ Y.toOver) : |
| 54 | overMap Y g ≫ Component.Image.inclusion Y (component (Z := X.carrier) Y g.left) = g := by |
| 55 | apply Over.OverMorphism.ext |
| 56 | exact fac (Z := X.carrier) Y g.left |
| 57 | |
| 58 | instance {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] |
| 59 | (g : X.toOver ⟶ Y.toOver) [Smooth g.left] : Smooth (overMap Y g).left := by |
| 60 | change Smooth (map (Z := X.carrier) Y g.left) |
| 61 | infer_instance |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.ComponentFactor |