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.ArithmeticGeometry.OrdinaryLocus.Openness.IntegralDimension |
| 2 | |
| 3 | /-! # Equal Dimension Surjectivity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.EqualDimensionSurjectivity.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite morphism between integral schemes of the same finite |
| 10 | dimension is surjective. Height preservation forces the image of the |
| 11 | generic point to be generic, and the finite image is closed. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | theorem finite_same_dimension_surjective {X Y : Scheme} [IsIntegral X] [IsIntegral Y] |
| 16 | (f : X ⟶ Y) [IsFinite f] (hdim : topologicalKrullDim X = topologicalKrullDim Y) |
| 17 | (hfin : topologicalKrullDim X < ⊤) : Surjective f := by |
| 18 | have hh : Order.height (f (⊤ : X)) = Order.height (⊤ : Y) := by |
| 19 | apply WithBot.coe_injective |
| 20 | rw [← ArithmeticGeometry.OrdinaryLocus.Openness.IntegralDimension.Construction.height_eq_of_isIntegral f, Order.height_top_eq_krullDim, Order.height_top_eq_krullDim] |
| 21 | exact (ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction.topologicalKrullDim_eq_specialization_krullDim X).symm.trans |
| 22 | (hdim.trans (ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction.topologicalKrullDim_eq_specialization_krullDim Y)) |
| 23 | have hheight : Order.height (f (⊤ : X)) < ⊤ := by |
| 24 | rw [← ArithmeticGeometry.OrdinaryLocus.Openness.IntegralDimension.Construction.height_eq_of_isIntegral f] |
| 25 | apply WithBot.coe_lt_coe.mp |
| 26 | rw [Order.height_top_eq_krullDim, ← ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction.topologicalKrullDim_eq_specialization_krullDim] |
| 27 | exact hfin |
| 28 | have htop : f (⊤ : X) = ⊤ := by |
| 29 | by_contra h |
| 30 | have hlt : f (⊤ : X) < (⊤ : Y) := by |
| 31 | refine lt_iff_le_not_ge.mpr ⟨le_top, ?_⟩ |
| 32 | intro hge |
| 33 | exact h ((Scheme.le_iff_specializes.mp hge).antisymm (genericPoint_specializes (f ⊤))).eq |
| 34 | exact (ne_of_lt (Order.height_strictMono hlt hheight)) hh |
| 35 | have hclosed : IsClosed (Set.range f) := f.isClosedMap.isClosed_range |
| 36 | refine ⟨fun y => ?_⟩ |
| 37 | exact (genericPoint_specializes y).mem_closed hclosed ⟨⊤, htop⟩ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.EqualDimensionSurjectivity.Construction |