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 Mathlib |
| 2 | |
| 3 | /-! # Finite Continuous Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteContinuousSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Finiteness of continuous coefficient sections on noetherian sober spaces |
| 11 | |
| 12 | The generic points of the finitely many irreducible components form a |
| 13 | finite dense set. Evaluation there injects continuous sections with |
| 14 | Hausdorff values into a finite product of the coefficient space. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.TopologicalSpace |
| 18 | |
| 19 | variable (R X V : Type*) [Field R] [TopologicalSpace X] |
| 20 | [AddCommGroup V] [Module R V] [TopologicalSpace V] [IsTopologicalAddGroup V] |
| 21 | [ContinuousConstSMul R V] [T2Space V] |
| 22 | |
| 23 | def genericPointEvaluation : C(X, V) →ₗ[R] (genericPoints X → V) where |
| 24 | toFun f x := f x |
| 25 | map_add' _ _ := rfl |
| 26 | map_smul' _ _ := rfl |
| 27 | |
| 28 | variable [QuasiSober X] |
| 29 | |
| 30 | theorem genericPointEvaluation_injective : Function.Injective (genericPointEvaluation R X V) := by |
| 31 | intro f g hfg |
| 32 | have hd : Dense (genericPoints X) := dense_iff_closure_eq.mpr genericPoints.closure |
| 33 | apply ContinuousMap.injective_restrict hd |
| 34 | apply ContinuousMap.ext |
| 35 | intro x |
| 36 | exact congrFun hfg x |
| 37 | |
| 38 | variable [T0Space X] [NoetherianSpace X] [FiniteDimensional R V] |
| 39 | |
| 40 | instance continuousMap_finite : FiniteDimensional R C(X, V) := by |
| 41 | let _ : Fintype (genericPoints X) := |
| 42 | (genericPoints.finite (NoetherianSpace.finite_irreducibleComponents (α := X))).fintype |
| 43 | exact FiniteDimensional.of_injective (genericPointEvaluation R X V) (genericPointEvaluation_injective R X V) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteContinuousSections |